{"$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":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"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":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"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":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"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":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"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":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"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":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"CardView.highlightValidationErrors (cyclomatic 25): CardView.highlightValidationErrors 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":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace7951755f9a91b2cc0ef09e04195636125b869a74f56e3879785222aaa1312"}},{"ruleId":"D1","level":"warning","message":{"text":"PayToView.highlightValidationErrors (cyclomatic 24): PayToView.highlightValidationErrors 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":"payto/src/main/java/com/adyen/checkout/payto/internal/ui/view/PayToView.kt"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"6196676361efdb227d48dea69e55f189a1042d2c751b2904daa032806b2b9154"}},{"ruleId":"D2","level":"warning","message":{"text":"CardView.highlightValidationErrors (cognitive 31): CardView.highlightValidationErrors has cognitive complexity 31 (threshold 15). Drivers by points: if/else 17 (24 pts), boolean chains 7 (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":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"914f01a3c7e4adef9ad6a662e306d48af756bb4bfbb42ca8874d8b788c7277e4"}},{"ruleId":"D2","level":"warning","message":{"text":"PayToView.highlightValidationErrors (cognitive 30): PayToView.highlightValidationErrors has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 8 (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":"payto/src/main/java/com/adyen/checkout/payto/internal/ui/view/PayToView.kt"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea1afd8bbca804e82cd014c7c8168725adf81d9a752c5bb4c8534e6c4a794212"}},{"ruleId":"D2","level":"warning","message":{"text":"AddressFormInput.highlightValidationErrors (cognitive 21): AddressFormInput.highlightValidationErrors has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (21 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":"ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/AddressFormInput.kt"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a786492d6eda867cfe04268eb78eea3079249c8968af1ea51dec6553734530e9"}},{"ruleId":"D2","level":"warning","message":{"text":"BacsDirectDebitInputView.highlightValidationErrors (cognitive 16): BacsDirectDebitInputView.highlightValidationErrors has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (16 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":"bacs/src/main/java/com/adyen/checkout/bacs/internal/ui/view/BacsDirectDebitInputView.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e04f0190e214eab20677756256a1f5b9ec1027df98d1cd9f7653dc61a8cc18"}},{"ruleId":"D2","level":"warning","message":{"text":"BoletoView.highlightValidationErrors (cognitive 16): BoletoView.highlightValidationErrors has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (11 pts), boolean chains 5 (nesting depth added 3). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/view/BoletoView.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2dc92153f21623d08a70e327e9f8c81edbe6781c8a2c2d52634b8f96a5a25de"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DropInActivity: TooManyMethods \u2014 69 methods. The bar is 30 methods; this is 39 over it, 2.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":"drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/DropInActivity.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aa68a5cf11bef735a3b9c40ac0a40e437a89e0d65ca3441924bfb823aafdd50"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultCardDelegate: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 over it, 2.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":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b49fb8dc1ffc7997f2280c3d56883cfd0c7856c021fba09009a2205e11cb1a6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ComponentProviderKt.getComponentFor: MethodTooLong \u2014 getComponentFor runs 200 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/provider/ComponentProvider.kt"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5732ccdb9dd7c286b723ee0fe77a4b7e37fca29e5fa4fe468296605b96d802c2"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DefaultLocalizationSource.getString: MethodTooLong \u2014 getString runs 182 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"core/src/main/java/com/adyen/checkout/core/common/localization/internal/DefaultLocalizationSource.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe227e95982baac747ebd1237bb8b8befb1d19c114a17aa5c888c932ddecece"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CardView: TooManyMethods \u2014 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"155782faea8129f48a1daced0e1f34bf16e5673eea8dbc3283e2c82a6f7f9790"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultCardDelegate: ClassTooLong \u2014 586 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods. The bar is 400 significant lines; this is 186 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4b67105cc73543b89ec6d2c5f2eae13a83e4978adc5e3a5b0b2ef2cd9b4830f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DefaultAdyen3DS2Delegate: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"765baa8c81cd7b0dda25fc850820a081508cb4497d82321b7be059a8f09bf8bf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Builder: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\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":"drop-in/src/main/java/com/adyen/checkout/dropin/old/DropInConfiguration.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f01284954ab9b07a62e73d17d443b44e26f5bffdb59e3125f6b3b83b1004831"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/DefaultCardDelegate.kt: FileTooLong \u2014 676 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: DefaultCardDelegate (101-955). The bar is 500 significant lines; this is 176 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":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da34ad3901fa0402bfe161f7d4a1fdf0dd84f71cc73b3ab57ea7da7cbfe7de07"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StoredCardDelegate: 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":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/StoredCardDelegate.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe2b8290aae7cd3cb173bf26c8197ede74fe8312e4a67156b2da4ea5e84441e"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CardView: ClassTooLong \u2014 493 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 400 significant lines; this is 93 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":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"315c444503bceb1f1b03c35e46a6391ca45255cdc5c68e473144c9791a8a9a2a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AuthenticationComponent: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 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":"authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"791a9569c7ee2ad1b1cfebb368c8d42cfaddb7fd2d01944a7843a2609c3350c6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DropInActivity: ClassTooLong \u2014 452 significant lines (blank, comment-only and punctuation-only lines excluded), 69 methods. The bar is 400 significant lines; this is 52 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":"drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/DropInActivity.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"97da0911d44c56807307b7fed6d3643a20c62e91b5d373fb596ce87f00f3af5b"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: DefaultAdyen3DS2Delegate: ClassTooLong \u2014 443 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 400 significant lines; this is 43 over it, 1.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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"87328847e0e5ff41caf1d375a32c2b72cea6b766e0b5cba7e4e69e8f880ed803"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DropInViewModel: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/DropInViewModel.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9bd7088c94cfab5c2e4692c5624b132f533b137b711cdb0b102cf332af110aa"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: AuthenticationComponent: ClassTooLong \u2014 438 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. 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":"authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a2fe428a124ef7eb79fcab27f842625db64538406ac7c2a97fdf56e4eb1580"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: view/CardView.kt: FileTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded), about 91% of them inside a single declaration: CardView (64-802). The bar is 500 significant lines; this is 44 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":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7071e76af26b1b2adf1432c6d2aef61a0522ae6738513fd7343132640902231"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/DropInActivity.kt: FileTooLong \u2014 511 significant lines (blank, comment-only and punctuation-only lines excluded), about 88% of them inside a single declaration: DropInActivity (73-761). The bar is 500 significant lines; this is 11 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":"drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/DropInActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8928f660e0cfa1c87155feb1e296fa07ed9064e0aeac6d174811a61f7703fc37"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ui/DefaultAdyen3DS2Delegate.kt: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded), about 87% of them inside a single declaration: DefaultAdyen3DS2Delegate (75-749). The bar is 500 significant lines; this is 7 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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee71f54f8dd962bb8401b6d19ce859ba4edb0006fe876f6607d30fb26758214"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CardComponentProvider: ClassTooLong \u2014 404 significant lines (blank, comment-only and punctuation-only lines excluded), 13 methods. The bar is 400 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f7b9e4c21289d3afdd1876026b5f51e86dd5eff8ad9850433de0bc5d76b3ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (24 members, 50\u002B identical tokens): ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:192-245 | ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:388-439 | bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt:170-239 | blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:272-343 | blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:380-452 | boleto/src/main/java/com/adyen/checkout/boleto/internal/provider/BoletoComponentProvider.kt:176-250 | cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:267-321 | cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:358-410 | econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt:175-246 | googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/provider/GooglePayComponentProvider.kt:181-256 | ideal/src/main/java/com/adyen/checkout/ideal/internal/provider/IdealComponentProvider.kt:166-233 | instant/src/main/java/com/adyen/checkout/instant/internal/provider/InstantPaymentComponentProvider.kt:169-237 | issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/provider/IssuerListComponentProvider.kt:178-246 | mbway/src/main/java/com/adyen/checkout/mbway/old/internal/provider/MBWayComponentProvider.kt:170-241 | online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/provider/OnlineBankingComponentProvider.kt:182-258 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:275-344 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:381-452 | paybybank/src/main/java/com/adyen/checkout/paybybank/internal/provider/PayByBankComponentProvider.kt:168-236 | payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:271-342 | payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:379-449 | sepa/src/main/java/com/adyen/checkout/sepa/internal/provider/SepaComponentProvider.kt:171-240 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:260-311 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:347-397 | upi/src/main/java/com/adyen/checkout/upi/internal/provider/UPIComponentProvider.kt:165-237 \u2014 These 24 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 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":"ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"819009631d1d4ca334e8282d3e3b1af7e6780d83171297fa3d210ceb246ec9ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:309-351 | ideal/src/main/java/com/adyen/checkout/ideal/internal/provider/IdealComponentProvider.kt:82-129 | paybybank/src/main/java/com/adyen/checkout/paybybank/internal/provider/PayByBankComponentProvider.kt:83-131 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:105-147 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:183-224 \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":"ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"14326909b49aabd22e15c731f0c57e8dc150883d2ca85baca2265997b361358d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt:72-85 | components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt:117-130 | components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt:338-351 | components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt:383-396 \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":"components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc22a8123d93337a85966528a77643d7e5c5eefc7953351a5a68b2d51da9597"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt:163-176 | components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt:249-262 | components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt:429-442 | components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt:476-489 \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":"components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a84952d6d6f61c997f801159ad415e2d0cc67cd3894a1f4ee18ec227aa6a952"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (85 corresponding lines): card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt:218-302 | payto/src/main/java/com/adyen/checkout/payto/internal/ui/view/PayToView.kt:339-441 \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":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4f5024dd7d9225a33efe283699d206292a31bf1a1b990b37d2a75248faa01b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 79\u002B corresponding lines): bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt:204-297 | card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:453-531 | giftcard/src/main/java/com/adyen/checkout/giftcard/internal/provider/GiftCardComponentProvider.kt:181-261 | meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/provider/MealVoucherFRComponentProvider.kt:181-261 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 79 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or 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":"bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edecc3a4a0337cdb1f589d0cccfa255e9702e6df7e342becf75947ec8171c88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (57 corresponding lines): card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt:462-536 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/StoredCardDelegate.kt:266-322 \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":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7ced8fdcd7c9500ef6936fef1e1f56b971ceebfaaf62bab3fa54be0fe531ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (74 corresponding lines): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:246-319 | authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt:201-291 \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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7ab59d038f30e4473bebf594c0a9b5c9b36c852d48882b920e5c89395d8d6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 57\u002B corresponding lines): card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:355-415 | giftcard/src/main/java/com/adyen/checkout/giftcard/internal/provider/GiftCardComponentProvider.kt:88-144 | meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/provider/MealVoucherFRComponentProvider.kt:88-144 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3bd6a2a32647fdcc1fcd766d1c4e34997ab230476790f49de49ceb9e1e50c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (51 corresponding lines): econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt:88-138 | online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/provider/OnlineBankingComponentProvider.kt:90-145 \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":"econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced3bceb97fbf82901c50ac6f2395a0eb0dadc714d57f0c7f189a58e2e41da75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (50 corresponding lines): blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:101-150 | blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:186-235 \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":"blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f092ad585c96f75089ffd90503aae1a958024f684cc5101629500559a42faa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 50\u002B corresponding lines): bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt:84-133 | mbway/src/main/java/com/adyen/checkout/mbway/old/internal/provider/MBWayComponentProvider.kt:84-133 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:101-154 | payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:101-150 | sepa/src/main/java/com/adyen/checkout/sepa/internal/provider/SepaComponentProvider.kt:85-134 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 50 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2c9570b60569adf85940ab274e0f90a0b1dd95f6c78b439fdfe9ba9ceaec88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 49\u002B corresponding lines): boleto/src/main/java/com/adyen/checkout/boleto/internal/provider/BoletoComponentProvider.kt:85-139 | instant/src/main/java/com/adyen/checkout/instant/internal/provider/InstantPaymentComponentProvider.kt:84-132 | issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/provider/IssuerListComponentProvider.kt:92-141 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:190-238 | payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:186-234 | upi/src/main/java/com/adyen/checkout/upi/internal/provider/UPIComponentProvider.kt:79-128 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"boleto/src/main/java/com/adyen/checkout/boleto/internal/provider/BoletoComponentProvider.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"50aa3ec9496ae94a2fec138e4fffa2709b6ef305e3d6c656bc7893fb6a65d86a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:106-151 | googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/provider/GooglePayComponentProvider.kt:90-143 \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":"cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"f274d939e256226e4a95c755bdc03e29f17a977dd410b2664d7f85bb479321dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:488-534 | authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt:462-518 \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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37818824a3d0d9917bb5fe6af2735082b87995c34dcb3b98506779bca880747"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt:31-65 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/DefaultRedirectHandler.kt:31-62 \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":"core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cf9e5b1d1296ce85eba1234dac5f0409e2c53345231f98612afc2b194e7412f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (47 corresponding lines): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:357-403 | authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt:323-381 \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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c0523f8c2b5a48c4fa1e97bd13d7ff424988f2f3c02df58c5a5b61ed4d925d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): giftcard/src/main/java/com/adyen/checkout/giftcard/internal/GiftCardComponentEventHandler.kt:28-68 | giftcard/src/main/java/com/adyen/checkout/giftcard/internal/SessionsGiftCardComponentEventHandler.kt:63-91 \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":"giftcard/src/main/java/com/adyen/checkout/giftcard/internal/GiftCardComponentEventHandler.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"73109e373f342e19a6adbabe5d925baf774003ef62f302fc26fa1f06cf647238"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (29 corresponding lines): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/data/api/SubmitFingerprintRepository.kt:28-59 | authentication/src/main/java/com/adyen/checkout/authentication/internal/data/api/SubmitFingerprintRepository.kt:28-56 \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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/data/api/SubmitFingerprintRepository.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"8861a4c6fe4e6eb3946eba4ad085fcae3ba7d0de5d3a9d11af407248e1f283ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): components-core/src/main/java/com/adyen/checkout/components/core/internal/data/api/StatusRepository.kt:62-98 | core/src/main/java/com/adyen/checkout/core/components/internal/data/api/StatusRepository.kt:62-105 \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":"components-core/src/main/java/com/adyen/checkout/components/core/internal/data/api/StatusRepository.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba23c3cee65282198d8ca8d25f33ebf19a03fda36684bdb095390a03b35ad5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): card/src/main/java/com/adyen/checkout/card/internal/data/api/NetworkCardBrandDetectionService.kt:60-87 | card/src/main/java/com/adyen/checkout/card/old/internal/data/api/DefaultDetectCardTypeRepository.kt:188-212 \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":"card/src/main/java/com/adyen/checkout/card/internal/data/api/NetworkCardBrandDetectionService.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"625676de158e3e8b62a2f67882ae9bb219ad9592e2350adf87fb5c8e0b9f6385"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): card/src/main/java/com/adyen/checkout/card/internal/ui/view/ExpiryDateField.kt:52-86 | card/src/main/java/com/adyen/checkout/card/internal/ui/view/SecurityCodeField.kt:57-96 \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":"card/src/main/java/com/adyen/checkout/card/internal/ui/view/ExpiryDateField.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1e4b8b2394c52a8703a06e47d5ea10cfd55d422a169e3454ff11656d6422f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 35\u002B corresponding lines): ui/src/main/java/com/adyen/checkout/ui/internal/element/button/Buttons.kt:64-98 | ui/src/main/java/com/adyen/checkout/ui/internal/element/button/Buttons.kt:123-157 | ui/src/main/java/com/adyen/checkout/ui/internal/element/button/Buttons.kt:182-216 | ui/src/main/java/com/adyen/checkout/ui/internal/element/button/Buttons.kt:241-275 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/main/java/com/adyen/checkout/ui/internal/element/button/Buttons.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf62dc69f83d4bb769bd5b2b39bc49614e20219081fa76fb94315397b81260df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): giftcard/src/main/java/com/adyen/checkout/giftcard/internal/SessionsGiftCardComponentEventHandler.kt:96-125 | sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/SessionComponentEventHandler.kt:75-101 \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":"giftcard/src/main/java/com/adyen/checkout/giftcard/internal/SessionsGiftCardComponentEventHandler.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3dbd9c9cedc64f5eaa9eac2c227947a426b4b7c0131ea969a8038469b456c6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (38 corresponding lines): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:201-238 | authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt:137-177 \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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"292b8f3c3d4e3f751c19c04cb344a0a2ca4d9a5af255c8cd9f8b074802290ae1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): card/src/main/java/com/adyen/checkout/card/internal/ui/view/HolderNameField.kt:39-65 | card/src/main/java/com/adyen/checkout/card/internal/ui/view/PostalCodeField.kt:34-61 \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":"card/src/main/java/com/adyen/checkout/card/internal/ui/view/HolderNameField.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"533a07592d8cda751d463c9b5c7a4b89bcc47c30784174561a55135d73db5cdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/OkHttpClient.kt:73-99 | core/src/main/java/com/adyen/checkout/core/common/internal/api/OkHttpClient.kt:70-96 \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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/OkHttpClient.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c2c139af3384dd73c929a9f9a3cae01c7e1b3f00fed63244b50c358bd54aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/PaymentMethodListDialogFragment.kt:193-218 | drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/PreselectedStoredPaymentMethodFragment.kt:211-236 \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":"drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/PaymentMethodListDialogFragment.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1eea54adad4ae4d8c26aead3bbf407e7ea4063f5928409ffc228b175c9838d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): giftcard/src/main/java/com/adyen/checkout/giftcard/internal/ui/view/GiftCardView.kt:92-115 | meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/ui/view/MealVoucherFRView.kt:124-152 \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":"giftcard/src/main/java/com/adyen/checkout/giftcard/internal/ui/view/GiftCardView.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"420b68f808577f78cf6d0c7c77c5fe9da5f1da954092ff36ef5b3ec47edccc52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 27\u002B corresponding lines): blik/src/main/java/com/adyen/checkout/blik/internal/ui/view/BlikCodeField.kt:41-75 | card/src/main/java/com/adyen/checkout/card/internal/ui/view/CardNumberField.kt:91-130 | card/src/main/java/com/adyen/checkout/card/internal/ui/view/KCPCardPasswordField.kt:38-68 | card/src/main/java/com/adyen/checkout/card/internal/ui/view/SocialSecurityNumberField.kt:39-71 | mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/view/MBWayPhoneNumberField.kt:41-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 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":"blik/src/main/java/com/adyen/checkout/blik/internal/ui/view/BlikCodeField.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c41e6d2d6bc02cf63a2198f446c35557844cb31fcb281a9f71ef5790bd9d02f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/DefaultQRCodeDelegate.kt:335-366 | voucher/src/main/java/com/adyen/checkout/voucher/internal/ui/DefaultVoucherDelegate.kt:191-214 \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":"qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/DefaultQRCodeDelegate.kt"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"408c18295c1357bd2f6e13e00bd29b86b8702ac48f0071c58ee5dc1ccb8deb98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 20\u002B corresponding lines): ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/AddressFormInput.kt:317-337 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/AddressFormInput.kt:357-376 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/AddressFormInput.kt:378-398 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/AddressFormInput.kt:400-420 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/AddressFormInput.kt:422-442 \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":"ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/AddressFormInput.kt"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab063b284d8ab7ea26b28fb063fc8cf2c288921f109baf30e52374af16d38eba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): googlepay/src/main/java/com/adyen/checkout/googlepay/internal/helper/GooglePayUtils.kt:153-178 | googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/util/GooglePayUtils.kt: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":"googlepay/src/main/java/com/adyen/checkout/googlepay/internal/helper/GooglePayUtils.kt"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"0531a74edecdf0836080e1c2d4b25aafdce291f0d666eeeb1d5bff937b5e0d4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/remote/DefaultAnalyticsSetupProvider.kt:31-51 | core/src/main/java/com/adyen/checkout/core/analytics/internal/data/remote/DefaultAnalyticsSetupProvider.kt:31-52 \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":"components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/remote/DefaultAnalyticsSetupProvider.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e68b5761b49d6d58140a99b11f36be0834e7b6afd41820adcaddfdda7be3e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): twint-action/src/main/java/com/adyen/checkout/twint/action/internal/ui/DefaultTwintActionDelegate.kt:112-135 | wechatpay/src/main/java/com/adyen/checkout/wechatpay/internal/ui/DefaultWeChatDelegate.kt:130-154 \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":"twint-action/src/main/java/com/adyen/checkout/twint/action/internal/ui/DefaultTwintActionDelegate.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db9c114f82dbc59eff6ffe509e6359f8ee0490c50cfbc5899f7e8d2f34619a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt:161-188 | boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/DefaultBoletoDelegate.kt:191-224 \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":"ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f08232085c9730ccac63b84808bdbcb189306c32b855c133b21f9dec130bdd08"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/OkHttpClient.kt:105-127 | core/src/main/java/com/adyen/checkout/core/common/internal/api/OkHttpClient.kt:102-122 \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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/OkHttpClient.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"3734f1911bb639a5bb0ffc5b3ebf648aa024720fb06c5f7ace693208f7437f4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardValidationUtils.kt:48-69 | card/src/main/java/com/adyen/checkout/card/old/internal/util/CardValidationUtils.kt:42-63 \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":"card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardValidationUtils.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae4d7784780565dad0d9785648139f568d35a14ec1c3df2cd2e24f0f6f27b2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/util/AddressValidationUtils.kt:59-75 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/util/AddressValidationUtils.kt: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":"ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/util/AddressValidationUtils.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"85112e4ac5fdd6dac9b2f56385d27a9ac8f4cea3b56afc9cb42d0dfaedc39ac7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 25\u002B corresponding lines): drop-in/src/main/java/com/adyen/checkout/dropin/old/SessionDropInService.kt:123-148 | drop-in/src/main/java/com/adyen/checkout/dropin/old/SessionDropInService.kt:150-174 | drop-in/src/main/java/com/adyen/checkout/dropin/old/SessionDropInService.kt:176-200 \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":"drop-in/src/main/java/com/adyen/checkout/dropin/old/SessionDropInService.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"470e374ccebc30f6c624edf96c8a739fa9925783dd69ffba4e454ac81e884b6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): bacs/src/main/java/com/adyen/checkout/bacs/internal/ui/view/BacsDirectDebitInputView.kt:190-206 | bacs/src/main/java/com/adyen/checkout/bacs/internal/ui/view/BacsDirectDebitInputView.kt:208-222 | bacs/src/main/java/com/adyen/checkout/bacs/internal/ui/view/BacsDirectDebitInputView.kt:224-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 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":"bacs/src/main/java/com/adyen/checkout/bacs/internal/ui/view/BacsDirectDebitInputView.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb6da0a1cb9242d0cb9f94858e231bffe8c4a0a910080e053b481f4828c2182a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 15\u002B corresponding lines): card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt:439-454 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt:468-482 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt:484-501 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt:508-526 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt:528-545 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt:547-562 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/StoredCardView.kt:117-132 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66766f1bd6e69aa231c5ec9381cd575c5eb09f5c513c24551bb9169b2d3d471"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): card-scanning/src/main/java/com/adyen/checkout/card/scanning/internal/CardScannerInitializer.kt:45-73 | card-scanning/src/main/java/com/adyen/checkout/card/scanning/old/AdyenCardScanner.kt:53-76 \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":"card-scanning/src/main/java/com/adyen/checkout/card/scanning/internal/CardScannerInitializer.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"74f83cd6ca5966a5e1bf843512c2b5a5d66a23cfc0deaf9c73f86b156c1d0821"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): econtext/src/main/java/com/adyen/checkout/econtext/internal/ui/view/EContextView.kt:139-155 | econtext/src/main/java/com/adyen/checkout/econtext/internal/ui/view/EContextView.kt:183-199 | econtext/src/main/java/com/adyen/checkout/econtext/internal/ui/view/EContextView.kt:201-217 \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":"econtext/src/main/java/com/adyen/checkout/econtext/internal/ui/view/EContextView.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c672745ebc9bb25792b754238047d6f9f908f2db8695505b15b4558defe4a613"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): checkout-core/src/main/java/com/adyen/checkout/core/old/ui/validation/CardNumberValidator.kt:55-71 | core/src/main/java/com/adyen/checkout/core/common/helper/CardNumberValidator.kt:52-68 \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":"checkout-core/src/main/java/com/adyen/checkout/core/old/ui/validation/CardNumberValidator.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"a45cf88d088cf3bffbaaf80be8a42b4c9628390992475e1ef0a1db6d7ccbd351"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): core/src/main/java/com/adyen/checkout/core/sessions/internal/model/SessionParamsFactory.kt:32-54 | sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/ui/model/SessionParamsFactory.kt:35-55 \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":"core/src/main/java/com/adyen/checkout/core/sessions/internal/model/SessionParamsFactory.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"907b03b7f4900be410c1a91ce7dff9fcd6368220e2742997bd1d07fc6f3a0277"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt:214-232 | boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/DefaultBoletoDelegate.kt:124-141 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt:321-339 \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":"ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68322a5e158def455e23d6ba1cf7a03b20046df52f37f20c29e4bb5d56a15de"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:615-637 | authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt:626-648 \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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ce8e7289291b63da34b870aeb7ea2d83d2f0d80da3a65326db5de146590eea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 19\u002B corresponding lines): ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt:190-212 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt:214-236 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/StoredCardDelegate.kt:191-209 | giftcard/src/main/java/com/adyen/checkout/giftcard/internal/ui/DefaultGiftCardDelegate.kt:117-139 \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":"ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9bc39d8b5d338586c8ca7efd051805ad3c54367283ee121a5917b835843378a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/view/BoletoView.kt:97-110 | payto/src/main/java/com/adyen/checkout/payto/internal/ui/view/PayToView.kt:308-321 \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":"boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/view/BoletoView.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d3cf782af74c7f69463b9f210f2383e4def7410e7cfbcffbaeefc5f149b327"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/view/BoletoView.kt:112-125 | payto/src/main/java/com/adyen/checkout/payto/internal/ui/view/PayToView.kt:323-336 \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":"boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/view/BoletoView.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"660644addbe6ff52a48047b17cc58e32b9e4212198776b65855fc258598ba807"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): checkout-core/src/main/java/com/adyen/checkout/core/old/ui/validation/CardNumberValidator.kt:38-52 | core/src/main/java/com/adyen/checkout/core/common/helper/CardNumberValidator.kt:35-49 \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":"checkout-core/src/main/java/com/adyen/checkout/core/old/ui/validation/CardNumberValidator.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dbd9a64b428ea7900e8e6d1635e8a8988dd365c01ecc6a52744bb4a8ff1ff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/PaymentMethodAdapter.kt:147-160 | drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/PreselectedStoredPaymentMethodFragment.kt:193-209 \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":"drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/PaymentMethodAdapter.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea386b92bfd0f0c06d13c76167e77d8d712ebc6c015a8cdc6362792516400e4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 21\u002B corresponding lines): await/src/main/java/com/adyen/checkout/await/old/internal/provider/AwaitComponentProvider.kt:82-104 | qr-code/src/main/java/com/adyen/checkout/qrcode/internal/provider/QRCodeComponentProvider.kt:81-107 | redirect/src/main/java/com/adyen/checkout/redirect/old/internal/provider/RedirectComponentProvider.kt:79-101 | twint-action/src/main/java/com/adyen/checkout/twint/action/internal/provider/TwintActionComponentProvider.kt:80-100 \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":"await/src/main/java/com/adyen/checkout/await/old/internal/provider/AwaitComponentProvider.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4dfeae706e926c4273b9e20624602852a8e50e28cf76ef39a48189ecce7ed0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardComponentParamsMapper.kt:74-94 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/model/CardComponentParamsMapper.kt:138-158 \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":"card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardComponentParamsMapper.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6149c8d0c08ef733568438919233ed8d2ea6e5c1f96c2021ce0f3258581ca3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/view/FullQRCodeView.kt:138-153 | qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/view/SimpleQRCodeView.kt:151-166 \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":"qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/view/FullQRCodeView.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"706bc63ed87666e46d5673615fadb7624cdd4f9796cb5126fb73bc1c244d5995"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): components-core/src/main/java/com/adyen/checkout/components/core/internal/util/AmountFormat.kt:46-64 | core/src/main/java/com/adyen/checkout/core/common/internal/helper/AmountFormat.kt:43-54 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/internal/util/AmountFormat.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef85a9d57085486cd2d13eec4288003851850ef4930589335fda8b4d6271fdd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): checkout-core/src/main/java/com/adyen/checkout/core/old/ui/validation/CardSecurityCodeValidator.kt:34-47 | core/src/main/java/com/adyen/checkout/core/common/helper/CardSecurityCodeValidator.kt:33-46 \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":"checkout-core/src/main/java/com/adyen/checkout/core/old/ui/validation/CardSecurityCodeValidator.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f0c78982e9766d7a5eecb50691c0d653288ae719cd173f124def2f357eadb1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:444-466 | authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt:428-450 \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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d57e285e9d6722c84da262b643d9c34110ec0b1030acf20dfc3a3c58b129382"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/DefaultAnalyticsManager.kt:72-90 | core/src/main/java/com/adyen/checkout/core/analytics/internal/DefaultAnalyticsManager.kt:53-73 \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":"components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/DefaultAnalyticsManager.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"6100fe166a661deee87101e5a2670beee687528e411da1f4978e60b2f791fb9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/GiftCardComponentDialogFragment.kt:88-105 | drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/GooglePayComponentDialogFragment.kt:91-109 \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":"drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/GiftCardComponentDialogFragment.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d83703f41a688b1f16d95d4b1efd7ae79555ff7829ff78093fd769d31cbd594"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (8 members, 14\u002B corresponding lines): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/provider/Adyen3DS2ComponentProvider.kt:64-79 | action-core/src/main/java/com/adyen/checkout/action/core/internal/provider/GenericActionComponentProvider.kt:62-80 | await/src/main/java/com/adyen/checkout/await/old/internal/provider/AwaitComponentProvider.kt:63-76 | qr-code/src/main/java/com/adyen/checkout/qrcode/internal/provider/QRCodeComponentProvider.kt:61-75 | redirect/src/main/java/com/adyen/checkout/redirect/old/internal/provider/RedirectComponentProvider.kt:59-73 | twint-action/src/main/java/com/adyen/checkout/twint/action/internal/provider/TwintActionComponentProvider.kt:59-74 | voucher/src/main/java/com/adyen/checkout/voucher/internal/provider/VoucherComponentProvider.kt:57-71 | wechatpay/src/main/java/com/adyen/checkout/wechatpay/internal/provider/WeChatPayActionComponentProvider.kt:59-74 \u2014 These 8 members are one piece of code written 8 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 8 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/provider/Adyen3DS2ComponentProvider.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec2cfd9274a6b65c006f8fe3cbaf24707de7db330566db6d6890a116d6377d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/ui/view/IssuerListSpinnerAdapter.kt:40-55 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/CountryAdapter.kt:41-56 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/LocalizedTextListAdapter.kt:48-63 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/TextListAdapter.kt:44-59 \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":"issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/ui/view/IssuerListSpinnerAdapter.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"f66bdca20d03ddffae2809bff0dbf399a698767283de947ffd1d4f5098bcf4aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): blik/src/main/java/com/adyen/checkout/blik/internal/ui/view/BlikContent.kt:58-77 | mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/view/MBWayContent.kt:65-86 \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":"blik/src/main/java/com/adyen/checkout/blik/internal/ui/view/BlikContent.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"74576a63ec292966d1b54be513d7c36a6533058f9e7bba6e088f4f90d04cbcc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 22\u002B corresponding lines): address/src/main/java/com/adyen/checkout/address/internal/ui/view/AddressCityField.kt:49-70 | address/src/main/java/com/adyen/checkout/address/internal/ui/view/AddressHouseNumberField.kt:49-70 | address/src/main/java/com/adyen/checkout/address/internal/ui/view/AddressPostalCodeField.kt:58-82 | address/src/main/java/com/adyen/checkout/address/internal/ui/view/AddressStreetField.kt:49-71 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"address/src/main/java/com/adyen/checkout/address/internal/ui/view/AddressCityField.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d46f03da632e33c373aa93774280b455fde28695628733a301db5e4351b6229"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:407-424 | authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt:385-398 \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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"94546543ddcfc9df4b6bb90d603ec47d28e714c920700a2d8fd40fd020028476"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt:68-86 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/DefaultRedirectHandler.kt:65-80 \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":"core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"6262dfdf2c0d899ba2a7d7bb008a0e7e5c29f8e70272373ddfc8763d9dab95ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): core/src/main/java/com/adyen/checkout/core/components/Checkout.kt:86-104 | core/src/main/java/com/adyen/checkout/core/components/Checkout.kt:116-134 \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":"core/src/main/java/com/adyen/checkout/core/components/Checkout.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"c836048fa766497e2b13a4d8afecf6cefe103fbb15769deedd17a906adc7d255"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): sepa/src/main/java/com/adyen/checkout/sepa/internal/ui/model/Iban.kt:199-212 | sepa/src/main/java/com/adyen/checkout/sepa/internal/ui/model/Iban.kt:221-234 \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":"sepa/src/main/java/com/adyen/checkout/sepa/internal/ui/model/Iban.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"47629e41e925174eed03c989bfd9b7f0b7bac9a0ebc983b3d98730fe374212dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/AddressLookupView.kt:205-219 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/AddressLookupView.kt:221-232 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/AddressLookupView.kt:258-270 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/AddressLookupView.kt:272-284 \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":"ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/AddressLookupView.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b3f7ab9d7baa9068e8d4f53ffd5afe94ac71f1c892f141045cf13f867758f25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/remote/AnalyticsTrackRequestProvider.kt:24-32 | core/src/main/java/com/adyen/checkout/core/analytics/internal/data/remote/AnalyticsTrackRequestProvider.kt:24-32 \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":"components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/remote/AnalyticsTrackRequestProvider.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb68b3c42b223293fe473b0a4be9da2a5c866fd9c70c1fde29ce8aa2dec5bc6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/view/FullQRCodeView.kt:155-170 | voucher/src/main/java/com/adyen/checkout/voucher/internal/ui/view/FullVoucherView.kt:244-258 \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":"qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/view/FullQRCodeView.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aaf131b9d59b6435b83b7f17b59070dc8ea3d0f89250fe20152fcf6a890a4c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): core/src/main/java/com/adyen/checkout/core/components/internal/CheckoutInitializer.kt:65-81 | core/src/main/java/com/adyen/checkout/core/components/internal/CheckoutInitializer.kt:85-102 \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":"core/src/main/java/com/adyen/checkout/core/components/internal/CheckoutInitializer.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ed0c0d58afd05e3340a02fd4aeff6a9561c61512b3b96206ef24b72f322e3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): payto/src/main/java/com/adyen/checkout/payto/internal/ui/DefaultPayToDelegate.kt:147-169 | twint/src/main/java/com/adyen/checkout/twint/internal/ui/DefaultTwintDelegate.kt:122-141 \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":"payto/src/main/java/com/adyen/checkout/payto/internal/ui/DefaultPayToDelegate.kt"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"8afa8cace70b92ef4c93e23869850c577f9482d8ffd066db773e37bda3321e2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/data/model/ChallengeResult.kt:37-45 | authentication/src/main/java/com/adyen/checkout/authentication/internal/data/model/ChallengeResult.kt:37-45 \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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/data/model/ChallengeResult.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de3a7966488317701140a917f549badd99325d84ca9ec1a528cb1d1319fb535"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): card/src/main/java/com/adyen/checkout/card/internal/helper/LocalCardBrandMapper.kt:23-39 | card/src/main/java/com/adyen/checkout/card/old/internal/data/api/DefaultDetectCardTypeRepository.kt: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":"card/src/main/java/com/adyen/checkout/card/internal/helper/LocalCardBrandMapper.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d03847e2f7958b061628b1ed8103477d9e231349e2dc9d059d00369b16fdc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): address/src/main/java/com/adyen/checkout/address/internal/ui/view/AddressFormContent.kt:85-102 | card/src/main/java/com/adyen/checkout/card/internal/ui/view/CardContent.kt:135-153 \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":"address/src/main/java/com/adyen/checkout/address/internal/ui/view/AddressFormContent.kt"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dabe2750aaa6c74035b5ec0d14ea55b34125cce2655bd7a289f48be4499f98a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 16\u002B corresponding lines): await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt:118-135 | qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/DefaultQRCodeDelegate.kt:163-180 | redirect/src/main/java/com/adyen/checkout/redirect/old/internal/ui/DefaultRedirectDelegate.kt:105-121 | voucher/src/main/java/com/adyen/checkout/voucher/internal/ui/DefaultVoucherDelegate.kt:118-133 \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":"await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00e3388914a3295a5a7138e5197c9074f44d2f5be31ce935e16e74008ac4ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/ui/DefaultIssuerListDelegate.kt:160-174 | online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/ui/DefaultOnlineBankingDelegate.kt:156-170 \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":"issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/ui/DefaultIssuerListDelegate.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c39cff2ee6518a2278d3cd5e9f71a415c2103e4b0a6a04b90f81914eaf42f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 12\u002B corresponding lines): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/Adyen3DS2Configuration.kt:143-154 | await/src/main/java/com/adyen/checkout/await/old/AwaitConfiguration.kt:108-119 | qr-code/src/main/java/com/adyen/checkout/qrcode/QRCodeConfiguration.kt:108-119 | redirect/src/main/java/com/adyen/checkout/redirect/old/RedirectConfiguration.kt:107-118 | twint-action/src/main/java/com/adyen/checkout/twint/action/TwintActionConfiguration.kt:106-117 | voucher/src/main/java/com/adyen/checkout/voucher/VoucherConfiguration.kt:108-119 | wechatpay/src/main/java/com/adyen/checkout/wechatpay/WeChatPayActionConfiguration.kt:107-118 \u2014 These 7 members are one piece of code written 7 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 7 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/Adyen3DS2Configuration.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfcd4d69f149716b41209a1da9afa73ab78f59c41e48ff702ac0aad0fc23a27f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): action-core/src/main/java/com/adyen/checkout/action/core/internal/provider/GenericActionComponentProvider.kt:86-102 | voucher/src/main/java/com/adyen/checkout/voucher/internal/provider/VoucherComponentProvider.kt:77-93 \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":"action-core/src/main/java/com/adyen/checkout/action/core/internal/provider/GenericActionComponentProvider.kt"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfc60fee1e66feb720a6ef95ae3386e00f5175d99fe8501f98861c1a4208738"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): sepa/src/main/java/com/adyen/checkout/sepa/internal/ui/model/Iban.kt:162-170 | sepa/src/main/java/com/adyen/checkout/sepa/internal/ui/model/Iban.kt:180-190 \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":"sepa/src/main/java/com/adyen/checkout/sepa/internal/ui/model/Iban.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdda9b701a242022fafc8e0eef8797f696643633d82a79149f05e7f06a3d7a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/data/api/DefaultAddressRepository.kt:67-83 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/data/api/DefaultAddressRepository.kt:96-113 \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":"ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/data/api/DefaultAddressRepository.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f3bb894b61b2e54256a5a5655339be3bc993d14ce7c7c92cc355294657b457"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt:549-566 | authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt:569-586 | authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt:588-605 | authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt:607-624 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc364bdaddeece57f71da95cf81a5db2719450a890b937bfea482be52563a4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): await/src/main/java/com/adyen/checkout/await/internal/ui/AwaitFactory.kt:31-46 | redirect/src/main/java/com/adyen/checkout/redirect/internal/ui/RedirectFactory.kt:30-44 \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":"await/src/main/java/com/adyen/checkout/await/internal/ui/AwaitFactory.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa15cd6058eca1de045e4616762ab32dbe29bcd539ff88c05404a87fbc2cb508"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): blik/src/main/java/com/adyen/checkout/blik/internal/ui/state/BlikComponentStatePostProcessor.kt:23-31 | card/src/main/java/com/adyen/checkout/card/internal/ui/state/StoredCardComponentStatePostProcessor.kt:25-33 | mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/state/MBWayComponentStatePostProcessor.kt:23-31 \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":"blik/src/main/java/com/adyen/checkout/blik/internal/ui/state/BlikComponentStatePostProcessor.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"012dd34277a7b3653779a87a03296b0e46dd69067ce7b1c5d11a78c9ff1cc3fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): drop-in/src/main/java/com/adyen/checkout/dropin/internal/manage/StoredPaymentMethodManagementViewModel.kt:82-96 | drop-in/src/main/java/com/adyen/checkout/dropin/internal/ui/PaymentMethodListViewModel.kt:202-214 \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":"drop-in/src/main/java/com/adyen/checkout/dropin/internal/manage/StoredPaymentMethodManagementViewModel.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"462cf39d3d76ccc9f9adee79c2b3097b4bd4ab9e576ff44fdfc26fa65c9f8c14"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardValidationUtils.kt:141-153 | card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardValidationUtils.kt:186-196 \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":"card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardValidationUtils.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b03db28369e3fb166f9215285c3489e66dd4c9023210200db6fb80eaf2ffa26"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): giftcard/src/main/java/com/adyen/checkout/giftcard/internal/ui/model/GiftCardComponentParamsMapper.kt:27-43 | issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/ui/model/IssuerListComponentParamsMapper.kt:33-48 | meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/ui/model/MealVoucherFRComponentParamsMapper.kt:28-44 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"giftcard/src/main/java/com/adyen/checkout/giftcard/internal/ui/model/GiftCardComponentParamsMapper.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4968f6b602f78cd0482bbc64f902514a91aed474475c7fb503509ce158dbf2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): googlepay/src/main/java/com/adyen/checkout/googlepay/GooglePayConfiguration.kt:82-98 | card/src/main/java/com/adyen/checkout/card/CardConfiguration.kt:72-87 \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":"googlepay/src/main/java/com/adyen/checkout/googlepay/GooglePayConfiguration.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22d6ca5574e56823422494726b91861fec8b8feb7646d29ef68f57c24091baa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (7 members, 18\u002B corresponding lines): ach/src/main/java/com/adyen/checkout/ach/internal/ui/StoredACHDirectDebitDelegate.kt:124-142 | blik/src/main/java/com/adyen/checkout/blik/old/internal/ui/DefaultBlikDelegate.kt:134-152 | blik/src/main/java/com/adyen/checkout/blik/old/internal/ui/StoredBlikDelegate.kt:123-141 | mbway/src/main/java/com/adyen/checkout/mbway/old/internal/ui/DefaultMBWayDelegate.kt:138-156 | payto/src/main/java/com/adyen/checkout/payto/internal/ui/StoredPayToDelegate.kt:140-158 | sepa/src/main/java/com/adyen/checkout/sepa/internal/ui/DefaultSepaDelegate.kt:125-142 | upi/src/main/java/com/adyen/checkout/upi/internal/ui/DefaultUPIDelegate.kt:202-221 \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":"ach/src/main/java/com/adyen/checkout/ach/internal/ui/StoredACHDirectDebitDelegate.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a813964e7556a675b433edd1e62fc213a85018ad08c62b5f3b5dbdbb2bace13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): card/src/main/java/com/adyen/checkout/card/internal/helper/CardConfigDataGenerator.kt:63-76 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/CardConfigDataGenerator.kt:64-77 \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":"card/src/main/java/com/adyen/checkout/card/internal/helper/CardConfigDataGenerator.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee58668e8a87e47a3b35af92f8e1e07b230b8a20dd86fc8fdecb728200deaacc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): card/src/main/java/com/adyen/checkout/card/internal/ui/view/StoredCardContent.kt:104-124 | blik/src/main/java/com/adyen/checkout/blik/internal/ui/view/BlikContent.kt:98-111 \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":"card/src/main/java/com/adyen/checkout/card/internal/ui/view/StoredCardContent.kt"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3fca935c5fec85157935002b84dcc42526ddb399d96fcad6d98ed69448e058"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt:404-422 | 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:429-442 \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":"authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f91e35250d5aa4a341af3c6f38e0db9af41e5139b1e00f19cb27764ed6ed078"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 18\u002B corresponding lines): cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/ui/StoredCashAppPayDelegate.kt:107-125 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/DefaultPayByBankUSDelegate.kt:105-122 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/StoredPayByBankUSDelegate.kt:115-133 | paybybank/src/main/java/com/adyen/checkout/paybybank/internal/ui/DefaultPayByBankDelegate.kt:146-164 | twint/src/main/java/com/adyen/checkout/twint/internal/ui/StoredTwintDelegate.kt:105-123 \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":"cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/ui/StoredCashAppPayDelegate.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"59ac847335cfb7a83bbc6abfb824fa737a129b23e3d2f31eabe85fe5ff59b5e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): googlepay/src/main/java/com/adyen/checkout/googlepay/internal/helper/GooglePayUtils.kt:130-140 | googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/util/GooglePayUtils.kt:114-123 \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":"googlepay/src/main/java/com/adyen/checkout/googlepay/internal/helper/GooglePayUtils.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1c0e454e0ba5fb6779ba667671cde9b681eca353203ac0b5342190ac09fd5c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/ui/IssuersUtils.kt:26-34 | paybybank/src/main/java/com/adyen/checkout/paybybank/internal/ui/DefaultPayByBankDelegate.kt:180-188 \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":"issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/ui/IssuersUtils.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf6d3f99ef6346a542e591a7703a27a9769ea950249802ff56a54ba1ad28029"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/src/main/java/com/adyen/checkout/core/common/helper/RunCompileOnly.kt:16-26 | checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/RunCompileOnly.kt:15-25 \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":"core/src/main/java/com/adyen/checkout/core/common/helper/RunCompileOnly.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a747fd5020ecdfb4f6044ae3cb7440cfd35a1d0627db5eecdf78110c248bd6f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/util/GooglePayUtils.kt:183-195 | googlepay/src/main/java/com/adyen/checkout/googlepay/internal/helper/GooglePayUtils.kt:203-217 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/util/GooglePayUtils.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e9b8fd5aa36eaab31e95b3f96ecbc7ab45c9e4d465bbc9762766d26bf82bb42"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): blik/src/main/java/com/adyen/checkout/blik/internal/ui/BlikFactory.kt:61-72 | core/src/main/java/com/adyen/checkout/core/components/internal/ui/GenericPaymentComponentFactory.kt:32-43 \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":"blik/src/main/java/com/adyen/checkout/blik/internal/ui/BlikFactory.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcdf14bc1533dc05d78e69525fc836ee95fae22a5914ab2ca34bff75813db04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/state/MBWayViewStateProducer.kt:21-29 | card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardViewStateProducer.kt:24-29 \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":"mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/state/MBWayViewStateProducer.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2dab3c5a7b4e0a4aaa8b2438b6fec9f07a44605aec62b0c842b53d2482f523e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): address/src/main/java/com/adyen/checkout/address/internal/ui/view/AddressPickerField.kt:38-47 | address/src/main/java/com/adyen/checkout/address/internal/ui/view/AddressFormContent.kt:172-181 \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":"address/src/main/java/com/adyen/checkout/address/internal/ui/view/AddressPickerField.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"df446d126b241449e7c63e5d38788b8c975684bda6d887281dcc6de984d7c692"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/ui/model/CashAppPayComponentParamsMapper.kt:84-103 | twint/src/main/java/com/adyen/checkout/twint/internal/ui/model/TwintComponentParamsMapper.kt:30-46 \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":"cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/ui/model/CashAppPayComponentParamsMapper.kt"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f012ec62be895c5439a1ac79ee4fe19bfdd8ba7ab568eb4fc6ac408b0443b0f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): core/src/main/java/com/adyen/checkout/core/common/internal/helper/CustomTabsLauncher.kt:20-32 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/util/CustomTabsLauncher.kt:22-34 \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":"core/src/main/java/com/adyen/checkout/core/common/internal/helper/CustomTabsLauncher.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f43ff12409813a7a3d163864fa463cc943ca5a0b58f7381d99ddb1bea21f1fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): blik/src/main/java/com/adyen/checkout/blik/internal/ui/BlikComponent.kt:78-89 | mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/MBWayComponent.kt:110-121 \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":"blik/src/main/java/com/adyen/checkout/blik/internal/ui/BlikComponent.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b779008a63991633330a7a57626c73b86c79ca976c95a620a99935d8b1d2e5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ui/src/main/java/com/adyen/checkout/ui/internal/element/SearchableValuePicker.kt:65-77 | ui/src/main/java/com/adyen/checkout/ui/internal/element/ValuePicker.kt:70-81 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui/src/main/java/com/adyen/checkout/ui/internal/element/SearchableValuePicker.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcd00970b345187d30f7e66089fc4e5ece5b53dbf4ea7b6450689f0e80cb646"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/GiftCardComponentDialogFragment.kt:74-85 | drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/GiftCardPaymentConfirmationDialogFragment.kt:83-94 \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":"drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/GiftCardComponentDialogFragment.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdcf4c34f5fac26d8a6725a9f103327ba041caee31bbccb271d346926f268a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): googlepay/src/main/java/com/adyen/checkout/googlepay/internal/ui/model/GooglePayComponentParamsMapper.kt:102-111 | googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/ui/model/GooglePayComponentParamsMapper.kt:125-134 \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":"googlepay/src/main/java/com/adyen/checkout/googlepay/internal/ui/model/GooglePayComponentParamsMapper.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a7822fbe2dc876491e96f856b370723986052ede54b3bdf9155d6c586963055"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:188-195 | authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt:183-192 \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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7307881897dc9fcf1b7decdcc98e3ef7e14ccb00728d619fe06aaf24786805d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 13\u002B corresponding lines): entercash/src/main/java/com/adyen/checkout/entercash/EntercashConfiguration.kt:96-108 | eps/src/main/java/com/adyen/checkout/eps/EPSConfiguration.kt:107-119 | ideal/src/main/java/com/adyen/checkout/ideal/IdealConfiguration.kt:113-125 | molpay/src/main/java/com/adyen/checkout/molpay/MolpayConfiguration.kt:95-107 | online-banking-pl/src/main/java/com/adyen/checkout/onlinebankingpl/OnlineBankingPLConfiguration.kt:97-109 | openbanking/src/main/java/com/adyen/checkout/openbanking/OpenBankingConfiguration.kt:96-108 \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":"entercash/src/main/java/com/adyen/checkout/entercash/EntercashConfiguration.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"73c61479f0ffb5c9b3b9bb0d6292c2a0430864384ee3d862d07c308d1ff32a33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/ui/view/IssuerListRecyclerAdapter.kt:50-61 | paybybank/src/main/java/com/adyen/checkout/paybybank/internal/ui/view/PayByBankRecyclerAdapter.kt:42-51 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/ui/view/IssuerListRecyclerAdapter.kt"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d12199e6ef131c30e3ec85367939e518e3734ed979a1e8a790bb80631303876"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt:184-193 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/StoredCardDelegate.kt:160-170 | cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/ui/StoredCashAppPayDelegate.kt:61-70 | twint/src/main/java/com/adyen/checkout/twint/internal/ui/StoredTwintDelegate.kt:59-68 \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":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"217d927a2d8af117ad2717cff82bcccf192361a2167b6a18eca2ca45707508ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): core/src/main/java/com/adyen/checkout/core/sessions/internal/data/api/SessionRepository.kt:59-70 | sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/data/api/SessionRepository.kt:67-78 \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":"core/src/main/java/com/adyen/checkout/core/sessions/internal/data/api/SessionRepository.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0c877fc25a222c60c6a3cd708b2c73deb66f0db2c40dfeb0c497fa4a42d4fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/ui/IssuersUtils.kt:17-23 | paybybank/src/main/java/com/adyen/checkout/paybybank/internal/ui/DefaultPayByBankDelegate.kt:171-177 \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":"issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/ui/IssuersUtils.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"86521f22f66459bb498438ad7b5cc7fa56f29356895ac7a865f1f8589ebbb0ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardNumberInput.kt:60-68 | sepa/src/main/java/com/adyen/checkout/sepa/internal/ui/view/IbanInput.kt:22-29 \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":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardNumberInput.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa995849f33da871347757dfaec9c0c4e73ca9899ed8c166f710886b1bbddfdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/OkHttpClient.kt:62-71 | core/src/main/java/com/adyen/checkout/core/common/internal/api/OkHttpClient.kt:60-68 \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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/OkHttpClient.kt"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c63a8351199d4777fd49af404cd9156d6151cc7417972e6935e7debd704d60a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): giftcard/src/main/java/com/adyen/checkout/giftcard/internal/ui/protocol/DefaultGiftCardProtocol.kt:26-36 | meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/ui/protocol/MealVoucherFRProtocol.kt:28-38 \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":"giftcard/src/main/java/com/adyen/checkout/giftcard/internal/ui/protocol/DefaultGiftCardProtocol.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3aca3c17a77db5cfa63f72fd86f79c47e3d3d562256c5f3fa9612a4e3e8e0dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/src/main/java/com/adyen/checkout/core/common/internal/helper/CountryUtils.kt:23-33 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/util/CountryUtils.kt:23-33 \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":"core/src/main/java/com/adyen/checkout/core/common/internal/helper/CountryUtils.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd46b3ad523bbace6cbbef8ec726ba9a341d3fc7c7833e316898f577f523608"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): mbway/src/main/java/com/adyen/checkout/mbway/old/internal/ui/model/MBWayOutputData.kt:23-35 | payto/src/main/java/com/adyen/checkout/payto/internal/ui/model/PayToOutputData.kt:67-74 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mbway/src/main/java/com/adyen/checkout/mbway/old/internal/ui/model/MBWayOutputData.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc719876b306df8de77d8f6a61c78b96e0a6457159326942f8bd2ec10936258f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): upi/src/main/java/com/adyen/checkout/upi/internal/ui/view/UPIIntentGenericAppViewHolder.kt:20-31 | upi/src/main/java/com/adyen/checkout/upi/internal/ui/view/UPIIntentPaymentAppViewHolder.kt:22-37 \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":"upi/src/main/java/com/adyen/checkout/upi/internal/ui/view/UPIIntentGenericAppViewHolder.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaa1d5a7a813564db066c210b5566d0ad2e252c4d9265086df97cec3d98ed805"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/data/api/SubmitFingerprintService.kt:27-35 | authentication/src/main/java/com/adyen/checkout/authentication/internal/data/api/SubmitFingerprintService.kt:27-35 \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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/data/api/SubmitFingerprintService.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f9bcf6597c5ee31c583c862f51665ef80c292e1e1dd16ec8c5ec35a3a85fd03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): cashapppay/src/main/java/com/adyen/checkout/cashapppay/CashAppPayConfiguration.kt:179-191 | twint/src/main/java/com/adyen/checkout/twint/TwintConfiguration.kt:143-153 \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":"cashapppay/src/main/java/com/adyen/checkout/cashapppay/CashAppPayConfiguration.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6b9d085c0f00b8bf72a334dc151ca6aaa6c1a769933e3243b062ed20dee07e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): bacs/src/main/java/com/adyen/checkout/bacs/internal/ui/BacsDirectDebitValidationUtils.kt:45-51 | boleto/src/main/java/com/adyen/checkout/boleto/internal/util/BoletoValidationUtils.kt:34-40 \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":"bacs/src/main/java/com/adyen/checkout/bacs/internal/ui/BacsDirectDebitValidationUtils.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"4009b52685cc139eca292e3b561af8cf300006d0d109aa05beec2f67ef177319"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): card/src/main/java/com/adyen/checkout/card/internal/data/api/BinLookupService.kt:27-35 | card/src/main/java/com/adyen/checkout/card/old/internal/data/api/BinLookupService.kt:29-37 \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":"card/src/main/java/com/adyen/checkout/card/internal/data/api/BinLookupService.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96e59caa6c3bfd8f7dbd166136e3206a5c19c5430eddf613b18d48b2428b008"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt:111-123 | boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/DefaultBoletoDelegate.kt:93-104 \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":"ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29cde875a17e4a9375e4900a6c5d083d03d907a7afb07afd259bd30db3971aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/JSONObjectParceler.kt:22-28 | core/src/main/java/com/adyen/checkout/core/common/internal/model/JSONObjectParceler.kt:22-28 \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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/JSONObjectParceler.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b980c25d3fde6091a5a115f2256d9a53c480a4c88e7054183c826ca12af751"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/GiftCardComponentDialogFragment.kt:47-54 | drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/GooglePayComponentDialogFragment.kt:51-58 \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":"drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/GiftCardComponentDialogFragment.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03259b50f7a1fd243ff98b20648528d51e56e60ba4a3960c1801e42a211e977"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): twint-action/src/main/java/com/adyen/checkout/twint/action/internal/ui/DefaultTwintActionDelegate.kt:137-149 | wechatpay/src/main/java/com/adyen/checkout/wechatpay/internal/ui/DefaultWeChatDelegate.kt:156-163 \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":"twint-action/src/main/java/com/adyen/checkout/twint/action/internal/ui/DefaultTwintActionDelegate.kt"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0086abd59e2495dc9f6900b799233b502d9d60244131f98a0916c49ddf00c2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): await/src/main/java/com/adyen/checkout/await/internal/ui/AwaitComponent.kt:79-90 | redirect/src/main/java/com/adyen/checkout/redirect/internal/ui/RedirectComponent.kt:84-93 \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":"await/src/main/java/com/adyen/checkout/await/internal/ui/AwaitComponent.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cc035f50b95335efa9f3f80bf71c6486f7c873e4edf29013c29f0a8bb1a78ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:653-660 | authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt:664-671 \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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":653}}}],"partialFingerprints":{"codehealthFindingId/v1":"19addda422aff014eb879e875305722495f9b5c926600ed62f223c43ae78d0e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): components-core/src/main/java/com/adyen/checkout/components/core/internal/data/api/StatusService.kt:24-32 | core/src/main/java/com/adyen/checkout/core/components/internal/data/api/StatusService.kt:24-32 \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":"components-core/src/main/java/com/adyen/checkout/components/core/internal/data/api/StatusService.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"03bfca0a187b59663c871f6fca050cd3c8d7d1b0f7962dc8025d6540cf9e02f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): components-core/src/main/java/com/adyen/checkout/components/core/internal/util/ContextExtensions.kt:34-44 | core/src/main/java/com/adyen/checkout/core/common/internal/helper/ContextExtensions.kt:18-25 \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":"components-core/src/main/java/com/adyen/checkout/components/core/internal/util/ContextExtensions.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9463081c1979a806fbe3feb8fde0252bbd584f4595af690ba47bb391f12d25f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): boleto/src/main/java/com/adyen/checkout/boleto/internal/util/BoletoValidationUtils.kt:18-24 | payto/src/main/java/com/adyen/checkout/payto/internal/ui/model/PayToOutputData.kt:126-133 | upi/src/main/java/com/adyen/checkout/upi/internal/ui/DefaultUPIDelegate.kt:174-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 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":"boleto/src/main/java/com/adyen/checkout/boleto/internal/util/BoletoValidationUtils.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a94da0c2d7d2d27fa40800c44c485ed3eefe04eb1325f860c4807baf5de8d59"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): boleto/src/main/java/com/adyen/checkout/boleto/internal/util/BoletoValidationUtils.kt:26-32 | payto/src/main/java/com/adyen/checkout/payto/internal/ui/model/PayToOutputData.kt:135-142 \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":"boleto/src/main/java/com/adyen/checkout/boleto/internal/util/BoletoValidationUtils.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88062dbcd35ef00e3dcc31011782b5614ced220996c47d74cde28a769270529"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/BaseComponentDialogFragment.kt:180-183 | drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/GiftCardComponentDialogFragment.kt:145-148 | drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/PreselectedStoredPaymentMethodFragment.kt:188-191 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/BaseComponentDialogFragment.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c4ef644fdaf4cfb9113f09012577a6bc9f9baadfc288f793a48645a3ec409f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): paybybank-us/src/main/java/com/adyen/checkout/paybybankus/PayByBankUSConfiguration.kt:75-84 | paybybank/src/main/java/com/adyen/checkout/paybybank/PayByBankConfiguration.kt:93-102 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paybybank-us/src/main/java/com/adyen/checkout/paybybankus/PayByBankUSConfiguration.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1450eaa179791a5c4fe9367e3cc381834cbc747ae82a7e205ad3632b1023e48"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): redirect/src/main/java/com/adyen/checkout/redirect/old/internal/ui/DefaultRedirectDelegate.kt:213-220 | twint-action/src/main/java/com/adyen/checkout/twint/action/internal/ui/DefaultTwintActionDelegate.kt:226-233 | wechatpay/src/main/java/com/adyen/checkout/wechatpay/internal/ui/DefaultWeChatDelegate.kt:192-198 \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":"redirect/src/main/java/com/adyen/checkout/redirect/old/internal/ui/DefaultRedirectDelegate.kt"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aec802e46b068d61fa348a0e38c754d901db5190a8b744e8b25c8456e4d4f88"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): await/src/main/java/com/adyen/checkout/await/internal/ui/AwaitComponent.kt:126-131 | await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt:173-178 \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":"await/src/main/java/com/adyen/checkout/await/internal/ui/AwaitComponent.kt"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbc53fe5225503b823026ab581c9bf4a9ca7942690e652cb6918babdbb0e1ab3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt:584-588 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/StoredCardDelegate.kt:344-348 \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":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"052466a7f4b7f189179252b3a0650a246d24ecb9b2a6a655586c4028c597078a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): await/src/main/java/com/adyen/checkout/await/old/internal/ui/view/AwaitView.kt:56-65 | paybybank/src/main/java/com/adyen/checkout/paybybank/internal/ui/view/PayByBankView.kt:53-64 \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":"await/src/main/java/com/adyen/checkout/await/old/internal/ui/view/AwaitView.kt"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1a3ce4f6625d41d1f98df26cd37e7d06906412deb740e3165f82a577341df7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): blik/src/main/java/com/adyen/checkout/blik/internal/ui/state/BlikComponentStatePostProcessor.kt:44-46 | card/src/main/java/com/adyen/checkout/card/internal/ui/state/StoredCardComponentStatePostProcessor.kt:46-48 | mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/state/MBWayComponentStatePostProcessor.kt:44-46 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"blik/src/main/java/com/adyen/checkout/blik/internal/ui/state/BlikComponentStatePostProcessor.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb82fa26d21f679a8ef5412f771b3abe11c6ab464e2b5bb0567038a5b276055d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt:207-215 | sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/provider/SessionPaymentComponentProvider.kt:95-104 \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":"components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"16669d91ee344ebc2d7f4ec0d26989407009344f046d0f54479370772eb44187"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt:294-302 | sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/provider/SessionPaymentComponentProvider.kt:166-175 \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":"components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"392ce033c8f31e86f73eeeebe63cdc76dd7c70dcc1df0629fef399fa112cb21d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): card/src/main/java/com/adyen/checkout/card/internal/ui/CardComponent.kt:438-444 | card/src/main/java/com/adyen/checkout/card/internal/ui/StoredCardComponent.kt:181-185 \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":"card/src/main/java/com/adyen/checkout/card/internal/ui/CardComponent.kt"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f10a3791728187fc73d71c3d5784c0f79d4b8e04060d75d26ab9711da6420e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/src/main/java/com/adyen/checkout/core/components/CheckoutController.kt:40-48 | core/src/main/java/com/adyen/checkout/core/components/internal/PaymentMethodProvider.kt:55-64 \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":"core/src/main/java/com/adyen/checkout/core/components/CheckoutController.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1071188e283293a3d958a63ee5030d30ba1b961ee69c4bc91a865fcc781b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): econtext/src/main/java/com/adyen/checkout/econtext/internal/EContextComponent.kt:79-82 | issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/IssuerListComponent.kt:84-87 | online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/OnlineBankingComponent.kt:81-84 \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":"econtext/src/main/java/com/adyen/checkout/econtext/internal/EContextComponent.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"1232e07406eed691c0b48078145f6a281e6332d2204fac169c7f815c1f05e16b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/src/main/java/com/adyen/checkout/core/components/CheckoutController.kt:67-75 | core/src/main/java/com/adyen/checkout/core/components/internal/PaymentMethodProvider.kt:104-114 \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":"core/src/main/java/com/adyen/checkout/core/components/CheckoutController.kt"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c02aaaf7e09b1f775810e2bfd5dc4b83644ee553cc5df8ab45ebefd24e27c13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt:101-141 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/DefaultRedirectHandler.kt:91-131 \u2014 before extracting anything, compare \u0060core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt\u0060 and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/DefaultRedirectHandler.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 118 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. Note first that the copies are not typed on the same thing: \u0060AdyenLogLevel\u0060 names \u0060com.adyen.checkout.core.common.AdyenLogLevel\u0060 in one and \u0060com.adyen.checkout.core.old.AdyenLogLevel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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, \u0060core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt:99\u0060 calls \u0060Suppress\u0060 and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/DefaultRedirectHandler.kt:88\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":"core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18990d907c24701750e0d38d0908a4e01c07d0b19582c6ec41b7f623f0fe9af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:311-343 | blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:419-452 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt: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":"blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f9c69af6695bf1b1f0a6a020670c1a7b4238ef0c5f468c9c4da4b4556420a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201333 lines \u00D7 2): econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt:205-235 | online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/provider/OnlineBankingComponentProvider.kt:213-245 \u2014 before extracting anything, compare \u0060econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt\u0060 and \u0060online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/provider/OnlineBankingComponentProvider.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 126 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 \u0060econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt:205\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it 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":"econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b856ff8a7952b62906792c91e924220540657dfd481a48828112707a4da579a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:310-342 | payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:417-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 \u0060payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:310\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca6ecd83e5030fb8f44250511335ec1f0d7973175e46ef6c2908719fc787b22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:121-150 | blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:206-235 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt: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":"blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2d76acfdda08d28e5fbdcdf0bd09325c3e28386c15fb32c4b46b0d2d58b63a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:288-317 | card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:502-531 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:288\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact 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, \u0060card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:319\u0060 calls \u0060Suppress\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:533\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":"card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b66dcf08fa28107d89f9f8aa335a7ce8c9d0e03caa3fd351de841ac3f41268"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201325 lines \u00D7 23): bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt:198-219 | bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt:252-274 | blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:300-322 | blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:408-432 | boleto/src/main/java/com/adyen/checkout/boleto/internal/provider/BoletoComponentProvider.kt:206-230 | card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:277-298 | card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:491-512 | econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt:206-227 | giftcard/src/main/java/com/adyen/checkout/giftcard/internal/provider/GiftCardComponentProvider.kt:214-236 | googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/provider/GooglePayComponentProvider.kt:213-235 | ideal/src/main/java/com/adyen/checkout/ideal/internal/provider/IdealComponentProvider.kt:192-213 | instant/src/main/java/com/adyen/checkout/instant/internal/provider/InstantPaymentComponentProvider.kt:196-217 | issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/provider/IssuerListComponentProvider.kt:205-226 | mbway/src/main/java/com/adyen/checkout/mbway/old/internal/provider/MBWayComponentProvider.kt:198-220 | meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/provider/MealVoucherFRComponentProvider.kt:214-236 | online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/provider/OnlineBankingComponentProvider.kt:214-235 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:303-324 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:408-432 | paybybank/src/main/java/com/adyen/checkout/paybybank/internal/provider/PayByBankComponentProvider.kt:195-216 | payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:299-321 | payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:406-428 | sepa/src/main/java/com/adyen/checkout/sepa/internal/provider/SepaComponentProvider.kt:199-220 | upi/src/main/java/com/adyen/checkout/upi/internal/provider/UPIComponentProvider.kt:193-217 \u2014 before extracting anything, compare \u0060bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt\u0060 and \u0060bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt\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. 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 \u0060bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt: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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under 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, \u0060bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt:197\u0060 calls \u0060SubmitHandler\u0060 and \u0060boleto/src/main/java/com/adyen/checkout/boleto/internal/provider/BoletoComponentProvider.kt:205\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":"bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"50b0ee17ff72a415768378049cefe80d4e99ad0d10ed70c2d5babf74a11ac460"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:297-321 | cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:386-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 \u0060cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:297\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"759268dcaf9c6fe0acc8e4c50ef6e53f4a8eced2c90c3e41e9b943f71f316cab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): giftcard/src/main/java/com/adyen/checkout/giftcard/internal/provider/GiftCardComponentProvider.kt:94-118 | meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/provider/MealVoucherFRComponentProvider.kt:94-118 \u2014 before extracting anything, compare \u0060giftcard/src/main/java/com/adyen/checkout/giftcard/internal/provider/GiftCardComponentProvider.kt\u0060 and \u0060meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/provider/MealVoucherFRComponentProvider.kt\u0060 as WHOLE FILES: this scan already matched 5 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. 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 \u0060giftcard/src/main/java/com/adyen/checkout/giftcard/internal/provider/GiftCardComponentProvider.kt:94\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"giftcard/src/main/java/com/adyen/checkout/giftcard/internal/provider/GiftCardComponentProvider.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5302667ffb9bfc062c4d5cfacf4a4a68d8d263f71c5170370feae9515c315722"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): giftcard/src/main/java/com/adyen/checkout/giftcard/internal/provider/GiftCardComponentProvider.kt:187-211 | meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/provider/MealVoucherFRComponentProvider.kt:187-211 \u2014 before extracting anything, compare \u0060giftcard/src/main/java/com/adyen/checkout/giftcard/internal/provider/GiftCardComponentProvider.kt\u0060 and \u0060meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/provider/MealVoucherFRComponentProvider.kt\u0060 as WHOLE FILES: this scan already matched 5 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. 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 \u0060giftcard/src/main/java/com/adyen/checkout/giftcard/internal/provider/GiftCardComponentProvider.kt:187\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"giftcard/src/main/java/com/adyen/checkout/giftcard/internal/provider/GiftCardComponentProvider.kt"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f52573778f469b37e715867cd0b54b05119d51ef6cac828ac936f20d0947ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:287-311 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:373-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 \u0060twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:287\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"c61c6b37c33b3ef05f1fe1fcb423fdb6240bd2dfc0b16fb70065678a85c52dbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:127-150 | payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:211-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 \u0060payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:127\u0060 it begins part-way through the construct above it, so those exact 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, \u0060payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:126\u0060 calls \u0060SubmitHandler\u0060 and \u0060payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:210\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":"payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"01c4e8d791045bee846f0a98510b6fbd0e5f5affa0da2d95b9ca3eb5acee2270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:134-155 | ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:329-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 \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"7123162103f07539fe1fadb7d1e7a21547e5f3fbde1561e733a52af1e8f182a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:165-187 | card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:393-415 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:165\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0491cad389248d01ce7033abda95c46c83aa44f8ad14f8e28f38f31cfeb9da38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/LogcatLogger.kt:31-53 | core/src/main/java/com/adyen/checkout/core/common/internal/helper/LogcatLogger.kt:31-53 \u2014 before extracting anything, compare \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/LogcatLogger.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/common/internal/helper/LogcatLogger.kt\u0060 as WHOLE FILES: 94% 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. 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. Note first that the copies are not typed on the same thing: \u0060AdyenLogLevel\u0060 names \u0060com.adyen.checkout.core.common.AdyenLogLevel\u0060 in one and \u0060com.adyen.checkout.core.old.AdyenLogLevel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/LogcatLogger.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3297aea235dfcb81ec00afab75d98e901e3a2b9e1a0ad216cf0bfbcf244453fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:288-307 | authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt:255-275 \u2014 before extracting anything, compare \u00603ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt\u0060 and \u0060authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u00603ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt: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. 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. Note first that the copies are not typed on the same thing: \u0060AdyenLogLevel\u0060 names \u0060com.adyen.checkout.core.common.AdyenLogLevel\u0060 in one and \u0060com.adyen.checkout.core.old.AdyenLogLevel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd314aed0e416acdca6c7b59f80929df9fcba01c5e322e8b17292f842f82b5c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt:132-152 | bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt:239-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 \u0060bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt:132\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91419f4a51d76a8d4d6f16acebfd872c1a2dc7f38adb1b33e17c8da588e151b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt:119-139 | card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:139-159 \u2014 before extracting anything, compare \u0060bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt\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. 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 \u0060bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt: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":"bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e6f13b4f1e9a8b4de8a3f60984316c5bbdc91f125df3362badb8a14b1eb6fa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt:226-246 | card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:251-271 \u2014 before extracting anything, compare \u0060bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt\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. 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 \u0060bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt:226\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a29dcd42782dada7b1a88c399617d49d08c4d3ad7b5c2212ace87b4218e906e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:152-172 | card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:264-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 \u0060card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:152\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd6e3175c796fbf89db8ed731c00dd6a88b1870fcbca09f9e28a0e53148646dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:381-401 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:368-388 \u2014 before extracting anything, compare \u0060cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt\u0060 and \u0060twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 127 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 \u0060cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:381\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"8090e147e29b80002812036bc6e922b177ccb03f324ac9c56ff1421a513ce2d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:507-526 | cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:463-482 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:450-469 \u2014 before extracting anything, compare \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt\u0060 and \u0060cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt\u0060 as WHOLE FILES: this scan already matched 5 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. 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":"ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3b293d4e85306c77003e9a93b86a7650adf758539ac6138651bbf75bfcf5df1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt:193-212 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt:217-236 | giftcard/src/main/java/com/adyen/checkout/giftcard/internal/ui/DefaultGiftCardDelegate.kt:120-139 \u2014 before extracting anything, compare \u0060ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt\u0060 as WHOLE FILES: this scan already matched 3 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. 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 \u0060ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt:193\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c62f1f67de8779051c37b0f8472db0da448cc40d5dc4fc36652bff1ade8d43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:268-287 | cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:359-378 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:268\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bcd588ab3c903e8569ce1a03fb3da194922c3d05ab76ab31e58965b488e140"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): components-core/src/main/java/com/adyen/checkout/components/core/internal/data/api/StatusRepository.kt:63-82 | core/src/main/java/com/adyen/checkout/core/components/internal/data/api/StatusRepository.kt:63-82 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060components-core/src/main/java/com/adyen/checkout/components/core/internal/data/api/StatusRepository.kt: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":"components-core/src/main/java/com/adyen/checkout/components/core/internal/data/api/StatusRepository.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4f72e13ec1e7db821f5a6ff5ede6ef02c9888d7e7044398e13089afd56ebc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:128-147 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:205-224 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt: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":"twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7736d0ecbf610c40c56e815a843b935018cac3885af90f252114c82a966ea9dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:384-402 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:285-303 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:371-389 \u2014 before extracting anything, compare \u0060cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt\u0060 and \u0060twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 127 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 \u0060cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:384\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"9645fb299eb5f9f0b06f031a377a266d3cbba2d35fc47a5c70df2bcb69ff95f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:375-392 | authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt:343-361 \u2014 before extracting anything, compare \u00603ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt\u0060 and \u0060authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u00603ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:375\u0060 it does not close everything it opens, so those exact lines 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: \u0060AdyenLogLevel\u0060 names \u0060com.adyen.checkout.core.common.AdyenLogLevel\u0060 in one and \u0060com.adyen.checkout.core.old.AdyenLogLevel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ae60401dc6c4ea8c9c964950879dc6f081cd12ca428b0b6188a1181a1569fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:273-291 | blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:381-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 \u0060blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:273\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bad5e77a3dbc918ab7474af7b46c49b21415ca7cfab3993ba49456e187c4de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/DefaultAnalyticsRepository.kt:44-62 | core/src/main/java/com/adyen/checkout/core/analytics/internal/data/DefaultAnalyticsRepository.kt:44-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. Note first that the copies are not typed on the same thing: \u0060AdyenLogLevel\u0060 names \u0060com.adyen.checkout.core.common.AdyenLogLevel\u0060 in one and \u0060com.adyen.checkout.core.old.AdyenLogLevel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/DefaultAnalyticsRepository.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d6b9bfbd5893c7143b7124fe4dfc61f9811c005b146dc49e82ab980d1e9a53e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:276-294 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:382-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 \u0060paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt: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":"paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a7280d166ef74c034ae0a5681bb08212a0feb945ea78d51c9636237e47e5807"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:272-290 | payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:380-398 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:272\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"e581076cdb0dc874a9570b7550687eb46cb515dd4850218a41cb342babb9888a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt:105-122 | bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt:212-229 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt:105\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"626c371c3f6e7b293c7454b5890654dcd366e9bbb1475791626f783992d08ec4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:125-142 | card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:237-254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:125\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"20f968b0149f7f63dcc1744fc04c671a1d94926b8d13bf32b830683e42a96b47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:107-124 | cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt: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 \u0060cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:107\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9410dec25836f02b0f977f1d140c958b3cd69ec6873b90a99ae17d063f57dced"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:134-151 | cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:213-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 \u0060cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt: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":"cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"79878b006aa8719492e98b9d2437fd1b34bf71e9526d9c2e4386aca306d8270b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/PaymentMethodListDialogFragment.kt:194-211 | drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/PreselectedStoredPaymentMethodFragment.kt:212-229 \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 \u0060drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/PaymentMethodListDialogFragment.kt:194\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/PaymentMethodListDialogFragment.kt"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c106859f936535ce5085e933395043d085b7873f1754b631640a3f6fe4dfa23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:102-119 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:191-207 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d54205c390729a54fa2fdcbaa8d70aa665df0ade57e5436da5c3411e60a41cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:339-355 | authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt:305-321 \u2014 before extracting anything, compare \u00603ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt\u0060 and \u0060authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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: \u0060AdyenLogLevel\u0060 names \u0060com.adyen.checkout.core.common.AdyenLogLevel\u0060 in one and \u0060com.adyen.checkout.core.old.AdyenLogLevel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"4281826a32e4838f52ebe92fac607f5ce1fac3dbe50295dbec0ff71293a6a9ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:102-118 | blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:187-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 \u0060blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1125c37305df2ba5575dbf9b388d602862a7c6ab37bc556fdfe6d53911e3e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/OkHttpClient.kt:74-90 | core/src/main/java/com/adyen/checkout/core/common/internal/api/OkHttpClient.kt:71-87 \u2014 before extracting anything, compare \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/OkHttpClient.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/common/internal/api/OkHttpClient.kt\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 \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/OkHttpClient.kt: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. 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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/OkHttpClient.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"43be39020b75e3a0a0c711001f85100b1adc23c8ad89329d0491b095e09341c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:102-118 | payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:187-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 \u0060payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f678702383e17f54089c5333f22a6622bb164d241e84c7819ff024c38656240"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 2): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:202-215 | authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt:138-153 \u2014 before extracting anything, compare \u00603ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt\u0060 and \u0060authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u00603ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt: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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under 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: \u0060ErrorEvent\u0060 names \u0060com.adyen.checkout.components.core.internal.analytics.ErrorEvent\u0060 in one and \u0060com.adyen.checkout.core.analytics.internal.ErrorEvent\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"41a629be6e19cbbf1ed94ee0fbb09b26c3eb113d2a46e5603c8cf7718cf37095"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt:120-135 | qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/DefaultQRCodeDelegate.kt:165-180 \u2014 before extracting anything, compare \u0060await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt\u0060 and \u0060qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/DefaultQRCodeDelegate.kt\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. 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 \u0060await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt:120\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ff0ed016644231c11a048f1299611ff7c48c9963693d6dbc9133f56d6cff11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardValidationUtils.kt:49-64 | card/src/main/java/com/adyen/checkout/card/old/internal/util/CardValidationUtils.kt:43-58 \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 \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardValidationUtils.kt:49\u0060 it does not close everything it opens, so those exact lines 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: \u0060CardNumberValidationResult\u0060 names \u0060com.adyen.checkout.core.common.helper.CardNumberValidationResult\u0060 in one and \u0060com.adyen.checkout.core.old.ui.validation.CardNumberValidationResult\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardValidationUtils.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2e646afe7ef54d9874e4eb8e4236999bcd428d50953ef3fb15ff83152f8986"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt:145-160 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/DefaultRedirectHandler.kt:135-150 \u2014 before extracting anything, compare \u0060core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt\u0060 and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/DefaultRedirectHandler.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 118 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. Note first that the copies are not typed on the same thing: \u0060AdyenLogLevel\u0060 names \u0060com.adyen.checkout.core.common.AdyenLogLevel\u0060 in one and \u0060com.adyen.checkout.core.old.AdyenLogLevel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"969bcb8a36e6b28fb3ec23de7a1d98ec8d40aedda56be48892798c7fdc665638"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): giftcard/src/main/java/com/adyen/checkout/giftcard/internal/SessionsGiftCardComponentEventHandler.kt:131-146 | sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/SessionComponentEventHandler.kt:107-122 \u2014 before extracting anything, compare \u0060giftcard/src/main/java/com/adyen/checkout/giftcard/internal/SessionsGiftCardComponentEventHandler.kt\u0060 and \u0060sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/SessionComponentEventHandler.kt\u0060 as WHOLE FILES: this scan already matched 3 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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060sessionComponentCallback\u0060 to \u0060SessionsGiftCardComponentCallback\u0060 in one and \u0060SessionComponentCallback\u003CT\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":"giftcard/src/main/java/com/adyen/checkout/giftcard/internal/SessionsGiftCardComponentEventHandler.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"45835791fb54cd3045e64281a1dc14e7ade7609097168f14bb39e50ea489b17d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:123-135 | issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/provider/IssuerListComponentProvider.kt:103-117 \u2014 before extracting anything, compare \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt\u0060 and \u0060issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/provider/IssuerListComponentProvider.kt\u0060 as WHOLE FILES: this scan already matched 3 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. 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 \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt: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":"ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d523d4709a595045c0eebdcfe3be91b2d28c0f29a786462c177171c7047eb11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:114-128 | card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:356-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 \u0060card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:114\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c89a6305259b5c4756f51e53253454ac70d43cb242fcc24d7496a1a18fae44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:226-240 | card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:454-468 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:226\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfa790bd4e8f64acfe3b11f6dea13afd2c9600be337b479cef4227f7a96fa27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:386-400 | card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:484-498 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:386\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d7a10f5fa32f0e2510e24654d6feaff4773afa95f65957e2548f91ee861f6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt:499-513 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/StoredCardDelegate.kt:288-302 \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 \u0060card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt:498\u0060 calls \u0060setNumber\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/old/internal/ui/StoredCardDelegate.kt:287\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":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt"},"region":{"startLine":499}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb479df062d63c4c3aac03243a0faa77d683a52164b8f67e28174d3d4f2316ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:208-222 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:202-216 \u2014 before extracting anything, compare \u0060cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt\u0060 and \u0060twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 127 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 \u0060cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:208\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"43aef2b6864cde39467e1bd8e61a5d88df0530e17fa4701d640389d8f6a7dff7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/ui/InMemoryCache.kt:29-43 | core/src/main/java/com/adyen/checkout/core/internal/image/InMemoryCache.kt:29-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. 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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/ui/InMemoryCache.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"583198622d9993731fda1483deea07e28e46e37102fba2a9eb9d6672e90cefc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt:179-193 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/DefaultRedirectHandler.kt:169-183 \u2014 before extracting anything, compare \u0060core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt\u0060 and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/DefaultRedirectHandler.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 118 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. Note first that the copies are not typed on the same thing: \u0060AdyenLogLevel\u0060 names \u0060com.adyen.checkout.core.common.AdyenLogLevel\u0060 in one and \u0060com.adyen.checkout.core.old.AdyenLogLevel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"0742796e8840354fd7a7ab6754b32ad99042e1a242c867929f106e1af630b36e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt:92-106 | online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/provider/OnlineBankingComponentProvider.kt:94-107 \u2014 before extracting anything, compare \u0060econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt\u0060 and \u0060online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/provider/OnlineBankingComponentProvider.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 126 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 \u0060econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt:92\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c37e0b803022c881eef53de38048ce78f64f13dc86811b0a35c0913c528e96a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt:179-193 | online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/provider/OnlineBankingComponentProvider.kt:186-199 \u2014 before extracting anything, compare \u0060econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt\u0060 and \u0060online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/provider/OnlineBankingComponentProvider.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 126 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 \u0060econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46a6f0c356371297982de526b8a8c7bc035c2dbe8a8b68ccf93391baeb9e1e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): giftcard/src/main/java/com/adyen/checkout/giftcard/internal/provider/GiftCardComponentProvider.kt:114-128 | giftcard/src/main/java/com/adyen/checkout/giftcard/internal/provider/GiftCardComponentProvider.kt:207-221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060giftcard/src/main/java/com/adyen/checkout/giftcard/internal/provider/GiftCardComponentProvider.kt: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":"giftcard/src/main/java/com/adyen/checkout/giftcard/internal/provider/GiftCardComponentProvider.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f01fb556492fdac1b87705e9a90274c8e6b1f5ba9a0a1c84299626b8c430e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/provider/GooglePayComponentProvider.kt:94-108 | instant/src/main/java/com/adyen/checkout/instant/internal/provider/InstantPaymentComponentProvider.kt:89-101 \u2014 before extracting anything, compare \u0060googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/provider/GooglePayComponentProvider.kt\u0060 and \u0060instant/src/main/java/com/adyen/checkout/instant/internal/provider/InstantPaymentComponentProvider.kt\u0060 as WHOLE FILES: this scan already matched 6 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. 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 \u0060googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/provider/GooglePayComponentProvider.kt:94\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/provider/GooglePayComponentProvider.kt"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"201e964191f81f0db25c8324610cbff3ce5a267c4e5945ad358b9e2653658758"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/provider/GooglePayComponentProvider.kt:185-199 | instant/src/main/java/com/adyen/checkout/instant/internal/provider/InstantPaymentComponentProvider.kt:174-188 \u2014 before extracting anything, compare \u0060googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/provider/GooglePayComponentProvider.kt\u0060 and \u0060instant/src/main/java/com/adyen/checkout/instant/internal/provider/InstantPaymentComponentProvider.kt\u0060 as WHOLE FILES: this scan already matched 6 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. 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 \u0060googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/provider/GooglePayComponentProvider.kt:185\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/provider/GooglePayComponentProvider.kt"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd2dd62b31ad3e88368c45ae8881d4851f6cea6faec08fb06a79e9bd859c507"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/provider/MealVoucherFRComponentProvider.kt:114-128 | meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/provider/MealVoucherFRComponentProvider.kt:207-221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/provider/MealVoucherFRComponentProvider.kt: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":"meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/provider/MealVoucherFRComponentProvider.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddb729c8d717be6fd159cd96ddd8861d690f19686983e28eefdaca757d161cf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt:219-232 | boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/DefaultBoletoDelegate.kt:128-141 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt:326-339 \u2014 before extracting anything, compare \u0060ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt\u0060 and \u0060boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/DefaultBoletoDelegate.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt:219\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact 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, \u0060ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt:218\u0060 calls \u0060adyenLog\u0060 and \u0060boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/DefaultBoletoDelegate.kt: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":"ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84bb5c6d1948da5e6df7003f6ac33a0c5ec0362e27df60d7cdbedf346f3a9c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:115-128 | boleto/src/main/java/com/adyen/checkout/boleto/internal/provider/BoletoComponentProvider.kt:90-103 \u2014 before extracting anything, compare \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt\u0060 and \u0060boleto/src/main/java/com/adyen/checkout/boleto/internal/provider/BoletoComponentProvider.kt\u0060 as WHOLE FILES: this scan already matched 5 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. 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 \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:115\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c4a3c420d14a2544d3028efa030512cb8d8620a5e85ca4c6afbda016aa3bcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:201-214 | issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/provider/IssuerListComponentProvider.kt:189-201 \u2014 before extracting anything, compare \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt\u0060 and \u0060issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/provider/IssuerListComponentProvider.kt\u0060 as WHOLE FILES: this scan already matched 3 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. 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 \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"477780f3211873debf989e1c4521cea36e63e206c7612ee16ccd28dc0dd2f2e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt:181-194 | qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/DefaultQRCodeDelegate.kt:236-249 \u2014 before extracting anything, compare \u0060await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt\u0060 and \u0060qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/DefaultQRCodeDelegate.kt\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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060action\u0060 to \u0060Action\u0060 in one and \u0060QrCodeAction\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3e9edcc7a4f2698ddca535c6c9c9f04a51dffdc66a2db35ebd5d5e0c9696f32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/model/JsonUtils.kt:105-118 | core/src/main/java/com/adyen/checkout/core/common/internal/model/JsonUtils.kt:94-107 \u2014 before extracting anything, compare \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/model/JsonUtils.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/common/internal/model/JsonUtils.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/model/JsonUtils.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa1ceb6cfc711f22379509f8ec408b2498400bc62f60a0a965e1c002e8047c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt:36-51 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/DefaultRedirectHandler.kt:36-51 \u2014 before extracting anything, compare \u0060core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt\u0060 and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/DefaultRedirectHandler.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 118 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 \u0060core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt: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":"core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7884ae621ffb9f408719a958ee7a09951d411cbe22955de8bc3f44888cbeaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): giftcard/src/main/java/com/adyen/checkout/giftcard/internal/SessionsGiftCardComponentEventHandler.kt:97-110 | sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/SessionComponentEventHandler.kt:76-89 \u2014 before extracting anything, compare \u0060giftcard/src/main/java/com/adyen/checkout/giftcard/internal/SessionsGiftCardComponentEventHandler.kt\u0060 and \u0060sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/SessionComponentEventHandler.kt\u0060 as WHOLE FILES: this scan already matched 3 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. 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 \u0060giftcard/src/main/java/com/adyen/checkout/giftcard/internal/SessionsGiftCardComponentEventHandler.kt:97\u0060 it does not close everything it opens, so those exact lines 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 \u0060paymentComponentState\u0060 to \u0060GiftCardComponentState\u0060 in one and \u0060T\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"giftcard/src/main/java/com/adyen/checkout/giftcard/internal/SessionsGiftCardComponentEventHandler.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a012a488a78650728ae0a556645c7d1b0454131e91526ab5ebd0a281881ab44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/provider/OnlineBankingComponentProvider.kt:114-127 | online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/provider/OnlineBankingComponentProvider.kt:208-221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/provider/OnlineBankingComponentProvider.kt: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":"online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/provider/OnlineBankingComponentProvider.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4899cba5f9c772e45bd08f0a36cd357ca084f67724adf384ca460086b71e35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt:73-85 | components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt:118-130 | components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt:339-351 | components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt:384-396 \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":"components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6559a9d8290da15c61177f1ec056a76ce3c8bae020179ae1716f19aee19e27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt:164-176 | components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt:250-262 | components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt:430-442 | components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt:477-489 \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":"components-compose/src/main/java/com/adyen/checkout/components/compose/ComposeExtensions.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8f7256c2ad014dc4b0966df6bde098d6e6ba175ced6467928dee2750902522"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:193-205 | ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:389-401 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:193\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f29b3722182be1854c7fe13f7282065896f2d92f40cbd31c3551ad0a5b3a9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt:440-452 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/StoredCardView.kt:118-130 \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":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb114df79aee8fc624acc0fffddcd8275afc9ae6d78f68e5a8812e28c69dd819"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/model/ModelUtils.kt:61-73 | core/src/main/java/com/adyen/checkout/core/common/internal/model/ModelUtils.kt:44-56 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/model/ModelUtils.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb7a93aae2235340c08588ae6722fb2a37a045e499a33d84fbbb640f57a4373"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/ui/validation/CardNumberValidator.kt:59-71 | core/src/main/java/com/adyen/checkout/core/common/helper/CardNumberValidator.kt:56-68 \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 \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/ui/validation/CardNumberValidator.kt:59\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"checkout-core/src/main/java/com/adyen/checkout/core/old/ui/validation/CardNumberValidator.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b420ef75b0c6b4d03104e9c9d185a501dba69e7f8f2b9c68bd36616671a9877b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ideal/src/main/java/com/adyen/checkout/ideal/internal/provider/IdealComponentProvider.kt:83-95 | paybybank/src/main/java/com/adyen/checkout/paybybank/internal/provider/PayByBankComponentProvider.kt:84-96 \u2014 before extracting anything, compare \u0060ideal/src/main/java/com/adyen/checkout/ideal/internal/provider/IdealComponentProvider.kt\u0060 and \u0060paybybank/src/main/java/com/adyen/checkout/paybybank/internal/provider/PayByBankComponentProvider.kt\u0060 as WHOLE FILES: this scan already matched 7 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. 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 \u0060ideal/src/main/java/com/adyen/checkout/ideal/internal/provider/IdealComponentProvider.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ideal/src/main/java/com/adyen/checkout/ideal/internal/provider/IdealComponentProvider.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac4d178fe98fc3c3817d6caa617ec2ed6884ac8e7e44f2fdadbdf1c8f5945589"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): ideal/src/main/java/com/adyen/checkout/ideal/internal/provider/IdealComponentProvider.kt:167-179 | paybybank/src/main/java/com/adyen/checkout/paybybank/internal/provider/PayByBankComponentProvider.kt:169-181 \u2014 before extracting anything, compare \u0060ideal/src/main/java/com/adyen/checkout/ideal/internal/provider/IdealComponentProvider.kt\u0060 and \u0060paybybank/src/main/java/com/adyen/checkout/paybybank/internal/provider/PayByBankComponentProvider.kt\u0060 as WHOLE FILES: this scan already matched 7 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. 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 \u0060ideal/src/main/java/com/adyen/checkout/ideal/internal/provider/IdealComponentProvider.kt: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":"ideal/src/main/java/com/adyen/checkout/ideal/internal/provider/IdealComponentProvider.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ea38727a7656387eab00059dfcfc947fecee9307d8df6b8145fe10bb8243ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:332-344 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:440-452 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:332\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca33c3a4b08578f9f05f3f8350e2559a536496809fee28ba607342348b5ec67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:106-118 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:184-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 \u0060twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"df24d4990b6455a2624b8a2e0a629bf46ed8e347428d71dba23765118c27486d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:261-273 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:348-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 \u0060twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt: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":"twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a1db53e953c208d78577daa32b17a87120c00082aac4c0a11ae95f2a3f3a9fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 7): ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:197-208 | ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:393-404 | boleto/src/main/java/com/adyen/checkout/boleto/internal/provider/BoletoComponentProvider.kt:181-192 | ideal/src/main/java/com/adyen/checkout/ideal/internal/provider/IdealComponentProvider.kt:171-182 | paybybank/src/main/java/com/adyen/checkout/paybybank/internal/provider/PayByBankComponentProvider.kt:173-184 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:265-276 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:352-363 \u2014 before extracting anything, compare \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt\u0060 and \u0060boleto/src/main/java/com/adyen/checkout/boleto/internal/provider/BoletoComponentProvider.kt\u0060 as WHOLE FILES: this scan already matched 5 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. 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 \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:197\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5206aa11df847ca064cd398d94a9f95fb349751f5f311e1973e34bcb79938089"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:314-325 | ideal/src/main/java/com/adyen/checkout/ideal/internal/provider/IdealComponentProvider.kt:87-98 | paybybank/src/main/java/com/adyen/checkout/paybybank/internal/provider/PayByBankComponentProvider.kt:88-99 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:110-121 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:188-199 \u2014 before extracting anything, compare \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt\u0060 and \u0060ideal/src/main/java/com/adyen/checkout/ideal/internal/provider/IdealComponentProvider.kt\u0060 as WHOLE FILES: this scan already matched 4 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 \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt: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":"ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5ae3afe648d80d240e59130eae8e8f37d4a61489e4ee7a75199dabe86d35095"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:367-378 | card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:465-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 \u0060card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt: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":"card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d713e124d487129cd668b85d858455f0831cdd578f2e533e3a2fd8a940b7f01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientExt.kt:60-71 | core/src/main/java/com/adyen/checkout/core/common/internal/api/HttpClientExt.kt:60-71 \u2014 before extracting anything, compare \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientExt.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/common/internal/api/HttpClientExt.kt\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. 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. Note first that the copies are not typed on the same thing: \u0060AdyenLogLevel\u0060 names \u0060com.adyen.checkout.core.common.AdyenLogLevel\u0060 in one and \u0060com.adyen.checkout.core.old.AdyenLogLevel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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, \u0060core/src/main/java/com/adyen/checkout/core/common/internal/api/HttpClientExt.kt:73\u0060 calls \u0060Suppress\u0060 and \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientExt.kt:73\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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientExt.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f975b135d96ba82d26e1d2ff57a59d9a62276dccbf40131d0c2d800e957b0b8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/model/JsonUtils.kt:131-142 | core/src/main/java/com/adyen/checkout/core/common/internal/model/JsonUtils.kt:133-144 \u2014 before extracting anything, compare \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/model/JsonUtils.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/common/internal/model/JsonUtils.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. 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, \u0060core/src/main/java/com/adyen/checkout/core/common/internal/model/JsonUtils.kt:153\u0060 calls \u0060serializeStringList\u0060, \u0060JSONArray\u0060 and \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/model/JsonUtils.kt: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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/model/JsonUtils.kt"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc74a45fa9a295808bc259583d7d6cf33e3a4180d8d7266dd2f5777357e7575"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/AdyenLog.kt:21-32 | core/src/main/java/com/adyen/checkout/core/common/internal/helper/AdyenLog.kt:21-32 \u2014 before extracting anything, compare \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/AdyenLog.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/common/internal/helper/AdyenLog.kt\u0060 as WHOLE FILES: 89% 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. 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. Note first that the copies are not typed on the same thing: \u0060AdyenLogger\u0060 names \u0060com.adyen.checkout.core.common.AdyenLogger\u0060 in one and \u0060com.adyen.checkout.core.old.AdyenLogger\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/AdyenLog.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdd6db0eeec9709bd554c98a5e5aa4f0fa621dda58f7dfe2193c0f1e3132804"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): giftcard/src/main/java/com/adyen/checkout/giftcard/internal/SessionsGiftCardComponentEventHandler.kt:65-75 | sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/SessionComponentEventHandler.kt:56-66 \u2014 before extracting anything, compare \u0060giftcard/src/main/java/com/adyen/checkout/giftcard/internal/SessionsGiftCardComponentEventHandler.kt\u0060 and \u0060sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/SessionComponentEventHandler.kt\u0060 as WHOLE FILES: this scan already matched 3 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. 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 \u0060giftcard/src/main/java/com/adyen/checkout/giftcard/internal/SessionsGiftCardComponentEventHandler.kt: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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060event\u0060 to \u0060PaymentComponentEvent\u003CGiftCardComponentState\u003E\u0060 in one and \u0060PaymentComponentEvent\u003CT\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":"giftcard/src/main/java/com/adyen/checkout/giftcard/internal/SessionsGiftCardComponentEventHandler.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfb0d76cd5330cac7ce3504a5c1618b26e9f0dca2f743b6a97dbb937b827a8c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 23): ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:201-210 | ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:397-406 | bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt:180-189 | blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:282-291 | blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:390-399 | boleto/src/main/java/com/adyen/checkout/boleto/internal/provider/BoletoComponentProvider.kt:185-194 | cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:278-287 | cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:369-378 | econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt:186-195 | googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/provider/GooglePayComponentProvider.kt:190-201 | instant/src/main/java/com/adyen/checkout/instant/internal/provider/InstantPaymentComponentProvider.kt:179-188 | issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/provider/IssuerListComponentProvider.kt:189-198 | mbway/src/main/java/com/adyen/checkout/mbway/old/internal/provider/MBWayComponentProvider.kt:180-189 | online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/provider/OnlineBankingComponentProvider.kt:192-201 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:285-294 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:391-400 | paybybank/src/main/java/com/adyen/checkout/paybybank/internal/provider/PayByBankComponentProvider.kt:177-186 | payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:281-290 | payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:389-398 | sepa/src/main/java/com/adyen/checkout/sepa/internal/provider/SepaComponentProvider.kt:181-190 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:269-278 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:356-365 | upi/src/main/java/com/adyen/checkout/upi/internal/provider/UPIComponentProvider.kt:175-184 \u2014 before extracting anything, compare \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt\u0060 and \u0060bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt\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 \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt:179\u0060 calls \u0060getBacsDirectDebitConfiguration\u0060 and \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt: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":"ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94610b4f1cf7acbbb7ae688560d8078853d9c42eaa574386b01bc28e62a45c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): await/src/main/java/com/adyen/checkout/await/old/internal/provider/AwaitComponentProvider.kt:83-92 | qr-code/src/main/java/com/adyen/checkout/qrcode/internal/provider/QRCodeComponentProvider.kt:82-91 | twint-action/src/main/java/com/adyen/checkout/twint/action/internal/provider/TwintActionComponentProvider.kt:81-90 \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 after the matched lines, \u0060qr-code/src/main/java/com/adyen/checkout/qrcode/internal/provider/QRCodeComponentProvider.kt:92\u0060 calls \u0060QRCodeCountDownTimer\u0060 and \u0060await/src/main/java/com/adyen/checkout/await/old/internal/provider/AwaitComponentProvider.kt:93\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":"await/src/main/java/com/adyen/checkout/await/old/internal/provider/AwaitComponentProvider.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a590f5384bf7040be6d37961337159f66fe53c5dcbdf7d177639deecab6458"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt:208-217 | card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:460-470 \u2014 before extracting anything, compare \u0060bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt\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. 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 \u0060bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt: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":"bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b52c9b779fd38e9e45416809e2fb13fb8c73a025f0e46de8b458717f93143e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/view/BoletoView.kt:199-208 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt:259-267 \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 \u0060boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/view/BoletoView.kt:199\u0060 it does not close everything it opens, so those exact lines 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":"boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/view/BoletoView.kt"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8e58a5f397c72d7932ea672f131f9d144bba56df9252da84929ba759f8d8e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/ui/ImageLoader.kt:101-110 | core/src/main/java/com/adyen/checkout/core/internal/image/ImageLoaderProvider.kt:39-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/ui/ImageLoader.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"27743db98fb76a378d97d6f653212c9533e717d4d2f984e3a2a0bff5e2fba729"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/view/FullQRCodeView.kt:139-148 | qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/view/SimpleQRCodeView.kt:152-161 \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 \u0060qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/view/FullQRCodeView.kt:139\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/view/FullQRCodeView.kt"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8019d591daef6eee0b705e50d748d866ef086537db1fe37fe3485d28f77521e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/AddressLookupView.kt:239-248 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/AddressLookupView.kt:273-282 \u2014 both copies are in the same file, so extract the block 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":"ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/AddressLookupView.kt"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"2984137d874b5a6a9a71d9715be1e22101052f2f37d88445626e172801378221"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ideal/src/main/java/com/adyen/checkout/ideal/internal/ui/DefaultIdealDelegate.kt:59-67 | instant/src/main/java/com/adyen/checkout/instant/internal/ui/DefaultInstantPaymentDelegate.kt:89-97 \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":"ideal/src/main/java/com/adyen/checkout/ideal/internal/ui/DefaultIdealDelegate.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ffdec7ee7c8c6ca353d38b63a753dba2f583ed2059ffc96d09694f28493dd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 10): bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt:171-178 | blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:273-280 | blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:381-388 | mbway/src/main/java/com/adyen/checkout/mbway/old/internal/provider/MBWayComponentProvider.kt:171-178 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:276-283 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:382-389 | payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:272-279 | payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:380-387 | sepa/src/main/java/com/adyen/checkout/sepa/internal/provider/SepaComponentProvider.kt:172-179 | upi/src/main/java/com/adyen/checkout/upi/internal/provider/UPIComponentProvider.kt:166-173 \u2014 before extracting anything, compare \u0060bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt\u0060 and \u0060blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt\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. 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 \u0060bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt:171\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7eced3273757efd796f9cec9e723e96c1acc92f9d42708522bd3980504a2ac4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/data/model/ChallengeResult.kt:38-45 | authentication/src/main/java/com/adyen/checkout/authentication/internal/data/model/ChallengeResult.kt:38-45 \u2014 before extracting anything, compare \u00603ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/data/model/ChallengeResult.kt\u0060 and \u0060authentication/src/main/java/com/adyen/checkout/authentication/internal/data/model/ChallengeResult.kt\u0060 as WHOLE FILES: 97% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/data/model/ChallengeResult.kt"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19b710d10101dc61d7c668f3fc7abacad6c82794a21b82d631ba5eb88ee39cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): card/src/main/java/com/adyen/checkout/card/internal/data/api/NetworkCardBrandDetectionService.kt:69-76 | card/src/main/java/com/adyen/checkout/card/old/internal/data/api/DefaultDetectCardTypeRepository.kt:199-206 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: \u0060Brand\u0060 names \u0060com.adyen.checkout.card.internal.data.model.Brand\u0060 in one and \u0060com.adyen.checkout.card.old.internal.data.model.Brand\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, 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, \u0060card/src/main/java/com/adyen/checkout/card/internal/data/api/NetworkCardBrandDetectionService.kt:78\u0060 calls \u0060isHiddenCardType\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/old/internal/data/api/DefaultDetectCardTypeRepository.kt:207\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":"card/src/main/java/com/adyen/checkout/card/internal/data/api/NetworkCardBrandDetectionService.kt"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ddc3f5285f4b68249c52525d7ba098337d7b592ffbb7480df3c51a7d6ccacf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/remote/AnalyticsTrackRequestProvider.kt:25-32 | core/src/main/java/com/adyen/checkout/core/analytics/internal/data/remote/AnalyticsTrackRequestProvider.kt:25-32 \u2014 before extracting anything, compare \u0060components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/remote/AnalyticsTrackRequestProvider.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/analytics/internal/data/remote/AnalyticsTrackRequestProvider.kt\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. 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. Note first that the copies are not typed on the same thing: \u0060AnalyticsPlatformParams\u0060 names \u0060com.adyen.checkout.components.core.internal.analytics.AnalyticsPlatformParams\u0060 in one and \u0060com.adyen.checkout.core.analytics.internal.AnalyticsPlatformParams\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/remote/AnalyticsTrackRequestProvider.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe086df4cbe14b29af07c822109b1001110179f926aa725c10aa4a62b6ac9bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/util/AddressValidationUtils.kt:63-68 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/util/AddressValidationUtils.kt:108-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/util/AddressValidationUtils.kt"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd1ae2a54f42cb05dacce4e8068029b83b50cb190125d642ef84c89933e74ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): components-core/src/main/java/com/adyen/checkout/components/core/internal/DefaultComponentEventHandler.kt:32-36 | giftcard/src/main/java/com/adyen/checkout/giftcard/internal/GiftCardComponentEventHandler.kt:32-37 \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 \u0060components-core/src/main/java/com/adyen/checkout/components/core/internal/DefaultComponentEventHandler.kt: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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060event\u0060 to \u0060PaymentComponentEvent\u003CT\u003E\u0060 in one and \u0060PaymentComponentEvent\u003CGiftCardComponentState\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, \u0060components-core/src/main/java/com/adyen/checkout/components/core/internal/DefaultComponentEventHandler.kt:37\u0060 calls \u0060onSubmit\u0060 and \u0060giftcard/src/main/java/com/adyen/checkout/giftcard/internal/GiftCardComponentEventHandler.kt:38\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":"components-core/src/main/java/com/adyen/checkout/components/core/internal/DefaultComponentEventHandler.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d3be8102f913e056567aec7e3584ca1f58971f72a52b2d7bd2fcee7bf2bf85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 3): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/Adyen3DS2Component.kt:52-85 | qr-code/src/main/java/com/adyen/checkout/qrcode/QRCodeComponent.kt:52-85 | redirect/src/main/java/com/adyen/checkout/redirect/old/RedirectComponent.kt:54-113 \u2014 before extracting anything, compare \u00603ds2/src/main/java/com/adyen/checkout/threeds2/old/Adyen3DS2Component.kt\u0060 and \u0060qr-code/src/main/java/com/adyen/checkout/qrcode/QRCodeComponent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 240 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 \u0060redirect/src/main/java/com/adyen/checkout/redirect/old/RedirectComponent.kt:54\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/Adyen3DS2Component.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac134be25ee2c32792a722b4e703141a9e96854949f0e1fa6397e3fd2fd3276d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/analytics/ThreeDS2Events.kt:25-61 | authentication/src/main/java/com/adyen/checkout/authentication/internal/analytics/AuthenticationEvents.kt:23-59 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u00603ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/analytics/ThreeDS2Events.kt: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. Note first that the copies are not typed on the same thing: \u0060AnalyticsEvent\u0060 names \u0060com.adyen.checkout.components.core.internal.analytics.AnalyticsEvent\u0060 in one and \u0060com.adyen.checkout.core.analytics.internal.AnalyticsEvent\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/analytics/ThreeDS2Events.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f864a58de8ec783489160dd69cb4239a253a48718632791b6d79e999a9e341c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/Adyen3DS2Component.kt:52-85 | await/src/main/java/com/adyen/checkout/await/old/AwaitComponent.kt:49-72 | qr-code/src/main/java/com/adyen/checkout/qrcode/QRCodeComponent.kt:52-85 | redirect/src/main/java/com/adyen/checkout/redirect/old/RedirectComponent.kt:54-113 \u2014 before extracting anything, compare \u00603ds2/src/main/java/com/adyen/checkout/threeds2/old/Adyen3DS2Component.kt\u0060 and \u0060qr-code/src/main/java/com/adyen/checkout/qrcode/QRCodeComponent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 240 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 \u0060redirect/src/main/java/com/adyen/checkout/redirect/old/RedirectComponent.kt:54\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/Adyen3DS2Component.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"739a0b3435b73993530a49ed45bc2be9caa17f617276db03b60efa1e304d8ccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): card/src/main/java/com/adyen/checkout/card/internal/analytics/CardScannerEvents.kt:19-63 | card/src/main/java/com/adyen/checkout/card/old/internal/analytics/CardEvents.kt:19-63 \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 \u0060card/src/main/java/com/adyen/checkout/card/internal/analytics/CardScannerEvents.kt:19\u0060 it begins part-way through the construct above it, so those exact lines 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: \u0060AnalyticsEvent\u0060 names \u0060com.adyen.checkout.components.core.internal.analytics.AnalyticsEvent\u0060 in one and \u0060com.adyen.checkout.core.analytics.internal.AnalyticsEvent\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/internal/analytics/CardScannerEvents.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbd747f1f794ddee27d7e536a327e29280492b6cc2520de52a654efba7b65ca4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): card/src/main/java/com/adyen/checkout/card/internal/data/model/Brand.kt:78-91 | card/src/main/java/com/adyen/checkout/card/old/internal/data/model/Brand.kt:91-104 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060card/src/main/java/com/adyen/checkout/card/internal/data/model/Brand.kt:78\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/internal/data/model/Brand.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b141e3f3e9ec11288df626f068792275be2a063669918927165257bd7c16679e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/DispatcherProvider.kt:29-57 | core/src/main/java/com/adyen/checkout/core/common/internal/api/DispatcherProvider.kt:29-57 \u2014 before extracting anything, compare \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/DispatcherProvider.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/common/internal/api/DispatcherProvider.kt\u0060 as WHOLE FILES: 91% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"checkout-core/src/main/java/com/adyen/checkout/core/old/DispatcherProvider.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"85721805e460a30019ee4e9c78369502ed6c64f958afd43b05c5c55415efa854"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientFactory.kt:25-39 | core/src/main/java/com/adyen/checkout/core/common/internal/api/HttpClientFactory.kt:25-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. 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: \u0060Environment\u0060 names \u0060com.adyen.checkout.core.common.Environment\u0060 in one and \u0060com.adyen.checkout.core.old.Environment\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientFactory.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4805e0aaaf6daa55f2e7951830bf7b6c78f78de502c61fd16fa53162a6a328ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/Sha256.kt:20-28 | core/src/main/java/com/adyen/checkout/core/common/internal/helper/Sha256.kt:20-28 \u2014 before extracting anything, compare \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/Sha256.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/common/internal/helper/Sha256.kt\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/Sha256.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e68443e81a0793dcb7f67df27aca36714e880fc667855138c23f8e25577fee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): components-core/src/main/java/com/adyen/checkout/components/core/internal/SavedStateHandleContainer.kt:39-49 | core/src/main/java/com/adyen/checkout/core/common/internal/SavedStateHandleContainer.kt:41-51 \u2014 before extracting anything, compare \u0060components-core/src/main/java/com/adyen/checkout/components/core/internal/SavedStateHandleContainer.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/common/internal/SavedStateHandleContainer.kt\u0060 as WHOLE FILES: 84% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/internal/SavedStateHandleContainer.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a184c6237c500fa21177866db4584ee57a189a55bb8a38e4328af2c787796fed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (122 lines \u00D7 2): components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/GenericEvents.kt:24-145 | core/src/main/java/com/adyen/checkout/core/analytics/internal/GenericEvents.kt:24-154 \u2014 before extracting anything, compare \u0060components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/GenericEvents.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/analytics/internal/GenericEvents.kt\u0060 as WHOLE FILES: 95% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/GenericEvents.kt:24\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/GenericEvents.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"21699ec93ab64e0d41944cbf709b72b6b0d923e32070f4194fce992c64cafa9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 6): components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/local/ErrorAnalyticsLocalDataStore.kt:22-36 | components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/local/InfoAnalyticsLocalDataStore.kt:22-36 | components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/local/LogAnalyticsLocalDataStore.kt:22-36 | core/src/main/java/com/adyen/checkout/core/analytics/internal/data/local/ErrorAnalyticsLocalDataStore.kt:22-36 | core/src/main/java/com/adyen/checkout/core/analytics/internal/data/local/InfoAnalyticsLocalDataStore.kt:22-36 | core/src/main/java/com/adyen/checkout/core/analytics/internal/data/local/LogAnalyticsLocalDataStore.kt:22-36 \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. Note first that the copies are not typed on the same thing: \u0060AnalyticsEvent\u0060 names \u0060com.adyen.checkout.components.core.internal.analytics.AnalyticsEvent\u0060 in one and \u0060com.adyen.checkout.core.analytics.internal.AnalyticsEvent\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/local/ErrorAnalyticsLocalDataStore.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b09ec38466b26abd7adb193aefdaeb37370b7076e1f38300ae782ff09351806"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (159 lines \u00D7 2): components-core/src/main/java/com/adyen/checkout/components/core/internal/provider/PaymentComponentProvider.kt:58-216 | components-core/src/main/java/com/adyen/checkout/components/core/internal/provider/StoredPaymentComponentProvider.kt:57-215 \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 \u0060components-core/src/main/java/com/adyen/checkout/components/core/internal/provider/PaymentComponentProvider.kt: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. 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":"components-core/src/main/java/com/adyen/checkout/components/core/internal/provider/PaymentComponentProvider.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72a1fdfe4156fd24f23599af76f6ef4b65093c1149ecd1b93b2c02a124ff75e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): core/src/main/java/com/adyen/checkout/core/sessions/internal/data/api/SessionService.kt:31-67 | sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/data/api/SessionService.kt:42-134 \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 \u0060core/src/main/java/com/adyen/checkout/core/sessions/internal/data/api/SessionService.kt: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. Note first that the copies are not typed on the same thing: \u0060SessionDetailsRequest\u0060 names \u0060com.adyen.checkout.core.sessions.internal.data.model.SessionDetailsRequest\u0060 in one and \u0060com.adyen.checkout.sessions.core.internal.data.model.SessionDetailsRequest\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/sessions/internal/data/api/SessionService.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5510b909264b96c19270ed8159f467c7682ea5ee0b13e40283d043d10fbb5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 7): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/Adyen3DS2Component.kt:52-85 | await/src/main/java/com/adyen/checkout/await/old/AwaitComponent.kt:49-72 | qr-code/src/main/java/com/adyen/checkout/qrcode/QRCodeComponent.kt:52-85 | redirect/src/main/java/com/adyen/checkout/redirect/old/RedirectComponent.kt:54-113 | twint-action/src/main/java/com/adyen/checkout/twint/action/TwintActionComponent.kt:47-66 | voucher/src/main/java/com/adyen/checkout/voucher/VoucherComponent.kt:48-67 | wechatpay/src/main/java/com/adyen/checkout/wechatpay/WeChatPayActionComponent.kt:50-79 \u2014 before extracting anything, compare \u00603ds2/src/main/java/com/adyen/checkout/threeds2/old/Adyen3DS2Component.kt\u0060 and \u0060qr-code/src/main/java/com/adyen/checkout/qrcode/QRCodeComponent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 240 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 \u0060redirect/src/main/java/com/adyen/checkout/redirect/old/RedirectComponent.kt:54\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060twint-action/src/main/java/com/adyen/checkout/twint/action/TwintActionComponent.kt:71\u0060 calls \u0060TwintActionComponentProvider\u0060 and \u0060redirect/src/main/java/com/adyen/checkout/redirect/old/RedirectComponent.kt:114\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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/Adyen3DS2Component.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"9641af14b03c73463cf7c1972ee705c8bcf42f15cd2c8fd5c3725597c7449231"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 4): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/Adyen3DS2Component.kt:52-85 | qr-code/src/main/java/com/adyen/checkout/qrcode/QRCodeComponent.kt:52-85 | redirect/src/main/java/com/adyen/checkout/redirect/old/RedirectComponent.kt:54-113 | wechatpay/src/main/java/com/adyen/checkout/wechatpay/WeChatPayActionComponent.kt:50-79 \u2014 before extracting anything, compare \u00603ds2/src/main/java/com/adyen/checkout/threeds2/old/Adyen3DS2Component.kt\u0060 and \u0060qr-code/src/main/java/com/adyen/checkout/qrcode/QRCodeComponent.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 240 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 \u0060redirect/src/main/java/com/adyen/checkout/redirect/old/RedirectComponent.kt:54\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/Adyen3DS2Component.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0c191b66b8af92e91aa369f419366a8fabe034894789c2ccbe88fb57c575b8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/Adyen3DS2Configuration.kt:160-170 | await/src/main/java/com/adyen/checkout/await/old/AwaitConfiguration.kt:126-136 | qr-code/src/main/java/com/adyen/checkout/qrcode/QRCodeConfiguration.kt:126-136 | redirect/src/main/java/com/adyen/checkout/redirect/old/RedirectConfiguration.kt:124-134 | twint-action/src/main/java/com/adyen/checkout/twint/action/TwintActionConfiguration.kt:123-133 | voucher/src/main/java/com/adyen/checkout/voucher/VoucherConfiguration.kt:125-135 | wechatpay/src/main/java/com/adyen/checkout/wechatpay/WeChatPayActionConfiguration.kt:124-134 \u2014 before extracting anything, compare \u0060await/src/main/java/com/adyen/checkout/await/old/AwaitConfiguration.kt\u0060 and \u0060qr-code/src/main/java/com/adyen/checkout/qrcode/QRCodeConfiguration.kt\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/Adyen3DS2Configuration.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f5a715f561090ecf84edca16ec3bb265ecb370b193a058884402e4479faec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 8): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/provider/Adyen3DS2ComponentProvider.kt:122-132 | action-core/src/main/java/com/adyen/checkout/action/core/internal/provider/GenericActionComponentProvider.kt:112-122 | await/src/main/java/com/adyen/checkout/await/old/internal/provider/AwaitComponentProvider.kt:114-124 | qr-code/src/main/java/com/adyen/checkout/qrcode/internal/provider/QRCodeComponentProvider.kt:117-127 | redirect/src/main/java/com/adyen/checkout/redirect/old/internal/provider/RedirectComponentProvider.kt:111-121 | twint-action/src/main/java/com/adyen/checkout/twint/action/internal/provider/TwintActionComponentProvider.kt:110-120 | voucher/src/main/java/com/adyen/checkout/voucher/internal/provider/VoucherComponentProvider.kt:103-113 | wechatpay/src/main/java/com/adyen/checkout/wechatpay/internal/provider/WeChatPayActionComponentProvider.kt:110-120 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 8 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 8 times. Read the line range as the matched WINDOW rather than a finished unit: at \u00603ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/provider/Adyen3DS2ComponentProvider.kt:122\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060twint-action/src/main/java/com/adyen/checkout/twint/action/internal/provider/TwintActionComponentProvider.kt:122\u0060 calls \u0060listOf\u0060 and \u0060await/src/main/java/com/adyen/checkout/await/old/internal/provider/AwaitComponentProvider.kt:126\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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/provider/Adyen3DS2ComponentProvider.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"520485f1964f1b62cf224a0f56527f7c8ed7dc980c7709c2dd2b175d0a09a7d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:113-122 | redirect/src/main/java/com/adyen/checkout/redirect/old/internal/ui/DefaultRedirectDelegate.kt:90-99 | twint-action/src/main/java/com/adyen/checkout/twint/action/internal/ui/DefaultTwintActionDelegate.kt:97-106 | wechatpay/src/main/java/com/adyen/checkout/wechatpay/internal/ui/DefaultWeChatDelegate.kt:84-93 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u00603ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:113\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"293bb21a24efbf1a8838962b4bbf534560ffdf284f0dbe8421374d691d6b9ed0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:476-484 | qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/DefaultQRCodeDelegate.kt:218-226 \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 \u0060action\u0060 to \u0060RedirectAction\u0060 in one and \u0060QrCodeAction\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"836088e23024921fc6418c6f3a2f0d7ff1cfe407bc849bec79d301ab46df6631"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:536-548 | authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt:520-532 \u2014 before extracting anything, compare \u00603ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt\u0060 and \u0060authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 86 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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: \u0060ChallengeToken\u0060 names \u0060com.adyen.checkout.authentication.internal.data.model.ChallengeToken\u0060 in one and \u0060com.adyen.checkout.threeds2.old.internal.data.model.ChallengeToken\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96d6dd1ec2ea39a376d96d397e5c29cd889b5ee624c7278f12e8e0d53dee5d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt:550-557 | qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/DefaultQRCodeDelegate.kt:299-306 \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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"914c36997498b6e5146c3d4075a7e1739775c45a9f5166a2dfc41b4c093fa8c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 24): ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:167-179 | ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:363-375 | bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt:145-157 | bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt:179-191 | blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:162-174 | blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:247-259 | boleto/src/main/java/com/adyen/checkout/boleto/internal/provider/BoletoComponentProvider.kt:151-163 | cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:163-175 | cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:242-254 | giftcard/src/main/java/com/adyen/checkout/giftcard/internal/provider/GiftCardComponentProvider.kt:156-168 | googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/provider/GooglePayComponentProvider.kt:156-168 | ideal/src/main/java/com/adyen/checkout/ideal/internal/provider/IdealComponentProvider.kt:141-153 | instant/src/main/java/com/adyen/checkout/instant/internal/provider/InstantPaymentComponentProvider.kt:144-156 | mbway/src/main/java/com/adyen/checkout/mbway/old/internal/provider/MBWayComponentProvider.kt:145-157 | meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/provider/MealVoucherFRComponentProvider.kt:156-168 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:166-178 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:250-262 | paybybank/src/main/java/com/adyen/checkout/paybybank/internal/provider/PayByBankComponentProvider.kt:143-155 | payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:162-174 | payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:246-258 | sepa/src/main/java/com/adyen/checkout/sepa/internal/provider/SepaComponentProvider.kt:146-158 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:159-171 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:236-248 | upi/src/main/java/com/adyen/checkout/upi/internal/provider/UPIComponentProvider.kt:140-152 \u2014 before extracting anything, compare \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt\u0060 and \u0060bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt\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 \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt: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. 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, \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:181\u0060 calls \u0060Suppress\u0060 and \u0060blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:176\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":"ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c1abf505db4863015b65993ba497bc0b0c2edbc4b2ab290624f6a9a05762a64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 25): ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:258-270 | ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:451-463 | bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt:252-264 | bcmc/src/main/java/com/adyen/checkout/bcmc/internal/provider/BcmcComponentProvider.kt:309-321 | blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:355-367 | blik/src/main/java/com/adyen/checkout/blik/old/internal/provider/BlikComponentProvider.kt:464-476 | boleto/src/main/java/com/adyen/checkout/boleto/internal/provider/BoletoComponentProvider.kt:262-274 | card/src/main/java/com/adyen/checkout/card/old/internal/provider/CardComponentProvider.kt:543-555 | cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:333-345 | cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:422-434 | giftcard/src/main/java/com/adyen/checkout/giftcard/internal/provider/GiftCardComponentProvider.kt:273-285 | googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/provider/GooglePayComponentProvider.kt:268-280 | ideal/src/main/java/com/adyen/checkout/ideal/internal/provider/IdealComponentProvider.kt:245-257 | instant/src/main/java/com/adyen/checkout/instant/internal/provider/InstantPaymentComponentProvider.kt:249-261 | mbway/src/main/java/com/adyen/checkout/mbway/old/internal/provider/MBWayComponentProvider.kt:253-265 | meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/provider/MealVoucherFRComponentProvider.kt:273-285 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:356-368 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/provider/PayByBankUSComponentProvider.kt:464-476 | paybybank/src/main/java/com/adyen/checkout/paybybank/internal/provider/PayByBankComponentProvider.kt:248-260 | payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:354-366 | payto/src/main/java/com/adyen/checkout/payto/internal/provider/PayToComponentProvider.kt:461-473 | sepa/src/main/java/com/adyen/checkout/sepa/internal/provider/SepaComponentProvider.kt:252-264 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:323-335 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:409-421 | upi/src/main/java/com/adyen/checkout/upi/internal/provider/UPIComponentProvider.kt:249-261 \u2014 before extracting anything, compare \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt\u0060 and \u0060bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt\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 \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:258\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/provider/MealVoucherFRComponentProvider.kt:287\u0060 calls \u0060Suppress\u0060 and \u0060bacs/src/main/java/com/adyen/checkout/bacs/internal/provider/BacsDirectDebitComponentProvider.kt:266\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":"ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"fefe8c27f702ad5410b2bd44caa607960d271bcbff84d4fac37e7e5c4056f079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 17): ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt:125-131 | bacs/src/main/java/com/adyen/checkout/bacs/internal/ui/DefaultBacsDirectDebitDelegate.kt:71-77 | blik/src/main/java/com/adyen/checkout/blik/old/internal/ui/DefaultBlikDelegate.kt:77-83 | boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/DefaultBoletoDelegate.kt:106-112 | cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/ui/DefaultCashAppPayDelegate.kt:116-122 | econtext/src/main/java/com/adyen/checkout/econtext/internal/ui/DefaultEContextDelegate.kt:86-92 | giftcard/src/main/java/com/adyen/checkout/giftcard/internal/ui/DefaultGiftCardDelegate.kt:109-115 | googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/ui/DefaultGooglePayDelegate.kt:99-105 | issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/ui/DefaultIssuerListDelegate.kt:81-87 | mbway/src/main/java/com/adyen/checkout/mbway/old/internal/ui/DefaultMBWayDelegate.kt:78-84 | online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/ui/DefaultOnlineBankingDelegate.kt:99-105 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/DefaultPayByBankUSDelegate.kt:72-78 | paybybank/src/main/java/com/adyen/checkout/paybybank/internal/ui/DefaultPayByBankDelegate.kt:83-89 | payto/src/main/java/com/adyen/checkout/payto/internal/ui/DefaultPayToDelegate.kt:79-85 | sepa/src/main/java/com/adyen/checkout/sepa/internal/ui/DefaultSepaDelegate.kt:70-76 | twint/src/main/java/com/adyen/checkout/twint/internal/ui/DefaultTwintDelegate.kt:70-76 | upi/src/main/java/com/adyen/checkout/upi/internal/ui/DefaultUPIDelegate.kt:81-87 \u2014 before extracting anything, compare \u0060ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt\u0060 and \u0060boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/DefaultBoletoDelegate.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060giftcard/src/main/java/com/adyen/checkout/giftcard/internal/ui/DefaultGiftCardDelegate.kt:106\u0060 calls \u0060fetchPublicKey\u0060 and \u0060bacs/src/main/java/com/adyen/checkout/bacs/internal/ui/DefaultBacsDirectDebitDelegate.kt:68\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":"ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"665b3c8765d671934faba40d79c1b46f0072866142a69a85458117d1858bbe49"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt:144-152 | boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/DefaultBoletoDelegate.kt:169-177 \u2014 before extracting anything, compare \u0060ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt\u0060 and \u0060boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/DefaultBoletoDelegate.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0a08201f83fdf757167c766587bee5420bd6154b3eb7b1bfa95a7bb4547e01e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt:234-242 | boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/DefaultBoletoDelegate.kt:114-122 \u2014 before extracting anything, compare \u0060ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt\u0060 and \u0060boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/DefaultBoletoDelegate.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbd1c0216f6fd0a22da394db7326437668c96eb0353fcd16cefe383984f5f2a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt:346-355 | ach/src/main/java/com/adyen/checkout/ach/internal/ui/StoredACHDirectDebitDelegate.kt:170-179 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt:199-208 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/StoredCardDelegate.kt:176-185 | cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/ui/DefaultCashAppPayDelegate.kt:128-137 | giftcard/src/main/java/com/adyen/checkout/giftcard/internal/ui/DefaultGiftCardDelegate.kt:145-154 | googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/ui/DefaultGooglePayDelegate.kt:125-134 | online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/ui/DefaultOnlineBankingDelegate.kt:111-120 \u2014 before extracting anything, compare \u0060ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt\u0060 as WHOLE FILES: this scan already matched 3 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. 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 \u0060ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt:346\u0060 it begins part-way through the construct above it, so those exact lines 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 \u0060callback\u0060 to \u0060(PaymentComponentEvent\u003CACHDirectDebitComponentState\u003E) -\u003E Unit\u0060 in one and \u0060(PaymentComponentEvent\u003CCardComponentState\u003E) -\u003E Unit\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"7514f6339a7088812f72516a235e6a934f43b38da5bd6c170e9dc66c5fba2db3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): ach/src/main/java/com/adyen/checkout/ach/internal/ui/StoredACHDirectDebitDelegate.kt:108-115 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/StoredPayByBankUSDelegate.kt:78-85 | payto/src/main/java/com/adyen/checkout/payto/internal/ui/StoredPayToDelegate.kt:81-88 \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":"ach/src/main/java/com/adyen/checkout/ach/internal/ui/StoredACHDirectDebitDelegate.kt"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b699ffb896d79b1ac58e42b86fde7662eae06e86f1eea2505b1a6b3a993be8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): action-core/src/main/java/com/adyen/checkout/action/core/internal/ui/DefaultGenericActionDelegate.kt:101-113 | qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/DefaultQRCodeDelegate.kt:145-157 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060action-core/src/main/java/com/adyen/checkout/action/core/internal/ui/DefaultGenericActionDelegate.kt:101\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"action-core/src/main/java/com/adyen/checkout/action/core/internal/ui/DefaultGenericActionDelegate.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ebc7371219ca49b82779a26afedaa4b0ba35ea4274c2ab0ad71123bffabbcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt:207-216 | qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/DefaultQRCodeDelegate.kt:279-288 \u2014 before extracting anything, compare \u0060await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt\u0060 and \u0060qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/DefaultQRCodeDelegate.kt\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. 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":"await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffb03958a07bc9ff2682257f4faa0d011c9622867e511a622e4034c275bb50b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt:225-233 | qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/DefaultQRCodeDelegate.kt:315-323 \u2014 before extracting anything, compare \u0060await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt\u0060 and \u0060qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/DefaultQRCodeDelegate.kt\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. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"646dfdcac6755eab14255b4b03fe218aed8cf93a6d8df0c33aa7ccb57a568903"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 19): bacs/src/main/java/com/adyen/checkout/bacs/internal/ui/DefaultBacsDirectDebitDelegate.kt:83-92 | blik/src/main/java/com/adyen/checkout/blik/old/internal/ui/DefaultBlikDelegate.kt:89-98 | blik/src/main/java/com/adyen/checkout/blik/old/internal/ui/StoredBlikDelegate.kt:85-94 | boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/DefaultBoletoDelegate.kt:281-290 | cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/ui/StoredCashAppPayDelegate.kt:85-94 | econtext/src/main/java/com/adyen/checkout/econtext/internal/ui/DefaultEContextDelegate.kt:186-195 | ideal/src/main/java/com/adyen/checkout/ideal/internal/ui/DefaultIdealDelegate.kt:73-82 | instant/src/main/java/com/adyen/checkout/instant/internal/ui/DefaultInstantPaymentDelegate.kt:103-112 | issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/ui/DefaultIssuerListDelegate.kt:93-102 | mbway/src/main/java/com/adyen/checkout/mbway/old/internal/ui/DefaultMBWayDelegate.kt:90-99 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/DefaultPayByBankUSDelegate.kt:84-93 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/StoredPayByBankUSDelegate.kt:95-104 | paybybank/src/main/java/com/adyen/checkout/paybybank/internal/ui/DefaultPayByBankDelegate.kt:95-104 | payto/src/main/java/com/adyen/checkout/payto/internal/ui/DefaultPayToDelegate.kt:91-100 | payto/src/main/java/com/adyen/checkout/payto/internal/ui/StoredPayToDelegate.kt:98-107 | sepa/src/main/java/com/adyen/checkout/sepa/internal/ui/DefaultSepaDelegate.kt:82-91 | twint/src/main/java/com/adyen/checkout/twint/internal/ui/DefaultTwintDelegate.kt:82-91 | twint/src/main/java/com/adyen/checkout/twint/internal/ui/StoredTwintDelegate.kt:83-92 | upi/src/main/java/com/adyen/checkout/upi/internal/ui/DefaultUPIDelegate.kt:93-102 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 19 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 19 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060bacs/src/main/java/com/adyen/checkout/bacs/internal/ui/DefaultBacsDirectDebitDelegate.kt: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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060callback\u0060 to \u0060(PaymentComponentEvent\u003CBacsDirectDebitComponentState\u003E) -\u003E Unit\u0060 in one and \u0060(PaymentComponentEvent\u003CBlikComponentState\u003E) -\u003E Unit\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bacs/src/main/java/com/adyen/checkout/bacs/internal/ui/DefaultBacsDirectDebitDelegate.kt"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"763f7f53a8a0e7d7d8c061236975ae2e67469ff8472ce221e624fb42ceb5e03c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): bacs/src/main/java/com/adyen/checkout/bacs/internal/ui/view/BacsDirectDebitInputView.kt:292-296 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt:377-381 \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":"bacs/src/main/java/com/adyen/checkout/bacs/internal/ui/view/BacsDirectDebitInputView.kt"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"0085c401cdcc5cdc1841121bc6c02488576c3255511e74d83bcc3e400e9547ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): blik/src/main/java/com/adyen/checkout/blik/old/internal/ui/StoredBlikDelegate.kt:70-79 | paybybank-us/src/main/java/com/adyen/checkout/paybybankus/internal/StoredPayByBankUSDelegate.kt:67-76 | payto/src/main/java/com/adyen/checkout/payto/internal/ui/StoredPayToDelegate.kt:70-79 \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":"blik/src/main/java/com/adyen/checkout/blik/old/internal/ui/StoredBlikDelegate.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c315abe7532a92a73357d5fc41fb3951408d91fcfd332afa2d5189ae65375685"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): card-scanning/src/main/java/com/adyen/checkout/card/scanning/internal/CardScannerInitializer.kt:31-43 | card-scanning/src/main/java/com/adyen/checkout/card/scanning/old/AdyenCardScanner.kt:39-51 \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. Note first that the copies are not typed on the same thing: \u0060Environment\u0060 names \u0060com.adyen.checkout.core.common.Environment\u0060 in one and \u0060com.adyen.checkout.core.old.Environment\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card-scanning/src/main/java/com/adyen/checkout/card/scanning/internal/CardScannerInitializer.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"603bdcb441653f491448a90bd2df9542e903efdeb934788a28d0a471f7e62fe8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt:103-109 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/StoredCardView.kt:70-76 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b6af721d017529a5a20b70ef249a92e36d183be922797dc81d1ac80fed3eb7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt:111-116 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/StoredCardView.kt:78-83 \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":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a2f312670ccf2b2dc4ccc5654bd144ac75150dc91970913d281f7c05ce0740"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/ui/StoredCashAppPayDelegate.kt:72-79 | twint/src/main/java/com/adyen/checkout/twint/internal/ui/StoredTwintDelegate.kt:70-77 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060componentState\u0060 to \u0060CashAppPayComponentState\u0060 in one and \u0060TwintComponentState\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/ui/StoredCashAppPayDelegate.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f197489dba27297c0b8a23fc62177c6641465ffed10d04f6324f82adc8fa9712"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientExt.kt:27-35 | core/src/main/java/com/adyen/checkout/core/common/internal/api/HttpClientExt.kt:27-35 \u2014 before extracting anything, compare \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientExt.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/common/internal/api/HttpClientExt.kt\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. 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 \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientExt.kt: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. 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. Note first that the copies are not typed on the same thing: \u0060AdyenLogLevel\u0060 names \u0060com.adyen.checkout.core.common.AdyenLogLevel\u0060 in one and \u0060com.adyen.checkout.core.old.AdyenLogLevel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientExt.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad3c4d6e9712af064ef045a684c8cf1d84a9ac72fe308bf22d8622987b1bef2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientExt.kt:42-50 | core/src/main/java/com/adyen/checkout/core/common/internal/api/HttpClientExt.kt:42-50 \u2014 before extracting anything, compare \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientExt.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/common/internal/api/HttpClientExt.kt\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. 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 \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientExt.kt: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. 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. Note first that the copies are not typed on the same thing: \u0060AdyenLogLevel\u0060 names \u0060com.adyen.checkout.core.common.AdyenLogLevel\u0060 in one and \u0060com.adyen.checkout.core.old.AdyenLogLevel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientExt.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad9a39436d961d78c0a37e587d6c3a9f7ff869498ab6d89e87f52fe97e1113fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientExt.kt:98-105 | core/src/main/java/com/adyen/checkout/core/common/internal/api/HttpClientExt.kt:99-106 \u2014 before extracting anything, compare \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientExt.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/common/internal/api/HttpClientExt.kt\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. 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: \u0060AdyenLogLevel\u0060 names \u0060com.adyen.checkout.core.common.AdyenLogLevel\u0060 in one and \u0060com.adyen.checkout.core.old.AdyenLogLevel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientExt.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3ff39b3e3f72a0c47b2a83464490a14009d12cd0c6f3c87e3f8b17029de969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientExt.kt:107-111 | core/src/main/java/com/adyen/checkout/core/common/internal/api/HttpClientExt.kt:108-112 \u2014 before extracting anything, compare \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientExt.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/common/internal/api/HttpClientExt.kt\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. 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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/HttpClientExt.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d547009e3855c2341a3c93c6b17354e37802a5c293dd7bc90e9e80330e15b875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/OkHttpClient.kt:37-45 | core/src/main/java/com/adyen/checkout/core/common/internal/api/OkHttpClient.kt:35-43 \u2014 before extracting anything, compare \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/OkHttpClient.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/common/internal/api/OkHttpClient.kt\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 \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/OkHttpClient.kt: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. 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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/OkHttpClient.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"469480424d37fc0d07c53725ce1d781b9b0f9b5d58840f92e1c64196501ecd56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/OkHttpClient.kt:52-60 | core/src/main/java/com/adyen/checkout/core/common/internal/api/OkHttpClient.kt:50-58 \u2014 before extracting anything, compare \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/OkHttpClient.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/common/internal/api/OkHttpClient.kt\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 \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/OkHttpClient.kt: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. 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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/api/OkHttpClient.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"156cb88b07caf344386d7321d601b315f35fc716abd2de113c962ca16d348f61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/model/JsonUtils.kt:151-160 | core/src/main/java/com/adyen/checkout/core/common/internal/model/JsonUtils.kt:162-171 \u2014 before extracting anything, compare \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/model/JsonUtils.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/common/internal/model/JsonUtils.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060core/src/main/java/com/adyen/checkout/core/common/internal/model/JsonUtils.kt:153\u0060 calls \u0060serializeStringList\u0060, \u0060JSONArray\u0060 and \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/model/JsonUtils.kt:142\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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/model/JsonUtils.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ba9395421460ebf4742cf5f5d6d849fd0877138822091707ce315693e674348"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/model/ModelUtils.kt:97-106 | core/src/main/java/com/adyen/checkout/core/common/internal/model/ModelUtils.kt:102-111 \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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/model/ModelUtils.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ceeb1c78a2a6a9b255566cc95876c55d83de39835c4714be6e02277e55e0a40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/AdyenLog.kt:43-47 | core/src/main/java/com/adyen/checkout/core/common/internal/helper/AdyenLog.kt:43-47 \u2014 before extracting anything, compare \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/AdyenLog.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/common/internal/helper/AdyenLog.kt\u0060 as WHOLE FILES: 89% 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. 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 \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/AdyenLog.kt:43\u0060 it begins part-way through the construct above it, so those exact lines 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: \u0060AdyenLogger\u0060 names \u0060com.adyen.checkout.core.common.AdyenLogger\u0060 in one and \u0060com.adyen.checkout.core.old.AdyenLogger\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/AdyenLog.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"aecf8fd28e498de902f484ae6a38e3cbc66914252d30b33097993ca8c0066848"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/JSONObjectParceler.kt:30-37 | core/src/main/java/com/adyen/checkout/core/common/internal/model/JSONObjectParceler.kt:30-37 \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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/JSONObjectParceler.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacd3bfaa3ba0beeef08c777be284cef68056d3317d237f89305b3c09671db61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/LogcatLogger.kt:68-80 | core/src/main/java/com/adyen/checkout/core/common/internal/helper/LogcatLogger.kt:68-80 \u2014 before extracting anything, compare \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/LogcatLogger.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/common/internal/helper/LogcatLogger.kt\u0060 as WHOLE FILES: 94% 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. 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 \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/LogcatLogger.kt: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. Note first that the copies are not typed on the same thing: \u0060AdyenLogLevel\u0060 names \u0060com.adyen.checkout.core.common.AdyenLogLevel\u0060 in one and \u0060com.adyen.checkout.core.old.AdyenLogLevel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/LogcatLogger.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"8308e075efa71bd355c4007c5ac22b9034f23568fcd527f5a5c843cbebc42ebf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/ResultExt.kt:16-24 | core/src/main/java/com/adyen/checkout/core/common/internal/helper/ResultExt.kt:16-24 \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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/ResultExt.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"30227d2a255e508fac261de375827d7c523a51d697f1a4daf6881aab3a269a63"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/DefaultAnalyticsRepository.kt:33-39 | core/src/main/java/com/adyen/checkout/core/analytics/internal/data/DefaultAnalyticsRepository.kt:33-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. Note first that the copies are not typed on the same thing: \u0060AnalyticsEvent\u0060 names \u0060com.adyen.checkout.components.core.internal.analytics.AnalyticsEvent\u0060 in one and \u0060com.adyen.checkout.core.analytics.internal.AnalyticsEvent\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/DefaultAnalyticsRepository.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac82546e3541d35d29052bdf5edbf454228d5e93e1a578fed6ff26e98c3925e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/remote/AnalyticsTrackRequestProvider.kt:34-46 | core/src/main/java/com/adyen/checkout/core/analytics/internal/data/remote/AnalyticsTrackRequestProvider.kt:34-46 \u2014 before extracting anything, compare \u0060components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/remote/AnalyticsTrackRequestProvider.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/analytics/internal/data/remote/AnalyticsTrackRequestProvider.kt\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. 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: \u0060AnalyticsEvent\u0060 names \u0060com.adyen.checkout.components.core.internal.analytics.AnalyticsEvent\u0060 in one and \u0060com.adyen.checkout.core.analytics.internal.AnalyticsEvent\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/remote/AnalyticsTrackRequestProvider.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"22648b217f6d182994798561e459f05d631f1f134545864f7cea31dac51482a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/remote/AnalyticsTrackRequestProvider.kt:48-57 | core/src/main/java/com/adyen/checkout/core/analytics/internal/data/remote/AnalyticsTrackRequestProvider.kt:48-57 \u2014 before extracting anything, compare \u0060components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/remote/AnalyticsTrackRequestProvider.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/analytics/internal/data/remote/AnalyticsTrackRequestProvider.kt\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. 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: \u0060AnalyticsEvent\u0060 names \u0060com.adyen.checkout.components.core.internal.analytics.AnalyticsEvent\u0060 in one and \u0060com.adyen.checkout.core.analytics.internal.AnalyticsEvent\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/remote/AnalyticsTrackRequestProvider.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa2b9dec298f34b5063a602429744917c54b9ec730725aecb784c3e4683bcc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/remote/AnalyticsTrackRequestProvider.kt:59-67 | core/src/main/java/com/adyen/checkout/core/analytics/internal/data/remote/AnalyticsTrackRequestProvider.kt:59-67 \u2014 before extracting anything, compare \u0060components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/remote/AnalyticsTrackRequestProvider.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/analytics/internal/data/remote/AnalyticsTrackRequestProvider.kt\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. 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: \u0060AnalyticsEvent\u0060 names \u0060com.adyen.checkout.components.core.internal.analytics.AnalyticsEvent\u0060 in one and \u0060com.adyen.checkout.core.analytics.internal.AnalyticsEvent\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/remote/AnalyticsTrackRequestProvider.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e8fe5e7b0939378195fca68b7c9221272198b92281895f139f5e925b854ee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): components-core/src/main/java/com/adyen/checkout/components/core/internal/data/api/AnalyticsService.kt:31-39 | core/src/main/java/com/adyen/checkout/core/analytics/internal/data/remote/api/AnalyticsService.kt:45-53 \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 \u0060components-core/src/main/java/com/adyen/checkout/components/core/internal/data/api/AnalyticsService.kt: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. Note first that the copies are not typed on the same thing: \u0060AnalyticsSetupRequest\u0060 names \u0060com.adyen.checkout.components.core.internal.data.model.AnalyticsSetupRequest\u0060 in one and \u0060com.adyen.checkout.core.analytics.internal.data.remote.model.AnalyticsSetupRequest\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/internal/data/api/AnalyticsService.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f20c9f2f4f790b4b4e299df47763f5702cab76687b2f25759b44f429b2e4db5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): components-core/src/main/java/com/adyen/checkout/components/core/internal/data/api/AnalyticsService.kt:45-53 | core/src/main/java/com/adyen/checkout/core/analytics/internal/data/remote/api/AnalyticsService.kt:59-67 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060components-core/src/main/java/com/adyen/checkout/components/core/internal/data/api/AnalyticsService.kt: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. Note first that the copies are not typed on the same thing: \u0060AnalyticsTrackRequest\u0060 names \u0060com.adyen.checkout.components.core.internal.data.model.AnalyticsTrackRequest\u0060 in one and \u0060com.adyen.checkout.core.analytics.internal.data.remote.model.AnalyticsTrackRequest\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/internal/data/api/AnalyticsService.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"c421ecd21daad6555e09d8884b9cc9e5ac4a2e2931a3c16f472532c442548597"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): components-core/src/main/java/com/adyen/checkout/components/core/internal/data/api/StatusRepository.kt:109-124 | core/src/main/java/com/adyen/checkout/core/components/internal/data/api/StatusRepository.kt:116-131 \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":"components-core/src/main/java/com/adyen/checkout/components/core/internal/data/api/StatusRepository.kt"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3de9770fada30530f85d6125e3108f7732c383eea0923803a1d194d676dc008"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): components-core/src/main/java/com/adyen/checkout/components/core/internal/ui/model/AnalyticsParams.kt:33-39 | core/src/main/java/com/adyen/checkout/core/common/internal/CheckoutParamsFactory.kt:79-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. Note first that the copies are not typed on the same thing: \u0060AnalyticsConfiguration\u0060 names \u0060com.adyen.checkout.components.core.AnalyticsConfiguration\u0060 in one and \u0060com.adyen.checkout.core.components.AnalyticsConfiguration\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/internal/ui/model/AnalyticsParams.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1631f717e1499dbadac93c08aeae2e0cfd6a49c8e07ec2133986f287a80acd9b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/src/main/java/com/adyen/checkout/core/common/internal/ui/CheckoutNetworkLogo.kt:91-100 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/ImageLoadingExtensions.kt:98-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/common/internal/ui/CheckoutNetworkLogo.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfed69aafdb1fd97a51479464cb1aecc1540d9180bf114a1182139e837d2922b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/java/com/adyen/checkout/core/components/internal/ui/GenericPaymentComponent.kt:74-82 | core/src/main/java/com/adyen/checkout/core/components/internal/ui/GenericStoredPaymentComponent.kt:79-87 \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":"core/src/main/java/com/adyen/checkout/core/components/internal/ui/GenericPaymentComponent.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bffb77a139fdb0e508d24b60f2495befacc8414dfda2a3f11338e111718ac57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt:88-94 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/DefaultRedirectHandler.kt:82-88 \u2014 before extracting anything, compare \u0060core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt\u0060 and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/DefaultRedirectHandler.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt:99\u0060 calls \u0060Suppress\u0060 and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/DefaultRedirectHandler.kt:90\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":"core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f000f045b60c021d9866c8589327729109812d14a6c1f367991f9549e25f0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt:162-173 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/DefaultRedirectHandler.kt:152-163 \u2014 before extracting anything, compare \u0060core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt\u0060 and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/DefaultRedirectHandler.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060AdyenLogLevel\u0060 names \u0060com.adyen.checkout.core.common.AdyenLogLevel\u0060 in one and \u0060com.adyen.checkout.core.old.AdyenLogLevel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f6eefa51924cb7c343bec7af78052b2be2f32288be3f47648b07682f95b0f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/src/main/java/com/adyen/checkout/core/sessions/internal/data/model/SessionDetails.kt:35-47 | sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/data/model/SessionDetails.kt:35-47 \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. Note first that the copies are not typed on the same thing: \u0060CheckoutSession\u0060 names \u0060com.adyen.checkout.core.sessions.CheckoutSession\u0060 in one and \u0060com.adyen.checkout.sessions.core.CheckoutSession\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/sessions/internal/data/model/SessionDetails.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece57659a6c27fbcecb96e5757d6a248ff75736ef07f560633ecaedac63769a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/GiftCardComponentDialogFragment.kt:152-158 | drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/GiftCardPaymentConfirmationDialogFragment.kt:125-131 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/GiftCardComponentDialogFragment.kt"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de4379207627f0960ff33c36c3ed0a572ff67f3f9f2203255cd56e02d0260be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt:150-162 | issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/provider/IssuerListComponentProvider.kt:153-165 | online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/provider/OnlineBankingComponentProvider.kt:157-169 \u2014 before extracting anything, compare \u0060econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt\u0060 and \u0060issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/provider/IssuerListComponentProvider.kt\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. 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 \u0060econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt:150\u0060 it begins part-way through the construct above it, so those exact 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":"econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c438e051ece5c07dd3df8bf06d2a28e02b775007feb9b1cc0d3d8c79e14dc04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt:258-270 | issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/provider/IssuerListComponentProvider.kt:259-271 | online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/provider/OnlineBankingComponentProvider.kt:270-282 \u2014 before extracting anything, compare \u0060econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt\u0060 and \u0060issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/provider/IssuerListComponentProvider.kt\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. 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 \u0060econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt:258\u0060 it begins part-way through the construct above it, so those exact 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":"econtext/src/main/java/com/adyen/checkout/econtext/internal/provider/EContextComponentProvider.kt"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b026890b9d17ea8694bec42db708fdc2c15a2b15c261cc418a208f40970f29c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): googlepay/src/main/java/com/adyen/checkout/googlepay/internal/helper/GooglePayUtils.kt:90-94 | googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/util/GooglePayUtils.kt:87-91 \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. Note first that the copies are not typed on the same thing: \u0060GooglePayComponentParams\u0060 names \u0060com.adyen.checkout.googlepay.internal.ui.model.GooglePayComponentParams\u0060 in one and \u0060com.adyen.checkout.googlepay.old.internal.ui.model.GooglePayComponentParams\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"googlepay/src/main/java/com/adyen/checkout/googlepay/internal/helper/GooglePayUtils.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85091acbcc5c95523ccf7ddee88834f5d0a3c39ee8de9f6adc202387a60236a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): googlepay/src/main/java/com/adyen/checkout/googlepay/internal/helper/GooglePayUtils.kt:103-107 | googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/util/GooglePayUtils.kt:100-104 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: \u0060GooglePayComponentParams\u0060 names \u0060com.adyen.checkout.googlepay.internal.ui.model.GooglePayComponentParams\u0060 in one and \u0060com.adyen.checkout.googlepay.old.internal.ui.model.GooglePayComponentParams\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"googlepay/src/main/java/com/adyen/checkout/googlepay/internal/helper/GooglePayUtils.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"b215f5ec1b1672e74c3a5635bd8a34be9fdd394af7d67c58d71329cde190c65c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): googlepay/src/main/java/com/adyen/checkout/googlepay/internal/helper/GooglePayUtils.kt:189-200 | googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/util/GooglePayUtils.kt:170-181 \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. Note first that the copies are not typed on the same thing: \u0060GooglePayComponentParams\u0060 names \u0060com.adyen.checkout.googlepay.internal.ui.model.GooglePayComponentParams\u0060 in one and \u0060com.adyen.checkout.googlepay.old.internal.ui.model.GooglePayComponentParams\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"googlepay/src/main/java/com/adyen/checkout/googlepay/internal/helper/GooglePayUtils.kt"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"73fc8dbb303f0a8080be638f36c84457710389f6b899b18a623672391dc5de92"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): googlepay/src/main/java/com/adyen/checkout/googlepay/internal/helper/GooglePayUtils.kt:219-223 | googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/util/GooglePayUtils.kt:197-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"googlepay/src/main/java/com/adyen/checkout/googlepay/internal/helper/GooglePayUtils.kt"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e6c8b4002fff3a2848fd9f2abfc2f566650f5e397eca44965f1ba4740a64a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): googlepay/src/main/java/com/adyen/checkout/googlepay/internal/ui/model/GooglePayComponentParamsMapper.kt:113-119 | googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/ui/model/GooglePayComponentParamsMapper.kt:136-142 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: \u0060AllowedCardNetworks\u0060 names \u0060com.adyen.checkout.googlepay.AllowedCardNetworks\u0060 in one and \u0060com.adyen.checkout.googlepay.old.AllowedCardNetworks\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"googlepay/src/main/java/com/adyen/checkout/googlepay/internal/ui/model/GooglePayComponentParamsMapper.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"318c44f3ac8365b7a7c47c36e9a43cf5543b8f4d9b163bc1d9c634f8a741a321"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): googlepay/src/main/java/com/adyen/checkout/googlepay/internal/ui/model/GooglePayComponentParamsMapper.kt:124-130 | googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/ui/model/GooglePayComponentParamsMapper.kt:147-153 \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 \u0060googlepay/src/main/java/com/adyen/checkout/googlepay/internal/ui/model/GooglePayComponentParamsMapper.kt:124\u0060 it begins part-way through the construct above it, so those exact lines 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: \u0060Environment\u0060 names \u0060com.adyen.checkout.core.common.Environment\u0060 in one and \u0060com.adyen.checkout.core.old.Environment\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"googlepay/src/main/java/com/adyen/checkout/googlepay/internal/ui/model/GooglePayComponentParamsMapper.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c826305bee2be953595fac6fc8e19ed3eb441a93b17a67f617a84d6c5202c4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/view/FullQRCodeView.kt:103-115 | qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/view/SimpleQRCodeView.kt:132-144 \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":"qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/view/FullQRCodeView.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"79b538a7c3cc3319be17f3cfff9374ce9192a0c6228a8b3f3a2fe44d0230c856"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): redirect/src/main/java/com/adyen/checkout/redirect/internal/data/api/NativeRedirectService.kt:27-35 | redirect/src/main/java/com/adyen/checkout/redirect/old/internal/data/api/NativeRedirectService.kt:27-35 \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 \u0060redirect/src/main/java/com/adyen/checkout/redirect/internal/data/api/NativeRedirectService.kt: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 first that the copies are not typed on the same thing: \u0060NativeRedirectRequest\u0060 names \u0060com.adyen.checkout.redirect.internal.data.model.NativeRedirectRequest\u0060 in one and \u0060com.adyen.checkout.redirect.old.internal.data.model.NativeRedirectRequest\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"redirect/src/main/java/com/adyen/checkout/redirect/internal/data/api/NativeRedirectService.kt"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87c9aef0d551ffa11dbc04dc8ef8005ed2f8fe1e7beef49f3323d38103aa821"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/provider/SessionPaymentComponentProvider.kt:59-71 | sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/provider/SessionPaymentComponentProvider.kt:237-249 | sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/provider/SessionStoredPaymentComponentProvider.kt:60-72 | sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/provider/SessionStoredPaymentComponentProvider.kt:241-253 \u2014 before extracting anything, compare \u0060sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/provider/SessionPaymentComponentProvider.kt\u0060 and \u0060sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/provider/SessionStoredPaymentComponentProvider.kt\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 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 \u0060sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/provider/SessionPaymentComponentProvider.kt: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. 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":"sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/provider/SessionPaymentComponentProvider.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f689b2b8555cb21754a57dcff7d973b27ba85f4ba54f6ba249c005d78869c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/provider/SessionPaymentComponentProvider.kt:130-142 | sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/provider/SessionPaymentComponentProvider.kt:275-287 | sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/provider/SessionStoredPaymentComponentProvider.kt:132-144 | sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/provider/SessionStoredPaymentComponentProvider.kt:280-292 \u2014 before extracting anything, compare \u0060sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/provider/SessionPaymentComponentProvider.kt\u0060 and \u0060sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/provider/SessionStoredPaymentComponentProvider.kt\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 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 \u0060sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/provider/SessionPaymentComponentProvider.kt: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. 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":"sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/provider/SessionPaymentComponentProvider.kt"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"c49e149e555d52752ad3f4fc4080e5d47eb48aedc0b101c1bdfa6901199d6f07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): voucher/src/main/java/com/adyen/checkout/voucher/internal/ui/view/FullVoucherView.kt:140-148 | voucher/src/main/java/com/adyen/checkout/voucher/internal/ui/view/SimpleVoucherView.kt:89-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"voucher/src/main/java/com/adyen/checkout/voucher/internal/ui/view/FullVoucherView.kt"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"9304ee2c98009c8e9d40076dafab2ae9944d886b0705db9b99ca4587a14926b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:486-499 | cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt:442-455 | twint/src/main/java/com/adyen/checkout/twint/internal/provider/TwintComponentProvider.kt:429-442 \u2014 before extracting anything, compare \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt\u0060 and \u0060cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/provider/CashAppPayComponentProvider.kt\u0060 as WHOLE FILES: this scan already matched 5 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. 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 \u0060ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt:486\u0060 it begins part-way through the construct above it, so those exact 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":"ach/src/main/java/com/adyen/checkout/ach/internal/provider/ACHDirectDebitComponentProvider.kt"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c41ff1e05e053030cdceb2cfafb4995a69f262d19812f2cb20cb37c6ffe4eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): address/src/main/java/com/adyen/checkout/address/internal/ui/view/AddressCityField.kt:31-43 | address/src/main/java/com/adyen/checkout/address/internal/ui/view/AddressHouseNumberField.kt:31-43 | address/src/main/java/com/adyen/checkout/address/internal/ui/view/AddressStreetField.kt:31-43 \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 \u0060address/src/main/java/com/adyen/checkout/address/internal/ui/view/AddressCityField.kt: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":"address/src/main/java/com/adyen/checkout/address/internal/ui/view/AddressCityField.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f079fec51b89a038096873e23648542871130980428e38b46e13652e580492d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): await/src/main/java/com/adyen/checkout/await/internal/ui/AwaitComponent.kt:65-77 | redirect/src/main/java/com/adyen/checkout/redirect/internal/ui/RedirectComponent.kt:71-82 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"await/src/main/java/com/adyen/checkout/await/internal/ui/AwaitComponent.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda02df4489670d928873cc948e6f697b027c72a2acec82c8d9cdb8d5fecb1b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): await/src/main/java/com/adyen/checkout/await/internal/ui/view/AwaitContent.kt:34-43 | redirect/src/main/java/com/adyen/checkout/redirect/internal/ui/view/RedirectContent.kt:34-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 \u0060await/src/main/java/com/adyen/checkout/await/internal/ui/view/AwaitContent.kt:34\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"await/src/main/java/com/adyen/checkout/await/internal/ui/view/AwaitContent.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"185e12743bd049d4a9c9a9cf0be7f25d94c27517b867332f0ae5f3c51f64e6da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): bcmc/src/main/java/com/adyen/checkout/bcmc/internal/ui/model/BcmcComponentParamsMapper.kt:39-54 | card/src/main/java/com/adyen/checkout/card/old/internal/ui/model/CardComponentParamsMapper.kt:75-90 \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 \u0060bcmc/src/main/java/com/adyen/checkout/bcmc/internal/ui/model/BcmcComponentParamsMapper.kt:39\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"bcmc/src/main/java/com/adyen/checkout/bcmc/internal/ui/model/BcmcComponentParamsMapper.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f55d413812ee373d5662ce5850f4a46a408f0c98fb430884674ac54f205639"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): blik/src/main/java/com/adyen/checkout/blik/internal/ui/state/BlikViewStateProducer.kt:21-27 | card/src/main/java/com/adyen/checkout/card/internal/ui/state/StoredCardViewStateProducer.kt:21-25 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"blik/src/main/java/com/adyen/checkout/blik/internal/ui/state/BlikViewStateProducer.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"631e7c11dfc9c788aeda99d843d94f3399ade78e1b020bacf3844278d6d1460b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): blik/src/main/java/com/adyen/checkout/blik/old/internal/ui/view/BlikView.kt:64-73 | paybybank/src/main/java/com/adyen/checkout/paybybank/internal/ui/view/PayByBankView.kt:77-86 \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: \u0060R\u0060 names \u0060com.adyen.checkout.blik.R\u0060 in one and \u0060com.adyen.checkout.paybybank.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"blik/src/main/java/com/adyen/checkout/blik/old/internal/ui/view/BlikView.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f700abcc1f8cf1f5cb1cfb3ca84623fd253cf2163ab240a11b5e1cf0b7fb7bec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 5): boleto/src/main/java/com/adyen/checkout/boleto/BoletoConfiguration.kt:166-182 | googlepay/src/main/java/com/adyen/checkout/googlepay/old/GooglePayConfiguration.kt:491-507 | meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/MealVoucherFRConfiguration.kt:171-187 | molpay/src/main/java/com/adyen/checkout/molpay/MolpayConfiguration.kt:140-156 | upi/src/main/java/com/adyen/checkout/upi/UPIConfiguration.kt:153-169 \u2014 before extracting anything, compare \u0060meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/MealVoucherFRConfiguration.kt\u0060 and \u0060upi/src/main/java/com/adyen/checkout/upi/UPIConfiguration.kt\u0060 as WHOLE FILES: 82% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"boleto/src/main/java/com/adyen/checkout/boleto/BoletoConfiguration.kt"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9ae2823a5f99fb97fa803cc8f3d1b3983e385866594a25b171a1a48f219301"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/ui/view/CashAppPayView.kt:59-65 | twint/src/main/java/com/adyen/checkout/twint/internal/ui/view/TwintView.kt:59-65 \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":"cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/ui/view/CashAppPayView.kt"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"211a0cd9077159bf7cb2fb832baa33c6cae8e71dcb7a84347572d0069d7b0ad1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/src/main/java/com/adyen/checkout/core/components/CheckoutAction.kt:34-43 | core/src/main/java/com/adyen/checkout/core/components/CheckoutPaymentMethod.kt:38-47 \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 \u0060core/src/main/java/com/adyen/checkout/core/components/CheckoutAction.kt:34\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/components/CheckoutAction.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"82ed80f8f0eeab563d37f833557745cd13198c1cd20078ac616b6b70bd250045"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): drop-in/src/main/java/com/adyen/checkout/dropin/old/DropInResultContract.kt:24-31 | drop-in/src/main/java/com/adyen/checkout/dropin/old/SessionDropInResultContract.kt:26-33 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"drop-in/src/main/java/com/adyen/checkout/dropin/old/DropInResultContract.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7430e7123f41d5b80e5ff6e58814eecc143812136f1b6ab32cc06ebbe5438a13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): giftcard/src/main/java/com/adyen/checkout/giftcard/internal/ui/view/GiftCardNumberInput.kt:46-53 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/SocialSecurityNumberInput.kt:44-51 \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":"giftcard/src/main/java/com/adyen/checkout/giftcard/internal/ui/view/GiftCardNumberInput.kt"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6fd40004921a157fb4f2c7c8c7ca398882bd0a455d4e187f85c4642236f767"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): giftcard/src/main/java/com/adyen/checkout/giftcard/internal/util/GiftCardValidationUtils.kt:17-27 | giftcard/src/main/java/com/adyen/checkout/giftcard/internal/util/GiftCardValidationUtils.kt:29-39 | meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/util/MealVoucherFRValidationUtils.kt:23-33 | meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/util/MealVoucherFRValidationUtils.kt:35-45 \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: \u0060R\u0060 names \u0060com.adyen.checkout.giftcard.R\u0060 in one and \u0060com.adyen.checkout.mealvoucherfr.R\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"giftcard/src/main/java/com/adyen/checkout/giftcard/internal/util/GiftCardValidationUtils.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"80be88cb1c02910efa0abfa04e48a3d9ce58a5178ceedca999d1cc61df24db6c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/DefaultQRCodeDelegate.kt:133-139 | voucher/src/main/java/com/adyen/checkout/voucher/internal/ui/DefaultVoucherDelegate.kt:91-97 \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":"qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/DefaultQRCodeDelegate.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6139d2d638fdcc71b2784f725e7341cd006651539509fdb5fb51f0581639c571"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): card/src/main/java/com/adyen/checkout/card/internal/ui/view/CardNumberField.kt:182-198 | card/src/main/java/com/adyen/checkout/card/internal/ui/view/CardNumberField.kt:201-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/view/CardNumberField.kt:182\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/internal/ui/view/CardNumberField.kt"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"4766f9406d5c852d3edf84712d257187435300624296f0688f458a6562644777"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt:180-189 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/DefaultRedirectHandler.kt:170-179 | ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/util/PdfOpener.kt:74-84 \u2014 before extracting anything, compare \u0060core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt\u0060 and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/DefaultRedirectHandler.kt\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 118 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 \u0060core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt: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. 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: \u0060AdyenLogLevel\u0060 names \u0060com.adyen.checkout.core.common.AdyenLogLevel\u0060 in one and \u0060com.adyen.checkout.core.old.AdyenLogLevel\u0060 in another \u2014 different types that share a simple name, which is why the text matched. A single extracted unit cannot be given a parameter type that fits both, so unifying those types (or introducing a shared abstraction over them) is the step that has to come BEFORE the extraction above; if they are deliberately separate, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7246f742578c1b17f4de49955e1faff4fe7753df1b3459d6735745b3dd4615"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsViewModel.kt:60-100 | example-app/src/main/java/com/adyen/checkout/example/ui/blik/BlikViewModel.kt:58-89 | example-app/src/main/java/com/adyen/checkout/example/ui/card/CardViewModel.kt:59-86 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardViewModel.kt:71-98 | example-app/src/main/java/com/adyen/checkout/example/ui/googlepay/GooglePayViewModel.kt:70-100 | example-app/src/main/java/com/adyen/checkout/example/ui/instant/InstantViewModel.kt:58-88 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsViewModel.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c0a278095cf5ed1f06fefe970f1c8f8bbe6c3a6fb58dbfa40b04fe7781b171"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsViewModel.kt:143-163 | example-app/src/main/java/com/adyen/checkout/example/ui/card/CardViewModel.kt:126-146 | example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt:175-195 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardViewModel.kt:213-233 | example-app/src/main/java/com/adyen/checkout/example/ui/googlepay/GooglePayViewModel.kt:165-185 | example-app/src/main/java/com/adyen/checkout/example/ui/instant/InstantViewModel.kt:121-140 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsViewModel.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0f4cadb43f8becc4f6571633faa29fd60f37a2ab772c3f4bb17dbfd277362c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt:112-133 | example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardViewModel.kt:99-120 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/SessionsGiftCardViewModel.kt:88-109 | example-app/src/main/java/com/adyen/checkout/example/ui/googlepay/compose/SessionsGooglePayViewModel.kt:94-115 | example-app/src/main/java/com/adyen/checkout/example/ui/main/MainViewModel.kt:241-254 | example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsViewModel.kt:72-117 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcb6ead182aef52f0855cb8021f5424910db6a241f180db5a0bcdb0ae6ef6a7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (48 corresponding lines): scripts/drop_all_open_ossrh_repositories.py:41-88 | scripts/move_ossrh_repository_to_central_portal.py:50-101 \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":"scripts/drop_all_open_ossrh_repositories.py"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"84a0e6f2eeb8abf076a5b3aa160643675f9c39ea3802717d44dfadbc199f751c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 26\u002B corresponding lines): example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt:80-106 | example-app/src/main/java/com/adyen/checkout/example/service/ExampleDropInService.kt:48-73 | example-app/src/main/java/com/adyen/checkout/example/service/ExampleSessionsDropInService.kt:43-74 \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":"example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a617a4621706ddd54222b67858f54c4f1dfd368b203d9d64b73ad3539369deaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 22\u002B corresponding lines): example-app/src/main/java/com/adyen/checkout/example/ui/card/CardActivity.kt:42-71 | example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverActivity.kt:47-68 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt:43-68 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/SessionsGiftCardActivity.kt:41-64 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/card/CardActivity.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8107131bbfbcb8cbf88b759b8ef0f25e8273e4be0a8ca483aa08c28029822c69"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt:229-254 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardViewModel.kt:115-137 \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":"example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"af943ddc2d570966bfb4a71b5a72b87194dad5f75af9c47dd30ac0fc50337473"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6Activity.kt:33-58 | example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsActivity.kt:33-58 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6Activity.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ed07a80013794883d2da33b93352be301c1394dacf38781a9a8fb9a9f5344b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsViewModel.kt:163-189 | example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6ViewModel.kt:215-242 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsViewModel.kt"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7b180429e5f6d089b0112711fe4e388b8332295c58653c91fc9867337ab910"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsFragment.kt:105-131 | example-app/src/main/java/com/adyen/checkout/example/ui/googlepay/GooglePayFragment.kt:91-112 \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":"example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsFragment.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00ae6ba8e07648c674ca413ff637571aa848d74553807a05044082cb3a6a597"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): example-app/src/main/java/com/adyen/checkout/example/ui/blik/BlikViewModel.kt:107-126 | example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6ViewModel.kt:128-143 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/blik/BlikViewModel.kt"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"574a0d0ff450f4fd3339964182470dc1309b32db5848b9a499558969f5f6ded1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt:87-110 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/SessionsGiftCardViewModel.kt:64-86 \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":"example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd7eaa85d08bcc16e8afe3782625b2991f95b3958bd7b19f3a76f1a2b2c89e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt:134-149 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/SessionsGiftCardActivity.kt:133-148 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5a7e41677ad8c1e784e2f8e302983ba7679ec78471f3ac02dc5790282a1f52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsFragment.kt:60-77 | example-app/src/main/java/com/adyen/checkout/example/ui/googlepay/GooglePayFragment.kt:57-74 \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":"example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsFragment.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17ea90eb0c94778d659dc9d599e20adebda7eab90d483049b5c4ea8a9d7af66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt:299-312 | example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt:332-350 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"209472121caeb035017f0523971e7823f13ef297b582b6d8fbf2bfbff2d5ee5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): example-app/src/main/java/com/adyen/checkout/example/ui/main/MainViewModel.kt:179-202 | example-app/src/main/java/com/adyen/checkout/example/ui/main/MainViewModel.kt:204-230 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/main/MainViewModel.kt"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"da0cf2d2f6d946ea8b09a82437b200e2a8695aba049a690f59d420fd572b17a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): example-app/src/main/java/com/adyen/checkout/example/ui/card/CardActivity.kt:141-149 | example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverActivity.kt: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":"example-app/src/main/java/com/adyen/checkout/example/ui/card/CardActivity.kt"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"32fc58363cfa4b39d5db8bbe717137b7f7cbfdac2192082596009c574822f4b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 12\u002B corresponding lines): example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsViewModel.kt:125-136 | example-app/src/main/java/com/adyen/checkout/example/ui/blik/BlikViewModel.kt:128-139 | example-app/src/main/java/com/adyen/checkout/example/ui/googlepay/GooglePayViewModel.kt:147-158 | example-app/src/main/java/com/adyen/checkout/example/ui/instant/InstantViewModel.kt:142-154 \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":"example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsViewModel.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e0d5c940316906fcb99db38dffa48ad0f52bf7a5de1a836da17ec689046930"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt:127-140 | example-app/src/main/java/com/adyen/checkout/example/service/ExampleDropInService.kt:85-98 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"cabcc03d596c843ab43ee34c2335dad407442024f677d41feb34b574c5e7fc8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt:397-414 | example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardViewModel.kt:186-195 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"71aa618097e1f9a0e34c55c318e6b3a09621d75cea12791ca28254afcfd51bc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverActivity.kt:103-121 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/SessionsGiftCardActivity.kt:97-109 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverActivity.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"da54e072322cef8eb85318fc078273dc5fa7e4b05baae63a4f6418fd0e7c85fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt:283-297 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardViewModel.kt:178-191 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9b6564b9b0e0a07af9c021eaec9f88454705776b702b314d2ef85511536f9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): example-app/src/main/java/com/adyen/checkout/example/ui/blik/BlikActivity.kt:96-107 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt:101-112 \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":"example-app/src/main/java/com/adyen/checkout/example/ui/blik/BlikActivity.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"a79ba6cee3536d0a49b25d7ae23dce3fa0d7f92ffde4bdf9eeb8f2452402d7f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/service/ExampleDropInService.kt:101-123 | example-app/src/main/java/com/adyen/checkout/example/service/ExampleSessionsDropInService.kt:97-119 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/service/ExampleDropInService.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/service/ExampleSessionsDropInService.kt\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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/service/ExampleDropInService.kt"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec328f3672a4b41af0a72d6d33e8708df49ce86353bd0cdad1f7a79ea78ffc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/ui/card/CardActivity.kt:91-112 | example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverActivity.kt:80-101 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/CardActivity.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverActivity.kt\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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/CardActivity.kt:91\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/card/CardActivity.kt"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ab8011e54febe04b963cd1c9821204337991bfb2b7d68ff6d5a2433c2d4e24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt:80-99 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/SessionsGiftCardActivity.kt:76-95 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/SessionsGiftCardActivity.kt\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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt:80\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6d67aef1221e08034b096a7cda28d58ee030277b77a114e4855eaa5f4c255f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6Activity.kt:39-58 | example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsActivity.kt:39-58 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6Activity.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsActivity.kt\u0060 as WHOLE FILES: 91% 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 \u0060example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6Activity.kt:39\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6Activity.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae0da1ff2005d92988a7ef9282a4edbacb409537949a84d77bd37c892c832b26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt:230-244 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardViewModel.kt:117-131 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt: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":"example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3844fe4e86d23c6d15ff2b22a182eadf89e07ac4810471fedd5a5af4a3e6ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsViewModel.kt:144-158 | example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6ViewModel.kt:196-210 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsViewModel.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6ViewModel.kt\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":"example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsViewModel.kt"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23d26f1a00afc53379ab1afc43e0689d662c38beec1170e1b102802d8c99200"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt:87-100 | example-app/src/main/java/com/adyen/checkout/example/service/ExampleSessionsDropInService.kt:52-64 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt:84\u0060 calls \u0060checkPaymentState\u0060, \u0060checkAdditionalData\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/service/ExampleSessionsDropInService.kt:49\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaec36340b542641743cf275aa4585d0d726b97ce9ef2180e3a6ba5a9211b83f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt:55-68 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/SessionsGiftCardActivity.kt:51-64 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/SessionsGiftCardActivity.kt\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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt:55\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt:53\u0060 calls \u0060applyInsetsToRootLayout\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/SessionsGiftCardActivity.kt:49\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"683465d3b902fdf68d3c0996eee751285230832f12fa83d158e36eafb61041fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsViewModel.kt:92-105 | example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6ViewModel.kt:93-106 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsViewModel.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6ViewModel.kt\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 \u0060example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsViewModel.kt:92\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsViewModel.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b570b441a2c5cd4e49771ec1652d58efaf7dd8dac4b3452813e7197abebb868f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 6): example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsViewModel.kt:74-86 | example-app/src/main/java/com/adyen/checkout/example/ui/blik/BlikViewModel.kt:65-77 | example-app/src/main/java/com/adyen/checkout/example/ui/card/CardViewModel.kt:60-72 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardViewModel.kt:72-84 | example-app/src/main/java/com/adyen/checkout/example/ui/googlepay/GooglePayViewModel.kt:71-83 | example-app/src/main/java/com/adyen/checkout/example/ui/instant/InstantViewModel.kt:59-71 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsViewModel.kt"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"3925b2f7272ec22b9b981f72dea17d720af5f2615667dfa4979e46cf683b2a94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/service/ExampleDropInService.kt:61-72 | example-app/src/main/java/com/adyen/checkout/example/service/ExampleSessionsDropInService.kt:58-69 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/service/ExampleDropInService.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/service/ExampleSessionsDropInService.kt\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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example-app/src/main/java/com/adyen/checkout/example/service/ExampleDropInService.kt:61\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/service/ExampleDropInService.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4c054dde40bb86c47a5421a823e99d246bcacb8e32c34761ac0a917ef9822b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt:93-101 | example-app/src/main/java/com/adyen/checkout/example/service/ExampleDropInService.kt:60-70 | example-app/src/main/java/com/adyen/checkout/example/service/ExampleSessionsDropInService.kt:57-67 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/service/ExampleDropInService.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt:93\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it 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":"example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9498413366fc645e2300a89f37e7ea1366ef0f4b7f6e1c78e3534af0b0de19e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/ui/card/CardViewModel.kt:149-159 | example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt:198-208 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/CardViewModel.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/card/CardViewModel.kt"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6d98ece071631c1fceca1f36fbecafc610dffb385bc750c58e14007c7db6852"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt:124-133 | example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardViewModel.kt:111-120 | example-app/src/main/java/com/adyen/checkout/example/ui/googlepay/compose/SessionsGooglePayViewModel.kt:106-115 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardViewModel.kt\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt:124\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"1005b5a85e8cfc7266e2671097bd758db1f3fea6e2a624113b69364b8d67e034"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/ui/card/CardViewModel.kt:127-136 | example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt:176-185 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/CardViewModel.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/CardViewModel.kt: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":"example-app/src/main/java/com/adyen/checkout/example/ui/card/CardViewModel.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e8b8c57e5bccb4bedf92f8a69c097063866f049a114931a045584ad72519d30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsViewModel.kt:146-154 | example-app/src/main/java/com/adyen/checkout/example/ui/card/CardViewModel.kt:129-137 | example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt:178-186 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardViewModel.kt:216-224 | example-app/src/main/java/com/adyen/checkout/example/ui/googlepay/GooglePayViewModel.kt:168-176 | example-app/src/main/java/com/adyen/checkout/example/ui/instant/InstantViewModel.kt:123-131 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/CardViewModel.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsViewModel.kt: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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/CardViewModel.kt:124\u0060 calls \u0060onStateChanged\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardViewModel.kt: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":"example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsViewModel.kt"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dd85cd3a38596a6376b8f75203bb04d07244ad9c1aaa24d48db74ca16e6f41"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt:113-121 | example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardViewModel.kt:100-108 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/SessionsGiftCardViewModel.kt:89-97 | example-app/src/main/java/com/adyen/checkout/example/ui/googlepay/compose/SessionsGooglePayViewModel.kt:95-103 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardViewModel.kt\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt:113\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82c39a0fec07afcf8e0e5e5669741b0d5c8df82e8cbb739146f6b9a95f07a5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt:135-143 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/SessionsGiftCardActivity.kt:134-142 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/SessionsGiftCardActivity.kt\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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt: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":"example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6ce88a51a606eb939265187d0ffc1971105ad97087fb60d1b04e42cf079a99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt:114-121 | example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardViewModel.kt:101-108 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/SessionsGiftCardViewModel.kt:90-97 | example-app/src/main/java/com/adyen/checkout/example/ui/googlepay/compose/SessionsGooglePayViewModel.kt:96-103 | example-app/src/main/java/com/adyen/checkout/example/ui/main/MainViewModel.kt:241-248 | example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsViewModel.kt:74-81 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardViewModel.kt\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt:114\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0dbd392b0cb5e385c497770fd6c9f2deb37e3a116e38f0e84d6b7078eee1ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt:123-130 | example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardViewModel.kt:110-117 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/SessionsGiftCardViewModel.kt:99-106 | example-app/src/main/java/com/adyen/checkout/example/ui/googlepay/compose/SessionsGooglePayViewModel.kt:105-112 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardViewModel.kt\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt:123\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fae60ea141dd76b362543bf02cbd52a10922d8a6c93442f34d34c7aa824ed2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/ui/card/CardActivity.kt:142-149 | example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverActivity.kt:124-131 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/CardActivity.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverActivity.kt\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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/CardActivity.kt: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, \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverActivity.kt:133\u0060 calls \u0060onAction\u0060, \u0060handleAction\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/CardActivity.kt: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":"example-app/src/main/java/com/adyen/checkout/example/ui/card/CardActivity.kt"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91c866ed0fe5346dba4b2db437d472cc968822b1c8f6ed26161a513a4cc6629"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt:354-365 | example-app/src/main/java/com/adyen/checkout/example/service/ExampleDropInService.kt:131-142 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/service/ExampleDropInService.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"95953549135b77e5cc63c32ae00da8142d5321ab36f993cbb772504c3b52e22d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt:370-378 | example-app/src/main/java/com/adyen/checkout/example/service/ExampleDropInService.kt:147-155 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/service/ExampleDropInService.kt\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 32 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt:370\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/service/ExampleAdvancedDropInService.kt"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d57e0df9de335befa76ba46f5a96a427ba0d670594ebecbad2e30d1c9affa2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsViewModel.kt:118-123 | example-app/src/main/java/com/adyen/checkout/example/ui/blik/BlikViewModel.kt:141-146 | example-app/src/main/java/com/adyen/checkout/example/ui/card/CardViewModel.kt:165-170 | example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt:214-219 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardViewModel.kt:283-288 | example-app/src/main/java/com/adyen/checkout/example/ui/googlepay/GooglePayViewModel.kt:140-145 | example-app/src/main/java/com/adyen/checkout/example/ui/instant/InstantViewModel.kt:156-161 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/CardViewModel.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsViewModel.kt"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"d339009ebbdfbada9f9cc3b11ccc02f72719549b71b474d2053314d96a54b0f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/ui/card/CardActivity.kt:81-88 | example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverActivity.kt:70-77 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/CardActivity.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverActivity.kt\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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/card/CardActivity.kt"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"25e60b3e19430bbcf1b20b575411e6a4633c098069b3c7feea729e2a1b7a1ca5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt:138-143 | example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardViewModel.kt:125-130 | example-app/src/main/java/com/adyen/checkout/example/ui/googlepay/compose/SessionsGooglePayViewModel.kt:120-125 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardViewModel.kt\u0060 as WHOLE FILES: this scan already matched 5 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 \u0060example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt: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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/card/SessionsCardTakenOverViewModel.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37c6b1c7c86b97490883d1985dcfc8dd855d7328eabbd99d21aa8ecf4dc4c69"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt:70-77 | example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/SessionsGiftCardActivity.kt:66-73 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/SessionsGiftCardActivity.kt\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":"example-app/src/main/java/com/adyen/checkout/example/ui/giftcard/GiftCardActivity.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ffda9ed5ce70772adc8e33233675004ae234006fb76d191bab5be18a3b97b12"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsViewModel.kt:127-131 | example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6ViewModel.kt:145-149 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsViewModel.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6ViewModel.kt\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsViewModel.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b550f1a6070ab11e316abedf41e83bcca59be6a626f64597fa9000637dd6748"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsFragment.kt:49-58 | example-app/src/main/java/com/adyen/checkout/example/ui/googlepay/GooglePayFragment.kt:46-55 \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":"example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsFragment.kt"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"220730e19396e252dff3b69d8b768ad47c38f99ca2fcdf4e93d91b6f7c34c23d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsFragment.kt:133-138 | example-app/src/main/java/com/adyen/checkout/example/ui/googlepay/GooglePayFragment.kt:114-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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060event\u0060 to \u0060BacsEvent\u0060 in one and \u0060GooglePayEvent\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/bacs/BacsFragment.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b2cf7b51c012051125281fa373bbe8753bd92df292d4035d472adacdaba52fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsViewModel.kt:195-200 | example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6ViewModel.kt:248-253 \u2014 before extracting anything, compare \u0060example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsViewModel.kt\u0060 and \u0060example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6ViewModel.kt\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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsViewModel.kt"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ced29eb1b7d02c56b95babe7b28ab83ec7560151f60346272f68a0791909dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6Screen.kt:232-241 | example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6Screen.kt:243-252 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6Screen.kt:232\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6Screen.kt"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4978fd0aac28a72fac80af02524b690ae45e222efba8b75210388b7741c08c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): scripts/drop_all_open_ossrh_repositories.py:47-64 | scripts/move_ossrh_repository_to_central_portal.py:59-76 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060scripts/move_ossrh_repository_to_central_portal.py:56\u0060 calls \u0060upper\u0060 and \u0060scripts/drop_all_open_ossrh_repositories.py: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":"scripts/drop_all_open_ossrh_repositories.py"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7241bfa6aaa6f1212d1589c7213818be797549f4f79c454687efb0788767cde8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): scripts/generate_release_notes.py:126-133 | scripts/validate_dependencies_for_release_notes.py:46-55 \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 \u0060scripts/validate_dependencies_for_release_notes.py:46\u0060 it does not close everything it opens, so those exact lines 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":"scripts/generate_release_notes.py"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ac0ac45efc806a257904f77bd458d28d61ce8608051f44a85109bc16294a1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): scripts/drop_all_open_ossrh_repositories.py:64-73 | scripts/drop_all_open_ossrh_repositories.py:78-84 \u2014 both copies are in the same file, so extract the block 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":"scripts/drop_all_open_ossrh_repositories.py"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"21539442ea257c98c39e36ab2f2f37714b9dd3359b95421c24bca0e3a8ea056b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): scripts/generate_release_notes.py:99-105 | scripts/validate_dependencies_for_release_notes.py:16-23 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"scripts/generate_release_notes.py"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af888380c218c3d957f78605201a5f240055a4cbb95592741db31f332ee270a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): scripts/move_ossrh_repository_to_central_portal.py:76-87 | scripts/move_ossrh_repository_to_central_portal.py:92-97 \u2014 both copies are in the same file, so extract the block 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":"scripts/move_ossrh_repository_to_central_portal.py"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f63e304ea8538144986a4bef678bd64da0e2b2ca357a10e4f402b9abad675ce"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project .:bcmc: .:bcmc has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8dcaee4eb3c6c0ebfcf0f8269b9285d29e5e381a1a4bf8954cd2f935a8ad8219"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project .:card: .:card has instability 0.82 with 2 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0f21e880f4c398cb02a63e749e19c1dda0ea81725085bc405c97851917b341f3"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project .:drop-in: .:drop-in has instability 0.97 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"724b7b96e3d0da9e3e36b77314c2e361724174a69de47c53ca7c4ac9b3e48378"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project .:googlepay: .:googlepay has instability 0.86 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"006911982de399ed04e855c12a5afbc9cc3e01b5db1f69fccb2280204e463711"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project .:twint: .:twint has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8ac87500027f9fb4577c708f00dfb6841d4511be655f3dbe29729cb651b6bf2c"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: .:ui: .:ui: 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":"07db720d9ddf349789163988c5e972142dc2734262e3cd39c353490187e50320"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: .:checkout-core: .:checkout-core: abstractness 0.12, instability 0.00, distance 0.88 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"45f9808af440f1b4fe4687870a3e483fd77139c0f2d9313a7f962890c2246dcb"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: .:3ds2: .:3ds2: abstractness 0.04, instability 0.14, distance 0.82 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"34847840a46762e2ca7de1de3fffca740f7a78ee6020c1cae05c17ad13358b40"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: .:sessions-core: .:sessions-core: abstractness 0.14, instability 0.04, distance 0.81 \u2014 zone of pain \u2014 concrete and depended on by 22 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"da3b20571ee2306d2c6a8619650f31e39b91a89c736a6cc3587e844e96322706"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: .:core: .:core: abstractness 0.10, instability 0.10, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 9 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fca0e0a533c2f30fa9ca12d1b90a9f490e872c3242b3c973514a5667422a79f3"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: .:ui-core: .:ui-core: abstractness 0.18, instability 0.04, distance 0.78 \u2014 zone of pain \u2014 concrete and depended on by 24 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8443bcb467b2dd8f6d138c64228b6500321b4f61be74221603183dcc7af5a269"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: .:authentication: .:authentication: abstractness 0.04, instability 0.20, distance 0.76 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"782df0b184e4352e7c4872e34a7f0c7e20673a3da3fdd2ee94b597beca3e932f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: .:components-core: .:components-core: abstractness 0.13, instability 0.13, distance 0.74 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d712d5a0b0da8b66e6a0be27b66fcb83d8e8ebfd8d794f8b26b5b9a566f8b2b6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BaseDropInService (LCOM4 8): BaseDropInService\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":"drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/service/BaseDropInService.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e97fb0c08c206b50f7472ba3aad3f510517f099e90bb24ae2221639c4b34da6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ActionComponentDialogFragment (LCOM4 4): ActionComponentDialogFragment\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":"drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/ActionComponentDialogFragment.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8389971a4d80ff2585f21ef1172ba1d17750abc2fcf285accb840eaa6e70086c"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: build-logic/convention/src/main/kotlin/AggregateDependencyListsPlugin.kt: 0.0% line coverage (0/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/convention/src/main/kotlin/AggregateDependencyListsPlugin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"461e52ab54bd67eb9912d1af1a76d7aff40ce871c71b74ccbc07ce96a0fd6fb6"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: build-logic/convention/src/main/kotlin/CheckoutAndroidLibraryPlugin.kt: 0.0% line coverage (0/104)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/convention/src/main/kotlin/CheckoutAndroidLibraryPlugin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"608d526aad23215fdba5b88e8981bcba4f617c30a09a2e96cd6537ea92cae261"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: build-logic/convention/src/main/kotlin/DetektConventionPlugin.kt: 0.0% line coverage (0/24)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/convention/src/main/kotlin/DetektConventionPlugin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38aadc8c4a3141aebeb257091eef0dd310cbe66bbf526b976fd06088521a71d4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: build-logic/convention/src/main/kotlin/DokkaConventionPlugin.kt: 0.0% line coverage (0/26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/convention/src/main/kotlin/DokkaConventionPlugin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93eb4d26f3710c02a74c7995c93e072b315cc489c7fb11ff50b00139fd1d2f3"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: build-logic/convention/src/main/kotlin/GenerateDependencyListPlugin.kt: 0.0% line coverage (0/14)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/convention/src/main/kotlin/GenerateDependencyListPlugin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1206acf7d85bb1fca34709e1b6e774bd0449e20a1653fd5a2128f82a0ed98d22"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: build-logic/convention/src/main/kotlin/JavaConventionPlugin.kt: 0.0% line coverage (0/15)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/convention/src/main/kotlin/JavaConventionPlugin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e93dcfb7e2d4afe5f53bb74b1125466d19f4a4308f5f7a538f915778f0df4b"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: build-logic/convention/src/main/kotlin/KoverConventionPlugin.kt: 0.0% line coverage (0/63)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/convention/src/main/kotlin/KoverConventionPlugin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7ca800e6974e7f9f89eef0e69dc18a1006c562ffbd4e01783a65a095282089"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: build-logic/convention/src/main/kotlin/KtlintConventionPlugin.kt: 0.0% line coverage (0/48)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/convention/src/main/kotlin/KtlintConventionPlugin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d62c442bff115be0f74be58d54125af6736c561d33579c4ecb4136ddcd9018"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: build-logic/convention/src/main/kotlin/PublishConventionPlugin.kt: 0.0% line coverage (0/109)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/convention/src/main/kotlin/PublishConventionPlugin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80395291c35edb641d74bcb1e8b7e05b3376659db0f5a0c10543b8520434d169"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: build-logic/convention/src/main/kotlin/ResolveDependenciesPlugin.kt: 0.0% line coverage (0/47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/convention/src/main/kotlin/ResolveDependenciesPlugin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c6508426aee1e06784880e6c2a0a082e5585dd3080f77faddeab12ddb191437"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: build-logic/convention/src/main/kotlin/SonarConventionPlugin.kt: 0.0% line coverage (0/20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/convention/src/main/kotlin/SonarConventionPlugin.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62843b3d2c1254aa5f9dee29b1c54b26d5d3c5ff375e37f9e28be8ff7c0e0ffb"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: build-logic/convention/src/main/kotlin/com/adyen/checkout/AggregateDependencyListsTask.kt: 0.0% line coverage (0/27)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/convention/src/main/kotlin/com/adyen/checkout/AggregateDependencyListsTask.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"55f64be9361fb3d0a72165b9dcb4a7f4059b3eade6ac2412c979e116e244fab0"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: build-logic/convention/src/main/kotlin/com/adyen/checkout/CoverageExclusions.kt: 0.0% line coverage (0/91)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/convention/src/main/kotlin/com/adyen/checkout/CoverageExclusions.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac3e4122111475539111e352f0fedaadb6dd93e3092bc3f03434f2ff27bd13cd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: build-logic/convention/src/main/kotlin/com/adyen/checkout/GenerateDependencyListTask.kt: 0.0% line coverage (0/11)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/convention/src/main/kotlin/com/adyen/checkout/GenerateDependencyListTask.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d26368e3a092418c3e9150ecf61d69999bfa22f36eedf197e332e89466501a"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: build-logic/convention/src/main/kotlin/com/adyen/checkout/ProjectExtensions.kt: 0.0% line coverage (0/1). 1 more line(s) were executed in some of the 3 runs of the suite and not in others, so they are not counted as covered."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/convention/src/main/kotlin/com/adyen/checkout/ProjectExtensions.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8dbce050d86d02be2a193ef488d6446dbecdbeb1a29dd865b12ce4dcb683fcd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: build-logic/convention/src/main/kotlin/com/adyen/checkout/ResolveDependenciesTask.kt: 0.0% line coverage (0/4)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/convention/src/main/kotlin/com/adyen/checkout/ResolveDependenciesTask.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23b2aa93dda8ad431af250ae8ed5c3f1ef63bf071145a6b51f2d864420b487e4"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lint/src/main/java/com/adyen/checkout/lint/ContextGetString.kt: 0.0% line coverage (0/29). 29 more line(s) were executed in some of the 3 runs of the suite and not in others, so they are not counted as covered."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lint/src/main/java/com/adyen/checkout/lint/ContextGetString.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0998ca2f5e7ddce3ea37a3a1a7fbb3874c4aed09ba9cf247c52ab22819ef4d27"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lint/src/main/java/com/adyen/checkout/lint/JSONOptFunctions.kt: 0.0% line coverage (0/38). 37 more line(s) were executed in some of the 3 runs of the suite and not in others, so they are not counted as covered."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lint/src/main/java/com/adyen/checkout/lint/JSONOptFunctions.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e470f7140b3acb95883e4606a7792dc542c1182a915f29e17c9f4c77cb8d9e"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lint/src/main/java/com/adyen/checkout/lint/LintIssueRegistry.kt: 0.0% line coverage (0/9)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lint/src/main/java/com/adyen/checkout/lint/LintIssueRegistry.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eda71b4080d29935b377f44c85e4dd838d85c1c8b49cf56de6a232558cb1f161"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lint/src/main/java/com/adyen/checkout/lint/NotAdyenLog.kt: 0.0% line coverage (0/19). 19 more line(s) were executed in some of the 3 runs of the suite and not in others, so they are not counted as covered."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lint/src/main/java/com/adyen/checkout/lint/NotAdyenLog.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbba66cd30d2216ec4b0229245f3ea87821a961022ece6929d454a3b25d7c5d8"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lint/src/main/java/com/adyen/checkout/lint/NotDispatcherProvider.kt: 0.0% line coverage (0/27). 27 more line(s) were executed in some of the 3 runs of the suite and not in others, so they are not counted as covered."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lint/src/main/java/com/adyen/checkout/lint/NotDispatcherProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35751abad242b6b5c15a39c9371ded6d92ea9cde47a853beddad78c0a6114cdd"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lint/src/main/java/com/adyen/checkout/lint/ObjectInPublicSealedClass.kt: 0.0% line coverage (0/36). 36 more line(s) were executed in some of the 3 runs of the suite and not in others, so they are not counted as covered."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lint/src/main/java/com/adyen/checkout/lint/ObjectInPublicSealedClass.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"017bdd6ce1572f2937d963d246d9696a441ef497a4264b32fab7aab4fb4ac73d"}},{"ruleId":"D8","level":"warning","message":{"text":"Low coverage: lint/src/main/java/com/adyen/checkout/lint/TextInLayoutXml.kt: 0.0% line coverage (0/22). 22 more line(s) were executed in some of the 3 runs of the suite and not in others, so they are not counted as covered."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lint/src/main/java/com/adyen/checkout/lint/TextInLayoutXml.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"486eb9e647f15c7e687f13a7556794b9b4e639ecd603ddf9e4348ded10047fa9"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: build-logic/convention/src/main/kotlin/com/adyen/checkout/ProjectExtensions.kt: 1 line(s) (16) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"build-logic/convention/src/main/kotlin/com/adyen/checkout/ProjectExtensions.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fa06c5b7d13a4405541088604d83f38e81ecac6dbbb81210ca98bc039106545"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: lint/src/main/java/com/adyen/checkout/lint/ContextGetString.kt: 29 line(s) (22-24, 27-32, 35, 37-39, 42, 44, 46, 48-49, 51-59, 63, 66) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lint/src/main/java/com/adyen/checkout/lint/ContextGetString.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"148e8172b43c52a38caf28b727128811a38614edf047900641897f51a9241143"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: lint/src/main/java/com/adyen/checkout/lint/JSONOptFunctions.kt: 37 line(s) (21-23, 28-33, 36, 38-40, 43-50, 53-59, 62-69, 72) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lint/src/main/java/com/adyen/checkout/lint/JSONOptFunctions.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb93dd88788e8e5a4c183761540c0b7226efda5880a201b1fca447a6e0ffd7b"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: lint/src/main/java/com/adyen/checkout/lint/NotAdyenLog.kt: 19 line(s) (21-28, 31, 33-35, 38-43, 46) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lint/src/main/java/com/adyen/checkout/lint/NotAdyenLog.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb7715fcd922f6d3c9e2b27ef0e413aca63bea19106b9d23c4c2e1e703bf79e7"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: lint/src/main/java/com/adyen/checkout/lint/NotDispatcherProvider.kt: 27 line(s) (23-30, 33, 35-37, 40-53, 57) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lint/src/main/java/com/adyen/checkout/lint/NotDispatcherProvider.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"4965484cb7a2d5ca18ebaf599632c56b52d1a1c7027499abfa9c57f93c2d80bc"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: lint/src/main/java/com/adyen/checkout/lint/ObjectInPublicSealedClass.kt: 36 line(s) (23-25, 29-33, 36, 38-40, 42, 44, 46, 48, 50-61, 65, 68, 72, 76-77, 79, 83, 85) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lint/src/main/java/com/adyen/checkout/lint/ObjectInPublicSealedClass.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"aca4681b8577a6068f0d0402365a4a246f73299299b4e633c38af3c2a387d315"}},{"ruleId":"D8","level":"note","message":{"text":"Tests reach code only in some runs: lint/src/main/java/com/adyen/checkout/lint/TextInLayoutXml.kt: 22 line(s) (21-23, 26-31, 34, 36-39, 42, 44-48, 50, 53) were executed in some of the 3 runs of the suite and not in others. A test that does not take the same path every run only tests the part it always takes, so these lines are not counted as covered. Make the tests that reach them deterministic (a fixed clock, seed or ordering, or waiting on the event instead of on time), or test the paths directly."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lint/src/main/java/com/adyen/checkout/lint/TextInLayoutXml.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf45e9b0802177bdfb6c65561b76933e53c78c55821c3f15f02688684e8be5d"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 20 significant file(s) lose their only recent owner: authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt, drop-in/src/main/java/com/adyen/checkout/dropin/internal/manage/StoredPaymentMethodManagementScreen.kt, drop-in/src/main/java/com/adyen/checkout/dropin/internal/ui/DropInViewModel.kt, twint/src/main/java/com/adyen/checkout/twint/internal/ui/DefaultTwintDelegate.kt, qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/view/SimpleQRCodeView.kt, build-logic/convention/src/main/kotlin/ResolveDependenciesPlugin.kt, drop-in/src/main/java/com/adyen/checkout/dropin/internal/manage/StoredPaymentMethodManagementViewModel.kt, drop-in/src/main/java/com/adyen/checkout/dropin/internal/data/PaymentMethodRepository.kt (\u002B12 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"34fb99c5b3ae7842f57f8bbe2f28cc3cd08c8ac1d74aef2a244bfba58d36a7b0"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 17 significant file(s) lose their only recent owner: payto/src/main/java/com/adyen/checkout/payto/internal/ui/view/PayToView.kt, drop-in-compose/src/main/java/com/adyen/checkout/dropin/compose/ComposeExtensions.kt, payto/src/main/java/com/adyen/checkout/payto/internal/ui/DefaultPayToDelegate.kt, ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/util/ImageSaver.kt, address/src/main/java/com/adyen/checkout/address/internal/ui/state/AddressComponentStateReducer.kt, address/src/main/java/com/adyen/checkout/address/internal/ui/state/AddressComponentState.kt, payto/src/main/java/com/adyen/checkout/payto/internal/ui/model/PayToOutputData.kt, core/src/main/java/com/adyen/checkout/core/components/internal/data/api/StatusRepository.kt (\u002B9 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"565c1afb7df8c94e717be747b213057b171d51ca33156e952d140694fda0ba13"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 6 significant file(s) lose their only recent owner: example-app/src/main/java/com/adyen/checkout/example/ui/settings/composable/SettingsScreen.kt, card/src/main/java/com/adyen/checkout/card/internal/ui/view/CardBrands.kt, example-app/src/main/java/com/adyen/checkout/example/ui/card/compose/SessionsCardScreen.kt, card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardComponentStatePostProcessor.kt, card-scanning/src/main/java/com/adyen/checkout/card/scanning/internal/CardScannerInitializer.kt, core/src/main/java/com/adyen/checkout/core/common/internal/ui/ScreenHeader.kt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"35912f7cddefdbb71a5953353682f488d50a0f771fd5c27b32ff78868eb0e003"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 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 (47 single-owned of 639 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; 639 of the 1819 production source files in this repository met that bar). They are anonymized user #4 (2 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: card/src/main/java/com/adyen/checkout/card/internal/ui/model/InstallmentsParamsMapper.kt, card/src/main/java/com/adyen/checkout/card/InstallmentConfiguration.kt, card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardBrandAdapter.kt, example-app/src/main/java/com/adyen/checkout/example/data/storage/ExternalConfigurationReader.kt."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove action.url when it\u0027s fixed from backend side \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"voucher/src/main/java/com/adyen/checkout/voucher/internal/ui/DefaultVoucherDelegate.kt"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7d6364241d075f4f38e9e3830df6ba24d5fb6b522e3065fd249e7fc96eda9b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO temporary measure to avoid notifying changes for disabled edit texts. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/AdyenTextInputEditText.kt"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfe4bf7d5c19670c95201bfcc70e98b3e433836014410364fb2592ed8d436d88"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - ValuePicker: Scroll the selected item into view when the picker opens. A long list, such as the 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":"ui/src/main/java/com/adyen/checkout/ui/internal/element/ValuePicker.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b8a53d0e860342dcd14f68ee753b631ed373ae778635fba150e05cdc9f824c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Here we only call this method on initialization. The checkoutAttemptId will only be available if it 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":"twint/src/main/java/com/adyen/checkout/twint/internal/ui/StoredTwintDelegate.kt"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f9cf5bda9f014d5e98cb3c0117e4b3162dfe30bb80ee997c4c32cb29c28922"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Here we only call this method on initialization. The checkoutAttemptId will only be available if it 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":"cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/ui/StoredCashAppPayDelegate.kt"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1240dff156d9c98029b28869a9653dead45bc40e935ae0bd6ca268c413fc1be1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Here we only call this method on initialization. The checkoutAttemptId will only be available if it 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":"blik/src/main/java/com/adyen/checkout/blik/old/internal/ui/StoredBlikDelegate.kt"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e95da4cf33f5c1af8e9ac6a6543d0f317fbb73c9a44839640bc2d9c5ee41703"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Here we only call this method on initialization. The checkoutAttemptId will only be available if it 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":"ach/src/main/java/com/adyen/checkout/ach/internal/ui/StoredACHDirectDebitDelegate.kt"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd657259b1b85e9998d16df5659e33f0896c351255bfa0ab3b42d9b5b48cd4ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Once Backend provides the correct amount in the SessionSetupResponse use that in SessionDetails instead of \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sessions-core/src/main/java/com/adyen/checkout/sessions/core/internal/CheckoutSessionInitializer.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9a0f3618bda141b2bceedd73e13b3b1639d509acdf8561de704aa2f34e6e20"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO look into emitting a value to tell observers that a redirect was launched so they can track its \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"redirect/src/main/java/com/adyen/checkout/redirect/old/internal/ui/DefaultRedirectDelegate.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"04237babdb430f888a8cef8c79799f7d66b2cf954d7580d64b44d8cddc7d54de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO look into emitting a value to tell observers that a redirect was launched so they can track its \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"redirect/src/main/java/com/adyen/checkout/redirect/internal/ui/RedirectComponent.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"acff4c4fea25c4b25a1311e856dd06340cc9dc39d218030a44ca1fe99181f13f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Here we only call this method on initialization. The checkoutAttemptId will only be available if it 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":"payto/src/main/java/com/adyen/checkout/payto/internal/ui/StoredPayToDelegate.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad8b38573de5cd368e5a7bfa9b80c1c2e4d778f09728c18667ef14a731c5e89"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Should we strip the leading zeros? Depends on validation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/state/MBWayComponentStateValidator.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"425a066052e4644e45d2817e7adf9eb3557dbc913167beced9462c209ee8f2d5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - check if we need to make this public \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/state/MBWayPaymentComponentState.kt"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5f371105fb8efe13e823b9b22002fa19c7366dabd854b3588b6b9c89791abc7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Decouple this configuration from IssuerListConfiguration when we can break the API contract. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ideal/src/main/java/com/adyen/checkout/ideal/IdealConfiguration.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbbe8a1f33ed96547a4ac9181b53d7e0fb043a86b38d2040baa66a06c5719f80"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 10 files: The identical TodoComment appears in 10 files (10 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 10 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022// TODO - Change RuntimeException into a clearer error. Also remove the suppresion.\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":"googlepay/src/main/java/com/adyen/checkout/googlepay/BillingAddressParameters.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"b436d7f7b5457c8f1acccfb035b221f1bd6bec75fa51e14a75c0d1805616ffba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO return true by default in v6 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/ui/model/GooglePayComponentParamsMapper.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"af79273ae520f28e8eb35f36465d7f0d5d6cb52032025d99df61982254cf001f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Remove casting when paymentMethod object is typed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"googlepay/src/main/java/com/adyen/checkout/googlepay/internal/ui/GooglePayFactory.kt"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e1f948ebbb1b9d3e6571eb46a7fcd46ac65f47e9fda326e000e7db0dc0336a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Remove casting when paymentMethod object is typed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/internal/ui/CardFactory.kt"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc8b88b6b8bdf1fdf6a97e5afab4aefe9cd4dbcd893562136d7fa6252753e75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Pass isCreatedByDropIn \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"googlepay/src/main/java/com/adyen/checkout/googlepay/internal/ui/model/GooglePayComponentParamsMapper.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d985565190d0a47fef935a62a470b6997c437a2f0747cc0f2f1aac600f06a9a0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Use this logic once the isCreatedByDropIn flag is available \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"googlepay/src/main/java/com/adyen/checkout/googlepay/internal/helper/GooglePayUtils.kt"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f592eced9af834c0846c9644a61724d55e50351325e8d4dc93c68bbaa6489e5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO do not hide button if component is not valid on click \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6Screen.kt"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0541890263aca8c45aa767746ba0aeb6046eb6719024b6b3adb4f9a10ab23c95"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - read the session id and data from the public session data API once it is available, instead of reaching \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/v6/V6SessionsViewModel.kt"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2194ecc1c7022186039a6d0c4a358f1f09312a44c4903ccafeade1a0b3c8aa97"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Move return url creation to the new redirect component \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/service/ExampleV6DropInService.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba2d45811941842a222f918f7fe84e430c40fd4a1c3c7f978c38e90ac36515c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - get rid of old api call and improve this one \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/repositories/PaymentsRepository.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"280281a450ce12bed2a409a857f18ac8f466639131dddeddda4596a4bdc58e1f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Remove annotation after removing old 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":"example-app/src/main/java/com/adyen/checkout/example/data/api/CheckoutApiService.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0158848dc62e9fdb1d739e135a062e625b646678f00ffe470d8aad874b42f950"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Discuss the current Drop-in approach. Do we need DropIn object and can we make improvement? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/DropIn.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c45c178b13b0f95019320a8dae8c1ede6933a829b02b4c965eaf09b1afd38a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - KDocs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/DropIn.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"baabad0e469471f49a8a0579aa1b034ee6ffeab0b377d805207bcd87eb027bb9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - KDocs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/DropInLauncher.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab80c00da6d3d4f133d91f9b005e98d95ee31f445df55829a431ec8ed7ffc4f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - KDocs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/DropInResult.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"92270a9ccacdb0b5517dd7a33da46e7485607f31ca5a3bf0e6ed4953fc7f2f87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - KDocs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/DropInResultCallback.kt"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"db321b8d491fb4f5632ac41dc562c9c85ad2ce2a8484d7d741fbb1a7569fb95f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - KDocs \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/sessions/CheckoutSession.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"442b0f1f0afd5c8b292c1f05f6808a6cbf99067515bc83280646297fe37f7719"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - define drop in session service \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/DropIn.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"77cd31a90d1793b98b451b1ebf019b0427d842eff139b615f7774c30d288ddb9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Reconsider result 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":"drop-in/src/main/java/com/adyen/checkout/dropin/DropInResult.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"144d1462c4633b11e889855ea9bb3a9eafb199312692e20148db305a3614ddf7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Replace type after error propagation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/DropInResult.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"21f095bc0e973b13f17599fc665ba3ac61ef95787f516da78290602d91cdf3f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO find a way to show an error dialog unless the payment is cancelled by the user \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/GooglePayComponentDialogFragment.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9315593e7d8abc5bb8668449693e30e4216681d33b1d15998bd4ffee76b0c51a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - check if it\u0027s okay to return Failed, because this state does not mean the payment failed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/internal/DropInResultContract.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff3b58c02ffa0a25f636f0b56d804ed90012deca75ea05a925ec2fee9f84e27e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Return DropInResult.Failed and close drop-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":"drop-in/src/main/java/com/adyen/checkout/dropin/internal/ui/DropInActivity.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"a144fc36525be659de7cff29126ee1192b69153ca427961d968726e0013f289b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - support custom localization for drop-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":"drop-in/src/main/java/com/adyen/checkout/dropin/internal/ui/DropInActivity.kt"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9f1d9baca850061f1ac71f21b64bd578797557e7e96d4953cea3d749c0adef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Pass Drop-in\u0027s own saved state handle, so its flows can be restored after process death. Until then, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/internal/ui/DropInControllerProvider.kt"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"91f02fba47b628a706913bd2f28655d3fbb2514e36b46b08989a4add6732eb1c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Implement after beforeSubmit is added to DropInService \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/internal/ui/DropInControllerProvider.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a9cc32fbc9fd9e3abff248d7ede7361e4d15798df1173aeecb28fb483a9ed42"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Implement after signature of onFinished is updated \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/internal/ui/DropInControllerProvider.kt"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb74fe28f3941b0be11cc26ce8ade539710dd342781b942d4ddd0bb6fc3739ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - A payment flow cannot be restored after process death. No action state is persisted and the controller 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":"drop-in/src/main/java/com/adyen/checkout/dropin/internal/ui/DropInNavKeys.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa105bf344c9194dbe73e3c78c93a029cfc207f19a2c6dc91a2d4accd398dbde"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - WeChat Pay returns its result through onNewIntent without ACTION_VIEW. Handle it here once WeChat Pay \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/internal/ui/DropInViewModel.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a3828e334f37377a0bd1bfb8a74d6d3bbcecf5e7a4a6e76ef99fb8aad2034c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Send the Drop-in level rendered and closed events through this manager, like v5\u0027s DropInEvents \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/internal/ui/DropInViewModel.kt"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1c5bc18bf86972b4db4fba45639f30d45cad1e0db6a5bcc6525002a07303618"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Test this case as part of state restoration, the recreated controller does not continue the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/internal/ui/NavigationStack.kt"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"910c2bae2fda6698f736441f8c343dd709c83b2a5002dfac27e4724cf8a56815"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - This submits the payment a second time when the view model is recreated after process death. The guard \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/internal/ui/PaymentMethodViewModel.kt"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e3e8d861940ef7d751dc50d8ebffbf59f738c2069e0677600ef3563e64471a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Update this method once payment method refactor 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":"drop-in/src/main/java/com/adyen/checkout/dropin/internal/ui/PaymentMethodViewModel.kt"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d121c413b1062ed57f5809955c18de47cc460239b9cf4fdcb10ca14f491ca0a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - List stored Bancontact with the cards once it is supported, like iOS \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/internal/manage/StoredPaymentMethodManagementViewModel.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0995c00566178395f7d4466ec2fec98bd1e9282e4a7f3e069b2e75b9628894"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Check StoredBCMCPaymentMethod too once stored Bancontact is supported, like iOS \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/internal/helper/StoredPaymentMethodExpiryCheck.kt"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc8af94ea46a328e490029a4a91e008c765a1f6ff478a988f84eab4c1d62595c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Treat StoredBCMCPaymentMethod like a card once stored Bancontact is supported, like iOS \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/internal/helper/StoredPaymentMethodFormatter.kt"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"858ee8197d4e0e5e8de4d2c6f13a910cc2497879097de27d50db18eb2aa15462"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Remove this branch together with the advanced 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":"drop-in/src/main/java/com/adyen/checkout/dropin/internal/data/StoredPaymentMethodRemover.kt"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2891e190b803f6b72a230763098a5b584dd5782ea70c9eba7545e6acb1f672e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Error Propagation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/test/java/com/adyen/checkout/core/common/internal/helper/AdyenLoggerTest.kt"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45aec239af3bef629feb5d193257c31e6682ef439cf54321c0277f1994e1420"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - The store only lives in memory. Drop-in restores its session data into it after process death, how components \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/sessions/internal/SessionStateStore.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"8827e1231a99fe0c47377252df7b3a7aa37a8136371b427e42462b3393b065aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Remove the state of finished or expired sessions, once it is decided how the state is restored. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/sessions/internal/SessionStateStore.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"385332aa34a6efa654719311ba63678d4f46a00efaa61725ac2d52a20ef98df0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Once Drop-in and components restore their session data into the store before using it, remove the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/sessions/internal/SessionStateStore.kt"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45e8be9ca71e2b01144e3e55fcd696ad3d6d322b02b11491e2dd3f4844688ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Platform alignment: Review error name and structure after iOS alignment. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/error/internal/HttpError.kt"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fe17ea7a57ec3251f5c8121f32873e43883d4d47c72279c70a08c26258dfde"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Remove PaymentComponentState because we don\u0027t want to expose it any longer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/components/paymentmethod/PaymentComponentState.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c0ecceb59fa20cae752a0021aab1ab28880adfdee12b5f23d43dfbed5a44df"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Uncomment payment methods as we support new ones \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/components/paymentmethod/PaymentMethodDetails.kt"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc59f523131881066303407c0f909ffe818214984a471831d230a0cd4e7c9d63"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - what should be the payment method type for action 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":"core/src/main/java/com/adyen/checkout/core/components/internal/CheckoutControllerFactory.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"38863be2952788d4b7bfe55fe4f14616ca8cc0dda77588f64db5c172588d2d82"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - replace type with the id of the payment method once it\u0027s implemented. This would allow multiple \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/components/internal/CheckoutFlowStateStore.kt"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"76edabace1591cd82d46c8af821f2143a52a6acebcf377750e3cebc869a76e17"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Do we need to pass order 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":"core/src/main/java/com/adyen/checkout/core/components/internal/CheckoutSessionInitializer.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"360609a44aaf54fd4738c8f364c1b72fc66e9f2f7421ef6632a031e70d87a7ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Check if orders need to be supported \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/components/internal/CheckoutSessionInitializer.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fae9d50cc1ca1f553cb050b9eae67b73a87f6ae5a54fc684194041c0cccb5f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Handle partial payment state \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/components/internal/FullCheckoutFlow.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e04c64966e79955aff408ab573df8cb56246da0c3fec0e55938b423bfc92016"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Check if we need to support partial payment 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":"core/src/main/java/com/adyen/checkout/core/components/internal/SessionComponentRequestDispatcher.kt"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad942949f2fc0b16f9010e2e8062b62035ab928b0593ccf500b58f8edae46938"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Add analytics \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/components/internal/SessionComponentRequestDispatcher.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"458f04a485dca0dc6505fd87c737768e15fc23ddb8a36973637605a6fdde2e12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Check if we should remove subtype from GenericDetails \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/components/internal/ui/GenericPaymentComponent.kt"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1759107012dce15510a68ff08f9cdc18b79717065f384f440aa9a689c1a837b0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Address: Non-text elements support neither focus nor scrolling yet, so an invalid picker only shows its \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/components/internal/ui/state/model/PickerInputComponentState.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"09dbd56e9ed64dc7bd0fd3e4945a6f58c426ac3e4b27e4c964246b3a88bc64de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Remove this model when PaymentMethod 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":"core/src/main/java/com/adyen/checkout/core/components/data/model/InputDetail.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ed7fb1e34fe2efb4bacc6d3450451a742a8180d3079635f03ae55450d5637e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Colors: Move this color to the Internal colors file, but not expose to the public 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":"core/src/main/java/com/adyen/checkout/core/common/internal/ui/CheckoutNetworkLogo.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78f2a6d3f874e63a40f128e4946bb0873b1dfdec170841bf9657adf9c34b990"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Custom tabs style customization \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/common/internal/helper/CustomTabsLauncher.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b49fa27703cdffb6f8a29b60ce2eb64028be29a1fe7dae10d2138dea27cd6f57"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO -Check if this regex still holds up. Phone numbers can be longer than 14 digits for example \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/internal/util/ValidationUtils.kt"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d78fb8df0fa12a178a9c431028f7c707954c3e7289089398b16932e3349ea4e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove url when it\u0027s fixed from backend side \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/action/VoucherAction.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a394105382e0804f5f839b415f7ee431c39123b43e669314a114f0bc855a7db8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO cache previous Serializers in HashMap? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/model/ModelUtils.kt"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a537ddddc8293a70311b1cb8b9adb604342c19a60b8d04d54bcaa91b6828e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO 29/01/2021 get this logic from OutputData \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"579cdfc77f4fb5e3a30485bc0752144368c801ec5961aedde1f0c2ae18a91378"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Error propagation. Change after EncryptionException extends from CheckoutError \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/internal/ui/CardComponent.kt"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd6daaad4c385408909b0370d8ca92d317d8be3624a97e05481fadb17a26b45"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Error propagation. Change after implementation of specific 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":"card/src/main/java/com/adyen/checkout/card/internal/ui/CardComponent.kt"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4ffb1cfde49895f12e8a16a1547bc07f72c6447076aa924de52004adf703dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Card Component Mapper Tests. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardComponentParamsMapper.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ebfed4b2dd2f2dc0e7c1005b9c917eb45d460e02d74d9bb55c760bf880ad39"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fix logger to resolve the correct tag \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/internal/data/api/DefaultDetectCardTypeRepository.kt"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a85134a0f01aaeaba8ae4c3f3f843dd73796dbd3b84b5bc4af1d93f648228c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Remove this once we have migrated to the new task 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":"build-logic/convention/src/main/kotlin/AggregateDependencyListsPlugin.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"746eadfedc36c2df795e876ad8d23bee6bf3740bb2682178537c98a913cfae3b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Write tests \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"await/src/main/java/com/adyen/checkout/await/internal/ui/AwaitComponent.kt"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0de350dee36c04d63bea6e42c3a19d619f51e3a289f5818a5763129205d75d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Throw exception? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"await/src/main/java/com/adyen/checkout/await/internal/ui/AwaitComponent.kt"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd331c4d30148986659ee44f3b43e00bacf1fa3c91ce54dab710d0af448d0ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Throw exception? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"await/src/main/java/com/adyen/checkout/await/internal/ui/AwaitComponent.kt"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a89a93d3c8ffd7926082d2ecbf8390c212f8aebb06533ef1fb2c399722f909e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Move status polling into a separate class to not duplicate it in other component \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"await/src/main/java/com/adyen/checkout/await/internal/ui/AwaitComponent.kt"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f706fa99b04f46b9e24c88259c15706cb538ea971b86fa209ea03f3eddf5c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Address: Use the core viewState() helper once it cannot go stale without collectors. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"address/src/main/java/com/adyen/checkout/address/internal/ui/AddressComponent.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2c914d110459de5d45516b673231ed06afb67a7c3ca200b7dcdc135a24687a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - Address: Offer the shopper a way to retry when the states fail to load, instead of having to reopen \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"address/src/main/java/com/adyen/checkout/address/internal/ui/state/AddressComponentStateReducer.kt"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e99671900c4c37364110d96f87940d78cb56038f2dd8f943c4c9e9388355e26"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060core\u0060 (14812 LoC, 817 module-visible types across 48 directories) overshoots its size bounds. 5 of 58 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 8.4/10. 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":[{"physicalLocation":{"artifactLocation":{"uri":"core/build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d5c0e169b4e4d8b185df3f3a77dfd0e5df0851dee2e4f93b40a17d6117f91e"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060components-core\u0060 (9507 LoC, 494 module-visible types across 14 directories) overshoots its size bounds. 5 of 58 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 8.4/10. 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":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"070553192425dd30b8475896eee3f6e514e0e7cb99e54a48aaa9003388161ef2"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060card\u0060 (12474 LoC, 412 module-visible types across 21 directories) overshoots its size bounds. 5 of 58 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 8.4/10. 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":[{"physicalLocation":{"artifactLocation":{"uri":"card/build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ef7be48f54d93ba03b1d12fc6427ced8cf34800d33a937787af1376da0408a"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060drop-in\u0060 (11585 LoC, 299 module-visible types across 17 directories) overshoots its size bounds. 5 of 58 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 8.4/10. 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":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e878c34a03610121ed761f9ec2a62403f3cabed447a504974acbe1378055cad"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060googlepay\u0060 (4956 LoC, 137 module-visible types across 14 directories) overshoots its size bounds. 5 of 58 build unit(s) (Gradle) overshoot their size bounds, lowering Project Cohesion to 8.4/10. 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":[{"physicalLocation":{"artifactLocation":{"uri":"googlepay/build.gradle"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"965b3675fd83133f0f1cb98d458c856197647b451a3346f7312db6d01b01ae08"}},{"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":"dc01e77468ab2f21d7e3f826978583a6d50fde90f4ca7fef346835a72e5e35ba"},"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":"33da54fb5163e93a9c0fbfad58398a29b65fb82592d00a0019a24f2a307d0a5b"},"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":"8750074d2e20406a4b90093c70a4940c4512a95b88c1d3eed37c4040efe3573d"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"49ba29a3e6ed439a1bb67570d53468bd9490e1ee7f5c78d7cf65bd9f1a47d271"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"e301b7361181f1f9426c5fff5d7cff7370fcef4852e9bcb76377ac5d547117b7"},"taxa":[{"id":"CWE-926","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":"ce289b110f56bc7b652e0281c7bc052889825f7cba0f20432b1d746be009a913"},"taxa":[{"id":"CWE-926","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":"b597e948c64e1978e6361bade7240543b4c2ed6f386b5cde7809fb47db13c24e"},"taxa":[{"id":"CWE-926","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":"0e5dc55532171c57ae1ceb88989a395ba7c405b4671b88675fa9ae8c6270e530"},"taxa":[{"id":"CWE-926","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":"2ab69ea667259dd0f0df45d5d2b691f14767a1c16aea99cc1468afc6d8464e6b"},"taxa":[{"id":"CWE-926","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":"fc2fe45424449f928f0071611c96fb2a7bb2648131c0a17ae1c6132a6d626d4a"},"taxa":[{"id":"CWE-926","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":"9187c875d7040784db5d7b2009d564a597b2e0c23c2fbc300d5d4f48eaea2c54"},"taxa":[{"id":"CWE-926","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":"e841fd3c7f011502694c4e133566e1be763afc6107ec65b258e6063a5b0cb6a9"},"taxa":[{"id":"CWE-926","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":"3501f1178be394220f116d05ceb1c00ddb79d1dd08f771aa73102adbc6e4e9e9"},"taxa":[{"id":"CWE-926","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":"4b9be23475ce1d8f3dd20f869d3d1045fad5583fab2b1fdc689db79a373f9748"},"taxa":[{"id":"CWE-926","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":"7aa5907e28e4bfbde91b4b532006e1bc7de93d65bd6a5e7eecf9e1acccb89702"},"taxa":[{"id":"CWE-926","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aaa6d50815ea65cca0f41d1f91732ac97ae4ffad0c7b9c95da0152084a441336"},"properties":{"dependency":{"package":"org.freemarker:freemarker","version":"2.3.32","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"critical","fixedVersion":"2.3.35","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"891b45de65c5ee1fad957355c8ae9a8a25fa55a71afe145a8e76034f1493e8b5"},"properties":{"dependency":{"package":"org.bouncycastle:bcprov-jdk18on","version":"1.79","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"1.80.2","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7f8f662185da8b8f2103110b1b04b8f3f3d316b1192ae01449ab9d8fd241c56a"},"properties":{"dependency":{"package":"org.bouncycastle:bcprov-jdk18on","version":"1.81","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"1.81.1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ea5398e68326950f681df775678956617c1e6c00adee43af4bc6e419ab773121"},"properties":{"dependency":{"package":"org.bouncycastle:bcprov-jdk15to18","version":"1.84","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"1.85","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fb4fc68c28b87ded8cf5f348b82d2b9e37d78ff7a18d7db7d382df9eca33b723"},"properties":{"dependency":{"package":"org.bouncycastle:bcprov-jdk18on","version":"1.80.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"1.85","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d232abe8451409d145ff265ac7fe6416221ed338d005e0e846fe9501a78fd97"},"properties":{"dependency":{"package":"org.bouncycastle:bcprov-jdk18on","version":"1.84","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"1.85","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"019c196fdd864d419a8b8e6f397d12354145c920874f9b08f32a68249277f399"},"properties":{"dependency":{"package":"io.netty:netty-handler","version":"4.1.110.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"4.1.137.Final","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ffd72d370ab381872184be466d04f4a26f6f1b558323479ad842415d58f885c1"},"properties":{"dependency":{"package":"io.netty:netty-handler","version":"4.1.93.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"critical","fixedVersion":"4.1.137.Final","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"981a8d92e04892e45a36cf3d9ed2d623f40da83268f3a4342d6ee3e7998d5af5"},"properties":{"dependency":{"package":"org.jdom:jdom2","version":"2.0.6","advisory":"[GHSA redacted]","aliases":["BIT-solr-2021-33813","[CVE redacted]"],"severity":"high","fixedVersion":"2.0.6.1","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04297d36f95f0d2248d62d76009a449695e5b3cab7c0f052678e41ea7971fe9b"},"properties":{"dependency":{"package":"org.bitbucket.b_c:jose4j","version":"0.9.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"0.9.6","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0689333c6393d3ca66221a4ec15fb3a145e15381840c6506eaad4540497329aa"},"properties":{"dependency":{"package":"com.squareup.okhttp3:okhttp","version":"3.14.9","advisory":"[GHSA redacted]","aliases":["A-171980069","ASB-A-171980069","[CVE redacted]"],"severity":"high","fixedVersion":"4.9.2","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9e5602ea3c820fda1d95481b54310ccb11ab1e2e5c3864ada5a86aa59c5fdca9"},"properties":{"dependency":{"package":"io.netty:netty-codec","version":"4.1.110.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.1.136.Final","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1103cb304d2bb5cd001c84406a55fcf4bc22fa8f8fd5d1557fc55c7d1af94df"},"properties":{"dependency":{"package":"io.netty:netty-codec","version":"4.1.93.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.1.136.Final","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"438e8d83a0bde24c864f5d28f8f41af2d4cf6661c356168ade02b1f246999fff"},"properties":{"dependency":{"package":"io.netty:netty-codec-http","version":"4.1.110.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.1.133.Final","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ae44176fdc6b45028f39192caf833cb62126901d24a1bb064f63bf3762d21ddd"},"properties":{"dependency":{"package":"io.netty:netty-codec-http","version":"4.1.93.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.1.133.Final","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8dac20cf62c08f9b01fb0e6a17e36ff0b2f378e2785c949eed1ef4bb3081b593"},"properties":{"dependency":{"package":"org.jsoup:jsoup","version":"1.12.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.23.2","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6091015e0a2fc0b3940ee9a239e351d9810bae7d4ed35211e40ee744f2ed1bac"},"properties":{"dependency":{"package":"org.jsoup:jsoup","version":"1.16.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"1.23.2","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d2dea718d550b833f8128104fe6406322b74547231674e3bc535ec0f4196a9b"},"properties":{"dependency":{"package":"com.fasterxml.jackson.core:jackson-core","version":"2.15.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.18.11","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"adf92622b34c456bfd071944a69733a4c8df6045ba1126666485ec616e18ec3f"},"properties":{"dependency":{"package":"io.netty:netty-codec-http2","version":"4.1.110.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.1.136.Final","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8e51daf474511f5570992b0cf75de3c38d18e5a92a26a9258b23f243f5f42573"},"properties":{"dependency":{"package":"io.netty:netty-codec-http2","version":"4.1.93.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"4.1.136.Final","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"262e13dbb13e8854c993429c96aa2972a6a0891233ba1715bccf35da9d9a2d23"},"properties":{"dependency":{"package":"com.fasterxml.jackson.core:jackson-databind","version":"2.15.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"high","fixedVersion":"2.18.11","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff644774d6e719d768607c02c9cfad26c3e3bf82a94b81625f5ac6c0a7f9eaeb"},"properties":{"dependency":{"package":"com.google.protobuf:protobuf-parent","version":"3.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","PYSEC-2017-65"],"severity":"high","fixedVersion":"3.4.0","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c55b8db1267d48be44005c8d65b509275f0af61541844597d24ddc63f1928f2"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"28.2-android","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","SNYK-JAVA-COMGOOGLEGUAVA-1015415"],"severity":"high","fixedVersion":"33.7.2","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fef94a295575764a19763212bfd0eb2adcc4bfb7d6eb1308228119e50fbf905f"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"32.0.1-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"33.7.2","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"541d6d9db61eda364e13f18e1824c2b069545cdb7e6498b3673de064dc90636a"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"33.0.0-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"33.7.2","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"94a1f7ab3b72b8ace0b2781ab103f6a36912c200cf02c033dd7f132b9d8d1e00"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"33.3.1-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"33.7.2","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e53a834316716d1361ac502f2c8560b6fc672a00eae8e0d7668beb4f95387f33"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"33.4.0-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"33.7.2","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5101056b5f358e7502f78ecb04053573ee016f8509da457e1bd48f0433d5625f"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"33.4.8-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"33.7.2","reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"450955cb30548c700a85cfda1cf7cc90ab809e70357b52428d068a71ccfd17e8"},"properties":{"dependency":{"package":"com.google.guava:guava","version":"33.6.0-jre","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"high","fixedVersion":"33.7.2","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":"cd02aca63932b4ddf8ff456db27ba7692473374234a31a6f241f9523f0dc939f"},"properties":{"dependency":{"package":"io.netty:netty-common","version":"4.1.110.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"4.1.118.Final","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":"4c00041cf5ae66463a5e9702de393ec66d3fcea3f79a11144ff7dcd70d9bd4cd"},"properties":{"dependency":{"package":"io.netty:netty-common","version":"4.1.93.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"4.1.118.Final","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":"1557a173b7339e051e7c31ff98064215f62ec4581266757174066905d839715d"},"properties":{"dependency":{"package":"org.apache.commons:commons-compress","version":"1.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"severity":"medium","fixedVersion":"1.26.0","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":"7ac93420726bba3fd48f383c9f7bb9e9bcadca945838a21e94352307f9245cab"},"properties":{"dependency":{"package":"org.apache.httpcomponents:httpclient","version":"4.5.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"4.5.13","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":"4667bb10aef7adce762425ce1283890b593749a776c47ff764ba719e2b1aa5e4"},"properties":{"dependency":{"package":"org.json:json","version":"20250107","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"20260719","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":"cd7388dc8098d46457dca06ec99479a8431b5721a9238749ce5e5e57eb65c233"},"properties":{"dependency":{"package":"org.json:json","version":"20250517","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"20260719","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":"4ab9e4afb121e21f9bc9e5468d3f459ff961f47b138687257adf5d40726321cf"},"properties":{"dependency":{"package":"org.apache.commons:commons-lang3","version":"3.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"3.18.0","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":"3f77bb8008e5586c9e349b24d2bab383582b8128c8be8214d4a1e6b97f28c78c"},"properties":{"dependency":{"package":"org.jetbrains.kotlin:kotlin-gradle-plugin","version":"2.2.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","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":"39a1b07898c4f790a5fc940dd1e847b372d46f451985f81687db0df0ddecad79"},"properties":{"dependency":{"package":"org.jetbrains.kotlin:kotlin-gradle-plugin","version":"2.3.20","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","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":"b96d9baa705998e31307499115fdbc601b4b586b224884118141bd5f413202b7"},"properties":{"dependency":{"package":"org.jetbrains.kotlin:kotlin-gradle-plugin","version":"2.3.21","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","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":"cc99b6647802a8605bb90816a214ca396888381dbc14f59008c38ff02159e9c9"},"properties":{"dependency":{"package":"org.jetbrains.kotlin:kotlin-gradle-plugin","version":"2.4.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","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":"3cf39890985b0c8d67783061381d5836c32cb7bd2dc76a4b1263146e435c81f1"},"properties":{"dependency":{"package":"org.jetbrains.kotlin:kotlin-gradle-plugin","version":"2.4.10","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","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":"84b6af3ce06d086270d687faebd05c53fbe8cff7c2517010db9f3d7d6d05fae1"},"properties":{"dependency":{"package":"com.squareup.okio:okio","version":"2.10.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"3.4.0","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":"2e831152d9f5072ce4a065e459740d9400a180409683244163c4cc35cfa1bc82"},"properties":{"dependency":{"package":"org.bouncycastle:bcpkix-jdk18on","version":"1.79","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.84","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":"ac2b57d08d9931c5df7798bb030711dc2917f9e23b3ae06cdb17599f9714c225"},"properties":{"dependency":{"package":"org.bouncycastle:bcpkix-jdk18on","version":"1.80.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"medium","fixedVersion":"1.84","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":"41924856ca63c3d9bd0a26080fa7936f7a3b799195de7183605fccd11d8585ad"},"properties":{"dependency":{"package":"io.netty:netty-handler-proxy","version":"4.1.110.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"4.1.133.Final","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":"ccc8992df7d8dd107aa73c9e94d3a6e3ed73634dee77232239f2d92b90c13981"},"properties":{"dependency":{"package":"io.netty:netty-handler-proxy","version":"4.1.93.Final","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"severity":"low","fixedVersion":"4.1.133.Final","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":"c1a869834e0a4f6e51a45fa99c1ae30153787ea52db2b7b50c2c22a7de0866de"},"properties":{"dependency":{"package":"ch.qos.logback:logback-core","version":"1.3.16","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"severity":"low","fixedVersion":"1.5.34","reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 37 of 639 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (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; 639 of the 1819 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt, sepa/src/main/java/com/adyen/checkout/sepa/internal/ui/model/Iban.kt, boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/DefaultBoletoDelegate.kt, drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/PaymentMethodsListViewModel.kt, ach/src/main/java/com/adyen/checkout/ach/ACHDirectDebitConfiguration.kt, ach/src/main/java/com/adyen/checkout/ach/internal/ui/StoredACHDirectDebitDelegate.kt, card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/StoredCardView.kt, qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/view/FullQRCodeView.kt (and 29 more). 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":"ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec581335850f5c7d390a01e687519a0de8869514ca5cf33ede02bc2787670d8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sepa/src/main/java/com/adyen/checkout/sepa/internal/ui/model/Iban.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"469afd408ea953f649dcdacb95ccd8a5bb657e2c6ccc1c2cd4d088d8f5aaf257"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/DefaultBoletoDelegate.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfd091c5b597f3f39b700a60ceba8bd8f6e6b2cdaf3c3726fb20d27d35921438"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/PaymentMethodsListViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99938e1144c2be2a1aed15545583826b953b1aa69559d02f883ba9fd87ea8e6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ach/src/main/java/com/adyen/checkout/ach/ACHDirectDebitConfiguration.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"33ea2a0ddffafb443557c44f2761eb904ebb3639c793c3f4d60d7af18cd820e2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ach/src/main/java/com/adyen/checkout/ach/internal/ui/StoredACHDirectDebitDelegate.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8a31e1990f732c6083ec5bfb0b81dfdc852a23189b0a72b1613ed01a21c823"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/StoredCardView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e70bd0fc93510c011b8ade2391952644a7ef29fea1583ba4f3edb8913345968f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/view/FullQRCodeView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"298ae9da47835a3f44843109ef53597aadfb95b2da72fdd92a8cd86cb6e258b1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/PaymentComponentData.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55895c47bab25ee8d442c30caca8f0f7ee84dcb2ebc6448a9eb45a5ec920b71"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/blik/BlikViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd48d640d46f5a28c5edb1d5e3c0c3cc6378753dd6919257f562342f6633a1ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/action/VoucherAction.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4016bc875b69879daa40c3eeb787b816ca1a994ebdc986ec352dc242897768d1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/model/ModelUtils.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f273ad61ac6c41edb98cf23600e2ccb58777c63a16cf476c3c36b7ba62eaaad3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/paymentmethod/CardPaymentMethod.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2693b3ab73283b772214a622de6fee8f1946c3d4f06dd9ac40b32f665be3fdf6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"boleto/src/main/java/com/adyen/checkout/boleto/BoletoComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfd18ec37e0860cf529e5c42b6763f4e0560b2f42cb01ec2d21ab35597a9f9d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/StoredPaymentMethod.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab77eb52a70f3342de72e27c0b96023f09e327e1c177c1f3126362ec0beaa79"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/ui/OnlineBankingView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bf3cecc2fd37ac55f4c13df1b520941199c581455242779baa4f0f36cbbd9d2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/ui/blik/BlikActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fcf95f555f028c263dc11fded5b87bffdae458f9b6f514978c1c6df50b6e41"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ach/src/main/java/com/adyen/checkout/ach/ACHDirectDebitComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb314ce487cde47776fce86819a0a36eb8927363877445d6c2cbace7be7d6ff2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/PaymentMethod.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdd16282000fd4a8004e76da24bb1ca0361af5163daec9b64e54e33157ac98f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/CheckoutCurrency.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43543a622c8e351da9efcd3f9b4c5c2740ec79ffd796e38dd23ea7eaf044ef0c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/action/SdkAction.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1acda17e426aa55b39d4dc159c02a5157edae54d8ed56fb7859b1933ea9d493c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/RoundCornerImageView.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"243e4b945212ade96478bf43c1d1cea0d20c8fdd88bf5d79ffcdd28bd165397f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sessions-core/src/main/java/com/adyen/checkout/sessions/core/SessionSetupConfiguration.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"272dadf853b1113e745ef876216193bc96e3c9eb9590b948217b47dd7ec77cb7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/paymentmethod/ACHDirectDebitPaymentMethod.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f56648b7ebb0f340a180eed8d9bc2ab4a1184b3add5e6dc4171372ad864d510"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/action/Action.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"868b53a76559c23c562a89d429bb8973fae3e6a86dbef67b0a58be22da55acd3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cse/src/main/java/com/adyen/checkout/cse/UnencryptedCard.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6587c1f771ea192789bae3d0c947a6561c228fa3b312fd670ea50ea12bcf30b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/util/PdfOpener.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2cfc019126d20c8c67a2d45a1900c17e5b10ffaa20a9f2e3ce5e2c15d08b758"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardNumberInput.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4686321ee66135aac1ac704e151f3e4c3f10f4b021e352ef7254840498bd9ea3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/Configuration.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf14fcbc27ea530b481be3aa583f6ffbbf3da077626df937bff90fe839881594"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/action/WeChatPaySdkData.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8bb1866915ae0d631e111982ca20ecff31e08f12c4e2b6cbe5014ed3085580"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/Address.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b0b3cc86c893f21ebcd5b0891a84c197421da5076a89ae6f5cacf038637dc5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/PaymentMethodsApiResponse.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ecc7ce348437aacd0e541196fa12b8389cb8fd484fff569f6806a24c716a51e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sessions-core/src/main/java/com/adyen/checkout/sessions/core/SessionSetupInstallmentOptions.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b658086e25c59b6423cf7d8bb102545ea9bfaebe1e92c797f5e60878e91217e2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/paymentmethod/GooglePayPaymentMethod.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0eb3f9507c417b6cb1ae77b16c2d12c271b6cf6f591a8b6e121a4e29b9f976"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/action/RedirectAction.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae747c1442c76fcba7dfd97b572c4c6f15353f1ee39064659da11652f30f96ed"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/ui/view/IssuerListSpinnerAdapter.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02f19cc2239a575a21305f78699b62457bc5706bd9d2c6d6be50d85a4d6d2cc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/internal/util/AmountFormat.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2eff8d8c26dca18a65f23b7bdbc87a1334293a37954cd959c017df081412457"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: CardValidationUtils.kt, CardExpiryDateValidator.kt, MealVoucherFRValidationUtils.kt: 3 files \u2014 \u0060card/src/main/java/com/adyen/checkout/card/old/internal/util/CardValidationUtils.kt\u0060, \u0060checkout-core/src/main/java/com/adyen/checkout/core/old/ui/validation/CardExpiryDateValidator.kt\u0060, \u0060meal-voucher-fr/src/main/java/com/adyen/checkout/mealvoucherfr/internal/util/MealVoucherFRValidationUtils.kt\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":"card/src/main/java/com/adyen/checkout/card/old/internal/util/CardValidationUtils.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbb5730fab72c96d383a44b1ea97f9123532bf4ed76410f4e5ce8c2cabb5107"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: CardComponentParamsMapper.kt \u2194 GenericComponentParamsMapper.kt: \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardComponentParamsMapper.kt\u0060 (context card) and \u0060components-core/src/main/java/com/adyen/checkout/components/core/internal/ui/model/GenericComponentParamsMapper.kt\u0060 (context components-core) sit in DIFFERENT parts of the tree yet 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060c9bd4c7e\u0060 Update all component params mappers to use CommonComponentParamsMapper; \u00606a7b66eb\u0060 Make CardComponent accept CheckoutConfiguration; \u00609da0e755\u0060 Override amount in component params with the amount coming from sessions \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardComponentParamsMapper.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dafbda2456e0353a6df478482cbdb01ac531198d3c61782636c8f0c9e3a1396"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: BcmcComponentParamsMapper.kt \u2194 CardComponentParamsMapper.kt: \u0060bcmc/src/main/java/com/adyen/checkout/bcmc/internal/ui/model/BcmcComponentParamsMapper.kt\u0060 (context bcmc) and \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardComponentParamsMapper.kt\u0060 (context card) sit in DIFFERENT parts of the tree yet 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060b171b87f\u0060 Display pay button in components if created by drop in; \u0060c9bd4c7e\u0060 Update all component params mappers to use CommonComponentParamsMapper; \u00609da0e755\u0060 Override amount in component params with the amount coming from sessions \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bcmc/src/main/java/com/adyen/checkout/bcmc/internal/ui/model/BcmcComponentParamsMapper.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c575f39c2a69c550f9c8d4417affd76146fc4e6e0b82135b09d56746dfc178"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: CardComponentParamsMapper.kt \u2194 IssuerListComponentParamsMapper.kt: \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardComponentParamsMapper.kt\u0060 (context card) and \u0060issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/ui/model/IssuerListComponentParamsMapper.kt\u0060 (context issuer-list) sit in DIFFERENT parts of the tree yet 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060b171b87f\u0060 Display pay button in components if created by drop in; \u0060c9bd4c7e\u0060 Update all component params mappers to use CommonComponentParamsMapper; \u00609da0e755\u0060 Override amount in component params with the amount coming from sessions \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardComponentParamsMapper.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78029f8b83264702788f1ff20776a03aa6cb450fe26deeacd37f2b6faa7a282"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: StoredCardDelegate.kt \u2194 AddressLookupDelegate.kt: \u0060card/src/main/java/com/adyen/checkout/card/old/internal/ui/StoredCardDelegate.kt\u0060 (context card) and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/AddressLookupDelegate.kt\u0060 (context ui-core) sit in DIFFERENT parts of the tree yet 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060480a19f2\u0060 Make AddressInputModel internal (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/StoredCardDelegate.kt\u0060 and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/internal/ui/AddressLookupDelegate.kt\u0060); \u0060b660eddd\u0060 Handle errors on address lookup completion call (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/StoredCardDelegate.kt\u0060 and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/internal/ui/AddressLookupDelegate.kt\u0060); \u0060ca4069ac\u0060 Initialize address lookup with the most recent address value from car\u2026 (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/StoredCardDelegate.kt\u0060 and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/internal/ui/AddressLookupDelegate.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/StoredCardDelegate.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7254a92fb7fef1d59c2b155b5cd3930bb68b38037361faeccefd541f855942"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: DefaultCardDelegate.kt \u2194 AddressLookupOptionsAdapter.kt: \u0060card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt\u0060 (context card) and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/AddressLookupOptionsAdapter.kt\u0060 (context ui-core) sit in DIFFERENT parts of the tree yet 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u006017abf50f\u0060 Move all address lookup events out of AddressLookupView (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/DefaultCardDelegate.kt\u0060 and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/internal/ui/view/AddressLookupOptionsAdapter.kt\u0060); \u0060764029c3\u0060 Create a model class for address lookup adapter to decouple it from m\u2026 (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/DefaultCardDelegate.kt\u0060 and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/internal/ui/view/AddressLookupOptionsAdapter.kt\u0060); \u006075ee5483\u0060 Extract address lookup related code and move it to ui-core (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/DefaultCardDelegate.kt\u0060 and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/internal/ui/view/AddressLookupOptionsAdapter.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d90020176e1f26ef416e3c0373433e51c15d4e78cd577d77944f78f9994868d"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: GenericComponentParamsMapper.kt \u2194 GooglePayComponentParamsMapper.kt: \u0060components-core/src/main/java/com/adyen/checkout/components/core/internal/ui/model/GenericComponentParamsMapper.kt\u0060 (context components-core) and \u0060googlepay/src/main/java/com/adyen/checkout/googlepay/internal/ui/model/GooglePayComponentParamsMapper.kt\u0060 (context googlepay) sit in DIFFERENT parts of the tree yet 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060c9bd4c7e\u0060 Update all component params mappers to use CommonComponentParamsMapper; \u00609da0e755\u0060 Override amount in component params with the amount coming from sessions; \u006014bdcbf2\u0060 Use default amount if overridden amount is empty in GooglePay (at that commit the files were still \u0060components-core/src/main/java/com/adyen/checkout/components/base/GenericComponentParamsMapper.kt\u0060 and \u0060googlepay/src/main/java/com/adyen/checkout/googlepay/GooglePayComponentParamsMapper.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/internal/ui/model/GenericComponentParamsMapper.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8234fefbee4022a9f5957ffde1f39e3023c16b39f1fe3811e24bcae87ebd62d1"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: AddressInputModel.kt \u2194 AddressFormInput.kt: \u0060components-core/src/main/java/com/adyen/checkout/components/core/internal/ui/model/AddressInputModel.kt\u0060 (context components-core) and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/AddressFormInput.kt\u0060 (context ui-core) sit in DIFFERENT parts of the tree yet 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060794b6d7f\u0060 Display full country name in address lookup result (at that commit the file was still \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/internal/ui/view/AddressFormInput.kt\u0060); \u0060c499e8eb\u0060 FullAddressForm: Fix pr comments (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/AddressInputModel.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/ui/AddressFormInput.kt\u0060); \u006021fea504\u0060 FullAddressForm: Add apartment suite field (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/AddressInputModel.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/ui/AddressFormInput.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/internal/ui/model/AddressInputModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79133f5c6d3ff2f30811590619a784815e64671b6b4c3c4cdaee9e76dc6dec6"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: GooglePayComponentParamsMapper.kt \u2194 IssuerListComponentParamsMapper.kt: \u0060googlepay/src/main/java/com/adyen/checkout/googlepay/internal/ui/model/GooglePayComponentParamsMapper.kt\u0060 (context googlepay) and \u0060issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/ui/model/IssuerListComponentParamsMapper.kt\u0060 (context issuer-list) sit in DIFFERENT parts of the tree yet 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u0060c9bd4c7e\u0060 Update all component params mappers to use CommonComponentParamsMapper; \u00609da0e755\u0060 Override amount in component params with the amount coming from sessions; \u006014bdcbf2\u0060 Use default amount if overridden amount is empty in GooglePay (at that commit the files were still \u0060googlepay/src/main/java/com/adyen/checkout/googlepay/GooglePayComponentParamsMapper.kt\u0060 and \u0060issuer-list/src/main/java/com/adyen/checkout/issuerlist/IssuerListComponentParamsMapper.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"googlepay/src/main/java/com/adyen/checkout/googlepay/internal/ui/model/GooglePayComponentParamsMapper.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53386bf0d847c2838dd80a4c38edc710e07c97fed40f56ecf7969237f7bcc288"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: DefaultCardDelegate.kt \u2194 AddressLookupView.kt: \u0060card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt\u0060 (context card) and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/ui/view/AddressLookupView.kt\u0060 (context ui-core) sit in DIFFERENT parts of the tree yet change together 53% of the time (16 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) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 16 shared commits counted here, the most recent 3 are \u0060480a19f2\u0060 Make AddressInputModel internal (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/DefaultCardDelegate.kt\u0060 and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/internal/ui/view/AddressLookupView.kt\u0060); \u0060b660eddd\u0060 Handle errors on address lookup completion call (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/DefaultCardDelegate.kt\u0060 and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/internal/ui/view/AddressLookupView.kt\u0060); \u0060136e132a\u0060 Display submit address button only when it\u0027s AddressLookupState.Form (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/DefaultCardDelegate.kt\u0060 and \u0060ui-core/src/main/java/com/adyen/checkout/ui/core/internal/ui/view/AddressLookupView.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e43a9da5d40f998680a89ed217b7bf5f469ffb3970706239b876125b1cad9bb"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: DropInActivity.kt \u2192 DropInServiceResult.kt, BaseDropInService.kt, BaseDropInServiceInterfaces.kt, DropInActivityEvent.kt: \u0060drop-in/src/main/java/com/adyen/checkout/dropin/internal/ui/DropInActivity.kt\u0060 changes together with 4 other files \u2014 \u0060drop-in/src/main/java/com/adyen/checkout/dropin/old/DropInServiceResult.kt\u0060, \u0060drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/service/BaseDropInService.kt\u0060, \u0060drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/service/BaseDropInServiceInterfaces.kt\u0060, \u0060drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/model/DropInActivityEvent.kt\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":"drop-in/src/main/java/com/adyen/checkout/dropin/internal/ui/DropInActivity.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fedfb2377b88d41eb4c635aa6afec586b6b85bf03496f24635819546da47d83"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DropInViewModel.kt \u2194 DropInActivityEvent.kt: \u0060drop-in/src/main/java/com/adyen/checkout/dropin/internal/ui/DropInViewModel.kt\u0060 and \u0060drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/model/DropInActivityEvent.kt\u0060 change together 85% of the time (11 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 11 shared commits counted here, the most recent 3 are \u0060e91f5fe8\u0060 Track error event when \u0060/payments\u0060 call failed (at that commit the file was still \u0060drop-in/src/main/java/com/adyen/checkout/dropin/internal/ui/model/DropInActivityEvent.kt\u0060); \u0060c654ff2a\u0060 COAND-663: use CheckoutSession instead of SessionModel to launch drop-in (at that commit the files were still \u0060drop-in/src/main/java/com/adyen/checkout/dropin/ui/viewmodel/DropInViewModel.kt\u0060 and \u0060drop-in/src/main/java/com/adyen/checkout/dropin/ui/viewmodel/DropInActivityEvent.kt\u0060); \u0060b7667a53\u0060 COAND-663: rename Session to SessionModel (at that commit the files were still \u0060drop-in/src/main/java/com/adyen/checkout/dropin/ui/viewmodel/DropInViewModel.kt\u0060 and \u0060drop-in/src/main/java/com/adyen/checkout/dropin/ui/viewmodel/DropInActivityEvent.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/internal/ui/DropInViewModel.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfc319d08808820d6429227d68c107e94436163c8f825d70678734ffd241444"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: BaseDropInServiceInterfaces.kt \u2192 BaseDropInServiceContract.kt, CardComponentDialogFragment.kt, DropInBottomSheetDialogFragment.kt: \u0060drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/service/BaseDropInServiceInterfaces.kt\u0060 changes together with 3 other files \u2014 \u0060drop-in/src/main/java/com/adyen/checkout/dropin/old/BaseDropInServiceContract.kt\u0060, \u0060drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/CardComponentDialogFragment.kt\u0060, \u0060drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/DropInBottomSheetDialogFragment.kt\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":"drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/service/BaseDropInServiceInterfaces.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"422a7ab2eea3425448518fb908b7284ec2b52356ee46d89f7eb8f6fc5cf93e27"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: DefaultImageLoader.kt \u2194 Images.kt: \u0060core/src/main/java/com/adyen/checkout/core/internal/image/DefaultImageLoader.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/internal/image/Images.kt\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). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00600d58bdc4\u0060 Make DefaultImageLoader testable; \u0060263425d9\u0060 Only join in-flight image requests that are still running; \u0060927ace1b\u0060 Pre-load bitmaps \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/internal/image/DefaultImageLoader.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6f8aa0cdf084286b244fd4aa34bd803c05e5b8bac4a868819e12ba42418b90a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CardInputData.kt \u2194 CardOutputData.kt: \u0060card/src/main/java/com/adyen/checkout/card/old/internal/ui/model/CardInputData.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/old/internal/ui/model/CardOutputData.kt\u0060 change together 68% of the time (17 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). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 17 shared commits counted here, the most recent 3 are \u00604b852e9f\u0060 Use string representation of expiry date in card component state (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardInputData.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardOutputData.kt\u0060); \u0060089c34af\u0060 Refactor dual branded card logic into DualBrandedCardHandler (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardInputData.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardOutputData.kt\u0060); \u00602d57fa92\u0060 Display card brand selection section in CardView (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardInputData.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardOutputData.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/model/CardInputData.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfb07f8067e133a6680113076e36615d9bc98c95557599115b1f51070a4b46ce"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AnalyticsManager.kt \u2194 DefaultAnalyticsRepository.kt: \u0060components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/AnalyticsManager.kt\u0060 and \u0060components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/data/DefaultAnalyticsRepository.kt\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 \u00607a5aea3f\u0060 Create analytics manager factory and use it for MBWay component; \u0060ee1c2c89\u0060 Implement timer and send logic; \u0060d7c56a35\u0060 Make reading and writing in data stores synchronized \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"components-core/src/main/java/com/adyen/checkout/components/core/internal/analytics/AnalyticsManager.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50c70304231462492b4f1c86c601fb2d72fa783b4b80e1cc915bf3f9d58b52a3"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CardComponentStateReducer.kt \u2194 CardViewStateProducer.kt: \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardComponentStateReducer.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardViewStateProducer.kt\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). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060c75d22c5\u0060 Use function as constructor for InstallmentModel; Clean up the code a\u2026; \u00603b6e947e\u0060 Move the InstallmentUtils functions into specific classes; Introduce \u2026; \u0060467a8170\u0060 Add card scanning state and intents to v6 card component. \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardComponentStateReducer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd2832b5f3e5eb9d95667c1c06a378cbacb6dc2a4ce89786ef21d8c4f661b0d"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CardComponent.kt \u2194 CardOutputData.kt: \u0060card/src/main/java/com/adyen/checkout/card/old/CardComponent.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/old/internal/ui/model/CardOutputData.kt\u0060 change together 60% of the time (31 of the 52 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 \u006075ee5483\u0060 Extract address lookup related code and move it to ui-core (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/CardComponent.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardOutputData.kt\u0060); \u00600ea2b01c\u0060 Add on address completion callback to address lookup flow (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/CardComponent.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardOutputData.kt\u0060); \u0060bb651ed1\u0060 Refactor bcmc to inherit card component (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/CardComponent.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardOutputData.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/CardComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef6df794981c789ecd7682d477fac31377fe2abe38d788059b3b0a53bc2a0d5"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: AwaitFactory.kt \u2194 ActionComponentProvider.kt: \u0060await/src/main/java/com/adyen/checkout/await/internal/ui/AwaitFactory.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/action/internal/ActionComponentProvider.kt\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 \u00603cc37fff\u0060 Make ActionFactory generic over action type; \u006037791fbe\u0060 Move Analytics manager creation to payment facilitator layer; \u0060442d7794\u0060 Move component params for actions to payment facilitator layer \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"await/src/main/java/com/adyen/checkout/await/internal/ui/AwaitFactory.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3452797b45f1aa00f49cfa2ae81d50991660c3fa36660020a9652f2beeb1a30b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CardComponentStateReducer.kt \u2194 CardComponentStateValidator.kt: \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardComponentStateReducer.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardComponentStateValidator.kt\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). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u006096c363a9\u0060 Keep the confirmed billing address in the card state; \u0060f6e4dd02\u0060 Group error message and visibility; \u0060d75b7d29\u0060 Add Postal Code field to Card Component \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardComponentStateReducer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c929693a8eab1a00654f392f4f8d2eaba1fb204da73369f8120df2a8d75eba"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CardValidationMapper.kt \u2194 DefaultLocalizationSource.kt: \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardValidationMapper.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/common/localization/internal/DefaultLocalizationSource.kt\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 \u00605bd51dc5\u0060 Align card security code strings with iOS and Web; \u0060d75b7d29\u0060 Add Postal Code field to Card Component; \u00603c0ec86f\u0060 Create scaffold for KCP fields \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardValidationMapper.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a1e196041fb0cbbc29ae704304fcd5323053fb008696e4c3f085a55b286774"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CardViewStateProducer.kt \u2194 CardContent.kt: \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardViewStateProducer.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/view/CardContent.kt\u0060 change together 53% of the time (20 of the 38 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 \u00609b754191\u0060 Show the billing address row and route its screens; \u0060bec299a0\u0060 Render card form from ordered elements; \u00607699c923\u0060 Hide PayButton if configuration.showSubmitButton is false \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/internal/ui/state/CardViewStateProducer.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7782134b1d699435283897520cea9614a682c534a5251fedaf4f68ab876bca"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: CardInputData.kt \u2194 CardView.kt: \u0060card/src/main/java/com/adyen/checkout/card/old/internal/ui/model/CardInputData.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt\u0060 change together 52% of the time (13 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 \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 \u00604b852e9f\u0060 Use string representation of expiry date in card component state (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardInputData.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/view/CardView.kt\u0060); \u0060089c34af\u0060 Refactor dual branded card logic into DualBrandedCardHandler (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardInputData.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/view/CardView.kt\u0060); \u00602d57fa92\u0060 Display card brand selection section in CardView (at that commit the files were still \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/model/CardInputData.kt\u0060 and \u0060card/src/main/java/com/adyen/checkout/card/internal/ui/view/CardView.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"card/src/main/java/com/adyen/checkout/card/old/internal/ui/model/CardInputData.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a19498f813d74bec68bada4927672b7b5329a2557f82b7ef39eeedd558a43e2"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ActionComponent.kt \u2194 PaymentComponent.kt: \u0060core/src/main/java/com/adyen/checkout/core/action/internal/ActionComponent.kt\u0060 and \u0060core/src/main/java/com/adyen/checkout/core/components/internal/ui/PaymentComponent.kt\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 \u00608ef65f24\u0060 Extract navigation fields into separate interface; \u00605b5d70d4\u0060 Setup component specific navigation; \u00608ae921cb\u0060 Pass shopperLocale to PaymentFacilitator for localizing the content \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/action/internal/ActionComponent.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9cd5d71af2c75f4897318909236d6734148b60ff6e9c2deedc0063fa845006"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: GooglePayConfiguration.kt \u2194 GooglePayComponentParams.kt: \u0060googlepay/src/main/java/com/adyen/checkout/googlepay/GooglePayConfiguration.kt\u0060 and \u0060googlepay/src/main/java/com/adyen/checkout/googlepay/internal/ui/model/GooglePayComponentParams.kt\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 \u0060011b430b\u0060 Rename Google Pay button styling to appearance; \u00601d959d25\u0060 Support multiple payment methods in Google Pay configuration; \u00601cd57134\u0060 Add checkoutOption configuration to Google Pay \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"googlepay/src/main/java/com/adyen/checkout/googlepay/GooglePayConfiguration.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"75216d594c1a0c9fb9351a8eadaae073734cb3c625db6f8ac25e58263c287c15"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MBWayComponentStateFactory.kt \u2194 MBWayContent.kt: \u0060mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/state/MBWayComponentStateFactory.kt\u0060 and \u0060mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/view/MBWayContent.kt\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) 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 5 shared commits counted here, the most recent 3 are \u0060148bb4ef\u0060 Separate TextInputState into component and view state (at that commit the file was still \u0060mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/view/MbWayComponent.kt\u0060); \u006028385e41\u0060 Remove test input field (at that commit the files were still \u0060mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/state/MBWayViewStateFactory.kt\u0060 and \u0060mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/view/MbWayComponent.kt\u0060); \u006099f65f82\u0060 Add extra input to MBWay for testing (at that commit the files were still \u0060mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/state/MBWayViewStateFactory.kt\u0060 and \u0060mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/view/MbWayComponent.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/state/MBWayComponentStateFactory.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35612910a4386eeaa0b1a29c2db931ed1cac41bdbab61975c9666fcf28c61537"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MBWayComponentStateFactory.kt \u2194 MBWayViewState.kt: \u0060mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/state/MBWayComponentStateFactory.kt\u0060 and \u0060mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/state/MBWayViewState.kt\u0060 change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u0060148bb4ef\u0060 Separate TextInputState into component and view state; \u006028385e41\u0060 Remove test input field (at that commit the file was still \u0060mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/state/MBWayViewStateFactory.kt\u0060); \u006099f65f82\u0060 Add extra input to MBWay for testing (at that commit the file was still \u0060mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/state/MBWayViewStateFactory.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"mbway/src/main/java/com/adyen/checkout/mbway/internal/ui/state/MBWayComponentStateFactory.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b727dbb3c413b7071b09c93d2515cb05e6e2b6fe3786026b31eba9938298857d"}},{"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":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: ExternalConfigurationReader: \u0060ExternalConfigurationReader\u0060 is a singleton (@Singleton: the container shares one instance across every request thread) but mutates instance state outside any lock (cardConfiguration; e.g. \u0060cardConfiguration\u0060 in \u0060apply\u0060 at line 33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/data/storage/ExternalConfigurationReader.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d1c632d94742c73b67333d783afcac4c5d267b38439cb4d8437333be5c572f"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: Protocol (18 abstract methods): \u0060Protocol\u0060 declares 18 abstract methods: \u0060showPreselectedDialog\u0060, \u0060showPaymentMethodsDialog\u0060, \u0060showStoredComponentDialog\u0060, \u0060showComponentDialog\u0060, \u0060requestPaymentsCall\u0060, \u0060requestDetailsCall\u0060, \u0060showError\u0060, \u0060terminateDropIn\u0060, \u0060requestBalanceCall\u0060, \u0060requestPartialPayment\u0060, \u0060requestOrderCancellation\u0060, \u0060finishWithAction\u0060, \u0060removeStoredPaymentMethod\u0060, \u0060onRedirect\u0060, \u0060onBinValue\u0060, \u0060onBinLookup\u0060, \u0060onAddressLookupQuery\u0060, \u0060onAddressLookupCompletion\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"drop-in/src/main/java/com/adyen/checkout/dropin/old/internal/ui/DropInBottomSheetDialogFragment.kt"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"63f2bd1305ffc44d11e02b75624bdba424807e03cc4b86ad4225aeb98e6e00dc"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: KeyValueStorage (34 abstract methods): \u0060KeyValueStorage\u0060 declares 34 abstract methods: \u0060getShopperReference\u0060, \u0060setShopperReference\u0060, \u0060getOldAmount\u0060, \u0060getAmount\u0060, \u0060setAmount\u0060, \u0060setCurrency\u0060, \u0060getCountry\u0060, \u0060setCountry\u0060, \u0060getShopperLocale\u0060, \u0060setShopperLocale\u0060, \u0060getThreeDSMode\u0060, \u0060setThreeDSMode\u0060, \u0060getShopperEmail\u0060, \u0060setShopperEmail\u0060, \u0060getMerchantAccount\u0060, \u0060setMerchantAccount\u0060, \u0060isSplitCardFundingSources\u0060, \u0060setSplitCardFundingSources\u0060, \u0060getCardAddressMode\u0060, \u0060setCardAddressMode\u0060, \u0060isRemoveStoredPaymentMethodEnabled\u0060, \u0060setRemoveStoredPaymentMethodEnabled\u0060, \u0060getInstantPaymentMethodType\u0060, \u0060setInstantPaymentMethodType\u0060, \u0060getInstallmentOptionsMode\u0060, \u0060setInstallmentOptionsMode\u0060, \u0060isInstallmentAmountShown\u0060, \u0060setInstallmentAmountShown\u0060, \u0060getIntegrationFlow\u0060, \u0060setIntegrationFlow\u0060, \u0060getAnalyticsMode\u0060, \u0060setAnalyticsMode\u0060, \u0060getOnBeforeSubmitMode\u0060, \u0060setOnBeforeSubmitMode\u0060. Counted over its public functions with no body, once per name; default-bodied functions and properties are not counted, because no implementer is forced to write them. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"example-app/src/main/java/com/adyen/checkout/example/data/storage/KeyValueStorage.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"88cd497fb77e80fa5e5ffa00c2a91348b4d684f2618644fec8d955fd5cfe01c4"}},{"ruleId":"M2","level":"note","message":{"text":"Architecture diagram out of date: \u0060dependency-graph/project.dot\u0060 draws the system\u0027s parts, and the drawing no longer matches the code: it leaves out \u00603ds2\u0060, \u0060address\u0060, \u0060authentication\u0060, \u0060card-scanning\u0060, \u0060core\u0060, \u0060lint\u0060, \u0060meal-voucher-fr\u0060, \u0060paybybank-us\u0060, \u0060payto\u0060, \u0060twint\u0060, \u0060twint-action\u0060, \u0060ui\u0060, which the repository has beside the units it does draw. A diagram of a system that no longer exists misleads the reader it was drawn for, so it is not credited as documenting the shape."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"dependency-graph/project.dot"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4ba1f58edd3e38ec0c626f6d7ca16105180311953b0cca670629e540d4e3293"}},{"ruleId":"P3","level":"warning","message":{"text":"SAST runs, but gates no merge: \u0060codeql.yml\u0060 run(s) a static-analysis scan, but no workflow that runs one is triggered by a pull request (or a merge queue, or an unfiltered push) \u2014 the scan fires on a schedule or a manual dispatch only. A vulnerable change therefore merges clean and is reported on the next scheduled run, by which time it is on the default branch and the only remedy is a follow-up fix. Add the pull-request trigger to the workflow that runs the scan so the finding arrives before the merge rather than after it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"73211886541038635ced0208da9cedd27ed1caa9132fd6aa5e44d2976a4de6d6"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcd699919aa591b262d8f4a07a70eed2e90d52ddb856cc6e42aa98540126b06b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!isDisabled \u0026\u0026 id != null \u0026\u0026 name != null\u0060 appears character-identically in 3 files \u2014 issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/ui/IssuersUtils.kt, online-banking-core/src/main/java/com/adyen/checkout/onlinebankingcore/internal/util/IssuersExt.kt, paybybank/src/main/java/com/adyen/checkout/paybybank/internal/ui/DefaultPayByBankDelegate.kt. 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":"issuer-list/src/main/java/com/adyen/checkout/issuerlist/internal/ui/IssuersUtils.kt"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ec73b489bbbd56979988b1cb4ff6b06c6d9e79dc4d14fd3f8940bf3fec7f7d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!outputData.isValid || publicKey == null\u0060 appears character-identically in 3 files \u2014 ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt, card/src/main/java/com/adyen/checkout/card/old/internal/ui/DefaultCardDelegate.kt, card/src/main/java/com/adyen/checkout/card/old/internal/ui/StoredCardDelegate.kt. 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":"ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a201ea75bbcbda338d1c7751a69ab8feb44fe1c76dc583e7f283b159aaf5573"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Build.VERSION.SDK_INT \u003E= Build.VERSION_CODES.O \u0026\u0026 bitmap.config == Bitmap.Config.RGBA_F16\u0060 appears character-identically in 2 files \u2014 checkout-core/src/main/java/com/adyen/checkout/core/old/internal/ui/InMemoryCache.kt, core/src/main/java/com/adyen/checkout/core/internal/image/InMemoryCache.kt. 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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/ui/InMemoryCache.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d254d1a7c5900c0bad53e9d5019920a032ddce1b181573736ef134e083568ba"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060StatusResponseUtils.isFinalResult(statusResponse) \u0026\u0026 !payload.isNullOrEmpty()\u0060 appears character-identically in 2 files \u2014 await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt, qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/DefaultQRCodeDelegate.kt. 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":"await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"49e7856c44ef4b091071c7b99c3e8efd16e2dbfedc6676f3ab1deed06eedc00c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_viewFlow.value is ButtonComponentViewType \u0026\u0026 componentParams.showStorePaymentField\u0060 appears character-identically in 2 files \u2014 cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/ui/DefaultCashAppPayDelegate.kt, twint/src/main/java/com/adyen/checkout/twint/internal/ui/DefaultTwintDelegate.kt. 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":"cashapppay/src/main/java/com/adyen/checkout/cashapppay/internal/ui/DefaultCashAppPayDelegate.kt"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca58000203f2afae85f85f451b5f4a2fa53ba2cc8aa9c78b4762f2cd6a265fda"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060binding.addressFormInput.isVisible \u0026\u0026 !it.addressState.isValid\u0060 appears character-identically in 2 files \u2014 boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/view/BoletoView.kt, card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt. 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":"boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/view/BoletoView.kt"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b907adbe2647adee84ce14e19b08820f8dd663721b1cbc44181000819763243"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060binding.textInputLayoutFirstName.isVisible \u0026\u0026 firstNameValidation is Validation.Invalid\u0060 appears character-identically in 2 files \u2014 boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/view/BoletoView.kt, payto/src/main/java/com/adyen/checkout/payto/internal/ui/view/PayToView.kt. 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":"boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/view/BoletoView.kt"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa98897176ba56519691d9b6141dc560de962e8d7cf677dbb443d9c35a578a23"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060binding.textInputLayoutLastName.isVisible \u0026\u0026 lastNameValidation is Validation.Invalid\u0060 appears character-identically in 2 files \u2014 boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/view/BoletoView.kt, payto/src/main/java/com/adyen/checkout/payto/internal/ui/view/PayToView.kt. 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":"boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/view/BoletoView.kt"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc00bb935f21ff0cff7a7f1212522cb4c40d1afb8fff7175d605a48abbf4f8c2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060binding.textInputLayoutSocialSecurityNumber.isVisible \u0026\u0026 socialSecurityNumberValidation is Validation.Invalid\u0060 appears character-identically in 2 files \u2014 boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/view/BoletoView.kt, card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt. 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":"boleto/src/main/java/com/adyen/checkout/boleto/internal/ui/view/BoletoView.kt"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"c574bfbb244b83f87edd92371afab7a8005aedcf35e569095e8c3ca0dd6e7b0a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060directoryServerId == null || directoryServerPublicKey == null || directoryServerRootCertificates == null\u0060 appears character-identically in 2 files \u2014 3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt, authentication/src/main/java/com/adyen/checkout/authentication/internal/ui/AuthenticationComponent.kt. 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":"3ds2/src/main/java/com/adyen/checkout/threeds2/old/internal/ui/DefaultAdyen3DS2Delegate.kt"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"861c74a8b99f64871f44472283f5558d612d3df771ca7433dd9bd4e60e02990e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060enableLuhnCheck \u0026\u0026 !isLuhnChecksumValid(normalizedNumber)\u0060 appears character-identically in 2 files \u2014 checkout-core/src/main/java/com/adyen/checkout/core/old/ui/validation/CardNumberValidator.kt, core/src/main/java/com/adyen/checkout/core/common/helper/CardNumberValidator.kt. 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":"checkout-core/src/main/java/com/adyen/checkout/core/old/ui/validation/CardNumberValidator.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc3a3e4c8a4299c63ad77a3573d2ae0d9cd3a21441ef59ed181a83684d1cc16"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060infoJson != null \u0026\u0026 !infoJson.isNull(CARD_NETWORK)\u0060 appears character-identically in 2 files \u2014 googlepay/src/main/java/com/adyen/checkout/googlepay/internal/helper/GooglePayUtils.kt, googlepay/src/main/java/com/adyen/checkout/googlepay/old/internal/util/GooglePayUtils.kt. 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":"googlepay/src/main/java/com/adyen/checkout/googlepay/internal/helper/GooglePayUtils.kt"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e45d4cc845689f2052d78e753e4aff8f92846d563896b7ba0d393eba5fd4bb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060isConfirmationRequired() \u0026\u0026 componentParams.isSubmitButtonVisible\u0060 appears character-identically in 19 files \u2014 ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt, bacs/src/main/java/com/adyen/checkout/bacs/internal/ui/DefaultBacsDirectDebitDelegate.kt, blik/src/main/java/com/adyen/checkout/blik/old/internal/ui/DefaultBlikDelegate.kt, blik/src/main/java/com/adyen/checkout/blik/old/internal/ui/StoredBlikDelegate.kt. 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":"ach/src/main/java/com/adyen/checkout/ach/internal/ui/DefaultACHDirectDebitDelegate.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0d6b4cc8ae74b3bd688ca1c7f16f373f907c204635aa559e5f5b7569a85a86b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060launchNative(context, uri) || launchWithCustomTabs(context, uri) || launchBrowser(context, uri)\u0060 appears character-identically in 2 files \u2014 core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt, ui-core/src/main/java/com/adyen/checkout/ui/core/old/internal/DefaultRedirectHandler.kt. 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":"core/src/main/java/com/adyen/checkout/core/redirect/internal/DefaultRedirectHandler.kt"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fe62c635bc6bfc139c65ad8c39aa902f0e6ae86e4e39a9b5835e11712d2cec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060modelList == null || modelList.isEmpty()\u0060 appears character-identically in 2 files \u2014 checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/model/ModelUtils.kt, core/src/main/java/com/adyen/checkout/core/common/internal/model/ModelUtils.kt. 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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/data/model/ModelUtils.kt"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5042ef6f697bd0d025de3b3be5e53f387c8a1e6d0f0e8999320f8cb1a534b14"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resultCode == Activity.RESULT_CANCELED \u0026\u0026 data.hasExtra(DropIn.ERROR_REASON_KEY)\u0060 appears character-identically in 2 files \u2014 drop-in/src/main/java/com/adyen/checkout/dropin/old/DropInResultContract.kt, drop-in/src/main/java/com/adyen/checkout/dropin/old/SessionDropInResultContract.kt. 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":"drop-in/src/main/java/com/adyen/checkout/dropin/old/DropInResultContract.kt"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"45b1820b28173182c69c7937bb3238f1751b503f1cf60bddefc82bfd3e9bbb98"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060resultCode == Activity.RESULT_OK \u0026\u0026 data.hasExtra(DropIn.RESULT_KEY)\u0060 appears character-identically in 2 files \u2014 drop-in/src/main/java/com/adyen/checkout/dropin/old/DropInResultContract.kt, drop-in/src/main/java/com/adyen/checkout/dropin/old/SessionDropInResultContract.kt. 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":"drop-in/src/main/java/com/adyen/checkout/dropin/old/DropInResultContract.kt"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"778f83833583e3ec69ea9d28bef6aa6a684e360994d75975e52a6f491741c4b4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rootView.findFocus() === view \u0026\u0026 view != null\u0060 appears character-identically in 2 files \u2014 bacs/src/main/java/com/adyen/checkout/bacs/internal/ui/view/BacsDirectDebitInputView.kt, card/src/main/java/com/adyen/checkout/card/old/internal/ui/view/CardView.kt. 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":"bacs/src/main/java/com/adyen/checkout/bacs/internal/ui/view/BacsDirectDebitInputView.kt"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5b212897b900890f22dc89d352ec33c085706e42d613672a0fe223f5a9a1a57"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060statusResponse != null \u0026\u0026 StatusResponseUtils.isFinalResult(statusResponse)\u0060 appears character-identically in 2 files \u2014 await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt, qr-code/src/main/java/com/adyen/checkout/qrcode/internal/ui/DefaultQRCodeDelegate.kt. 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":"await/src/main/java/com/adyen/checkout/await/old/internal/ui/DefaultAwaitDelegate.kt"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"79c070545119aa5321234d037d7d7de563af59f8c3deff3a67ba5ab38b8228e6"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060supportedActionTypes.contains(action.type) \u0026\u0026 PAYMENT_METHODS.contains(action.paymentMethodType)\u0060 appears character-identically in 4 files \u2014 await/src/main/java/com/adyen/checkout/await/old/internal/provider/AwaitComponentProvider.kt, twint-action/src/main/java/com/adyen/checkout/twint/action/internal/provider/TwintActionComponentProvider.kt, voucher/src/main/java/com/adyen/checkout/voucher/internal/provider/VoucherComponentProvider.kt, wechatpay/src/main/java/com/adyen/checkout/wechatpay/internal/provider/WeChatPayActionComponentProvider.kt. 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":"await/src/main/java/com/adyen/checkout/await/old/internal/provider/AwaitComponentProvider.kt"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"036e07c4505db73e28c6316d7ef5b1fb5621ff9a03c94478f3689d3cf8fee7f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tag.length \u003C= MAX_TAG_LENGTH || Build.VERSION.SDK_INT \u003E= Build.VERSION_CODES.O\u0060 appears character-identically in 2 files \u2014 checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/LogcatLogger.kt, core/src/main/java/com/adyen/checkout/core/common/internal/helper/LogcatLogger.kt. 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":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/util/LogcatLogger.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"10379226d7a4052015b20e831c1e791b7357a8d2aa09c411db9307b1aac3072d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060id not in dependency_list[\u0027excluded\u0027] and id not in dependency_list[\u0027included\u0027]\u0060 appears character-identically in 2 files \u2014 scripts/generate_release_notes.py, scripts/validate_dependencies_for_release_notes.py. 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":"scripts/generate_release_notes.py"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2acbe48c312fdf8d6b599e6cac4cd355873174397531b07fc6dfaea631a6f8"}},{"ruleId":"X2","level":"note","message":{"text":"Not all suspend functions that make a request accept the coroutine\u0027s cancellation: Only 1/2 suspend functions that make a cancellable request (Ktor, OkHttp newCall, URL streams) accept the coroutine\u0027s cancellation or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a screen navigated away from, a disposed widget, a superseded search. In a suspend function, make the request with a call that suspends \u2014 Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 that cancels the \u0060Call\u0060 \u2014 not a blocking \u0060execute()\u0060: \u0060withContext(Dispatchers.IO)\u0060 moves the call off the caller\u0027s thread but does not make it cancellable; 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":"97a0137a13dc63b0e07ec4e232770b687c26a8a2030f49787e45a4506416c527"}},{"ruleId":"X2","level":"warning","message":{"text":"Suspend function with a blocking request: load: \u0060load\u0060 suspends, but makes its request with \u0060call.execute()\u0060, which blocks: its caller\u0027s cancellation cannot reach the request, so it runs to its end after whatever wanted it has given up \u2014 \u0060withContext(Dispatchers.IO)\u0060 moves it off the caller\u0027s thread and does not change that. Make the request with a call that suspends: Ktor, OkHttp\u0027s \u0060executeAsync()\u0060, or a \u0060suspendCancellableCoroutine\u0060 over \u0060enqueue\u0060 that cancels the \u0060Call\u0060 in \u0060invokeOnCancellation\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/ui/ImageLoader.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"460e5ac0abc52481c189ad4ea3081cb179d7603d998d5630568d6f88a2943ca7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/java/com/adyen/checkout/core/internal/image/InMemoryCache.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"31054e44704b2d48b8a5756ed4ce46abb2c7d1e1c425626e3445c7bb33dce369"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"checkout-core/src/main/java/com/adyen/checkout/core/old/internal/ui/InMemoryCache.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"866e032a9cc61f0bff47f285f5ed31024d65ac862ab303cb1097efb06d5162db"}}],"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-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-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-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-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-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.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-926","guid":"0d9b5579-5549-555a-8a97-f9cc14f3ad4a","name":"Improper Export of Android Application Components","shortDescription":{"text":"Improper Export of Android Application Components"},"helpUri":"https://cwe.mitre.org/data/definitions/926.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":"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":"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/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-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":65,"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."]}]}