{"$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":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"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":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"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":"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":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"AbstractBackendStub.adjustResponseBody (cyclomatic 29): AbstractBackendStub.adjustResponseBody has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/client4/testing/AbstractBackendStub.scala"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd6aa34e6819c35a89bdc49b401fdd31d8a4164f486d39a898fc6a80a6f4d7c"}},{"ruleId":"D1","level":"warning","message":{"text":"BodyFromAkka.webSocketAndFlow (cyclomatic 16): BodyFromAkka.webSocketAndFlow has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d506cb1344e1e08f2afda5246de511a9aa8569064f0850a24db7bdff590dab3"}},{"ruleId":"D1","level":"warning","message":{"text":"Slf4jLogger.apply (cyclomatic 16): Slf4jLogger.apply has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"logging/slf4j/src/main/scala/sttp/client4/logging/slf4j/Slf4jLogger.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c26428935807a0df5e60d0917aa0175876db249c0cdb127af3934c276d37cc"}},{"ruleId":"D1","level":"warning","message":{"text":"BodyFromPekko.webSocketAndFlow (cyclomatic 16): BodyFromPekko.webSocketAndFlow has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyFromPekko.scala"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c4dc1a0e0493922ab6328920cba027699ce2bb4ea384895ea794833180956f"}},{"ruleId":"D2","level":"warning","message":{"text":"BodyFromAkka.webSocketAndFlow (cognitive 31): BodyFromAkka.webSocketAndFlow has cognitive complexity 31 (threshold 15). Drivers by points: match/switch 5 (18 pts), if/else 4 (10 pts), loops 2 (3 pts) (nesting depth added 20). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"343287dd14bb0f480de824b22c49019e73cac8085e299c37a968461099d8882a"}},{"ruleId":"D2","level":"warning","message":{"text":"BodyFromPekko.webSocketAndFlow (cognitive 31): BodyFromPekko.webSocketAndFlow has cognitive complexity 31 (threshold 15). Drivers by points: match/switch 5 (18 pts), if/else 4 (10 pts), loops 2 (3 pts) (nesting depth added 20). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyFromPekko.scala"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b43fb7dfdc239ed4b4864c32b07f2adfd172d5f395148b68d592e36f15bad093"}},{"ruleId":"D2","level":"warning","message":{"text":"ZioWebSockets.compilePipe (cognitive 27): ZioWebSockets.compilePipe has cognitive complexity 27 (threshold 15). Drivers by points: match/switch 5 (15 pts), if/else 4 (6 pts), loops 3 (6 pts) (nesting depth added 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/zio/src/main/scala/sttp/client4/impl/zio/ZioWebSockets.scala"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fda0243fdc90515fa5d625e07732cd85773d49b5d5eeed2f403d5fd77e4705c"}},{"ruleId":"D2","level":"warning","message":{"text":"ZioWebSockets.compilePipe (cognitive 27): ZioWebSockets.compilePipe has cognitive complexity 27 (threshold 15). Drivers by points: match/switch 5 (15 pts), if/else 4 (6 pts), loops 3 (6 pts) (nesting depth added 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/zio1/src/main/scala/sttp/client4/impl/zio/ZioWebSockets.scala"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4c1a545dc2fd6aba13073bf6a3918d72222e5f839a8b9f45de4333a596c8b03"}},{"ruleId":"D2","level":"warning","message":{"text":"Otel4sMetricsBackend.metricsListener (cognitive 21): Otel4sMetricsBackend.metricsListener has cognitive complexity 21 (threshold 15). Drivers by points: loops 6 (21 pts) (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: one other method here (MetricsRequestListener.captureResponseMetrics) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"observability/otel4s-metrics-backend/src/main/scala/sttp/client4/opentelemetry/otel4s/Otel4sMetricsBackend.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4700711d5f01beaad5619b21ca4cdd32b13d65c3923dc849350d4bbf335fcb"}},{"ruleId":"D2","level":"warning","message":{"text":"MetricsRequestListener.captureResponseMetrics (cognitive 21): MetricsRequestListener.captureResponseMetrics has cognitive complexity 21 (threshold 15). Drivers by points: loops 6 (21 pts) (nesting depth added 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: one other method here (Otel4sMetricsBackend.metricsListener) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"observability/otel4s-metrics-backend/src/main/scala/sttp/client4/opentelemetry/otel4s/Otel4sMetricsBackend.scala"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dcfd07fd9736b50b619fb11ad778a06388940082c7528903d60cfdb6049e529"}},{"ruleId":"D2","level":"warning","message":{"text":"AbstractBackendStub.adjustResponseBody (cognitive 20): AbstractBackendStub.adjustResponseBody has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 8 (14 pts), if/else 6 (nesting depth added 6). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/client4/testing/AbstractBackendStub.scala"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e518d574b98c1b5a6e14c328d13c55611bb6a5912961f864b4cb36ccd3ca0c"}},{"ruleId":"D2","level":"warning","message":{"text":"GZIPCompressingInputStream.read (cognitive 19): GZIPCompressingInputStream.read has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (18 pts), match/switch 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scalajvm/sttp/client4/compression/GZIPCompressingInputStream.scala"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"caac25b1da9e5c65533c08f7b0e5fecb3df7353fe66a29daccae64b43747e7e3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HttpServer.paramsToString: MethodTooLong \u2014 paramsToString runs 327 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 227 over it, 3.27\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testing/server/src/main/scala/sttp/client4/testing/server/HttpServer.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a150ba782849c8c6212639079e6d9ef171691b0845c6c3c38afb33e35af11d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PartialRequestBuilder: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 over it, 2.10\u00D7 the bar. This type is on a published API surface \u2014 a MiMa binary-compatibility gate (build.sbt) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/client4/requestBuilder.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"8308a10c853763e6e7e9ba4119833a637ae70590e58fbd1eaa7d5c9885f731c1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SttpApi: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. This type is on a published API surface \u2014 a MiMa binary-compatibility gate (build.sbt) declares its compatibility contractual \u2014 so moving members onto a smaller type is a breaking change for every consumer, not a local refactor. To reduce it, treat the split as an API migration: move each cohesive group onto its own published type and keep the old members as deprecated forwards for a deprecation period, removing them at the next compatibility break. Where the surface has to stay as it is, that is a decision to record rather than a change to make."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/client4/SttpApi.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6666aed24468961ca9e21a21d32c07cb3f4f97d0365fb42cff1f99841726539"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (65 shared lines): http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:42-134 | http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala:43-134 \u2014 These two members are variants of one another: 65 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"be8ce4173476cdbd1892a48094020d44d8284503477aa232370a05e30e65d047"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (39 shared lines): effects/fs2-ce2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala:27-69 | effects/fs2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala:27-69 \u2014 These two members are variants of one another: 39 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/fs2-ce2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"513e51d8a0392c04a9ffbb051f597fe308efeef7c3e06163bc12485019b01150"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (36 shared lines): effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala:31-80 | effects/zio1/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala:33-105 \u2014 These two members are variants of one another: 36 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4600ac29cc8dd1eede3e0da05a06b46b48ab7f01292c243e66d6c54bb720a1f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (35 shared lines): http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:239-281 | http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala:238-280 \u2014 These two members are variants of one another: 35 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e50946dab7020fa3987e15a304da96e787cd234773366a29e62c89d372f6704"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (33 shared lines): akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyToAkka.scala:27-81 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyToPekko.scala:28-82 \u2014 These two members are variants of one another: 33 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyToAkka.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad44a0b0023f55d043acca72f407081c7b4b06d12a2d6c5102da984bfbdbf5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): json/play-json/src/main/scala/sttp/client4/playJson/SttpPlayJsonApi.scala:49-55 | json/upickle/src/main/scala/sttp/client4/upicklejson/SttpUpickleApi.scala:48-54 | json/zio-json/src/main/scala/sttp/client4/ziojson/SttpZioJsonApi.scala:51-57 | json/zio1-json/src/main/scala/sttp/client4/ziojson/SttpZioJsonApi.scala:51-57 \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":"json/play-json/src/main/scala/sttp/client4/playJson/SttpPlayJsonApi.scala"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3800ae897b4e1ab9467cd4582d16f48cf319e884d7198cf7e19000ed901a530"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (68 corresponding lines): akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala:130-197 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyFromPekko.scala:131-198 \u2014 These two members are one piece of code written twice and then edited apart: 68 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd30bc045121b7339437c0960a6013a5414ebe133c7066dfb468746a1228b10"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala:28-68 | effects/fs2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala:27-67 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cc636da12a1a85dd944c78785f255bb78251e4b0e9db4d1fc85f9c8781b6e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): core/src/main/scalajvm/sttp/client4/SttpClientExceptionExtensions.scala:13-34 | core/src/main/scalanative/sttp/client4/SttpClientExceptionExtensions.scala:12-32 \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/scalajvm/sttp/client4/SttpClientExceptionExtensions.scala"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6b19d069d1da670afcca71ae1bdbc9ddae3935486e8b76ef689f41206967716"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): effects/zio/src/main/scala/sttp/client4/impl/zio/ZioWebSockets.scala:12-48 | effects/zio1/src/main/scala/sttp/client4/impl/zio/ZioWebSockets.scala:12-48 \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":"effects/zio/src/main/scala/sttp/client4/impl/zio/ZioWebSockets.scala"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4a1f10aa654510de9c6c655caf9f5c36bb52585d90f57980924b294680f39b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala:93-125 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyFromPekko.scala:94-126 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e2b8e5c423c3968aff1a8f89ea790aaf5df9a8b27ca83fe47dc94b73bc66f76"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala:65-90 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/PekkoHttpBackend.scala:81-108 \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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da6bf42950bfd27e95a46a26a2832d9942ba071aa26602e8e351069505d9eb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): effects/zio/src/main/scala/sttp/client4/impl/zio/ExtendedEnvBackend.scala:14-28 | effects/zio1/src/main/scala/sttp/client4/impl/zio/ExtendedEnvBackend.scala:14-28 \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":"effects/zio/src/main/scala/sttp/client4/impl/zio/ExtendedEnvBackend.scala"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2029ad075455229dc3ddba3bb0ba1229d7658d1275da672cf81e7d2bde15e95e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): akka-http-backend/src/main/scala/sttp/client4/akkahttp/FromAkka.scala:20-31 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/FromPekko.scala:21-33 \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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/FromAkka.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7b83b7f5676e9bf7d50d33fd0dd8c31437a39fba45de06bd6661d646ad0c79"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/src/main/scalajvm/sttp/client4/compression/defaultCompressors.scala:16-30 | core/src/main/scalajvm/sttp/client4/compression/defaultCompressors.scala:45-59 \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":"core/src/main/scalajvm/sttp/client4/compression/defaultCompressors.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69591b1792479f77b6e9ad6d226d70b7c16de3eebba2bfaaea66bc3e071cc0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:161-176 | http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala:160-175 \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":"http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a87afa8499f2986693ea8d1acc536b53980df3f7a9f4c3bacaf66063e65d99"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala:126-152 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/PekkoHttpBackend.scala:144-170 \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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0aee0c1d851304a448efb814dfb144d7b9387722745b2fca7dc8ef90ebab86d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): effects/fs2-ce2/src/main/scalajvm/sttp/client4/httpclient/fs2/HttpClientFs2Backend.scala:123-138 | http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala:294-309 \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":"effects/fs2-ce2/src/main/scalajvm/sttp/client4/httpclient/fs2/HttpClientFs2Backend.scala"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c678dba344680ca97aa8700c00a049abca29c89be1f90a380f51e40fd1e985"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): effects/monix/src/main/scalajs/sttp/client4/impl/monix/FetchMonixBackend.scala:48-64 | effects/zio/src/main/scalajs/sttp/client4/impl/zio/FetchZioBackend.scala:51-66 | effects/zio1/src/main/scalajs/sttp/client4/impl/zio/FetchZioBackend.scala:56-71 \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":"effects/monix/src/main/scalajs/sttp/client4/impl/monix/FetchMonixBackend.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"93451d80f192838a13baa072ff6a6d434ea2fec0c304a4f62b2091e4b5e6af70"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyToAkka.scala:87-99 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyToPekko.scala:88-100 \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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyToAkka.scala"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"793bd0b385c4625cc999917a408d8539efe24f8b074419a668c58894c318b71b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/fs2Decompressors.scala:25-36 | effects/fs2/src/main/scala/sttp/client4/impl/fs2/fs2Decompressors.scala:22-33 \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":"effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/fs2Decompressors.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"26feaf8261b935df5da20b67aebc67cbf7da96ee2dc3633c10f5044c3bd733ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): effects/zio1/src/main/scala/sttp/client4/impl/zio/SttpClientStubbingBase.scala:95-102 | effects/zio1/src/main/scala/sttp/client4/impl/zio/SttpClientStubbingBase.scala:112-121 \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":"effects/zio1/src/main/scala/sttp/client4/impl/zio/SttpClientStubbingBase.scala"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b94cbaccad547efa6531b4907840d15e6d692553871195d936d945af26246e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): akka-http-backend/src/main/scala/sttp/client4/akkahttp/ToAkka.scala:17-37 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/ToPekko.scala:18-38 \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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/ToAkka.scala"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5ecfdc84e0b6a1fbb81a4ae741dcc690874fefd15cc1f7919d1177d1ec2b45"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): json/zio-json/src/main/scalajvm/sttp/client4/ziojson/SttpZioJsonApiExtensions.scala:17-25 | json/zio1-json/src/main/scalajvm/sttp/client4/ziojson/SttpZioJsonApiExtensions.scala:19-27 \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":"json/zio-json/src/main/scalajvm/sttp/client4/ziojson/SttpZioJsonApiExtensions.scala"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8299427ab7a8fe6209c370d95260acaba258521f8f5b5412b9f6d1181e1ee6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:227-236 | http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala:226-235 \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":"http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ebf44e420abcd86774a1c50789e66aa2fc0500b9d99ab54fb31ccad7cdeea30"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/src/main/scalajs/sttp/client4/WebSocketImpl.scala:20-36 | core/src/main/scalajvm/sttp/client4/internal/httpclient/WebSocketImpl.scala:25-40 \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/scalajs/sttp/client4/WebSocketImpl.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"563f6f8acc03a7096816b25312e304138c1d8eceabbced65e9bb7e3756a72622"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): core/src/main/scala/sttp/client4/testing/package.scala:12-23 | core/src/main/scala/sttp/client4/testing/package.scala:29-40 \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/scala/sttp/client4/testing/package.scala"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4344ec9ffbc76d5b76c6c503129d98d1e05cf78eae7f7e85fbcd4a3c56a15916"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/src/main/scalajvm/sttp/client4/httpclient/HttpClientBackend.scala:205-221 | okhttp-backend/src/main/scala/sttp/client4/okhttp/OkHttpBackend.scala:149-164 \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/scalajvm/sttp/client4/httpclient/HttpClientBackend.scala"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eb56d3d237c1b6480b79b9de28ab75a0d97569e0f73858370bc0b197d621999"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaCompressor.scala:16-21 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/PekkoCompressor.scala:16-21 \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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaCompressor.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"92c78792814d9f021b11df6c9ebb149d111bca9e03c92adc87ddb5216f3519f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/src/main/scalajvm/sttp/client4/internal/httpclient/BodyFromHttpClient.scala:25-31 | okhttp-backend/src/main/scala/sttp/client4/okhttp/BodyFromOkHttp.scala: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":"core/src/main/scalajvm/sttp/client4/internal/httpclient/BodyFromHttpClient.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"37073ba08564fc426d3eda95c847d8d7d9cd8c79ee798c720a9b3c8577c60916"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala:53-63 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/PekkoHttpBackend.scala:69-79 \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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"92104d386c7b67d671fa3910217559bd9cb41518c2b18501a12849a77af57b35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): armeria-backend/fs2-ce2/src/main/scala/sttp/client4/armeria/fs2/ArmeriaFs2Backend.scala:24-32 | armeria-backend/fs2/src/main/scala/sttp/client4/armeria/fs2/ArmeriaFs2Backend.scala:27-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":"armeria-backend/fs2-ce2/src/main/scala/sttp/client4/armeria/fs2/ArmeriaFs2Backend.scala"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fd7e3632b4068f99fae6485e97d110d3281242e761c4254f68c21600f4d8bdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): effects/zio/src/main/scala/sttp/client4/impl/zio/ZioWebSockets.scala:58-70 | effects/zio1/src/main/scala/sttp/client4/impl/zio/ZioWebSockets.scala:58-72 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/zio/src/main/scala/sttp/client4/impl/zio/ZioWebSockets.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"99baffe1e883e431955f6c5c7adcc4ccec53cf52702d53feabbab30ab7484de2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): akka-http-backend/src/main/scala/sttp/client4/akkahttp/FromAkka.scala:11-17 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/FromPekko.scala:12-18 \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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/FromAkka.scala"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34e2dde902f051bbdff4a1cd5e6aadd89b006ebdd2c07ef42ba6c26e1339770"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): effects/zio/src/main/scalajvm/sttp/client4/impl/zio/zioDecompressors.scala:18-21 | effects/zio1/src/main/scalajvm/sttp/client4/httpclient/zio/zioDecompressors.scala:18-21 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/zio/src/main/scalajvm/sttp/client4/impl/zio/zioDecompressors.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d0c022dfdd6103386407545d6a986bcf2878ccade77768ac5134e857a4d8ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): armeria-backend/zio/src/main/scala/sttp/client4/armeria/zio/ArmeriaZioBackend.scala:27-35 | armeria-backend/zio1/src/main/scala/sttp/client4/armeria/zio/ArmeriaZioBackend.scala:28-36 \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":"armeria-backend/zio/src/main/scala/sttp/client4/armeria/zio/ArmeriaZioBackend.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f427ad0eb81373d725667763749d1d2e212764ea87fe6c4376aec96191ad153"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/src/main/scala/sttp/client4/internal/package.scala:19-33 | testing/server/src/main/scala/sttp/client4/testing/server/HttpServer.scala:622-636 \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":"core/src/main/scala/sttp/client4/internal/package.scala"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"77da9621e22de942988b580f18c73f404a0f09cccf03eb63072a5562fb52c100"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala:183-189 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/PekkoHttpBackend.scala:201-207 \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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"88ce23a4ef69d327fbbc3e64dcf8a458905367e351f5413f5bea61fd5e4b2c0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): armeria-backend/fs2-ce2/src/main/scala/sttp/client4/armeria/fs2/ArmeriaFs2Backend.scala:41-44 | effects/fs2-ce2/src/main/scalajvm/sttp/client4/httpclient/fs2/HttpClientFs2Backend.scala:113-116 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"armeria-backend/fs2-ce2/src/main/scala/sttp/client4/armeria/fs2/ArmeriaFs2Backend.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d929a957aed9726a0f67678ae8b8407bcec21ed0f5c2b8e1b9c3541c3f8a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 7\u002B corresponding lines): json/circe/src/main/scala/sttp/client4/circe/SttpCirceApi.scala:53-59 | json/json4s/src/main/scala/sttp/client4/json4s/SttpJson4sApi.scala:62-70 | json/spray-json/src/main/scala/sttp/client4/sprayJson/SttpSprayJsonApi.scala:47-55 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"json/circe/src/main/scala/sttp/client4/circe/SttpCirceApi.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f885f6f0f4ad7f254adbdc25263682a96ac47b1dd6cf94f67735c691ae5d117a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): armeria-backend/cats/src/main/scala/sttp/client4/armeria/cats/ArmeriaCatsBackend.scala:36-39 | armeria-backend/fs2/src/main/scala/sttp/client4/armeria/fs2/ArmeriaFs2Backend.scala:55-58 | effects/cats/src/main/scalajvm/sttp/client4/httpclient/cats/HttpClientCatsBackend.scala:88-91 | effects/fs2/src/main/scalajvm/sttp/client4/httpclient/fs2/HttpClientFs2Backend.scala:111-114 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"armeria-backend/cats/src/main/scala/sttp/client4/armeria/cats/ArmeriaCatsBackend.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"16fb45c479e41414bdf1bd72a81fbf5cea7010d20c6e7f7564b2f37ef7920464"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): observability/prometheus-backend/src/main/scala/sttp/client4/prometheus/PrometheusBackend.scala:89-98 | observability/prometheus-backend/src/main/scala/sttp/client4/prometheus/PrometheusBackend.scala:107-116 \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":"observability/prometheus-backend/src/main/scala/sttp/client4/prometheus/PrometheusBackend.scala"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e2ba8955bd18ce70b2f8e28c0ccfaf1455c3c12e5a90ece49719d878488a33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala:171-177 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/PekkoHttpBackend.scala:189-195 \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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf84c9d15980d5dd18b21f08452e4fa2a615109158afd5dd8dc1a4825fcd515"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala:241-256 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/PekkoHttpBackend.scala:259-274 \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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"1590a024b28d0a1a6ba7b5855e5389026a68e7d2d0fe146c0aa9b991af924bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): armeria-backend/src/main/scala/sttp/client4/armeria/future/ArmeriaFutureBackend.scala:37-39 | core/src/main/scalajvm/sttp/client4/httpclient/HttpClientFutureBackend.scala:90-92 | okhttp-backend/src/main/scala/sttp/client4/okhttp/OkHttpFutureBackend.scala:47-49 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"armeria-backend/src/main/scala/sttp/client4/armeria/future/ArmeriaFutureBackend.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd68e44a95e8ac0250058a06aeca6d3fe9f663fbdee4fe5a2e86055a6631259"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): effects/cats/src/main/scalajvm/sttp/client4/httpclient/cats/HttpClientCatsBackend.scala:123-133 | effects/fs2/src/main/scalajvm/sttp/client4/httpclient/fs2/HttpClientFs2Backend.scala:150-160 \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":"effects/cats/src/main/scalajvm/sttp/client4/httpclient/cats/HttpClientCatsBackend.scala"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"59013403b8efc0d7e74124bd24bf1996e37ccf1e8a8a0d50a96e83b2fc46cd57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): armeria-backend/fs2/src/main/scala/sttp/client4/armeria/fs2/ArmeriaFs2Backend.scala:84-86 | effects/cats/src/main/scalajvm/sttp/client4/httpclient/cats/HttpClientCatsBackend.scala:152-160 | effects/fs2/src/main/scalajvm/sttp/client4/httpclient/fs2/HttpClientFs2Backend.scala:181-188 \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":"armeria-backend/fs2/src/main/scala/sttp/client4/armeria/fs2/ArmeriaFs2Backend.scala"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dac0901f9df4ff4a1832c901325ea08057c5501f6a3f1a68a5c392b72c27060"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): armeria-backend/zio/src/main/scala/sttp/client4/armeria/zio/ArmeriaZioBackend.scala:46-49 | effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/HttpClientZioBackend.scala:83-86 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"armeria-backend/zio/src/main/scala/sttp/client4/armeria/zio/ArmeriaZioBackend.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd00089a4d4335e776d50e60712c93cbf44f5817821238432efec01e2899372"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:221-225 | http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala:213-217 \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":"http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ddbbbcfa2a31068031145995b19066d601743dbafe642619bdb1d03b5e0acf4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): armeria-backend/zio1/src/main/scala/sttp/client4/armeria/zio/ArmeriaZioBackend.scala:41-44 | effects/zio1/src/main/scalajvm/sttp/client4/httpclient/zio/HttpClientZioBackend.scala:78-81 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"armeria-backend/zio1/src/main/scala/sttp/client4/armeria/zio/ArmeriaZioBackend.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef3353cf6535b38811e08768edc7b3b87e07603a190738f7927f833d697b52e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): effects/zio/src/main/scalajs/sttp/client4/impl/zio/FetchZioBackend.scala:35-39 | effects/zio1/src/main/scalajs/sttp/client4/impl/zio/FetchZioBackend.scala:40-44 \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":"effects/zio/src/main/scalajs/sttp/client4/impl/zio/FetchZioBackend.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"243a8ddb17836ae7044375600e0e7fe5348ef088638a7c6db777e7918f6b20e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): armeria-backend/monix/src/main/scala/sttp/client4/armeria/monix/ArmeriaMonixBackend.scala:39-41 | effects/monix/src/main/scalajvm/sttp/client4/httpclient/monix/HttpClientMonixBackend.scala:94-96 | okhttp-backend/monix/src/main/scala/sttp/client4/okhttp/monix/OkHttpMonixBackend.scala:106-108 \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":"armeria-backend/monix/src/main/scala/sttp/client4/armeria/monix/ArmeriaMonixBackend.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"a816cd6239563430222bbaf0d3cf590e76ed4c6c19d53b675f0e40157554ad98"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 4\u002B corresponding lines): core/src/main/scala/sttp/client4/SttpWebSocketStreamApi.scala:70-73 | core/src/main/scalajs/sttp/client4/SttpExtensions.scala:31-36 | core/src/main/scalajvm/sttp/client4/SttpExtensions.scala:75-80 | core/src/main/scalanative/sttp/client4/SttpExtensions.scala:52-57 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/client4/SttpWebSocketStreamApi.scala"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8cabe82fc1bbf2451958dbd09e2afe73ce38a6f05c1015ec9169be980d211b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): effects/cats-ce2/src/main/scalajs/sttp/client4/impl/cats/FetchCatsBackend.scala:22-26 | effects/cats/src/main/scalajs/sttp/client4/impl/cats/FetchCatsBackend.scala:22-26 \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":"effects/cats-ce2/src/main/scalajs/sttp/client4/impl/cats/FetchCatsBackend.scala"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1293e4994ae32c204b1a7d1f72285d37f323c6d135fc19299324aea5498719b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): akka-http-backend/src/main/scala/sttp/client4/akkahttp/ToAkka.scala:12-15 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/ToPekko.scala:13-16 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/ToAkka.scala"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2fa53f44d281ed76821745bed00d759ec5a0ea35e96d6c7ed59d76177d66fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): effects/cats-ce2/src/main/scalajs/sttp/client4/impl/cats/FetchCatsBackend.scala:36-38 | effects/cats/src/main/scalajs/sttp/client4/impl/cats/FetchCatsBackend.scala:36-38 | effects/fs2/src/main/scalajs/sttp.client4.impl.fs2/FetchFs2Backend.scala:100-104 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"effects/cats-ce2/src/main/scalajs/sttp/client4/impl/cats/FetchCatsBackend.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a11c0340c295a0fd1d6e02cc9ab4883ff311dace4680641240d57902f141e7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): observability/opentelemetry-backend/src/main/scala/sttp/client4/opentelemetry/OpenTelemetryMetricsBackend.scala:188-193 | observability/prometheus-backend/src/main/scala/sttp/client4/prometheus/PrometheusBackend.scala:282-287 \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":"observability/opentelemetry-backend/src/main/scala/sttp/client4/opentelemetry/OpenTelemetryMetricsBackend.scala"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e36270086694ad292f2c25ddb7fe3a264dc935ba0580a0e11ba895d34da37dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): effects/fs2/src/main/scalajvm/sttp/client4/httpclient/fs2/HttpClientFs2Backend.scala:127-130 | http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:303-306 \u2014 These two members are one piece of code written twice and then edited apart: 4 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/fs2/src/main/scalajvm/sttp/client4/httpclient/fs2/HttpClientFs2Backend.scala"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f43e84e5eb1694fe41108eb5050ad4ae92f1424f24d77e6db6c59e7eabc342"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/HttpClientZioBackend.scala:156-165 | effects/zio1/src/main/scalajvm/sttp/client4/httpclient/zio/HttpClientZioBackend.scala:154-163 \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":"effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/HttpClientZioBackend.scala"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1e6b64916df2c7c1d04b031dfd63cc6fd1aa967b653a0ab20bfb48826b6c94"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): armeria-backend/zio/src/main/scala/sttp/client4/armeria/zio/ArmeriaZioBackend.scala:70-74 | armeria-backend/zio1/src/main/scala/sttp/client4/armeria/zio/ArmeriaZioBackend.scala:65-69 \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":"armeria-backend/zio/src/main/scala/sttp/client4/armeria/zio/ArmeriaZioBackend.scala"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebd81ec89b9c7a2affd78e6ccf345c25e750ba6db18868ac1b27421ab704afa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): effects/monix/src/main/scalajs/sttp/client4/impl/monix/FetchMonixBackend.scala:72-74 | effects/zio/src/main/scalajs/sttp/client4/impl/zio/FetchZioBackend.scala:74-76 | effects/zio1/src/main/scalajs/sttp/client4/impl/zio/FetchZioBackend.scala:79-81 \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":"effects/monix/src/main/scalajs/sttp/client4/impl/monix/FetchMonixBackend.scala"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca328c65791307774bfb14b777f487b40762fa5cfb135f4fab8fcbf7e05379b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): armeria-backend/cats-ce2/src/main/scala/sttp/client4/armeria/cats/ArmeriaCatsBackend.scala:55-55 | armeria-backend/cats/src/main/scala/sttp/client4/armeria/cats/ArmeriaCatsBackend.scala:54-54 | armeria-backend/fs2-ce2/src/main/scala/sttp/client4/armeria/fs2/ArmeriaFs2Backend.scala:61-61 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 1 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"armeria-backend/cats-ce2/src/main/scala/sttp/client4/armeria/cats/ArmeriaCatsBackend.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"073416de94ab564d5e6767d61e68c8125caac1d6ab2cdbae382032d9d0cbdc19"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/HttpClientZioBackend.scala:191-199 | effects/zio1/src/main/scalajvm/sttp/client4/httpclient/zio/HttpClientZioBackend.scala:189-197 \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":"effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/HttpClientZioBackend.scala"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"46558b7eb7586985cf8678cb05753565c3253de392bcce96d70991c2f0fe1c5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): observability/otel4s-metrics-backend/src/main/scala/sttp/client4/opentelemetry/otel4s/Otel4sMetricsBackend.scala:218-223 | observability/otel4s-tracing-backend/src/main/scala/sttp/client4/opentelemetry/otel4s/Otel4sTracingDefaults.scala:94-99 \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":"observability/otel4s-metrics-backend/src/main/scala/sttp/client4/opentelemetry/otel4s/Otel4sMetricsBackend.scala"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ca226398b1606b30c14aaf6de5065704f2a3c42e524478c16402169bb20d55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): core/src/main/scala/sttp/client4/SttpApi.scala:357-357 | core/src/main/scala/sttp/client4/SttpWebSocketStreamApi.scala:59-61 \u2014 These two members are one piece of code written twice and then edited apart: 1 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/client4/SttpApi.scala"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"8289afdb5b6920cd65cb62b9a837bf216dd3367bd5d4ed83c24d53b078a548a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/HttpClientZioBackend.scala:182-184 | effects/zio1/src/main/scalajvm/sttp/client4/httpclient/zio/HttpClientZioBackend.scala:180-182 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/HttpClientZioBackend.scala"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c55279a3f5d3aa32fe4e1fcfd3fdbb038f4ea840177ef197dacca99d9eb409"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40 lines \u00D7 2): akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala:150-189 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyFromPekko.scala:151-190 \u2014 before extracting anything, compare \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala\u0060 and \u0060pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyFromPekko.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala:150\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"52497367c8ddbfa4528c46e341fc1b159552c74a8e165ee7cfcad40f8150a453"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201339 lines \u00D7 2): http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:42-79 | http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala:43-81 \u2014 before extracting anything, compare \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala\u0060 and \u0060http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 166 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:42\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6a9b930b286597a9bdd0a6b32a9bdae6742c901a456354e2c0170187d965984"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpClient.scala:37-63 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/PekkoHttpClient.scala:38-64 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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 \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpClient.scala:37\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines 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: \u0060Flow\u0060 names \u0060akka.stream.scaladsl.Flow\u0060 in one and \u0060pekko.stream.scaladsl.Flow\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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpClient.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c14fb2e0efec9c2cd2b4069dee0ae69f99401c9c406850baf88dd0b45fec5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): effects/fs2-ce2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala:45-69 | effects/fs2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala:45-69 \u2014 before extracting anything, compare \u0060effects/fs2-ce2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala\u0060 and \u0060effects/fs2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala\u0060 as WHOLE FILES: this scan already matched 3 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 \u0060effects/fs2-ce2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala:45\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/fs2-ce2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd57e38226d8c15b05b17d68de941743c84f89aebb8c276a0fb02ad5a3d5530a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala:93-110 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyFromPekko.scala:94-111 \u2014 before extracting anything, compare \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala\u0060 and \u0060pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyFromPekko.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala:93\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"047951f917224bac98829a7c5cc54befe19dd3fa217ee949d026c9af20212a95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): akka-http-backend/src/main/scala/sttp/client4/akkahttp/ToAkka.scala:20-37 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/ToPekko.scala:21-38 \u2014 before extracting anything, compare \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/ToAkka.scala\u0060 and \u0060pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/ToPekko.scala\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 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: \u0060ParsingResult\u0060 names \u0060akka.http.scaladsl.model.HttpHeader.ParsingResult\u0060 in one and \u0060pekko.http.scaladsl.model.HttpHeader.ParsingResult\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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/ToAkka.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"66318282c07b481207107450338361f28d74a1a9ad8f9d764f430c21cbfda2c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala:131-147 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyFromPekko.scala:132-148 \u2014 before extracting anything, compare \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala\u0060 and \u0060pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyFromPekko.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala:131\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e5a0ac68b5f33306f3d9f6eb79fef57e1dfc7f56c7be81b3732695db1cf516"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:98-114 | http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala:99-115 \u2014 before extracting anything, compare \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala\u0060 and \u0060http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 166 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52198b450e7f30c942da09ade044cc9f1ca69e1863ae39bebbc9fd37b0c8883"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala:103-118 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/PekkoHttpBackend.scala:121-136 \u2014 before extracting anything, compare \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala\u0060 and \u0060pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/PekkoHttpBackend.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the 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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa39cf46b36dd9812d28d1f3e8b9094ff223f100b44ff527c0efc532089de0de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala:65-80 | effects/zio1/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala:90-105 \u2014 before extracting anything, compare \u0060effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala\u0060 and \u0060effects/zio1/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala\u0060 as WHOLE FILES: this scan already matched 3 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 \u0060effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala:65\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4079c4cbab039bff805dcfe6ba802b4cfae3d7f8d27ec2f4af30c72cbc547509"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala:47-68 | effects/fs2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala:46-67 \u2014 before extracting anything, compare \u0060effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala\u0060 and \u0060effects/fs2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala:47\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"3df329ec7463495e240934e6270e8d08d179a27a834280312e16669bdfa6cf60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201315 lines \u00D7 2): effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala:43-54 | effects/zio1/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala:50-64 \u2014 before extracting anything, compare \u0060effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala\u0060 and \u0060effects/zio1/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala\u0060 as WHOLE FILES: this scan already matched 3 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 \u0060effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala:43\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"382b564ec8f7e5fb3801c57b12251dbc3ab18fd66f70ab6258c36822c4344eea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:266-281 | http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala:265-280 \u2014 before extracting anything, compare \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala\u0060 and \u0060http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 166 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:266\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bb21cd2aeb156781c09a93960fe498b56756a4e829aa5e77b12b90615146085"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala:112-125 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyFromPekko.scala:113-126 \u2014 before extracting anything, compare \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala\u0060 and \u0060pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyFromPekko.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala:112\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0b46ef535771c9ffabfd7ae48747f0c5165fff773b075d7942c6fb444a73e14"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): core/src/main/scalanative/sttp/client4/curl/AbstractCurlBackend.scala:188-200 | core/src/main/scalanative/sttp/client4/curl/AbstractCurlBackend.scala:351-362 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/scalanative/sttp/client4/curl/AbstractCurlBackend.scala:188\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scalanative/sttp/client4/curl/AbstractCurlBackend.scala"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bfa5f72b892f0046af9b10cb956775b1e2d29368fb1c46bd5540203a86e5b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201313 lines \u00D7 2): core/src/main/scalanative/sttp/client4/curl/AbstractCurlBackend.scala:414-426 | core/src/main/scalanative/sttp/client4/curl/AbstractCurlBackend.scala:702-711 \u2014 both copies are in the same file, so extract the block 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":"core/src/main/scalanative/sttp/client4/curl/AbstractCurlBackend.scala"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"290e22a8b128d4f5d742e82abcff3843395ae3818672e4648ae942f51e749c65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala:76-88 | effects/fs2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala:75-87 \u2014 before extracting anything, compare \u0060effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala\u0060 and \u0060effects/fs2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb619d71beeb8dec96e1879625b84b4c8870f609dd6096dee12b61acca0f62d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:182-194 | http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala:181-193 \u2014 before extracting anything, compare \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala\u0060 and \u0060http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 166 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f38a0884c5b3b735a7bd0d8641467f96db4cf134bd4647a4d35d13aa839e6a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): akka-http-backend/src/main/scala/sttp/client4/akkahttp/ToAkka.scala:40-51 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/ToPekko.scala:41-52 \u2014 before extracting anything, compare \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/ToAkka.scala\u0060 and \u0060pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/ToPekko.scala\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 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/ToAkka.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7525da7bfd0b5ff1b7ced8ed7f76dab3211640e2409cefc51d0c7e2cbf6cbec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:137-148 | http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala:137-148 \u2014 before extracting anything, compare \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala\u0060 and \u0060http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 166 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9a2ddfd06ddcc41724d9a03fd2649e0b0a13a4c8986c01844807b6b958266ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:161-171 | http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala:160-170 \u2014 before extracting anything, compare \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala\u0060 and \u0060http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 166 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:161\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"563de35a8cacef467eaf403238813a2e3e8b2372ac8f0261106181a3b9d88436"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala:155-164 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/PekkoHttpBackend.scala:173-182 \u2014 before extracting anything, compare \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala\u0060 and \u0060pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/PekkoHttpBackend.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the 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: \u0060ByteString\u0060 names \u0060akka.util.ByteString\u0060 in one and \u0060org.apache.pekko.util.ByteString\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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c98d5d8bcf47e44efcb2ab407ddfda2e1a3c2f08833f454ad25bc73649696de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpClient.scala:67-76 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/PekkoHttpClient.scala:68-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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the 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: \u0060Flow\u0060 names \u0060akka.stream.scaladsl.Flow\u0060 in one and \u0060pekko.stream.scaladsl.Flow\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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpClient.scala"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"702cc28c2750aa3f2e580fcea13443d1cdf4a232cd248b863f81d354d5300b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): effects/zio/src/main/scala/sttp/client4/impl/zio/ZioWebSockets.scala:58-67 | effects/zio1/src/main/scala/sttp/client4/impl/zio/ZioWebSockets.scala:58-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 \u0060effects/zio/src/main/scala/sttp/client4/impl/zio/ZioWebSockets.scala:58\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/zio/src/main/scala/sttp/client4/impl/zio/ZioWebSockets.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0578ca2cd7b3f3add7adeaee1a2e177834933947bdfda70e05a6aaa5b74b55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:84-93 | http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala:86-95 \u2014 before extracting anything, compare \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala\u0060 and \u0060http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 166 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:84\u0060 it does not close everything it opens, so those exact lines 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":"http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17be79705d11330130b2598015a06a4251102d7201ecaf3fe5ddf0f4c81247f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 2): core/src/main/scalajs/sttp/client4/WebSocketImpl.scala:25-31 | core/src/main/scalajvm/sttp/client4/internal/httpclient/WebSocketImpl.scala: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 \u0060core/src/main/scalajs/sttp/client4/WebSocketImpl.scala: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 that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under 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":"core/src/main/scalajs/sttp/client4/WebSocketImpl.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb85fab85c1cc0144187ee0749c32fe3fdc4060fb7695ec348cfdbc9a5639f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/fs2Decompressors.scala:25-34 | effects/fs2/src/main/scala/sttp/client4/impl/fs2/fs2Decompressors.scala:22-31 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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 \u0060effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/fs2Decompressors.scala:25\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/fs2Decompressors.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a795dcd960af7e2db019ede7058412331b9731a2db9a39a87dc3d45e852e7d5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): effects/zio/src/main/scala/sttp/client4/impl/zio/ExtendedEnvBackend.scala:20-28 | effects/zio1/src/main/scala/sttp/client4/impl/zio/ExtendedEnvBackend.scala:20-28 \u2014 before extracting anything, compare \u0060effects/zio/src/main/scala/sttp/client4/impl/zio/ExtendedEnvBackend.scala\u0060 and \u0060effects/zio1/src/main/scala/sttp/client4/impl/zio/ExtendedEnvBackend.scala\u0060 as WHOLE FILES: 96% 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 \u0060effects/zio/src/main/scala/sttp/client4/impl/zio/ExtendedEnvBackend.scala:20\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/zio/src/main/scala/sttp/client4/impl/zio/ExtendedEnvBackend.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ec0098cf93c10f932278da85a93251fea5a3b0e2b0e37a2d1caf5b9e481dd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:197-208 | http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala:196-207 \u2014 before extracting anything, compare \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala\u0060 and \u0060http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 166 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"de9c45e0c0e38a17cd331100741e42e36cc49c582377045f0914f1803806a671"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyToAkka.scala:38-49 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyToPekko.scala:39-50 \u2014 before extracting anything, compare \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyToAkka.scala\u0060 and \u0060pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyToPekko.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyToAkka.scala:38\u0060 it does not close everything it opens, so those exact lines 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: \u0060ByteString\u0060 names \u0060akka.util.ByteString\u0060 in one and \u0060pekko.util.ByteString\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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyToAkka.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7cccde7013620affbe2247bd795ec3c95d1b22b3eb6d10c04d43b872f19e64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyToAkka.scala:60-73 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyToPekko.scala:61-74 \u2014 before extracting anything, compare \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyToAkka.scala\u0060 and \u0060pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyToPekko.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyToAkka.scala:60\u0060 it does not close everything it opens, so those exact lines 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: \u0060ByteString\u0060 names \u0060akka.util.ByteString\u0060 in one and \u0060pekko.util.ByteString\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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyToAkka.scala"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ea827ff62b7084b9d965a8b55ef696cc7a05fa29e26a4f07dcb7d413365813"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala:28-44 | effects/fs2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala:27-43 \u2014 before extracting anything, compare \u0060effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala\u0060 and \u0060effects/fs2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 52 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala:28\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/Fs2WebSockets.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f8b1699277cf2c3c6675e1f01958b7336250aaee29dbb84bd9d76894958828"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala:31-38 | effects/zio1/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala:33-40 \u2014 before extracting anything, compare \u0060effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala\u0060 and \u0060effects/zio1/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala\u0060 as WHOLE FILES: this scan already matched 3 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 \u0060effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala:31\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/ZioBodyFromHttpClient.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"21a7cc95ab1aa917635e5f021a5cbddc763e1bcbf814ec67c304b27984692cc0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyToAkka.scala:28-34 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyToPekko.scala:29-35 \u2014 before extracting anything, compare \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyToAkka.scala\u0060 and \u0060pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyToPekko.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 33 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyToAkka.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc41d61dfb26d850004a55a23281660dbd60c4f364daf6c1325be146c60d076a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): effects/zio/src/main/scalajs/sttp/client4/impl/zio/FetchZioBackend.scala:58-64 | effects/zio1/src/main/scalajs/sttp/client4/impl/zio/FetchZioBackend.scala:63-69 \u2014 before extracting anything, compare \u0060effects/zio/src/main/scalajs/sttp/client4/impl/zio/FetchZioBackend.scala\u0060 and \u0060effects/zio1/src/main/scalajs/sttp/client4/impl/zio/FetchZioBackend.scala\u0060 as WHOLE FILES: 86% 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 \u0060effects/zio/src/main/scalajs/sttp/client4/impl/zio/FetchZioBackend.scala:58\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/zio/src/main/scalajs/sttp/client4/impl/zio/FetchZioBackend.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f19865087e899c89a885617557a7066ce33533839a57aa179db06642ba95565"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): observability/otel4s-metrics-backend/src/main/scala/sttp/client4/opentelemetry/otel4s/Otel4sMetricsBackend.scala:174-180 | observability/otel4s-metrics-backend/src/main/scala/sttp/client4/opentelemetry/otel4s/Otel4sMetricsBackend.scala:199-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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060observability/otel4s-metrics-backend/src/main/scala/sttp/client4/opentelemetry/otel4s/Otel4sMetricsBackend.scala:206\u0060 calls \u0060maybe\u0060 and \u0060observability/otel4s-metrics-backend/src/main/scala/sttp/client4/opentelemetry/otel4s/Otel4sMetricsBackend.scala:181\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":"observability/otel4s-metrics-backend/src/main/scala/sttp/client4/opentelemetry/otel4s/Otel4sMetricsBackend.scala"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d188d9998ae62c8db0f4e6c0d100a4433f510be5f6ef142baa80c55edd48966"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): json/play-json/src/main/scala/sttp/client4/playJson/SttpPlayJsonApi.scala:49-55 | json/upickle/src/main/scala/sttp/client4/upicklejson/SttpUpickleApi.scala:48-54 | json/zio-json/src/main/scala/sttp/client4/ziojson/SttpZioJsonApi.scala:51-57 | json/zio1-json/src/main/scala/sttp/client4/ziojson/SttpZioJsonApi.scala:51-57 \u2014 before extracting anything, compare \u0060json/zio-json/src/main/scala/sttp/client4/ziojson/SttpZioJsonApi.scala\u0060 and \u0060json/zio1-json/src/main/scala/sttp/client4/ziojson/SttpZioJsonApi.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json/play-json/src/main/scala/sttp/client4/playJson/SttpPlayJsonApi.scala"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cc8483d03f3a1e5a998c8b4414eb88afef8381b313e834c4d0d09e59238a6f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/scalajvm/sttp/client4/compression/defaultCompressors.scala:16-23 | core/src/main/scalajvm/sttp/client4/compression/defaultCompressors.scala:45-52 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/scalajvm/sttp/client4/compression/defaultCompressors.scala:16\u0060 it does not close everything it opens, so those exact lines cannot be lifted 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/scalajvm/sttp/client4/compression/defaultCompressors.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"10090061c4d37e7a73ede1bd90bf839cbfae0c5cfc527bb05c9b03ff0a6bfe5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): core/src/main/scalanative/sttp/client4/curl/AbstractCurlBackend.scala:171-176 | core/src/main/scalanative/sttp/client4/curl/AbstractCurlBackend.scala:214-219 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/scalanative/sttp/client4/curl/AbstractCurlBackend.scala: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":"core/src/main/scalanative/sttp/client4/curl/AbstractCurlBackend.scala"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9029d7c8dbf40aacb7bc21e4480a8b670861d1a0555357f75d5a11d5795311"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:239-244 | http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala:238-243 \u2014 before extracting anything, compare \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala\u0060 and \u0060http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 166 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:239\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"e026de2b27ccbe4e1c7cc51133d8798a7c52f21398c086f257d5beb3ebd0add1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:249-261 | http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala:248-260 \u2014 before extracting anything, compare \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala\u0060 and \u0060http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 166 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:249\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"951646e345301816a714324659adba3e0a69bd873edfbe6bbd8b926226b58974"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): core/src/main/scalajs/sttp/client4/SttpClientExceptionExtensions.scala:20-24 | core/src/main/scalajvm/sttp/client4/SttpClientExceptionExtensions.scala:30-34 | core/src/main/scalanative/sttp/client4/SttpClientExceptionExtensions.scala:28-32 \u2014 before extracting anything, compare \u0060core/src/main/scalajs/sttp/client4/SttpClientExceptionExtensions.scala\u0060 and \u0060core/src/main/scalajvm/sttp/client4/SttpClientExceptionExtensions.scala\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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/scalajs/sttp/client4/SttpClientExceptionExtensions.scala:20\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scalajs/sttp/client4/SttpClientExceptionExtensions.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65ca0afbc8c3963c9fc5b77b6a3c4a2780fd2896b18728ddb2376b1cd52bb5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): akka-http-backend/src/main/scala/sttp/client4/akkahttp/FromAkka.scala:12-17 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/FromPekko.scala:13-18 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/FromAkka.scala"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ea3d8885ff4e542d0b24afdd1595e9244f3b104113fd31d4a784eac54112b9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/scalajvm/sttp/client4/httpclient/HttpClientAsyncBackend.scala:180-187 | core/src/main/scalajvm/sttp/client4/httpclient/HttpClientSyncBackend.scala:118-122 \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/scalajvm/sttp/client4/httpclient/HttpClientAsyncBackend.scala:180\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scalajvm/sttp/client4/httpclient/HttpClientAsyncBackend.scala"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"754a40411f251b7197d74462b7cd41f67489ce94e089c62dc57a500a6be7731e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/scalanative/sttp/client4/curl/AbstractCurlBackend.scala:166-172 | core/src/main/scalanative/sttp/client4/curl/AbstractCurlBackend.scala:261-267 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scalanative/sttp/client4/curl/AbstractCurlBackend.scala"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88d98acbf76223cb2a1f168e79124c2357f0d8f8164f68221812e884d1de80d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): effects/fs2-ce2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala:27-33 | effects/fs2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala:27-33 \u2014 before extracting anything, compare \u0060effects/fs2-ce2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala\u0060 and \u0060effects/fs2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala\u0060 as WHOLE FILES: this scan already matched 3 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 \u0060effects/fs2-ce2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala:27\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/fs2-ce2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4da98bb475ef754e01ec168668755d36e2147cfa62f80bc7d51ca99ddda1c950"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): effects/zio/src/main/scala/sttp/client4/impl/zio/ExtendedEnvBackend.scala:14-18 | effects/zio1/src/main/scala/sttp/client4/impl/zio/ExtendedEnvBackend.scala:14-18 \u2014 before extracting anything, compare \u0060effects/zio/src/main/scala/sttp/client4/impl/zio/ExtendedEnvBackend.scala\u0060 and \u0060effects/zio1/src/main/scala/sttp/client4/impl/zio/ExtendedEnvBackend.scala\u0060 as WHOLE FILES: 96% 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 \u0060effects/zio/src/main/scala/sttp/client4/impl/zio/ExtendedEnvBackend.scala:14\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/zio/src/main/scala/sttp/client4/impl/zio/ExtendedEnvBackend.scala"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56ec84ed57ae3f33f4ff4c27f9ac8aa8919327fd6e3fb5ab9083e490da2e133"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): json/zio-json/src/main/scalajvm/sttp/client4/ziojson/SttpZioJsonApiExtensions.scala:20-25 | json/zio1-json/src/main/scalajvm/sttp/client4/ziojson/SttpZioJsonApiExtensions.scala:22-27 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060json/zio-json/src/main/scalajvm/sttp/client4/ziojson/SttpZioJsonApiExtensions.scala:20\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json/zio-json/src/main/scalajvm/sttp/client4/ziojson/SttpZioJsonApiExtensions.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"201a60b64be6035fd9cc9081f3f49f63bf09abb0673ba68f6f3a747d78524979"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): armeria-backend/zio/src/main/scala/sttp/client4/armeria/zio/package.scala:25-51 | effects/zio/src/main/scalajs/sttp/client4/impl/zio/package.scala:12-107 | effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/package.scala:25-87 \u2014 before extracting anything, compare \u0060armeria-backend/zio/src/main/scala/sttp/client4/armeria/zio/package.scala\u0060 and \u0060effects/zio/src/main/scalajs/sttp/client4/impl/zio/package.scala\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060effects/zio/src/main/scalajs/sttp/client4/impl/zio/package.scala:12\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it 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":"armeria-backend/zio/src/main/scala/sttp/client4/armeria/zio/package.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ee8ecf542c7d9c6a42a78e41b03f683c8bbc9cf5f0b38657518fb79c5414f72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): armeria-backend/zio1/src/main/scala/sttp/client4/armeria/zio/zio.scala:38-65 | effects/zio1/src/main/scalajvm/sttp/client4/httpclient/zio/package.scala:36-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 \u0060armeria-backend/zio1/src/main/scala/sttp/client4/armeria/zio/zio.scala:38\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"armeria-backend/zio1/src/main/scala/sttp/client4/armeria/zio/zio.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a57942aefe475ea0ede943b55bc5b6fc4136eeb35010deea3d15e515e5c4283"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): core/src/main/scalajvm/sttp/client4/internal/SttpFileExtensions.scala:13-32 | core/src/main/scalanative/sttp/client4/internal/SttpFileExtensions.scala:12-31 \u2014 before extracting anything, compare \u0060core/src/main/scalajvm/sttp/client4/internal/SttpFileExtensions.scala\u0060 and \u0060core/src/main/scalanative/sttp/client4/internal/SttpFileExtensions.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/scalajvm/sttp/client4/internal/SttpFileExtensions.scala:13\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scalajvm/sttp/client4/internal/SttpFileExtensions.scala"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f3ba1243dace0fb56e3968f7b32b2d22484b506f1c71a57ada80ee7f3bdebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): effects/cats-ce2/src/main/scala/sttp/client4/impl/cats/implicits.scala:14-58 | effects/cats/src/main/scala/sttp/client4/impl/cats/implicits.scala:14-58 \u2014 before extracting anything, compare \u0060effects/cats-ce2/src/main/scala/sttp/client4/impl/cats/implicits.scala\u0060 and \u0060effects/cats/src/main/scala/sttp/client4/impl/cats/implicits.scala\u0060 as WHOLE FILES: 92% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060effects/cats-ce2/src/main/scala/sttp/client4/impl/cats/implicits.scala:14\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/cats-ce2/src/main/scala/sttp/client4/impl/cats/implicits.scala"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"006902f03cfabc49c2faed2496dbe2af3ec2fa6cc1b2aa96621a426acb7e2899"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): effects/cats/src/main/scalajvm/sttp/client4/httpclient/cats/CatsSimpleQueue.scala:13-22 | effects/fs2/src/main/scalajvm/sttp/client4/impl/fs2/Fs2SimpleQueue.scala:13-22 \u2014 before extracting anything, compare \u0060effects/cats/src/main/scalajvm/sttp/client4/httpclient/cats/CatsSimpleQueue.scala\u0060 and \u0060effects/fs2/src/main/scalajvm/sttp/client4/impl/fs2/Fs2SimpleQueue.scala\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"effects/cats/src/main/scalajvm/sttp/client4/httpclient/cats/CatsSimpleQueue.scala"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4438f880b7f72648de9bec3f78a27f69e684abf3879505e94e0cc5ce8dd15c95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 2): effects/zio/src/main/scalajs/sttp/client4/impl/zio/package.scala:12-107 | effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/package.scala:25-87 \u2014 before extracting anything, compare \u0060effects/zio/src/main/scalajs/sttp/client4/impl/zio/package.scala\u0060 and \u0060effects/zio/src/main/scalajvm/sttp/client4/httpclient/zio/package.scala\u0060 as WHOLE FILES: 96% 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 \u0060effects/zio/src/main/scalajs/sttp/client4/impl/zio/package.scala:12\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/zio/src/main/scalajs/sttp/client4/impl/zio/package.scala"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca0464ad8b0f6c3c9f677bb98572629db014274eb6a497d1b7d7d4afe1d914b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): effects/zio/src/main/scalajvm/sttp/client4/impl/zio/package.scala:10-25 | effects/zio1/src/main/scala/sttp/client4/impl/zio/package.scala:10-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060effects/zio/src/main/scalajvm/sttp/client4/impl/zio/package.scala:10\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/zio/src/main/scalajvm/sttp/client4/impl/zio/package.scala"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c08c3267fe96afb370483d8a2ac112ea6aee5183571ae8349490918fad543a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (44 lines \u00D7 2): http4s-backend/src/main/scalajvm/sttp/client4/http4s/Http4sBackend.scala:23-90 | http4s-backend/src/main/scalanative/sttp/client4/http4s/Http4sBackend.scala:23-66 \u2014 before extracting anything, compare \u0060http4s-backend/src/main/scalajvm/sttp/client4/http4s/Http4sBackend.scala\u0060 and \u0060http4s-backend/src/main/scalanative/sttp/client4/http4s/Http4sBackend.scala\u0060 as WHOLE FILES: 90% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 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":"http4s-backend/src/main/scalajvm/sttp/client4/http4s/Http4sBackend.scala"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"5272bbd27ed1b8adedce493966d23939e8705b6cf879e2a87278a295b7735800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala:92-98 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/PekkoHttpBackend.scala:110-116 \u2014 before extracting anything, compare \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala\u0060 and \u0060pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/PekkoHttpBackend.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e54257631bb6164602d638f6bde7a400a88306aabc7d4d01f9707fdb14ca07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala:306-317 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/PekkoHttpBackend.scala:324-335 \u2014 before extracting anything, compare \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala\u0060 and \u0060pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/PekkoHttpBackend.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eafcea62b8f84e0fad924f915780275c2a1ea44c4f9024d9b19cb837a73d6d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): armeria-backend/cats-ce2/src/main/scala/sttp/client4/armeria/cats/ArmeriaCatsBackend.scala:23-31 | armeria-backend/cats/src/main/scala/sttp/client4/armeria/cats/ArmeriaCatsBackend.scala:22-30 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"armeria-backend/cats-ce2/src/main/scala/sttp/client4/armeria/cats/ArmeriaCatsBackend.scala"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca327e92c54772d0b568d5f7d0e79af9eb0a78c14fc2012d4f9a62e6befbf01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): effects/cats/src/main/scalajvm/sttp/client4/httpclient/cats/HttpClientCatsBackend.scala:140-144 | effects/fs2/src/main/scalajvm/sttp/client4/httpclient/fs2/HttpClientFs2Backend.scala:168-172 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/cats/src/main/scalajvm/sttp/client4/httpclient/cats/HttpClientCatsBackend.scala"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"b73edc960ec084846bebf73d093c52b9999e04e808ebe58c025f94833362c494"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/Fs2ServerSentEvents.scala:7-15 | effects/fs2/src/main/scala/sttp/client4/impl/fs2/Fs2ServerSentEvents.scala:7-15 \u2014 before extracting anything, compare \u0060effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/Fs2ServerSentEvents.scala\u0060 and \u0060effects/fs2/src/main/scala/sttp/client4/impl/fs2/Fs2ServerSentEvents.scala\u0060 as WHOLE FILES: 100% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"effects/fs2-ce2/src/main/scala/sttp/client4/impl/fs2/Fs2ServerSentEvents.scala"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe464bd1e2f291efa6fbec8afd11a2d41ea1cd2c6d803055d42aba3ca3fdef65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:151-156 | http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala:151-156 \u2014 before extracting anything, compare \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala\u0060 and \u0060http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 166 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fa36ce98e4d719cf42a8541683e3deab392164d97cde609bf8fde145935540"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala:210-216 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyFromPekko.scala:211-217 \u2014 before extracting anything, compare \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala\u0060 and \u0060pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyFromPekko.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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: \u0060ByteString\u0060 names \u0060akka.util.ByteString\u0060 in one and \u0060pekko.util.ByteString\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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c484b20b50c6879073fb4a5467555b186d0313cc9b8a8223805ab55894b1f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala:202-207 | pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyFromPekko.scala:203-208 \u2014 before extracting anything, compare \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala\u0060 and \u0060pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyFromPekko.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 102 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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: \u0060ByteString\u0060 names \u0060akka.util.ByteString\u0060 in one and \u0060pekko.util.ByteString\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":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"419d05d4e205e9b15301072e01d5c6658b4aba74e5e552d24460ac768511ae3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/scalajvm/sttp/client4/SttpClientExceptionExtensions.scala:13-21 | core/src/main/scalanative/sttp/client4/SttpClientExceptionExtensions.scala:12-20 \u2014 before extracting anything, compare \u0060core/src/main/scalajvm/sttp/client4/SttpClientExceptionExtensions.scala\u0060 and \u0060core/src/main/scalanative/sttp/client4/SttpClientExceptionExtensions.scala\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 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 \u0060core/src/main/scalajvm/sttp/client4/SttpClientExceptionExtensions.scala:13\u0060 it does not close everything it opens, so those exact 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, \u0060core/src/main/scalajvm/sttp/client4/SttpClientExceptionExtensions.scala:22\u0060 calls \u0060Some\u0060, \u0060TimeoutException\u0060 and \u0060core/src/main/scalanative/sttp/client4/SttpClientExceptionExtensions.scala:21\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/scalajvm/sttp/client4/SttpClientExceptionExtensions.scala"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc6f1944d63a5c659b737f1e03fb20f79e27ec77788a8d2f2c28cd015885279c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): effects/fs2-ce2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala:37-43 | effects/fs2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala:37-43 \u2014 before extracting anything, compare \u0060effects/fs2-ce2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala\u0060 and \u0060effects/fs2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala\u0060 as WHOLE FILES: this scan already matched 3 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":"effects/fs2-ce2/src/main/scalajvm/sttp/client4/httpclient/fs2/Fs2BodyFromHttpClient.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"6743fe7e418d773642273f65b59495ea79e8b4a19eadae0e2bd99374c5ed1511"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:287-292 | http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala:286-291 \u2014 before extracting anything, compare \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala\u0060 and \u0060http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 166 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"664c8a99c0944a6414d3578996ac7238e745e929f3709270f49a604ec9ea1900"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:232-236 | http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala:231-235 \u2014 before extracting anything, compare \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala\u0060 and \u0060http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala\u0060 as WHOLE FILES: this scan already matched 13 separate duplicated blocks between them, totalling at least 166 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala:232\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a119edf2f3efc10a8e44a5ef60d3c5ad58fc066e44972e90e6954b943827abc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): examples-ce2/src/main/scala/sttp/client4/examples/WebSocketMonix.scala:17-21 | examples/src/main/scala/sttp/client4/examples/testing/WebSocketTesting.scala:21-25 | examples/src/main/scala/sttp/client4/examples/ws/WebSocketZio.scala:16-18 \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":"examples-ce2/src/main/scala/sttp/client4/examples/WebSocketMonix.scala"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ba9c3d7de97d641d45c3b929fa14d074c72bbe9467c5ac04ecec8fd6cb5d17"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: core: core: abstractness 0.20, instability 0.00, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 17 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"deda6fd6cb2c3d74f7dc0fecd76cc36d1d58966a5bcb861efc01f7e84f6f398d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HttpClientBackend (LCOM4 4): HttpClientBackend\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":"core/src/main/scalajvm/sttp/client4/httpclient/HttpClientBackend.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"714935d008a0856eee8c32c1dc45600cfb6bd5dfa0ef8144ac2e602fe68482ea"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: OpenTelemetryMetricsListener (LCOM4 4): OpenTelemetryMetricsListener\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":"observability/opentelemetry-backend/src/main/scala/sttp/client4/opentelemetry/OpenTelemetryMetricsBackend.scala"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68214919d2541c1343d732963ef390e3bc08e6490d1e2f396ee17190a9e3798"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HttpServer (LCOM4 4): HttpServer\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":"testing/server/src/main/scala/sttp/client4/testing/server/HttpServer.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"77739e42441203a27ed1e00c90d1669d5fc67e11a51b758c937e62df626f9f57"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 5 significant file(s) lose their only recent owner: finagle-backend/src/main/scala/sttp/client4/finagle/FinagleBackend.scala, core/src/main/scalanative/sttp/client4/curl/internal/CurlCode.scala, effects/zio1/src/main/scala/sttp/client4/impl/zio/SttpClientStubbingBase.scala, core/src/main/scalanative/sttp/client4/curl/CurlMultiInputStream.scala, core/src/main/scala/sttp/client4/internal/package.scala. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b9eed5a8c39b760017e885e9d0a955752a58be7b9f2867d7f84358f791a6d19d"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 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 (6 single-owned of 140 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; 140 of the 325 production source files in this repository met that bar). They are anonymized user #2 (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: build.sbt."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Replace with HttpResponse#discardEntityBytes() once https://github.com/akka/akka-http/issues/1459 is resolved"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pekko-http-backend/src/main/scala/sttp/client4/pekkohttp/BodyFromPekko.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd5802e85f6a05823a42111c8172fa57b63baf28d14c00982a1dc3449e9a7885"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Replace with HttpResponse#discardEntityBytes() once https://github.com/akka/akka-http/issues/1459 is resolved"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/BodyFromAkka.scala"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbced2b99c7e518d205aa83c5cfd51fb4adebb55ed50d617533e908f8f82a00"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: on GH Actions some tests sometimes timeout. For lack of a better solution, retrying them, but this needs proper fixing one day. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/scalajvm/sttp/client4/testing/AsyncRetries.scala"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e866b33e411f1557bb663018731b4dff9ada92d575e34de80a4f4cd6af0ed5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: for some reason these explicit types are needed in Dotty \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/scala/sttp/client4/testing/streaming/StreamingTest.scala"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d12d403f1f77b069b946d0c85d613fba484bccbcc7764def1ab3353edc2cd2d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: for some reason these explicit types are needed in Dotty \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/scala/sttp/client4/testing/streaming/StreamingTest.scala"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"86138471394fbfc491571cde9cf56388f260cd8e4e06cbe3d3363bf82cf5fd71"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: for some reason these explicit types are needed in Dotty \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/scala/sttp/client4/testing/streaming/StreamingTest.scala"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e6cd3dfb37e91bd8043e4789794a4300b6db7006d214206d1fb01020a06248"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: for some reason these explicit types are needed in Dotty \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/scala/sttp/client4/testing/streaming/StreamingTest.scala"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"154c17d3e4649d6a122341a317f354ed7dee5d14a52163fc0d159fde76c40eef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //   // TODO: for some reason these explicit types are needed in Dotty \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/scala/sttp/client4/testing/streaming/StreamingTest.scala"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc3f7913f1d0f97f373d926ff40402ef5ece88251ab68e8676e095aef03a028"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: assign to monad object \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/scalanative/sttp/client4/curl/AbstractCurlBackend.scala"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1e00808f95c626d052b0f51db6414430c69d897204a663770c1838b61822f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: an even more dumbed-down version of the slightly more type-safe version below, which is needed due to a \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/scala/sttp/client4/monad/MapEffect.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"206c082ffed69c9eabb976e8a115a1922ce4d416ccbfcdb8baa76d6b36ef395b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: bug in Dotty: https://github.com/lampepfl/dotty/issues/9533"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/client4/monad/MapEffect.scala"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4c6ab2dd9408838f236c707a4f2ddee8b2e0fac8810f5f4b484c45a29d096e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: docs/adr/0001-extract-stream-from-http4s.md has no Consequences section (a heading such as \u0060## Consequences\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/adr/0001-extract-stream-from-http4s.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e81a288700241906149e71d68753f7542b3e3ffb4a6655b792b8a5723839ed6e"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: docs/adr/0002-http-model-conventions.md has no Consequences section (a heading such as \u0060## Consequences\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/adr/0002-http-model-conventions.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c808c7af75034ea1f7c5bccf97d74a305bcb4cee65fc41080da232c23de514c9"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: docs/adr/0003-separate-backend-types.md has no Consequences section (a heading such as \u0060## Consequences\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/adr/0003-separate-backend-types.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"375049a71191a441f86d23af49c41f2b5d7c0c4934bb4b365af78d1d07ae1d8c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: docs/adr/0004-separate-request-types.md has no Consequences section (a heading such as \u0060## Consequences\u0060, or the MADR equivalent). A decision record states the context that forced it, the decision and its consequences, so a reader can tell later whether it still holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/adr/0004-separate-request-types.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d749f7f51e4deb8bd5aefc055478461d39f5d19e06ca4546d209a2178c94dd58"}},{"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":"703b990f6d9a60db46de372b4bc3713bc769740b61be7dfed2b23b523664ac12"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"04cc6ef8b2713c5ae671a21c5adfc62ed3d32eec231bd27236ea49e066082d50"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"709c0e126fb9c330faf261a12c08f56d5e6134264c8ab1edf06d0a68665eb944"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc26593caf509b487cb3dff9d1a587737a02c72fc5e13e59c1a151f7d6412ad4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"baa151beff35ac46ee2536907cc918a207da07c42b004fec4c9aab8d58a6df6d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f8b72ba93b802dbde3870bd4e188d2f12cd284b55a68b3067f4b37948524f600"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b51a2f7dde20710a2b7e23d6f43643473bcc1d97e07f09b483d71b0f06980159"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a4d99d14f5d13a46bf5c921b65e94aa5c8cf1924337f9597abe209393000bd53"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"91ab08c4ba48802f7e21d19d0fbffda2e90f7c1c0eec4ee8be049e7838f52072"},"taxa":[{"id":"CWE-250","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"06a85016c6d2e9efe9315b247c53ea19e7593279e5a3449398109fb78bb8a18f"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"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":"9600bb898b62e2cc8b2443705b293b0310e938f92768f84366cbbdb110d4b56c"},"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":"7573696c7617026fe16fde62b4c3d666f9846a9cbab5bbbc29621c3cbeb85deb"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"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":"a9c35e870a12f3374abd154fc25ce46dbb976259382b4351b340f71d5668c23a"},"properties":{"dependency":{"package":"http4s-client_2.13","version":"0.22.15","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: AkkaHttpBackend.scala \u2194 Http4sBackendBase.scala: \u0060akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala\u0060 (context akka-http-backend) and \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala\u0060 (context http4s-backend) sit in DIFFERENT parts of the tree yet change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060371b40f0\u0060 Add an option to limit the response length for JVM backends (#2410) (at that commit the file was still \u0060http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala\u0060); \u006008bb1664\u0060 Used tags for auto decompresion disabling (at that commit the files were still \u0060akka-http-backend/src/main/scala/sttp/client3/akkahttp/AkkaHttpBackend.scala\u0060 and \u0060http4s-backend/src/main/scala/sttp/client3/http4s/Http4sBackend.scala\u0060); \u00602c5c5b55\u0060 Restore old version (at that commit the files were still \u0060akka-http-backend/src/main/scala/sttp/client3/akkahttp/AkkaHttpBackend.scala\u0060 and \u0060http4s-backend/src/main/scala/sttp/client3/http4s/Http4sBackend.scala\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"akka-http-backend/src/main/scala/sttp/client4/akkahttp/AkkaHttpBackend.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e73e5a1ac8e743434fdc553d525670ad4e59e4e27f72f0556944cda7d52810a7"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"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":"5de3798f7095a8bcfe3bbb2781b6858c60c5877895e3017bb79a1e18cff00079"},"taxa":[{"id":"CICD-SEC-4","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":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"okhttp-backend/src/test/scala/sttp/client4/okhttp/OkHttpSyncDigestAuthProxyManualTest.scala"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e47a2a430982711ead08df034ce4af819f5b398b56a59a4fec97dd0c209de34f"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add scalafix or scapegoat (or \u0060semgrep --config=auto\u0060, which runs on any language) as a CI step. What was searched, so you can tell an absence from a miss: the 2 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: The release is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever the release trigger points at is published to users unreviewed, so a mistagged or unverified commit ships and the only remedy is a follow-up release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060e.getCause != null \u0026\u0026 e.getCause.isInstanceOf[Exception]\u0060 appears character-identically in 3 files \u2014 core/src/main/scalajs/sttp/client4/SttpClientExceptionExtensions.scala, core/src/main/scalajvm/sttp/client4/SttpClientExceptionExtensions.scala, core/src/main/scalanative/sttp/client4/SttpClientExceptionExtensions.scala. 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/scalajs/sttp/client4/SttpClientExceptionExtensions.scala"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e05b4c60dd818d18e98e8c0b00140531c9b0ab958fa9778ed3648a96e34f22"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060hr.status.equals(Status.NoContent) || isEmptyBody\u0060 appears character-identically in 2 files \u2014 http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala, http4s-ce2-backend/src/main/scala/sttp/client4/http4s/Http4sBackend.scala. 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":"http4s-backend/src/main/scala/sttp/client4/http4s/Http4sBackendBase.scala"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc22193f56249c260c80b9649540958048ae0813d3844ee91f561a65ba5df28b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060subprotocol != null \u0026\u0026 subprotocol.nonEmpty\u0060 appears character-identically in 2 files \u2014 core/src/main/scalajvm/sttp/client4/httpclient/HttpClientAsyncBackend.scala, core/src/main/scalajvm/sttp/client4/httpclient/HttpClientSyncBackend.scala. 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/scalajvm/sttp/client4/httpclient/HttpClientAsyncBackend.scala"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bdf6890ca2631bae735478e5eb511949f7afc9d4489ab4c2e2906019a9c7265"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Source.fromFile(\u2026)\u0060 opens something that has to be given back \u2014 a file descriptor, a socket, a directory handle \u2014 and its only use reads \u0060.mkString\u0060 through it and drops it, so this expression both creates the value and is the last place that can release it, and does not. Every call leaks one more open handle until the collector happens to reach it: \u0060Too many open files\u0060 under load, and on Windows a file that cannot be replaced or deleted while it is held. Open it with \u0060scala.util.Using.resource(Source.fromFile(\u2026)) { r =\u003E \u2026 }\u0060, which releases it on every path including a throw, or hold it and call \u0060.close()\u0060 in a \u0060finally\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"finagle-backend/src/main/scala/sttp/client4/finagle/FinagleBackend.scala"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1110cfa43a3b4c739c465a3920f632073073798f799fb91a0b01b7ba7c1e899e"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Source.fromFile(\u2026)\u0060 opens something that has to be given back \u2014 a file descriptor, a socket, a directory handle \u2014 and its only use reads \u0060.mkString\u0060 through it and drops it, so this expression both creates the value and is the last place that can release it, and does not. Every call leaks one more open handle until the collector happens to reach it: \u0060Too many open files\u0060 under load, and on Windows a file that cannot be replaced or deleted while it is held. Open it with \u0060scala.util.Using.resource(Source.fromFile(\u2026)) { r =\u003E \u2026 }\u0060, which releases it on every path including a throw, or hold it and call \u0060.close()\u0060 in a \u0060finally\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"finagle-backend/src/main/scala/sttp/client4/finagle/FinagleBackend.scala"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ea21e93e289b2e4a9f60e680ab141c03e52c395fbb4030d0b05ef9cb525f7a1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 56 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caching/src/main/scala/sttp/client4/caching/CachingBackend.scala"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac00e0d76502dfab96d14084fccfcd73203966be3c87f19f092d1c02caec7ae2"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn\u0060 at line 59 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.warn(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caching/src/main/scala/sttp/client4/caching/CachingBackend.scala"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ecc2e338371df8f2795f643add183579c071fad28a81d2de73559be311c1ba1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 65 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caching/src/main/scala/sttp/client4/caching/CachingBackend.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe5ac57d011df855882db00f9a0f3def2659183c7ff0ad9800f52f41229004b1"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 82 is handed an interpolated string as its message through SLF4J, so the logger receives one finished string \u2014 the values in it cannot be queried, filtered or aggregated as fields, every occurrence reads as a different message, and the string is built even when the level is filtered out. Pass a constant pattern and the values beside it instead: \u0060log.debug(\u0022Order {} moved to {}\u0022, orderId, status)\u0060, which keeps the pattern and its arguments apart on the event for a structured encoder (logstash-logback-encoder, OpenTelemetry), or \u0060log.atInfo().addKeyValue(\u0022order_id\u0022, orderId).log(\u0022order moved\u0022)\u0060 with SLF4J 2\u0027s fluent API. scala-logging\u0027s \u0060LazyLogging\u0060 logger takes an \u0060s\u0022\u2026\u0022\u0060 message apart into that pattern at compile time, so switching to it is also a fix."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"caching/src/main/scala/sttp/client4/caching/CachingBackend.scala"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed4e464e97b5ae2e0bad50c97c0f448b3393f9d21b6bfa1c9d200081cce89905"}},{"ruleId":"X5","level":"note","message":{"text":"Scala\u0027s null is not held to the type system everywhere: No build over this repository\u0027s 314 Scala product file(s) passes \u0060-Yexplicit-nulls\u0060, enables WartRemover\u0027s \u0060Null\u0060 wart or runs Scalafix\u0027s \u0060DisableSyntax.noNulls\u0060, so every reference type admits null and nothing reports a \u0060null\u0060 written into the code or returned from a Java API \u2014 the first one to reach a method call is a \u0060NullPointerException\u0060. \u0060Option\u0060 by convention is a habit no tool here holds the code to."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"23e7c3c6da50151f07723c64ca4f881fd5903e713d143161a7c0594ad7ba29cc"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.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-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-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-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"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-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":18,"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."]}]}