{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D7","name":"Architectural Integrity","shortDescription":{"text":"Architectural Integrity"},"helpUri":"https://codehealth.canine.dev/dimensions/D7"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"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":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"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":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"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":"OutComponent.outs (cyclomatic 121): OutComponent.outs has cyclomatic complexity 121 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/OutComponent.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c3672b9e84870a3759b7d2f02ed633d3b54d6716fa3754f6fb5fd246f7ec981"}},{"ruleId":"D1","level":"warning","message":{"text":"ClassDefinitionGenerator.classDefs (cyclomatic 46): ClassDefinitionGenerator.classDefs has cyclomatic complexity 46 (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":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/ClassDefinitionGenerator.scala"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dff28c2ca2fe24a5c4abfd1b8da95f2d1068c8b761aae0a663d91b281140a8e"}},{"ruleId":"D1","level":"warning","message":{"text":"streams.zioReadStreamCompatible (cyclomatic 42): streams.zioReadStreamCompatible has cyclomatic complexity 42 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/vertx-server/zio/src/main/scala/sttp/tapir/server/vertx/zio/streams/zio.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bb42ac8244b02d7123c99940789dcc0e9434779c46bea846edeb9204425b3f"}},{"ruleId":"D1","level":"warning","message":{"text":"fs2.fs2ReadStreamCompatible (cyclomatic 38): fs2.fs2ReadStreamCompatible has cyclomatic complexity 38 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/vertx-server/cats/src/main/scala/sttp/tapir/server/vertx/cats/streams/fs2.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"733361ca1cac278a48bcfb5ff18521050ca17385db892ba03cfc331c27c39235"}},{"ruleId":"D1","level":"warning","message":{"text":"InAndOutComponents.contentTypeMapper (cyclomatic 37): InAndOutComponents.contentTypeMapper has cyclomatic complexity 37 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InAndOutComponents.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"25974c3379303ac0a02aa430f2072fa56e186f60026db6e03bc75a6b6dce5237"}},{"ruleId":"D1","level":"warning","message":{"text":"SecurityGenerator.security (cyclomatic 36): SecurityGenerator.security has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/security/SecurityGenerator.scala"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbd7414cb7858696535508c985777155fb6f8316a5e1523361f232b408fc6ca2"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaComparer.schemasEqual (cyclomatic 34): SchemaComparer.schemasEqual has cyclomatic complexity 34 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/dedup/SchemaComparer.scala"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"efbfa9169bb068384ff2dd40f1f54a14fd9d49f1ab627048422e3db299207335"}},{"ruleId":"D1","level":"warning","message":{"text":"XmlSerdeGenerator.generateSerdes (cyclomatic 33): XmlSerdeGenerator.generateSerdes has cyclomatic complexity 33 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/xml/XmlSerdeGenerator.scala"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0083c4efa21790626af8438dd3e2d1bffa214dd559161abcd5078ed17f5301"}},{"ruleId":"D1","level":"warning","message":{"text":"ZioHttpInterpreter.toHttp (cyclomatic 33): ZioHttpInterpreter.toHttp has cyclomatic complexity 33 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/zio-http-server/src/main/scala/sttp/tapir/server/ziohttp/ZioHttpInterpreter.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd28ef62b8035c0f7b0bbcff1bad748387afe06f014101ac40572e3bb93f49b"}},{"ruleId":"D1","level":"warning","message":{"text":"RootGenerator.generateObjects (cyclomatic 32): RootGenerator.generateObjects has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/RootGenerator.scala"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"69ba05798bfdf756c3b32098c848513006be59ba9436a74f867f3764b099a948"}},{"ruleId":"D1","level":"warning","message":{"text":"JsoniterSerdeImpl.genJsoniterSerdes (cyclomatic 32): JsoniterSerdeImpl.genJsoniterSerdes has cyclomatic complexity 32 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/JsoniterSerdeImpl.scala"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58be353cab4bf9fa8d0dfd34a835eae4fd92da1d1f1bd96e94b9a38433a3eff"}},{"ruleId":"D1","level":"warning","message":{"text":"DefaultValueRenderer.render (cyclomatic 29): DefaultValueRenderer.render 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":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/openapi/models/DefaultValueRenderer.scala"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"017577201eba369fecd185bad15fe622c9e25a3ce6ad4cf753516a798823f917"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientOutputParams.apply (cyclomatic 24): ClientOutputParams.apply has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/core/src/main/scala/sttp/tapir/client/ClientOutputParams.scala"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c1f36f3a81339b298e9d1ed28e4066745cc2073348ef1b9734e552bca3a3476"}},{"ruleId":"D1","level":"warning","message":{"text":"EndpointBodyVerifier.verifyOne (cyclomatic 24): EndpointBodyVerifier.verifyOne has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/tapir/internal/EndpointBodyVerifier.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac9674d6f0dc960ab2ec3807a4cd468619c3ce4189f36add968de59c94e3a1d"}},{"ruleId":"D1","level":"warning","message":{"text":"EndpointGenerator.generatedEndpoints (cyclomatic 24): EndpointGenerator.generatedEndpoints has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/EndpointGenerator.scala"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff64d4733c1aaabf7629339a46af7ff89c17e4d6e9413f7bf6270a0957eccf1d"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaGenerator.generateSchemas (cyclomatic 23): SchemaGenerator.generateSchemas has cyclomatic complexity 23 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/SchemaGenerator.scala"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d32485feeb94613ca0dcefb04fae6e94cd30d96da5d413977a19c663ba045c4"}},{"ruleId":"D1","level":"warning","message":{"text":"EnumGenerator.generateEnum (cyclomatic 23): EnumGenerator.generateEnum has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/EnumGenerator.scala"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5635a008fb4b4fd631487ee5cf008740c8c84e94047c07ef8098ea597b2f589"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaMagnoliaDerivation.derived (cyclomatic 22): SchemaMagnoliaDerivation.derived has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala-3/sttp/tapir/generic/auto/SchemaMagnoliaDerivation.scala"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ae5d10b60a3f7ab224ef67532196dd6c0bb3b2c1bbc84595aea6551bfa40340"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonHelpers.checkForSoundness (cyclomatic 22): JsonHelpers.checkForSoundness has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/JsonHelpers.scala"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5baa7ffa817558c708764d3dc09101266924db650efd883a02843d96b4ca28f7"}},{"ruleId":"D1","level":"warning","message":{"text":"InComponent.ins (cyclomatic 21): InComponent.ins has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InComponent.scala"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc042061370177496372f2a722d384a38caf418d4cd2fd26c6dc588676edd51"}},{"ruleId":"D1","level":"warning","message":{"text":"NettyServerHandler.channelRead0 (cyclomatic 20): NettyServerHandler.channelRead0 has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyServerHandler.scala"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9fa72a5cc8ae3c75dde0096e125c3f79937951115ee53ea3e091f6a75e63d2"}},{"ruleId":"D1","level":"warning","message":{"text":"SttpRequestBody.extractPartBody (cyclomatic 20): SttpRequestBody.extractPartBody has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7264f330862a4d2b166e350736d32ad9e04960b9f3aa730cc9f015009bb4e1"}},{"ruleId":"D1","level":"warning","message":{"text":"SttpRequestBody.extractPartBody (cyclomatic 20): SttpRequestBody.extractPartBody has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpRequestBody.scala"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad95b60bf51d4c1c83bf0aba910b8d3935d8f994e70bd3f5b503a3939890f4b"}},{"ruleId":"D1","level":"warning","message":{"text":"Validator.show (cyclomatic 19): Validator.show has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/tapir/Validator.scala"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"0132e9276a58cdfc5c23f0f00acd20941e72acb80f92c49c26c96a9444e44474"}},{"ruleId":"D1","level":"warning","message":{"text":"DocUtils.recursiveFindAllReferencedSchemaTypes (cyclomatic 19): DocUtils.recursiveFindAllReferencedSchemaTypes has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/util/DocUtils.scala"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc43710b6fe6c1c2a9f9cada5e20acaffefeb81be63fc9b471e4ac10d6e09fe"}},{"ruleId":"D1","level":"warning","message":{"text":"MetricsEndpointInterceptor.apply (cyclomatic 19): MetricsEndpointInterceptor.apply has cyclomatic complexity 19 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/main/scala/sttp/tapir/server/interceptor/metrics/MetricsEndpointInterceptor.scala"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d19fa3241b7035bafc2eb1ec3f826ad5f0a8240259edd181253e7fa0d2303e"}},{"ruleId":"D1","level":"warning","message":{"text":"DecodeBasicInputs.matchOther (cyclomatic 19): DecodeBasicInputs.matchOther has cyclomatic complexity 19 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/main/scala/sttp/tapir/server/interpreter/DecodeBasicInputs.scala"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"d691eac25788a0f1f78b8e80548d5fbf27d7b6180f375e3643bbc05c796f9768"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerInterpreter.tryServerEndpoint (cyclomatic 19): ServerInterpreter.tryServerEndpoint has cyclomatic complexity 19 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/main/scala/sttp/tapir/server/interpreter/ServerInterpreter.scala"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"de190f648b552cc7cea3a685fa1f8f7edef562f581d4d7fef4a92ee3ce6072db"}},{"ruleId":"D1","level":"warning","message":{"text":"AnnotationsMacros.deriveEndpointInputImpl (cyclomatic 18): AnnotationsMacros.deriveEndpointInputImpl has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala-3/sttp/tapir/internal/AnnotationsMacros.scala"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"7daa5e7369ba4a2a8fe643b741631348780aad87ca7e3fcb4ee6a21dca75c78f"}},{"ruleId":"D1","level":"warning","message":{"text":"InAndOutComponents.failoverBinaryCase (cyclomatic 18): InAndOutComponents.failoverBinaryCase has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InAndOutComponents.scala"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba86e0f77d23319d0285fa977e9bc05868e386b7fa1f7140d49b037fd594c5b"}},{"ruleId":"D1","level":"warning","message":{"text":"ValidationGenerator.genValidationForTypeContainer (cyclomatic 18): ValidationGenerator.genValidationForTypeContainer has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/validation/ValidationGenerator.scala"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"21de455d251365f3940ea7a7f2219409ce615bc69a3fa85fb1e4d4c1190c7716"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayServerInterpreter.toRoutes (cyclomatic 18): PlayServerInterpreter.toRoutes has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e73e6159c53990e7c2ff7a31c790e39667bed612016b0e9a0de87d016db7f8"}},{"ruleId":"D1","level":"warning","message":{"text":"PlayServerInterpreter.toRoutes (cyclomatic 18): PlayServerInterpreter.toRoutes has cyclomatic complexity 18 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1e5df26cb07f4c0f497e75f900b94c43354b575325e4b141dc3e19247cc974"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaAnnotationsMacro.derived (cyclomatic 17): SchemaAnnotationsMacro.derived has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala-2/sttp/tapir/internal/SchemaAnnotationsMacro.scala"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2945d47d0ea3e41bafea203bb744b11202debe82248d5f5c54608bdbb170f068"}},{"ruleId":"D1","level":"warning","message":{"text":"SchemaCompanionMacros.derivedUnion (cyclomatic 17): SchemaCompanionMacros.derivedUnion has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala-3/sttp/tapir/macros/SchemaMacros.scala"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"879c18fda86e04d321b9b9b9ee3c6b5f487efcdd1dc6e42c606d5f27de012556"}},{"ruleId":"D1","level":"warning","message":{"text":"EncodeOutputs.applySingle (cyclomatic 17): EncodeOutputs.applySingle has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/main/scala/sttp/tapir/server/interpreter/EncodeOutputs.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f1da9f08433f34696be109445f9b262a4740da11fc336e8a8284df8eb2d61d"}},{"ruleId":"D1","level":"warning","message":{"text":"WebSocketToFs2Pipe.apply (cyclomatic 16): WebSocketToFs2Pipe.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":"client/sttp-client/src/main/scalajs/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72c7e9bec57d63e4ed9425034815c8d00b44d852396f75e95c064a1c19330d9"}},{"ruleId":"D1","level":"warning","message":{"text":"WebSocketToFs2Pipe.apply (cyclomatic 16): WebSocketToFs2Pipe.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":"client/sttp-client/src/main/scalajvm/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c66407cdb44f86c4a74a0722c51269cc9d4b3c1d822c7fdbd169c85e6dd2967"}},{"ruleId":"D1","level":"warning","message":{"text":"WebSocketToFs2Pipe.apply (cyclomatic 16): WebSocketToFs2Pipe.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":"client/sttp-client4/src/main/scalajs/sttp/tapir/client/sttp4/ws/fs2/WebSocketToFs2Pipe.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d17e39ab3ef75b36548f40fd4b5e1dcb683b9635ef6538b4eebf4acdf023e18"}},{"ruleId":"D1","level":"warning","message":{"text":"WebSocketToFs2Pipe.apply (cyclomatic 16): WebSocketToFs2Pipe.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":"client/sttp-client4/src/main/scalajvm/sttp/tapir/client/sttp4/ws/fs2/WebSocketToFs2Pipe.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"439b619ab21d06860d8715870d5480ace840b48f79623aa70e568abdd2a030cc"}},{"ruleId":"D1","level":"warning","message":{"text":"Schema.showValidators (cyclomatic 16): Schema.showValidators 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":"core/src/main/scala/sttp/tapir/Schema.scala"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9645d80589a89046fa7e0b57affebcbbce7074efd40d6a589abf0ef31e20f34c"}},{"ruleId":"D2","level":"warning","message":{"text":"OutComponent.outs (cognitive 181): OutComponent.outs has cognitive complexity 181 (threshold 15). Drivers by points: if/else 77 (114 pts), boolean chains 40, match/switch 13 (27 pts) (nesting depth added 51). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/OutComponent.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"675e09d5e6c49cbedbdbe240cd04583824ffcbb698e72463636ff618fff98915"}},{"ruleId":"D2","level":"warning","message":{"text":"streams.zioReadStreamCompatible (cognitive 101): streams.zioReadStreamCompatible has cognitive complexity 101 (threshold 15). Drivers by points: loops 19 (65 pts), match/switch 10 (32 pts), if/else 4 (nesting depth added 68). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/vertx-server/zio/src/main/scala/sttp/tapir/server/vertx/zio/streams/zio.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"108619a24a96770e866960c3935b88344d23b77c5bc36c26ed51494dee933299"}},{"ruleId":"D2","level":"warning","message":{"text":"XmlSerdeGenerator.generateSerdes (cognitive 64): XmlSerdeGenerator.generateSerdes has cognitive complexity 64 (threshold 15). Drivers by points: if/else 16 (30 pts), match/switch 10 (30 pts), boolean chains 4 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/xml/XmlSerdeGenerator.scala"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e9ecb67b087d968a0c2d5a5d6f5a3300ef53c4954e905abfb51ea2f50345d5"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerInterpreter.tryServerEndpoint (cognitive 63): ServerInterpreter.tryServerEndpoint has cognitive complexity 63 (threshold 15). Drivers by points: loops 9 (45 pts), match/switch 5 (14 pts), if/else 3, boolean chains 1 (nesting depth added 45). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/main/scala/sttp/tapir/server/interpreter/ServerInterpreter.scala"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ed51728424aa95395c04ad946af5c6e0f3b3081852b910129d5505f6c71115"}},{"ruleId":"D2","level":"warning","message":{"text":"SecurityGenerator.security (cognitive 59): SecurityGenerator.security has cognitive complexity 59 (threshold 15). Drivers by points: if/else 27 (41 pts), match/switch 7 (14 pts), boolean chains 4 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/security/SecurityGenerator.scala"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"2413f17feecac15bff4af91dd140dd93f919939dc550d65bad0cdc50e9546eff"}},{"ruleId":"D2","level":"warning","message":{"text":"fs2.fs2ReadStreamCompatible (cognitive 58): fs2.fs2ReadStreamCompatible has cognitive complexity 58 (threshold 15). Drivers by points: loops 11 (30 pts), match/switch 10 (20 pts), if/else 7, boolean chains 1 (nesting depth added 29). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/vertx-server/cats/src/main/scala/sttp/tapir/server/vertx/cats/streams/fs2.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b302fa4fae1272bbdf30852ff5aa6ecc634ed1dda623819e52666dfe5584008"}},{"ruleId":"D2","level":"warning","message":{"text":"MetricsEndpointInterceptor.apply (cognitive 57): MetricsEndpointInterceptor.apply has cognitive complexity 57 (threshold 15). Drivers by points: loops 13 (48 pts), if/else 6, match/switch 1 (3 pts) (nesting depth added 37). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/main/scala/sttp/tapir/server/interceptor/metrics/MetricsEndpointInterceptor.scala"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"1700748d7bf005d949f54cc2f090922740e6a93bdfb49cb93a1e84595e38034e"}},{"ruleId":"D2","level":"warning","message":{"text":"RootGenerator.generateObjects (cognitive 48): RootGenerator.generateObjects has cognitive complexity 48 (threshold 15). Drivers by points: if/else 42, match/switch 5 (6 pts) (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/RootGenerator.scala"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a36affaf4c5883524790097847df63a4e4324e25d3b0c26d684514f79f91091"}},{"ruleId":"D2","level":"warning","message":{"text":"InAndOutComponents.contentTypeMapper (cognitive 47): InAndOutComponents.contentTypeMapper has cognitive complexity 47 (threshold 15). Drivers by points: if/else 20 (27 pts), boolean chains 11, match/switch 6 (9 pts) (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InAndOutComponents.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"6541209abb72aada425ddbcd212c2ed8936c4401ea77cb26a0ba2db72b88d8e2"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassDefinitionGenerator.classDefs (cognitive 43): ClassDefinitionGenerator.classDefs has cognitive complexity 43 (threshold 15). Drivers by points: if/else 20 (25 pts), match/switch 11 (13 pts), boolean chains 5 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/ClassDefinitionGenerator.scala"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"26a6cc520117822fc6052462b4b15a397455f3c8064749b60e4cd0beb69aba1a"}},{"ruleId":"D2","level":"warning","message":{"text":"JsoniterSerdeImpl.genJsoniterSerdes (cognitive 37): JsoniterSerdeImpl.genJsoniterSerdes has cognitive complexity 37 (threshold 15). Drivers by points: if/else 17 (20 pts), boolean chains 12, match/switch 4 (5 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/JsoniterSerdeImpl.scala"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd4b88f13fa1e1c02176ad2ac00aacd2f15e9b2e3ced472355479d3b995c1b7"}},{"ruleId":"D2","level":"warning","message":{"text":"InComponent.ins (cognitive 33): InComponent.ins has cognitive complexity 33 (threshold 15). Drivers by points: if/else 19 (25 pts), boolean chains 6, match/switch 2 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InComponent.scala"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4587c3c3b8363920a08511691c1758102e07162e4b068f66aab5832c7edee8"}},{"ruleId":"D2","level":"warning","message":{"text":"EndpointBodyVerifier.verifyOne (cognitive 31): EndpointBodyVerifier.verifyOne has cognitive complexity 31 (threshold 15). Drivers by points: if/else 15, match/switch 11 (13 pts), boolean chains 3 (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/tapir/internal/EndpointBodyVerifier.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"de816f67b05103a8ca36951aff623c55471e71123c7bde52e34d0d70f0d62a5e"}},{"ruleId":"D2","level":"warning","message":{"text":"OutComponent.generateTraitWithCodeObjects (cognitive 31): OutComponent.generateTraitWithCodeObjects has cognitive complexity 31 (threshold 15). Drivers by points: if/else 22 (27 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/OutComponent.scala"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1d85dbff4a9d10233b16890274c2869750778381197d5e4327d2884e6baf3e"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationsMacros.deriveEndpointInputImpl (cognitive 30): AnnotationsMacros.deriveEndpointInputImpl has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (18 pts), match/switch 6 (10 pts), boolean chains 2 (nesting depth added 7). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala-3/sttp/tapir/internal/AnnotationsMacros.scala"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"047cc5e2668ccd0162ed206342fd73d9cb5604cab295c8b82e564ee1845737fa"}},{"ruleId":"D2","level":"warning","message":{"text":"ParamComponent.genParamDefn (cognitive 27): ParamComponent.genParamDefn has cognitive complexity 27 (threshold 15). Drivers by points: if/else 14 (19 pts), match/switch 4 (7 pts), boolean chains 1 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/ParamComponent.scala"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0afee9e9ca8db6a4ec96a0725c95cae07b601c6ee10638b5b4f06aba3d0687"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultValueRenderer.render (cognitive 27): DefaultValueRenderer.render has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (17 pts), match/switch 5 (10 pts) (nesting depth added 9). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/openapi/models/DefaultValueRenderer.scala"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"d829a9a676a3bb4b494c0cda2b51064107f5154ca38675f39ebf378d913ca9ff"}},{"ruleId":"D2","level":"warning","message":{"text":"OpenapiDocument.resolveAllOfSchemas (cognitive 27): OpenapiDocument.resolveAllOfSchemas has cognitive complexity 27 (threshold 15). Drivers by points: match/switch 5 (15 pts), if/else 8 (12 pts) (nesting depth added 14). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/openapi/models/OpenapiModels.scala"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fb25628610c62c0696adc2ddd672ed0ff690dbd48a83a64c7ef9029c78d39e"}},{"ruleId":"D2","level":"warning","message":{"text":"ZioHttpInterpreter.toHttp (cognitive 27): ZioHttpInterpreter.toHttp has cognitive complexity 27 (threshold 15). Drivers by points: if/else 13 (14 pts), match/switch 8 (10 pts), boolean chains 3 (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/zio-http-server/src/main/scala/sttp/tapir/server/ziohttp/ZioHttpInterpreter.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f906dc2b88f0a5e3f0f9dec32e3c459dbb7389f2b48369d2cb6871eb3aed0fb6"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyServerHandler.channelRead0 (cognitive 26): NettyServerHandler.channelRead0 has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 6 (10 pts), error handling 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyServerHandler.scala"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c38b15f42f8f14a14b43e6178a4532d27a5160ac2875556c3a7ff5eba996a2"}},{"ruleId":"D2","level":"warning","message":{"text":"EndpointInputAnnotationsMacro.generateEndpointInput (cognitive 24): EndpointInputAnnotationsMacro.generateEndpointInput has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (18 pts), match/switch 3 (4 pts), boolean chains 2 (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala-2/sttp/tapir/internal/EndpointInputAnnotationsMacro.scala"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6390c8d44f45661c7246773c562a1bc3f84bee7b4bdd0b38032a9c1e95217ad2"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonHelpers.checkForSoundness (cognitive 24): JsonHelpers.checkForSoundness has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 5 (10 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/JsonHelpers.scala"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3ee73e75717a58a3f9598ece0ea4a88ad141a345bf164e149964f331400dee"}},{"ruleId":"D2","level":"warning","message":{"text":"DecodeBasicInputs.matchPathInner (cognitive 24): DecodeBasicInputs.matchPathInner has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 4 (10 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/main/scala/sttp/tapir/server/interpreter/DecodeBasicInputs.scala"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8467bf0b9b81d0727c014da839af89055b8833d7f0fbbd884fab3d47de9d526a"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayServerInterpreter.toRoutes (cognitive 24): PlayServerInterpreter.toRoutes has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 5 (8 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c135454f248f4dae3f913755eb55150d8a7d40f3b6443e3f9a531c0d7dffada4"}},{"ruleId":"D2","level":"warning","message":{"text":"PlayServerInterpreter.toRoutes (cognitive 24): PlayServerInterpreter.toRoutes has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (12 pts), match/switch 5 (8 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"337fcbb3b32ac53d9b80e621faab7fcf670d3a549f3bb2bef9175152704b96ff"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientOutputParams.apply (cognitive 23): ClientOutputParams.apply has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (13 pts), match/switch 4 (10 pts) (nesting depth added 13). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/core/src/main/scala/sttp/tapir/client/ClientOutputParams.scala"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a69c1930fad25673eaa4c534cda7a39ee9d713bf68d13a7a08936c52d7604f"}},{"ruleId":"D2","level":"warning","message":{"text":"InputStreamSyncSubscription.readNextChunkIfNeeded (cognitive 23): InputStreamSyncSubscription.readNextChunkIfNeeded has cognitive complexity 23 (threshold 15). Drivers by points: if/else 5 (10 pts), error handling 2 (5 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/sync/src/main/scala/sttp/tapir/server/netty/sync/internal/reactivestreams/InputStreamSyncPublisher.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ee0e52fbbabf2f0195ba99019f9cca61b2acbdba926963b8bb8fcc1569e977"}},{"ruleId":"D2","level":"warning","message":{"text":"SpecificationExtensionRenderer.renderCombinedType (cognitive 22): SpecificationExtensionRenderer.renderCombinedType has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (19 pts), match/switch 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/openapi/models/SpecificationExtensionRenderer.scala"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de807ed4fc86c2e80b791453afbbd6b976032a12c67e88f6bf60c9f7719db0b"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaAnnotationsMacro.derived (cognitive 21): SchemaAnnotationsMacro.derived has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 13 (14 pts), if/else 5, boolean chains 2 (nesting depth added 1). 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-2/sttp/tapir/internal/SchemaAnnotationsMacro.scala"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a76cfcad275bd2964967a61944deda9b389fb820346e9488ff699e91dbc0f74f"}},{"ruleId":"D2","level":"warning","message":{"text":"JsoniterSerdeImpl.generateJsoniterAdtSerde (cognitive 21): JsoniterSerdeImpl.generateJsoniterAdtSerde has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 4 (7 pts) (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/JsoniterSerdeImpl.scala"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"14d89593ae367aca221b9bd9b2428deb4038d9d14cf1b65e7d9ee56ab0c48ef6"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaCompanionMacros.derivedUnion (cognitive 20): SchemaCompanionMacros.derivedUnion has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (12 pts), match/switch 7 (8 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala-3/sttp/tapir/macros/SchemaMacros.scala"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"06eda593206f9380336e13e956c5f0f3e9bfbcab27d28447bac614b587be3290"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaGenerator.generateSchemas (cognitive 20): SchemaGenerator.generateSchemas has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (15 pts), match/switch 3, boolean chains 2 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/SchemaGenerator.scala"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5327d1da4069a2b19da0e50894114bc42e6a8b30666b47e10e5dec1a09ed33f7"}},{"ruleId":"D2","level":"warning","message":{"text":"EnumGenerator.generateEnum (cognitive 20): EnumGenerator.generateEnum has cognitive complexity 20 (threshold 15). Drivers by points: boolean chains 8, if/else 6 (8 pts), match/switch 2 (4 pts) (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/EnumGenerator.scala"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e724d77a428c6ade6ef67c991a00ff7e7d5d9ca8ea1a86e28e0d6931d03bc0c"}},{"ruleId":"D2","level":"warning","message":{"text":"ValidationGenerator.genObjDef (cognitive 20): ValidationGenerator.genObjDef has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (10 pts), match/switch 4 (8 pts), boolean chains 2 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/validation/ValidationGenerator.scala"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c3cc7e93c99d2b6011965c73b9859b420d4acf7ef535c786a76e058c9661768"}},{"ruleId":"D2","level":"warning","message":{"text":"Files.resolveSystemPathUrl (cognitive 19): Files.resolveSystemPathUrl has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 pts), match/switch 1 (3 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"files/src/main/scalajvm/sttp/tapir/files/Files.scala"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c3fc96c5c39bf84f4c62098e052fb460befca82a191dad276806376ab5cb249"}},{"ruleId":"D2","level":"warning","message":{"text":"EndpointGenerator.endpointDefs (cognitive 19): EndpointGenerator.endpointDefs has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (15 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/EndpointGenerator.scala"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9be134c847de6e76fa08c60e9bc9c038aac202539c60aece238637880756c8"}},{"ruleId":"D2","level":"warning","message":{"text":"DecodeBasicInputs.matchOther (cognitive 19): DecodeBasicInputs.matchOther has cognitive complexity 19 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 3 (5 pts) (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/main/scala/sttp/tapir/server/interpreter/DecodeBasicInputs.scala"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"6600b4ba4334ab199d83b3805bae7100cdf4848f8000e407f03755b9626abd0e"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyRequestBody.toRawPartHttpData (cognitive 19): NettyRequestBody.toRawPartHttpData has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (10 pts), loops 2 (7 pts), match/switch 2 (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyRequestBody.scala"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16c1a0cb25e75f11d744c981b7dc7a862f462809fd585cbf0505ff597effbaa"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaCompanionMacros.generateOneOfWrapped (cognitive 18): SchemaCompanionMacros.generateOneOfWrapped has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 3 (9 pts), if/else 6 (8 pts), boolean chains 1 (nesting depth added 8). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala-3/sttp/tapir/macros/SchemaMacros.scala"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e07d8545dad3027a79889c89a316d0719b138923bab94b359511a05720f724"}},{"ruleId":"D2","level":"warning","message":{"text":"Schema.showValidators (cognitive 18): Schema.showValidators has cognitive complexity 18 (threshold 15). Drivers by points: match/switch 6 (12 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/tapir/Schema.scala"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"411c63825c583976f05150330ab14935795622cb52775a885c95a1ee2b22d2b7"}},{"ruleId":"D2","level":"warning","message":{"text":"InAndOutComponents.failoverBinaryCase (cognitive 18): InAndOutComponents.failoverBinaryCase has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (11 pts), match/switch 4 (7 pts) (nesting depth added 4). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InAndOutComponents.scala"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5ed2719fa35ed674f5d20ed74634103222c25b8a93376a943da26f92d463c1"}},{"ruleId":"D2","level":"warning","message":{"text":"NettyZioServer.startUsingSocketOverride (cognitive 18): NettyZioServer.startUsingSocketOverride has cognitive complexity 18 (threshold 15). Drivers by points: loops 4 (10 pts), match/switch 2 (6 pts), if/else 2 (nesting depth added 10). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/zio/src/main/scala/sttp/tapir/server/netty/zio/NettyZioServer.scala"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"980e81797866ce0396f173944d2125c76602faf0b52bc7290217c7fd3e226bb6"}},{"ruleId":"D2","level":"warning","message":{"text":"SchemaMagnoliaDerivation.derived (cognitive 17): SchemaMagnoliaDerivation.derived has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (11 pts), match/switch 6 (nesting depth added 1). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala-3/sttp/tapir/generic/auto/SchemaMagnoliaDerivation.scala"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4bbd1a670f2ac10833dcf80794a55f738b42575d2f89c92cb8505c4803dd8f"}},{"ruleId":"D2","level":"warning","message":{"text":"AnnotationsMacros.deriveEndpointOutputImpl (cognitive 17): AnnotationsMacros.deriveEndpointOutputImpl has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (12 pts), match/switch 4 (5 pts) (nesting depth added 5). 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/scala-3/sttp/tapir/internal/AnnotationsMacros.scala"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9f932cf29b12170d0e105846f71f5733c0dac83992b12f1086c17b0721873f4"}},{"ruleId":"D2","level":"warning","message":{"text":"macros.writeSnippetsImpl (cognitive 17): macros.writeSnippetsImpl has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (10 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json/pickler/src/main/scala/sttp/tapir/json/pickler/macros.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"b36ca8e254dcf6b2dbc46b39f29a8390f7c72b8bfd5967533053cbb9db75ef23"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassDefinitionGenerator.mapSchemaTypeToType (cognitive 17): ClassDefinitionGenerator.mapSchemaTypeToType has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 6). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/ClassDefinitionGenerator.scala"},"region":{"startLine":512}}}],"partialFingerprints":{"codehealthFindingId/v1":"384bb9790917b18b2ae97c877785edc2563d192a81d1779c40f700dca75396a5"}},{"ruleId":"D2","level":"warning","message":{"text":"EndpointGenerator.generatedEndpoints (cognitive 17): EndpointGenerator.generatedEndpoints has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 7, if/else 6, boolean chains 2, error handling 2. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/EndpointGenerator.scala"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"464f213af67bb1a9a99bc6b9ea9abd91ee16e8869ee6e07a2f2ea3d93295e068"}},{"ruleId":"D2","level":"warning","message":{"text":"ParamComponent.getEnumParamDefn (cognitive 17): ParamComponent.getEnumParamDefn has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, boolean chains 4. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/ParamComponent.scala"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6cab9a135828be2ee76d0b82afcd476db3876b7f9d4d725ce88b934edaa9d13"}},{"ruleId":"D2","level":"warning","message":{"text":"UrlEndpointComponent.urlMapper (cognitive 17): UrlEndpointComponent.urlMapper has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (15 pts), match/switch 1 (2 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/UrlEndpointComponent.scala"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d3297c9e94aea3b748673ae52d6c06fbf696f52ff8b0dd35cd1de881791039c"}},{"ruleId":"D2","level":"warning","message":{"text":"ClassDefinitionGenerator.generateClass (cognitive 16): ClassDefinitionGenerator.generateClass has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), match/switch 4, boolean chains 1, error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/ClassDefinitionGenerator.scala"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"6656425f24cadd2af19f3918719fede816583aa2b3c23dd04759a6b528aec3ef"}},{"ruleId":"D2","level":"warning","message":{"text":"OutComponent.headerDefns (cognitive 16): OutComponent.headerDefns has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/OutComponent.scala"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bc2d16ffac8896f03c3b31581c0885f1d807f78ca883bc5606e33f488a3bcd"}},{"ruleId":"D2","level":"warning","message":{"text":"ZioSerdeImpl.genZioWrappedOneOfSerde (cognitive 16): ZioSerdeImpl.genZioWrappedOneOfSerde has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (8 pts), match/switch 7 (8 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/ZioSerdeImpl.scala"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"c867877712fb7ddcffcf44dde583948f7f7c513d88cfcf54cc6a34cd94ac8201"}},{"ruleId":"D2","level":"warning","message":{"text":"CdkAppTemplate.generate (cognitive 16): CdkAppTemplate.generate has cognitive complexity 16 (threshold 15). Drivers by points: loops 4 (14 pts), if/else 1, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serverless/aws/cdk/src/main/scala/sttp/tapir/serverless/aws/cdk/CdkAppTemplate.scala"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"84ba35647325d33e86192cf759c2fe57f1ac22f0b15973bd60bfa90cb4b1fadd"}},{"ruleId":"D2","level":"warning","message":{"text":"AwsToResponseBody.fromRawValue (cognitive 16): AwsToResponseBody.fromRawValue has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 1 (nesting depth added 5). 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":"serverless/aws/lambda-core/src/main/scalajvm/sttp/tapir/serverless/aws/lambda/AwsToResponseBody.scala"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d453c28fc8a84bf0dfe5aab219f3270fa249e2d3d028ff0f130e94ad14c25e5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Tapir: TooManyMethods \u2014 67 methods. The bar is 30 methods; this is 37 over it, 2.23\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/tapir/Tapir.scala"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c38ceb3dec5b3ea8c5170d44b063f666af7f927bb0bc733f76e3d77a84b387"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: EndpointServerLogicOps: TooManyMethods \u2014 33 methods. The bar is 30 methods; this is 3 over it, 1.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/tapir/Endpoint.scala"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"800f7b78fcc4784ae87b98b3e19d359fa95379c39a61da16ab9e6a9d64505b50"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: tapir/EndpointIO.scala: FileTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 22 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/tapir/EndpointIO.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb692f5da155a68bef8611364ef4914219d48de6d76b195128dc25fba3e890be"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Codec: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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/tapir/Codec.scala"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"2532e374227e5b8dd79f743c3574cb57d65a64b8d3adef777d2d52858ba0dce2"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (98 shared lines): server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala:41-144 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala:41-144 \u2014 These two members are variants of one another: 98 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":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"963a2fab624c3991ff732eb2e800b1f860736576025b1b304002ef73baf8e6a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (31 shared lines): metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala:175-231 | metrics/prometheus-simpleclient-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus_simpleclient/PrometheusMetrics.scala:166-223 \u2014 These two members are variants of one another: 31 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":"metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"2313a3d8f52e9b220347106de6f5dc891e9ed6ee2a68afa1190e421036de8f63"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:94-158 | client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:94-158 \u2014 These two members are one piece of code written twice and then edited apart: 65 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"d689c88fad46e33b7cc3748566cf5d83c3cef35e9c0ecf28d298ffeae9d48d36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): server/play-server/src/main/scala/sttp/tapir/server/play/PlayBodyListener.scala:11-29 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayBodyListener.scala:11-29 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayBodyListener.scala"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"592ebc4d943d48cda6f3b374a5845cb12c1b1008a00213d64883073d0e3ed9f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): client/sttp-client/src/main/scalajs/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala:20-96 | client/sttp-client/src/main/scalajs/sttp/tapir/client/sttp/ws/zio/WebSocketToZioPipe.scala:18-92 | client/sttp-client/src/main/scalajvm/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala:20-96 | client/sttp-client/src/main/scalajvm/sttp/tapir/client/sttp/ws/zio/WebSocketToZioPipe.scala:18-92 | client/sttp-client4/src/main/scalajs/sttp/tapir/client/sttp4/ws/fs2/WebSocketToFs2Pipe.scala:20-96 | client/sttp-client4/src/main/scalajs/sttp/tapir/client/sttp4/ws/zio/WebSocketToZioPipe.scala:18-92 | client/sttp-client4/src/main/scalajvm/sttp/tapir/client/sttp4/ws/fs2/WebSocketToFs2Pipe.scala:20-105 | client/sttp-client4/src/main/scalajvm/sttp/tapir/client/sttp4/ws/zio/WebSocketToZioPipe.scala:18-92 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client/src/main/scalajs/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8900111ad6fe9c6cec527ae944d2909ae9455d0b4d4d026b4900c3d3f907605"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): server/core/src/main/scala/sttp/tapir/server/interceptor/ServerLogAndExceptionInterceptor.scala:47-122 | server/core/src/main/scala/sttp/tapir/server/interceptor/content/NotAcceptableInterceptor.scala:17-46 | server/core/src/main/scala/sttp/tapir/server/interceptor/exception/ExceptionInterceptor.scala:18-49 | server/core/src/main/scala/sttp/tapir/server/interceptor/log/ServerLogInterceptor.scala:42-96 | server/core/src/main/scala/sttp/tapir/server/interceptor/metrics/MetricsEndpointInterceptor.scala:77-136 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/main/scala/sttp/tapir/server/interceptor/ServerLogAndExceptionInterceptor.scala"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"515d8b9fa406765964c09eedd6e99921e8c1541133b2f0904ede3440f41af3e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): client/sttp-client/src/main/scala/sttp/tapir/client/sttp/SttpClientInterpreter.scala:95-105 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/SttpClientInterpreter.scala:99-109 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/stream/StreamSttpClientInterpreter.scala:105-115 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/ws/WebSocketSttpClientInterpreter.scala:109-119 \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":"client/sttp-client/src/main/scala/sttp/tapir/client/sttp/SttpClientInterpreter.scala"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"769f4f9f04cd07bbe02187c2769346122c8ee0abce9dda4d00721a679a5f86cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): client/sttp-client/src/main/scala/sttp/tapir/client/sttp/SttpClientInterpreter.scala:194-205 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/SttpClientInterpreter.scala:202-213 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/stream/StreamSttpClientInterpreter.scala:211-222 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/ws/WebSocketSttpClientInterpreter.scala:227-238 \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":"client/sttp-client/src/main/scala/sttp/tapir/client/sttp/SttpClientInterpreter.scala"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb57e43545b6c882a3a2b379db0642dc38fcbb56596269af5419f46871031202"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): client/sttp-client/src/main/scalajvm-2/sttp/tapir/client/sttp/ws/akkahttp/WebSocketToAkkaPipe.scala:18-44 | client/sttp-client/src/main/scalajvm/sttp/tapir/client/sttp/ws/pekkohttp/WebSocketToPekkoPipe.scala:18-44 | client/sttp-client4/src/main/scalajvm-2/sttp/tapir/client/sttp4/ws/akkahttp/WebSocketToAkkaPipe.scala:18-44 | client/sttp-client4/src/main/scalajvm/sttp/tapir/client/sttp4/ws/pekkohttp/WebSocketToPekkoPipe.scala:18-44 \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":"client/sttp-client/src/main/scalajvm-2/sttp/tapir/client/sttp/ws/akkahttp/WebSocketToAkkaPipe.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"492914cc3374fbbb76447b1e9478e6433694fa239c91ec40e22eff6fa583fb8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcToResponseBody.scala:58-71 | server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala:119-132 | server/pekko-grpc-server/src/main/scala/sttp/tapir/server/pekkogrpc/PekkoGrpcToResponseBody.scala:58-71 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoToResponseBody.scala:119-132 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcToResponseBody.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"0586018f53cea7e89b7872bf2f11faa31f9f97b99d72e580b8b69e32bd211ad9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala:84-91 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoToResponseBody.scala:84-91 | server/play-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala:95-102 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala:95-102 \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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"961ab13832525b9e41ea917dcfd91c27dc15855aead824944df3b158d0f15abd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaWebSockets.scala:18-34 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoWebSockets.scala:18-34 | server/play-server/src/main/scala/sttp/tapir/server/play/PlayWebSockets.scala:15-34 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayWebSockets.scala:15-34 \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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaWebSockets.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7278a0be51f8b37464b56e887e47d8d610ed458af2f60c2ed6c39f76ab4f1e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): server/core/src/main/scala/sttp/tapir/server/interceptor/Interceptor.scala:53-64 | server/core/src/main/scala/sttp/tapir/server/interceptor/Interceptor.scala:72-83 | server/core/src/main/scala/sttp/tapir/server/interceptor/Interceptor.scala:93-104 | server/core/src/main/scala/sttp/tapir/server/interceptor/Interceptor.scala:128-139 \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":"server/core/src/main/scala/sttp/tapir/server/interceptor/Interceptor.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"5611d0205d46b39625a8b631f44b09ce0ccbc8ff725aa46a8f01e4af56ab5b80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala:71-136 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/EndpointToSttpClientBase.scala:88-152 \u2014 These two members are one piece of code written twice and then edited apart: 65 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ede28f9b7de210e18b1f7b3c2a2a876e116405daffc7d0968d0043e2f9165f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (65 corresponding lines): core/src/main/scalajvm/sttp/tapir/static/TapirStaticContentEndpoints.scala:48-112 | files/src/main/scalajvm/sttp/tapir/files/TapirStaticContentEndpoints.scala:57-121 \u2014 These two members are one piece of code written twice and then edited apart: 65 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scalajvm/sttp/tapir/static/TapirStaticContentEndpoints.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"f488c544b16a0c16102bb0a3abc55f253fcd74402b9ec529fd6368896f6d4c07"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala:38-106 | openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/ZioSerdeImpl.scala:38-91 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fa599d397e078fe4f7881e57542788af9a2ba5243211aae21117ffe1ff075b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 66\u002B corresponding lines): openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala:194-259 | openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/JsoniterSerdeImpl.scala:333-425 | openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/ZioSerdeImpl.scala:199-267 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 66 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d2c279f72cd876cc9f6fb68f48056fbd19a338ff8e60a125226b4a35af6c7fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): server/http4s-server/zio/src/main/scala/sttp/tapir/server/http4s/ztapir/ConvertStreams.scala:32-59 | server/http4s-server/zio/src/main/scala/sttp/tapir/server/http4s/ztapir/ConvertStreams.scala:61-92 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/http4s-server/zio/src/main/scala/sttp/tapir/server/http4s/ztapir/ConvertStreams.scala"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0750ee2852603fca3479bbc8c6f14f5b01767a0234175e450dce5a0ea573adad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): server/http4s-server/src/main/scala/sttp/tapir/server/http4s/Http4sWebSockets.scala:96-112 | server/vertx-server/src/main/scala/sttp/tapir/server/vertx/streams/websocket.scala:9-32 | server/zio-http-server/src/main/scala/sttp/tapir/server/ziohttp/ZioWebSockets.scala:117-140 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/http4s-server/src/main/scala/sttp/tapir/server/http4s/Http4sWebSockets.scala"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"d258c48bc1d2f445be5c8e10a8f5abc58e4130394b684bc437dab5d5ff437e9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala:166-197 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/EndpointToSttpClientBase.scala:184-215 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3318f9f0a93ce74b48a2c4a65fd4d9674e576721dff1540a2603b871f9ccd4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala:100-134 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpRequestBody.scala:109-143 \u2014 These two members are one piece of code written twice and then edited apart: 35 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9ba4b1b529a5c893daa07e463c02c47ad71829997bcc6eaf4733e5e561c352"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): tracing/opentelemetry-tracing/src/main/scala/sttp/tapir/server/tracing/opentelemetry/OpenTelemetryTracing.scala:112-146 | tracing/otel4s-tracing/src/main/scala/sttp/tapir/server/tracing/otel4s/Otel4sTracing.scala:88-113 \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":"tracing/opentelemetry-tracing/src/main/scala/sttp/tapir/server/tracing/opentelemetry/OpenTelemetryTracing.scala"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fad5461407e8c779c4b3b349d5d8d3860e8d7d486ca8461d3d3c9cd2ec90426"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala:48-74 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoToResponseBody.scala:48-74 \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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece9fb18a98a061f809cd1a8db52cf3162b613fd24ccef5cdb5385294ad29691"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (54 corresponding lines): integrations/iron/src/main/scala/sttp/iron/codec/iron/IntersectionTypeMirror.scala:20-73 | integrations/iron/src/main/scala/sttp/iron/codec/iron/UnionTypeMirror.scala:23-82 \u2014 These two members are one piece of code written twice and then edited apart: 54 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/iron/src/main/scala/sttp/iron/codec/iron/IntersectionTypeMirror.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6a779d41aad32dfa2cc12368a088b7a7e2ad5cb05e9097add5d6001c71a439"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaHttpServerInterpreter.scala:76-109 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoHttpServerInterpreter.scala:76-111 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaHttpServerInterpreter.scala"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"605f63ed13305b232954c52f6c35969335d5f10956c8c72fa645f694dcee7e62"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): server/netty-server/cats/src/main/scala/sttp/tapir/server/netty/cats/NettyCatsServer.scala:85-121 | server/netty-server/src/main/scala/sttp/tapir/server/netty/NettyFutureServer.scala:81-117 \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":"server/netty-server/cats/src/main/scala/sttp/tapir/server/netty/cats/NettyCatsServer.scala"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd47e1df6f8d102b7f9921b7ef5539b1bee2ade22e874d0a243fed4cc09d2368"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): docs/openapi-docs/src/main/scala/sttp/tapir/docs/openapi/EndpointInputToDecodeFailureOutput.scala:50-67 | server/core/src/main/scala/sttp/tapir/server/interceptor/decodefailure/DecodeFailureHandler.scala:196-213 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/openapi-docs/src/main/scala/sttp/tapir/docs/openapi/EndpointInputToDecodeFailureOutput.scala"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2e9908c79240c401565dfbf4bfd8f8b18d1e45a035134c6d4e1211ec15631c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala:123-161 | metrics/prometheus-simpleclient-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus_simpleclient/PrometheusMetrics.scala:121-152 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"caa0b6f1513f9fb83a5c3a4d0d9dbab4422593a545d2fd871e7f6a6536c2178a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:225-252 | client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:225-252 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5bb950c366f76b915a5f988e9c55b4ace0010156705bc5f1f26611b7ba95ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/reactivestreams/InputStreamPublisher.scala:56-96 | server/netty-server/sync/src/main/scala/sttp/tapir/server/netty/sync/internal/reactivestreams/InputStreamSyncPublisher.scala:48-90 \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":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/reactivestreams/InputStreamPublisher.scala"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a393e160e9cd455d57b6c4fb928ea3a58f6048c78f248e7bbb1761b25079196c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): docs/apispec-docs/src/main/scala/sttp/tapir/docs/apispec/schema/SchemasForEndpoints.scala:41-56 | grpc/protobuf/src/main/scala/sttp/tapir/grpc/protobuf/EndpointToProtobufMessage.scala:23-38 \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":"docs/apispec-docs/src/main/scala/sttp/tapir/docs/apispec/schema/SchemasForEndpoints.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7438b5711c35b76faa43e15abd14a519cf56ced6946cc94b8e87b656f6b49a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): docs/apispec-docs/src/main/scala/sttp/tapir/docs/apispec/schema/SchemasForEndpoints.scala:72-85 | grpc/protobuf/src/main/scala/sttp/tapir/grpc/protobuf/EndpointToProtobufMessage.scala:54-65 \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":"docs/apispec-docs/src/main/scala/sttp/tapir/docs/apispec/schema/SchemasForEndpoints.scala"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6709961b2949a93e63de6eeb19be989585d1fcaa5ff6ba5d32b0244373cc75c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala:95-112 | metrics/prometheus-simpleclient-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus_simpleclient/PrometheusMetrics.scala:90-109 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8b03ee5a82597360cc15c00f5ef580cc597908624369adab7d65abf480440f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): metrics/opentelemetry-metrics/src/main/scala/sttp/tapir/server/metrics/opentelemetry/OpenTelemetryMetrics.scala:131-164 | metrics/opentelemetry-metrics/src/main/scala/sttp/tapir/server/metrics/opentelemetry/OpenTelemetryMetrics.scala:167-207 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/opentelemetry-metrics/src/main/scala/sttp/tapir/server/metrics/opentelemetry/OpenTelemetryMetrics.scala"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"80ce7d2518de59f153554afda53214c0d53be0a7b6f5a651a4410533cf017341"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): integrations/refined/src/main/scala/sttp/tapir/codec/refined/TapirCodecRefined.scala:112-130 | integrations/refined/src/main/scala/sttp/tapir/codec/refined/TapirCodecRefined.scala:138-156 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/refined/src/main/scala/sttp/tapir/codec/refined/TapirCodecRefined.scala"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd74abdab6213fe38a7d1299c359f962a3e5f539de13469332a84648bbec662"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): server/armeria-server/cats/src/main/scala/sttp/tapir/server/armeria/cats/TapirCatsService.scala:40-74 | server/armeria-server/zio/src/main/scala/sttp/tapir/server/armeria/zio/TapirZioService.scala:35-68 \u2014 These two members are one piece of code written twice and then edited apart: 34 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/armeria-server/cats/src/main/scala/sttp/tapir/server/armeria/cats/TapirCatsService.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a8ebd80a1ee07708a18487b932444e4427be08b800f15c5d2314e74d2cdfd32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/StubServerInterpreter.scala:20-41 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/StubServerInterpreter.scala:21-42 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/StubServerInterpreter.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ac94a4af854986d1580c125d841b9f4f71e9d9d03d4c1dcb268a104115e7c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (30 corresponding lines): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaHttpServerInterpreter.scala:45-74 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoHttpServerInterpreter.scala:45-74 \u2014 These two members are one piece of code written twice and then edited apart: 30 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaHttpServerInterpreter.scala"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c0ac7a336931116d68a670566e1828bf227f437750812b2b5bcb91aab4a4c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala:210-227 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/EndpointToSttpClientBase.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":"client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c78aafd4538a349a3b2b99fe8280f65fb8f42df014f605ead4e511684d7f9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala:108-122 | openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/ZioSerdeImpl.scala:93-107 \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":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3d674751dcfdc66eb2f32aacec6fe903f0403243e032addc042ee5044c19f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): server/core/src/main/scala/sttp/tapir/server/interceptor/ServerLogAndExceptionInterceptor.scala:22-38 | server/core/src/main/scala/sttp/tapir/server/interceptor/log/ServerLogInterceptor.scala:21-37 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/main/scala/sttp/tapir/server/interceptor/ServerLogAndExceptionInterceptor.scala"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"de385483178bf60a7cae94a4ea510b1ec58aa9e10db4e2d84eac177cae214108"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): observability/zio-opentelemetry/src/main/scala/sttp/tapir/server/ziopentelemetry/ZIOpenTelemetryTracingConfig.scala:80-102 | tracing/opentelemetry-tracing/src/main/scala/sttp/tapir/server/tracing/opentelemetry/OpenTelemetryTracingConfig.scala:101-122 | tracing/otel4s-tracing/src/main/scala/sttp/tapir/server/tracing/otel4s/Otel4sTracingConfig.scala:72-89 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"observability/zio-opentelemetry/src/main/scala/sttp/tapir/server/ziopentelemetry/ZIOpenTelemetryTracingConfig.scala"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a53eb5da7c2267b20dadfea00d3445ceaa0dd217513803fe6135334326fb718"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): core/src/main/scala/sttp/tapir/Codec.scala:677-690 | core/src/main/scala/sttp/tapir/Codec.scala:699-712 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/tapir/Codec.scala"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"dadcc3ef3b536afc1d7c7f6cc832ac0b37c4551768e7341f7033a815cc4ee627"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): core/src/main/scala/sttp/tapir/internal/package.scala:71-79 | core/src/main/scala/sttp/tapir/internal/package.scala:157-165 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/tapir/internal/package.scala"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43737aef3fb86863c4958f71c92de6f6fb5a67f3e2fea410f9163a718ab0782"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): docs/apispec-docs/src/main/scala/sttp/tapir/docs/apispec/schema/SchemasForEndpoints.scala:58-70 | grpc/protobuf/src/main/scala/sttp/tapir/grpc/protobuf/EndpointToProtobufMessage.scala:40-51 \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":"docs/apispec-docs/src/main/scala/sttp/tapir/docs/apispec/schema/SchemasForEndpoints.scala"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"4558f9f72e550a5b54832938c2726ebffce82c006f717564e87aaed0f034dc35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala:51-62 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpRequestBody.scala:58-68 \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":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"161ac28fa60e5a0345cfecd205da1508c8548ff3addc5aa1a6f35fd67bd9132c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaServerRequest.scala:34-48 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoServerRequest.scala:51-65 \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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaServerRequest.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"d130cc12f04746f0e11ed9591f46094f00cf531d1844f422b18ff9eb72a4db1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/src/main/scala/sttp/tapir/Codec.scala:426-436 | core/src/main/scala/sttp/tapir/Codec.scala:458-468 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/tapir/Codec.scala"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af432c37b48157cadfb186d3914d8c7066d61b1e02d71657b80d09c263c0f13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): openapi-codegen/core/src/main/scala/sttp/tapir/codegen/validation/ValidationGenerator.scala:107-119 | openapi-codegen/core/src/main/scala/sttp/tapir/codegen/validation/ValidationGenerator.scala:121-141 \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":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/validation/ValidationGenerator.scala"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c85cb5b7fbc95b7f1487cb61efdc9f53f3629f218fad0de2255dd27675eb04"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpResponseEncoder.scala:14-27 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpResponseEncoder.scala:16-33 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpResponseEncoder.scala"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b19b3fec8baf4f9cbc14c53bf1846383bd8528de7232a93ab3bc198531949926"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): server/sttp-mock-server/src/main/scala/sttp/tapir/server/mockserver/SttpMockServerClient.scala:36-56 | server/sttp-mock-server/src/main/scala/sttp/tapir/server/mockserver/SttpMockServerClient.scala:103-125 \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":"server/sttp-mock-server/src/main/scala/sttp/tapir/server/mockserver/SttpMockServerClient.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f060343922777acddeb5dbaaf242b2db29d4f30638d9960862b3844178a84bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/src/main/scala/sttp/tapir/server/PartialServerEndpointWithSecurityOutput.scala:136-146 | core/src/main/scala/sttp/tapir/server/PartialServerEndpointWithSecurityOutputSync.scala:101-111 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/tapir/server/PartialServerEndpointWithSecurityOutput.scala"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfcfbab4fa6a1c659b17da0e792986edb178b2bbe128e3517bee539b4b3fcbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): server/netty-server/cats/src/main/scala/sttp/tapir/server/netty/cats/internal/CatsUtil.scala:11-23 | server/netty-server/cats/src/main/scala/sttp/tapir/server/netty/cats/internal/CatsUtil.scala:25-37 \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":"server/netty-server/cats/src/main/scala/sttp/tapir/server/netty/cats/internal/CatsUtil.scala"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd5020392a39f48542e216bd6e9f2a5777c10f85adc97d206948ef8f755c05c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcRequestBody.scala:40-50 | server/pekko-grpc-server/src/main/scala/sttp/tapir/server/pekkogrpc/PekkoGrpcRequestBody.scala:39-49 \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":"server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcRequestBody.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4507a0c527e7004c0fde24ff8bc2e62e2453731fb5a7f722d9534d7695a7b318"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): json/pickler/src/main/scala/sttp/tapir/json/pickler/Pickler.scala:426-435 | json/pickler/src/main/scala/sttp/tapir/json/pickler/Pickler.scala:438-447 | json/pickler/src/main/scala/sttp/tapir/json/pickler/Pickler.scala:450-459 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json/pickler/src/main/scala/sttp/tapir/json/pickler/Pickler.scala"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"137da3523e7814e0a94a872b605c51b79021b7f483090428ca68bc4feb7f38ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/reactivestreams/CopyingPublisher.scala:12-21 | server/netty-server/sync/src/main/scala/sttp/tapir/server/netty/sync/internal/UnconsumedContentTracker.scala:20-27 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/reactivestreams/CopyingPublisher.scala"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b57f1ac37ddbd8653ee1dd6fafb8e44f86f170a53d123d27641dd6de60c9b1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): core/src/main/scala-3/sttp/tapir/internal/CaseClass.scala:21-34 | core/src/main/scala-3/sttp/tapir/internal/CaseClass.scala:36-47 \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-3/sttp/tapir/internal/CaseClass.scala"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b414937063a0a562949d3cd5c3050a8c2aadff9d5881e6c0462b6346ea1105c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaServerRequest.scala:19-27 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoServerRequest.scala:36-44 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaServerRequest.scala"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda8e2e8f95102f0c1bf5523683cebb9c77a3a4bdd555cf4410a3be3ea6fc41e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyToStreamsResponseBody.scala:40-53 | server/netty-server/sync/src/main/scala/sttp/tapir/server/netty/sync/internal/NettySyncToResponseBody.scala:50-64 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyToStreamsResponseBody.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef56881d772ec7253759182013b94b71d046cad6c4975f8da83bcef7bd4cfa37"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/src/main/scala-3/sttp/tapir/internal/CaseClass.scala:50-56 | core/src/main/scala-3/sttp/tapir/internal/CaseClass.scala:77-83 \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/scala-3/sttp/tapir/internal/CaseClass.scala"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"168ab6f5c4f67e8753478b6cf5dff94fde6c95a69473fa5e921504d0ee912817"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaWebSockets.scala:46-54 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoWebSockets.scala:46-54 | server/play-server/src/main/scala/sttp/tapir/server/play/PlayWebSockets.scala:45-53 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayWebSockets.scala:45-53 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaWebSockets.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"948f4749b33cacb1fea5f6aa475c4f20e65882bb509a9fcc7d998f9430378be7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/src/main/scala/sttp/tapir/Codec.scala:412-418 | core/src/main/scala/sttp/tapir/Codec.scala:444-450 \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/scala/sttp/tapir/Codec.scala"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58c02a3612b233d088c654fe85caa19fd71f3997014bd440687818ac6c06b03"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyRequestBody.scala:127-135 | server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyRequestBody.scala:137-147 \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":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyRequestBody.scala"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ce8f998480fa90a823f12fc2c7154df234014ef366d88d9dbe41dd3dcee4322"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/src/main/scala/sttp/tapir/server/PartialServerEndpoint.scala:107-117 | core/src/main/scala/sttp/tapir/server/PartialServerEndpointSync.scala:86-96 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/tapir/server/PartialServerEndpoint.scala"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"df5278112c140689a75f6bbbddc2fee4bb13232b4421d4222535bb7271a3e593"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/src/main/scala/sttp/tapir/Codec.scala:488-491 | core/src/main/scala/sttp/tapir/Codec.scala:498-501 \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":"core/src/main/scala/sttp/tapir/Codec.scala"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdcdc4bec420448db3989c4d4afca85258846b96de38a929c3b6c9bbd0d38ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): core/src/main/scala/sttp/tapir/server/PartialServerEndpointSync.scala:106-117 | core/src/main/scala/sttp/tapir/server/PartialServerEndpointSync.scala:127-138 \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/tapir/server/PartialServerEndpointSync.scala"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c82a085d54dcd565429d045238f3d5681cdbd2bea0df0826c433d3e1eaf50c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): core/src/main/scalajvm/sttp/tapir/static/Files.scala:103-117 | files/src/main/scalajvm/sttp/tapir/files/Files.scala:165-179 \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/tapir/static/Files.scala"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbd54098cc1e1f1e1d2f492daaa01a4d56d8c190c9e5ff30a9aceabd567161b3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): server/core/src/main/scala/sttp/tapir/server/interceptor/metrics/MetricsEndpointInterceptor.scala:46-55 | server/core/src/main/scala/sttp/tapir/server/interceptor/metrics/MetricsEndpointInterceptor.scala:59-68 | server/core/src/main/scala/sttp/tapir/server/interceptor/metrics/MetricsEndpointInterceptor.scala:138-147 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/main/scala/sttp/tapir/server/interceptor/metrics/MetricsEndpointInterceptor.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7b151cc193aea142a298fb3f50a31471554334c25f5cdc0ef20f2a9af773a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): core/src/main/scalajvm/sttp/tapir/static/TapirStaticContentEndpoints.scala:31-34 | files/src/main/scalajvm/sttp/tapir/files/TapirStaticContentEndpoints.scala:40-43 \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":"core/src/main/scalajvm/sttp/tapir/static/TapirStaticContentEndpoints.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd9e49b2064decb46e95b00c565ae633f81cf5fb9eeff2cb239c948c56ff559"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): serverless/aws/lambda-cats-effect/src/main/scala/sttp/tapir/serverless/aws/lambda/LambdaHandler.scala:28-33 | serverless/aws/lambda-zio/src/main/scala/sttp/tapir/serverless/aws/ziolambda/ZioLambdaHandler.scala:26-31 \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":"serverless/aws/lambda-cats-effect/src/main/scala/sttp/tapir/serverless/aws/lambda/LambdaHandler.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a6801fd844edc2b7814777c96ad667b8faace8a3be7a1d4a9032508775c896c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): server/vertx-server/cats/src/main/scala/sttp/tapir/server/vertx/cats/VertxCatsServerInterpreter.scala:38-47 | server/vertx-server/src/main/scala/sttp/tapir/server/vertx/VertxFutureServerInterpreter.scala:29-37 | server/vertx-server/src/main/scala/sttp/tapir/server/vertx/VertxFutureServerInterpreter.scala:45-53 | server/vertx-server/zio/src/main/scala/sttp/tapir/server/vertx/zio/VertxZioServerInterpreter.scala:28-36 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/vertx-server/cats/src/main/scala/sttp/tapir/server/vertx/cats/VertxCatsServerInterpreter.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf201e042c979791e27ae6e15957d6c7d70c6483095821d818068dc73a1ef161"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): server/vertx-server/cats/src/main/scala/sttp/tapir/server/vertx/cats/VertxCatsServerOptions.scala:31-40 | server/vertx-server/zio/src/main/scala/sttp/tapir/server/vertx/zio/VertxZioServerOptions.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":"server/vertx-server/cats/src/main/scala/sttp/tapir/server/vertx/cats/VertxCatsServerOptions.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"d476d4964d436bc5066226d8070a1e697cb07a4cf4161074ebc855a678b416fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyServerHandler.scala:462-469 | server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/package.scala:23-30 \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":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyServerHandler.scala"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"328f91a111cc70b8943b934274c2a0ba3be04d555afbafc37333b11f844fe0bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): core/src/main/scala-2/sttp/tapir/internal/CodecEnumerationMacro.scala:25-37 | core/src/main/scala-2/sttp/tapir/internal/SchemaEnumerationMacro.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":"core/src/main/scala-2/sttp/tapir/internal/CodecEnumerationMacro.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4776e5c5fabb0c63f1cc62aea1eadff223b6b03da7f2a6030ec7ec5d06a34d78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): server/armeria-server/cats/src/main/scala/sttp/tapir/server/armeria/cats/ArmeriaCatsServerOptions.scala:50-56 | server/vertx-server/cats/src/main/scala/sttp/tapir/server/vertx/cats/VertxCatsServerOptions.scala:44-52 \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":"server/armeria-server/cats/src/main/scala/sttp/tapir/server/armeria/cats/ArmeriaCatsServerOptions.scala"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe027b2943188fbb92687a11eaf8c89af534e0d47ebf5f2b8010ad64f159ab2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcRequestBody.scala:32-38 | server/pekko-grpc-server/src/main/scala/sttp/tapir/server/pekkogrpc/PekkoGrpcRequestBody.scala:31-37 \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":"server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcRequestBody.scala"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2008267b8b999026a950a9aa9020f9a88bec15d63b89145e13229e9b7cf652b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): core/src/main/scala/sttp/tapir/Endpoint.scala:484-495 | core/src/main/scala/sttp/tapir/Endpoint.scala:544-555 | core/src/main/scala/sttp/tapir/Endpoint.scala:599-611 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/tapir/Endpoint.scala"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c51cc254792c43e46f816879016545adf045077eaae783d709b96cbafc24d2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/reactivestreams/SimpleSubscriber.scala:80-88 | server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/reactivestreams/SubscriberInputStream.scala:137-145 \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":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/reactivestreams/SimpleSubscriber.scala"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"99f805d3358435ce4efc84293574134cb1d2c46e1a090e4f29d5dc00a9273567"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/TapirStubInterpreter.scala:46-49 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/TapirStubInterpreter.scala:245-248 \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":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/TapirStubInterpreter.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bae92c81232f72a58393e1118a0597557988f49e2b0ebf27e151421fb873feee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala:147-150 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala:147-150 \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":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"80dcac3ee6d27740a23cae5837686618aecf753aaa3bd41cf1153a9e9e445b13"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 4\u002B corresponding lines): client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/stream/StreamSttpClientInterpreter.scala:130-133 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/stream/StreamSttpClientInterpreter.scala:146-149 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/stream/StreamSttpClientInterpreter.scala:163-166 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/ws/WebSocketSttpClientInterpreter.scala:136-139 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/ws/WebSocketSttpClientInterpreter.scala:154-157 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/ws/WebSocketSttpClientInterpreter.scala:173-176 \u2014 These 6 members are one piece of code written 6 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 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/stream/StreamSttpClientInterpreter.scala"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"74414fcb0051cbe959902700a882ec883a8123d709bc992c0a21ad99ec9d65bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): core/src/main/scala/sttp/tapir/server/PartialServerEndpointWithSecurityOutputSync.scala:55-59 | core/src/main/scala/sttp/tapir/server/PartialServerEndpointWithSecurityOutputSync.scala:64-68 \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":"core/src/main/scala/sttp/tapir/server/PartialServerEndpointWithSecurityOutputSync.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94ae5b0d58160987610b7a0936ca00b1a839cb1e32eb2ddfff61ba1473c9700"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): server/netty-server/zio/src/main/scala/sttp/tapir/server/netty/zio/NettyZioServerOptions.scala:46-52 | server/zio-http-server/src/main/scala/sttp/tapir/server/ziohttp/ZioHttpServerOptions.scala:50-56 \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":"server/netty-server/zio/src/main/scala/sttp/tapir/server/netty/zio/NettyZioServerOptions.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"05df45e5b8efd6ac25ee4661579d90b6371dacb04ba77e9e65388fdb7eb3cd80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): server/vertx-server/src/main/scala/sttp/tapir/server/vertx/VertxFutureServerOptions.scala:52-58 | server/vertx-server/zio/src/main/scala/sttp/tapir/server/vertx/zio/VertxZioServerOptions.scala:40-48 \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":"server/vertx-server/src/main/scala/sttp/tapir/server/vertx/VertxFutureServerOptions.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"df9dfafa546195602e61f717b4fc05571ae398c71b56ebeb692175a4baf439bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): server/jdkhttp-server/src/main/scala/sttp/tapir/server/jdkhttp/internal/ParsedMultiPart.scala:29-41 | server/finatra-server/src/main/scala/sttp/tapir/server/finatra/FinatraRequestBody.scala:57-66 \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":"server/jdkhttp-server/src/main/scala/sttp/tapir/server/jdkhttp/internal/ParsedMultiPart.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cc0bd8e0a66cda110e5e48af906b6cc9802cc45210bcf7954f43b7099e82833"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): core/src/main/scala/sttp/tapir/Codec.scala:537-542 | core/src/main/scala/sttp/tapir/Codec.scala:550-555 \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":"core/src/main/scala/sttp/tapir/Codec.scala"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"d92766996a0bbb1668507ef460d177c0340d5c9b3e6887ae8f8aef18852ae497"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): core/src/main/scala-2/sttp/tapir/typelevel/MatchTypeMacros.scala:14-25 | core/src/main/scala-2/sttp/tapir/typelevel/MatchTypeMacros.scala:27-33 \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/scala-2/sttp/tapir/typelevel/MatchTypeMacros.scala"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"1db18c4c79c21de7301369fc3d428f0b0d96e9852104cbdb2163ee108a2bfb9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): core/src/main/scala/sttp/tapir/Codec.scala:128-133 | core/src/main/scala/sttp/tapir/Codec.scala:138-143 | core/src/main/scala/sttp/tapir/Mapping.scala:42-46 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/tapir/Codec.scala"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bd4f18992677bf1bfd259fc82a9cd9c0d282493a315e21ff977ded9d0bb90e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): server/core/src/main/scala/sttp/tapir/server/interpreter/ServerInterpreter.scala:338-341 | server/core/src/main/scala/sttp/tapir/server/interpreter/ServerInterpreter.scala:342-346 | server/core/src/main/scala/sttp/tapir/server/interpreter/ServerInterpreter.scala:347-350 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/main/scala/sttp/tapir/server/interpreter/ServerInterpreter.scala"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd1f5ab222f5e761d938915784b85494aba3d194b825a9f833c8c0e3d9ef7320"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): server/netty-server/cats/src/main/scala/sttp/tapir/server/netty/cats/NettyCatsServer.scala:128-133 | server/netty-server/zio/src/main/scala/sttp/tapir/server/netty/zio/NettyZioServer.scala:151-156 \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":"server/netty-server/cats/src/main/scala/sttp/tapir/server/netty/cats/NettyCatsServer.scala"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"661a5e02cae1b8113bb07fe05b027703609ec379d9a6ee3ae14afd91cc123eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): core/src/main/scala-2/sttp/tapir/internal/CodecEnumerationMacro.scala:10-21 | core/src/main/scala-2/sttp/tapir/internal/SchemaEnumerationMacro.scala:9-20 \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-2/sttp/tapir/internal/CodecEnumerationMacro.scala"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef95a641655eb46853dd338746a14506afac33f330b9366a7562dc6698e1bdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/TapirStubInterpreter.scala:54-56 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/TapirStubInterpreter.scala:253-255 \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":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/TapirStubInterpreter.scala"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"13eb1cb24c0a08845859483b6f874eaed2a89b025233b9f6223957836302fc25"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/TapirStubInterpreter.scala:59-61 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/TapirStubInterpreter.scala:258-260 \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":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/TapirStubInterpreter.scala"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"791b678d16f72b144a225600ac9f40eaf5cf388bffb1123ff117b9882776995e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): server/netty-server/src/main/scala/sttp/tapir/server/netty/NettyFutureServer.scala:169-174 | server/netty-server/zio/src/main/scala/sttp/tapir/server/netty/zio/NettyZioServer.scala:198-203 \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":"server/netty-server/src/main/scala/sttp/tapir/server/netty/NettyFutureServer.scala"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"b468fca1dabf2655c22951c7295b7fbc560b6fb996c84eb968832df44d609816"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): server/core/src/main/scala/sttp/tapir/server/interceptor/decodefailure/DecodeFailureHandler.scala:34-37 | server/core/src/main/scala/sttp/tapir/server/interceptor/exception/ExceptionHandler.scala:21-24 | server/core/src/main/scala/sttp/tapir/server/interceptor/reject/RejectHandler.scala:19-22 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/main/scala/sttp/tapir/server/interceptor/decodefailure/DecodeFailureHandler.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"57f481002e80c1a0bc1350c505b65071a88c717f289077e8cbb201df8c63a296"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaHttpServerOptions.scala:28-31 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoHttpServerOptions.scala:28-31 \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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaHttpServerOptions.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6930104906806ee8315c07e463247989b7068fe872dd7ad2ce0e8c7f33216822"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/SttpClientInterpreter.scala:24-27 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/stream/StreamSttpClientInterpreter.scala:25-28 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/ws/WebSocketSttpClientInterpreter.scala:26-29 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/SttpClientInterpreter.scala"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"228ab1424f990723cfc604c1e4cc6679d70ef13fe6baca30710ea91886abebf5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/SttpClientInterpreter.scala:40-43 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/stream/StreamSttpClientInterpreter.scala:41-44 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/ws/WebSocketSttpClientInterpreter.scala:42-45 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/SttpClientInterpreter.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"127e1479e2924f3f9316e7f5379f8d93f08134bb2851b6ff77a087bdb79767e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/SttpClientInterpreter.scala:56-59 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/stream/StreamSttpClientInterpreter.scala:57-60 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/ws/WebSocketSttpClientInterpreter.scala:58-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 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/SttpClientInterpreter.scala"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e2441ae4f015ea5ac3c0278db817f9c883de99adbcbf3267197ca60c49507d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): server/core/src/main/scala/sttp/tapir/server/interceptor/decodefailure/DecodeFailureHandler.scala:28-31 | server/core/src/main/scala/sttp/tapir/server/interceptor/exception/ExceptionHandler.scala:15-18 | server/core/src/main/scala/sttp/tapir/server/interceptor/reject/RejectHandler.scala:14-17 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/main/scala/sttp/tapir/server/interceptor/decodefailure/DecodeFailureHandler.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"169e0ec4788e1250b543d1452ff133f25f7a9e7fc8aa0805854ef82f8ad949a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): server/netty-server/cats/src/main/scala/sttp/tapir/server/netty/cats/NettyCatsServer.scala:164-171 | server/netty-server/zio/src/main/scala/sttp/tapir/server/netty/zio/NettyZioServer.scala:189-196 \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":"server/netty-server/cats/src/main/scala/sttp/tapir/server/netty/cats/NettyCatsServer.scala"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"4998e130f524263433e222985b95ad967d9f708d953ec2b2d24174749dc1c6cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): core/src/main/scalajvm/sttp/tapir/static/TapirStaticContentEndpoints.scala:209-209 | files/src/main/scalajvm/sttp/tapir/files/TapirStaticContentEndpoints.scala:177-180 \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/scalajvm/sttp/tapir/static/TapirStaticContentEndpoints.scala"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab59c846f639bd67b4d73c77c4830b0eaad7d5c8dcd99cb715379a8005d8d77e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): server/netty-server/zio/src/main/scala/sttp/tapir/server/netty/zio/NettyZioServerOptions.scala:55-58 | server/zio-http-server/src/main/scala/sttp/tapir/server/ziohttp/ZioHttpServerOptions.scala:59-62 \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":"server/netty-server/zio/src/main/scala/sttp/tapir/server/netty/zio/NettyZioServerOptions.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39fd9c14786d115bab2eeba5a623c1994a0e2da6220b0710255adf3d723eed3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequest.scala:17-20 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpRequest.scala:17-20 \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":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequest.scala"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b11d668a9d75fa85dfbcd3a06154da8cd7204a841188c87d9200310efbed6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): metrics/opentelemetry-metrics/src/main/scala/sttp/tapir/server/metrics/opentelemetry/OpenTelemetryMetrics.scala:102-109 | metrics/otel4s-metrics/src/main/scala/sttp/tapir/server/metrics/otel4s/Otel4sMetrics.scala:53-59 \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":"metrics/opentelemetry-metrics/src/main/scala/sttp/tapir/server/metrics/opentelemetry/OpenTelemetryMetrics.scala"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"44203e6c094906489bf9e1afee7e42193bd5068f834295ab9556a28fc9691392"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): server/netty-server/src/main/scala/sttp/tapir/server/netty/NettyFutureServerOptions.scala:48-52 | server/netty-server/sync/src/main/scala/sttp/tapir/server/netty/sync/NettySyncServerOptions.scala:53-55 \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":"server/netty-server/src/main/scala/sttp/tapir/server/netty/NettyFutureServerOptions.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8e050e59f85ba51287fcff000587d1bbd604b1d052206343d9b9c685d6bb695"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (1 corresponding lines): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/TapirStubInterpreter.scala:86-86 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/TapirStubInterpreter.scala:90-90 \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":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/TapirStubInterpreter.scala"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8f9d3e8d2cb67576c57478f158bcb0984cda98e8a99db158e3f4d9bf144629f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 1\u002B corresponding lines): client/sttp-client/src/main/scala/sttp/tapir/client/sttp/SttpClientInterpreter.scala:176-178 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/SttpClientInterpreter.scala:188-188 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/stream/StreamSttpClientInterpreter.scala:194-194 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/ws/WebSocketSttpClientInterpreter.scala:205-211 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client/src/main/scala/sttp/tapir/client/sttp/SttpClientInterpreter.scala"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c2939292cdd9100c4d2242b0c5d2111f00b6104eb260f701e96a3cbdc9a23d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): files/src/main/scalajvm/sttp/tapir/files/Files.scala:25-28 | files/src/main/scalajvm/sttp/tapir/files/Resources.scala:21-24 \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":"files/src/main/scalajvm/sttp/tapir/files/Files.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e23dbc8971010dfb2e97a930d0e2843271abc5865d038e4a76652be0380854"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 4\u002B corresponding lines): server/armeria-server/cats/src/main/scala/sttp/tapir/server/armeria/cats/ArmeriaCatsServerOptions.scala:61-64 | server/armeria-server/src/main/scala/sttp/tapir/server/armeria/ArmeriaFutureServerOptions.scala:51-54 | server/armeria-server/zio/src/main/scala/sttp/tapir/server/armeria/zio/ArmeriaZioServerOptions.scala:55-58 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 4 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/armeria-server/cats/src/main/scala/sttp/tapir/server/armeria/cats/ArmeriaCatsServerOptions.scala"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bda306884246603a49c3b83aee78ff2ab8ed6489b5dbf5dc6ff75d24397f7d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 1\u002B corresponding lines): client/http4s-client/src/main/scala/sttp/tapir/client/http4s/EndpointToHttp4sClient.scala:199-199 | client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:177-179 | client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:177-179 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"client/http4s-client/src/main/scala/sttp/tapir/client/http4s/EndpointToHttp4sClient.scala"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c5eac11558e998ba77140754823bb2b67f2e7c80bac854ffeb3fff570a0763"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 1\u002B corresponding lines): client/sttp-client/src/main/scala/sttp/tapir/client/sttp/SttpClientInterpreter.scala:79-79 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/SttpClientInterpreter.scala:85-85 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/stream/StreamSttpClientInterpreter.scala:89-89 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/ws/WebSocketSttpClientInterpreter.scala:88-93 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client/src/main/scala/sttp/tapir/client/sttp/SttpClientInterpreter.scala"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef00f6315e9c7a1db2580745900ae92304ca2e95e15642b53d0b5d95ac9d4f78"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaRequestBody.scala:31-34 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoRequestBody.scala:31-34 \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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaRequestBody.scala"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3838279b94a391c0d7ab8825d5a0c8a0da13cf74385266a8d0ebd67f2c313f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 3\u002B corresponding lines): server/netty-server/cats/src/main/scala/sttp/tapir/server/netty/cats/NettyCatsServer.scala:78-80 | server/netty-server/src/main/scala/sttp/tapir/server/netty/NettyFutureServer.scala:71-73 | server/netty-server/zio/src/main/scala/sttp/tapir/server/netty/zio/NettyZioServer.scala:84-86 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 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":"server/netty-server/cats/src/main/scala/sttp/tapir/server/netty/cats/NettyCatsServer.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86b4e841136df5a7d61da7ddb2457c0a43e325a97f5bd0e536429b048ac060d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): server/play-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala:109-111 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala:109-111 \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":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d050943029233747caad0edc003b7572679a2703057804e558f9c0da7a8d1f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): observability/zio-opentelemetry/src/main/scala/sttp/tapir/server/ziopentelemetry/ZIOpenTelemetryTracingConfig.scala:74-78 | tracing/opentelemetry-tracing/src/main/scala/sttp/tapir/server/tracing/opentelemetry/OpenTelemetryTracingConfig.scala:95-99 | tracing/otel4s-tracing/src/main/scala/sttp/tapir/server/tracing/otel4s/Otel4sTracingConfig.scala:66-70 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"observability/zio-opentelemetry/src/main/scala/sttp/tapir/server/ziopentelemetry/ZIOpenTelemetryTracingConfig.scala"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"1184839013ce32b080a52565db9fcbd1eae342f764f42f24e3858677259074ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): server/http4s-server/src/main/scalajvm/sttp/tapir/server/http4s/Http4sDefaultServerLog.scala:22-25 | server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyDefaults.scala:7-12 \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":"server/http4s-server/src/main/scalajvm/sttp/tapir/server/http4s/Http4sDefaultServerLog.scala"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"661e66166042adefa0f162ea6de06e41d695ea0c065b4a396cfdb7ef16366db6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (58 lines \u00D7 2): server/play-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala:28-85 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala:28-85 \u2014 before extracting anything, compare \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala\u0060 and \u0060server/play29-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"422e3481e8c4ef496003ff6109fe496e63b84a9c25020ae9370211b37b56822a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (52\u201362 lines \u00D7 2): openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala:138-189 | openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/ZioSerdeImpl.scala:133-194 \u2014 before extracting anything, compare \u0060openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala\u0060 and \u0060openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/ZioSerdeImpl.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala:138\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"62781e1b36e8e086a16e16a24a8ac99c9ba2104e296c129a3b6fba55ee52b6ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43\u201344 lines \u00D7 2): server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala:42-84 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala:42-85 \u2014 before extracting anything, compare \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala\u0060 and \u0060server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under 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":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5646612649dc4c189a0156b2d493c8a304c10e76bbad21e317be70d9ec33fbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): server/play-server/src/main/scala/sttp/tapir/server/play/PlayRequestBody.scala:101-148 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayRequestBody.scala:102-149 \u2014 before extracting anything, compare \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayRequestBody.scala\u0060 and \u0060server/play29-server/src/main/scala/sttp/tapir/server/play/PlayRequestBody.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayRequestBody.scala:101\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines 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 \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":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayRequestBody.scala"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9146d9f51762a931b65a38b2fc2e81c6dc12abf2c667f9752cb2afd29aad840b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): server/play-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala:168-201 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala:168-201 \u2014 before extracting anything, compare \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala\u0060 and \u0060server/play29-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"0efcf253794a0cb853e566f1d3c6c63f0da59453deeda16c1c34bf21ce934095"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (34 lines \u00D7 2): core/src/main/scalajvm/sttp/tapir/static/TapirStaticContentEndpoints.scala:59-92 | files/src/main/scalajvm/sttp/tapir/files/TapirStaticContentEndpoints.scala:66-99 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/scalajvm/sttp/tapir/static/TapirStaticContentEndpoints.scala:59\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scalajvm/sttp/tapir/static/TapirStaticContentEndpoints.scala"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5c929988877f5a378ded4a0bb11e7494847f72d964e850d04314e28bc35750"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (73 lines \u00D7 4): client/sttp-client/src/main/scalajs/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala:21-93 | client/sttp-client/src/main/scalajvm/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala:21-93 | client/sttp-client4/src/main/scalajs/sttp/tapir/client/sttp4/ws/fs2/WebSocketToFs2Pipe.scala:21-93 | client/sttp-client4/src/main/scalajvm/sttp/tapir/client/sttp4/ws/fs2/WebSocketToFs2Pipe.scala:21-93 \u2014 before extracting anything, compare \u0060client/sttp-client/src/main/scalajs/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala\u0060 and \u0060client/sttp-client/src/main/scalajvm/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 109 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"client/sttp-client/src/main/scalajs/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8167ce18a8a9ee22583290612d210cbd2d7ec21d78b4aece16fbbf3d0416f8a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201331 lines \u00D7 3): openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala:211-233 | openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/JsoniterSerdeImpl.scala:356-386 | openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/ZioSerdeImpl.scala:218-240 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala:211\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/JsoniterSerdeImpl.scala:353\u0060 calls \u0060setMark\u0060, \u0060Try\u0060, \u0060fold\u0060 and \u0060openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala:210\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":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7343988f2e1af7556d78b5a688817bc7ef9f8354168f7273b39fa1798223240"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (74 lines \u00D7 4): client/sttp-client/src/main/scalajs/sttp/tapir/client/sttp/ws/zio/WebSocketToZioPipe.scala:19-92 | client/sttp-client/src/main/scalajvm/sttp/tapir/client/sttp/ws/zio/WebSocketToZioPipe.scala:19-92 | client/sttp-client4/src/main/scalajs/sttp/tapir/client/sttp4/ws/zio/WebSocketToZioPipe.scala:19-92 | client/sttp-client4/src/main/scalajvm/sttp/tapir/client/sttp4/ws/zio/WebSocketToZioPipe.scala:19-92 \u2014 before extracting anything, compare \u0060client/sttp-client/src/main/scalajs/sttp/tapir/client/sttp/ws/zio/WebSocketToZioPipe.scala\u0060 and \u0060client/sttp-client/src/main/scalajvm/sttp/tapir/client/sttp/ws/zio/WebSocketToZioPipe.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 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client/src/main/scalajs/sttp/tapir/client/sttp/ws/zio/WebSocketToZioPipe.scala"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"677049e6f649cf3d4f1a752f2694bba395be8219f9cb70b9a2b13a55f41a3549"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaBodyListener.scala:15-46 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoBodyListener.scala:15-46 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the 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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaBodyListener.scala"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e487fd21eea83da4f70c0995b749a1c56eca81f15121568b96b2014964fa46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala:100-144 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala:100-144 \u2014 before extracting anything, compare \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala\u0060 and \u0060server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala:100\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"169f5fcf9de79aac53cea0eb6c55198a24e9a643ba35e17cd05d9b3174a4b1db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 2): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaRequestBody.scala:42-83 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoRequestBody.scala:42-83 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the 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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaRequestBody.scala"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f7afc058d04ccd6b6f4daadc811433bbb4c13734c725bf9f474d951998b22f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): server/netty-server/cats/src/main/scala/sttp/tapir/server/netty/cats/NettyCatsServer.scala:92-118 | server/netty-server/src/main/scala/sttp/tapir/server/netty/NettyFutureServer.scala:88-114 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/netty-server/cats/src/main/scala/sttp/tapir/server/netty/cats/NettyCatsServer.scala:92\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/cats/src/main/scala/sttp/tapir/server/netty/cats/NettyCatsServer.scala"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07a9467a2a40486544ea1ae5a3b1ebe1b95b45656cc3a4fb849d90a81d80649"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): server/finatra-server/src/main/scala/sttp/tapir/server/finatra/FinatraToResponseBody.scala:48-71 | server/jdkhttp-server/src/main/scala/sttp/tapir/server/jdkhttp/internal/JdkHttpToResponseBody.scala:83-106 \u2014 before extracting anything, compare \u0060server/finatra-server/src/main/scala/sttp/tapir/server/finatra/FinatraToResponseBody.scala\u0060 and \u0060server/jdkhttp-server/src/main/scala/sttp/tapir/server/jdkhttp/internal/JdkHttpToResponseBody.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"server/finatra-server/src/main/scala/sttp/tapir/server/finatra/FinatraToResponseBody.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8cd2f4fba75d1857d01549ecf5b70e3bb4070f2cf657021812629fde111911c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): server/play-server/src/main/scala/sttp/tapir/server/play/PlayRequestBody.scala:51-89 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayRequestBody.scala:51-89 \u2014 before extracting anything, compare \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayRequestBody.scala\u0060 and \u0060server/play29-server/src/main/scala/sttp/tapir/server/play/PlayRequestBody.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayRequestBody.scala"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fc97f03810b3e3f659b3c6c44be406c327fa85d25cbb4e2f66a87e439c4a0cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestDecoder.scala:16-54 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpRequestDecoder.scala:15-53 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the 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":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestDecoder.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d20cf3e58a1ba980535d6a13f0fef6219bb32aadb2f86fd0f5f6c209d1f233"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaHttpServerOptions.scala:63-81 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoHttpServerOptions.scala:63-81 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the 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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaHttpServerOptions.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a769b21aa7a0daca43b4c876c0af8be3accf2613014c7ea3785dfc5454b1fe60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/StubServerInterpreter.scala:23-41 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/StubServerInterpreter.scala:24-42 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/StubServerInterpreter.scala:23\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/StubServerInterpreter.scala"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba5960401fe3e8b788e8b8ea6ec7041021dba543f85a25f25cfd2e036a7eb35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 8): client/sttp-client/src/main/scalajs/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala:37-56 | client/sttp-client/src/main/scalajs/sttp/tapir/client/sttp/ws/zio/WebSocketToZioPipe.scala:34-53 | client/sttp-client/src/main/scalajvm/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala:37-56 | client/sttp-client/src/main/scalajvm/sttp/tapir/client/sttp/ws/zio/WebSocketToZioPipe.scala:34-53 | client/sttp-client4/src/main/scalajs/sttp/tapir/client/sttp4/ws/fs2/WebSocketToFs2Pipe.scala:37-56 | client/sttp-client4/src/main/scalajs/sttp/tapir/client/sttp4/ws/zio/WebSocketToZioPipe.scala:34-53 | client/sttp-client4/src/main/scalajvm/sttp/tapir/client/sttp4/ws/fs2/WebSocketToFs2Pipe.scala:37-56 | client/sttp-client4/src/main/scalajvm/sttp/tapir/client/sttp4/ws/zio/WebSocketToZioPipe.scala:34-53 \u2014 before extracting anything, compare \u0060client/sttp-client/src/main/scalajs/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala\u0060 and \u0060client/sttp-client/src/main/scalajvm/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 109 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060client/sttp-client/src/main/scalajs/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala:37\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client/src/main/scalajs/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"03af5110b51911d62d8fcb9dc42aec2c8032a87d900435942bf1d26705ede585"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): integrations/refined/src/main/scala/sttp/tapir/codec/refined/TapirCodecRefined.scala:114-130 | integrations/refined/src/main/scala/sttp/tapir/codec/refined/TapirCodecRefined.scala:140-156 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060integrations/refined/src/main/scala/sttp/tapir/codec/refined/TapirCodecRefined.scala:114\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/refined/src/main/scala/sttp/tapir/codec/refined/TapirCodecRefined.scala"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcd0137bb4cb4d221c3bb752d18e4d9ed26efe4a032da9ab89ce55a0305aab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala:118-134 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpRequestBody.scala:127-143 \u2014 before extracting anything, compare \u0060server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala\u0060 and \u0060server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpRequestBody.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala:118\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb333f008282399d47d46db3b89bac4bdaaf1d6a58c8a12127349cfb465b0458"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): client/sttp-client/src/main/scalajs/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala:81-96 | client/sttp-client/src/main/scalajvm/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala:81-96 | client/sttp-client4/src/main/scalajs/sttp/tapir/client/sttp4/ws/fs2/WebSocketToFs2Pipe.scala:81-96 \u2014 before extracting anything, compare \u0060client/sttp-client/src/main/scalajs/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala\u0060 and \u0060client/sttp-client/src/main/scalajvm/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 109 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060client/sttp-client/src/main/scalajs/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala:81\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client/src/main/scalajs/sttp/tapir/client/sttp/ws/fs2/WebSocketToFs2Pipe.scala"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91d4acbaf32c68445e3d1290d7ee2e0f8ff3d5f3d93fd9a10f9fc95deffa549"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u201316 lines \u00D7 4): client/http4s-client/src/main/scala/sttp/tapir/client/http4s/EndpointToHttp4sClient.scala:117-118 | client/http4s-client/src/main/scala/sttp/tapir/client/http4s/EndpointToHttp4sClient.scala:125-126 | client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:135-150 | client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:135-150 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/http4s-client/src/main/scala/sttp/tapir/client/http4s/EndpointToHttp4sClient.scala:125\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:135\u0060 calls \u0060Header\u0060 and \u0060client/http4s-client/src/main/scala/sttp/tapir/client/http4s/EndpointToHttp4sClient.scala:117\u0060 does not \u2014 after which the two agree again for 5 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/http4s-client/src/main/scala/sttp/tapir/client/http4s/EndpointToHttp4sClient.scala"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"1de454d58fb3df3454ca877b837262e03e012e8e43af59305e506ddb022d7c2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:187-209 | client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:187-209 \u2014 before extracting anything, compare \u0060client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala\u0060 and \u0060client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d592b72dea7c950a3af1d106907d05601d28f8dadb2871a41759bc1da51f02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala:65-80 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpRequestBody.scala:71-86 \u2014 before extracting anything, compare \u0060server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala\u0060 and \u0060server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpRequestBody.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the 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":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fd20874888a1570fd93f61787f92da2d134f8af5ed447d887319797b876a2b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala:83-98 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpRequestBody.scala:92-107 \u2014 before extracting anything, compare \u0060server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala\u0060 and \u0060server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpRequestBody.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the 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":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d4cb8ea60316d20b4e039be3da95caafae21b8c5fe3db1ba46963203e17b2d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:230-252 | client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:230-252 \u2014 before extracting anything, compare \u0060client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala\u0060 and \u0060client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:230\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7696f6488c672fcead46984bca2c0128254d132c7038b1f722d197473f8b32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): core/src/main/scala-2/sttp/tapir/generic/auto/SchemaMagnoliaDerivation.scala:128-142 | core/src/main/scala-3/sttp/tapir/generic/auto/SchemaMagnoliaDerivation.scala:134-148 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/scala-2/sttp/tapir/generic/auto/SchemaMagnoliaDerivation.scala:128\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala-2/sttp/tapir/generic/auto/SchemaMagnoliaDerivation.scala"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e57215208fa86c87ec2ffb803fe1ed821237dadf35abd5a043057c741295f04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaWebSockets.scala:21-34 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoWebSockets.scala:21-34 | server/play-server/src/main/scala/sttp/tapir/server/play/PlayWebSockets.scala:21-34 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayWebSockets.scala:21-34 \u2014 before extracting anything, compare \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayWebSockets.scala\u0060 and \u0060server/play29-server/src/main/scala/sttp/tapir/server/play/PlayWebSockets.scala\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 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 \u0060server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaWebSockets.scala:21\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaWebSockets.scala"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"82faa71ed47314bf5e5bfb31cc73a7d98d703ca580795e8153ceedde9a0d5ac0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala:101-117 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoToResponseBody.scala:101-117 \u2014 before extracting anything, compare \u0060server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala\u0060 and \u0060server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoToResponseBody.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda7415241ec1e6f2a6384610f8612d6f2a3af81060afad15b618891fc5bed52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:40-54 | client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:40-54 \u2014 before extracting anything, compare \u0060client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala\u0060 and \u0060client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:40\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b5dca48f032589d05f37c3f28279264cb80ec3bbbd1d30f17018f17f9fe8a47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala:101-113 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpRequestBody.scala:110-122 \u2014 before extracting anything, compare \u0060server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala\u0060 and \u0060server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpRequestBody.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala:101\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1481842a1f52bd2c92596b24f34ac55bb2aa4e244308000d5167e1a2d0f271a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201322 lines \u00D7 3): client/http4s-client/src/main/scala/sttp/tapir/client/http4s/EndpointToHttp4sClient.scala:106-118 | client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:114-135 | client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:114-135 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/http4s-client/src/main/scala/sttp/tapir/client/http4s/EndpointToHttp4sClient.scala:106\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/http4s-client/src/main/scala/sttp/tapir/client/http4s/EndpointToHttp4sClient.scala"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"873288d8cb134c57b6cf8f85d5b73b9e3d9f7663caf4323b85aaf04474476132"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala:181-197 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/EndpointToSttpClientBase.scala:199-215 \u2014 before extracting anything, compare \u0060client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala\u0060 and \u0060client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/EndpointToSttpClientBase.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala:181\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8b83ea143bb3afc7ec6029f70fad2f1ec1071c104d6ab6d641853ddfbc6338"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala:85-96 | openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/ZioSerdeImpl.scala:70-80 \u2014 before extracting anything, compare \u0060openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala\u0060 and \u0060openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/ZioSerdeImpl.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 118 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala:85\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it 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":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5b71e52b976159bc4e29eab7b720c2df99e99769283a2a26de55ba32f778a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): server/core/src/main/scala/sttp/tapir/server/interceptor/ServerLogAndExceptionInterceptor.scala:27-38 | server/core/src/main/scala/sttp/tapir/server/interceptor/log/ServerLogInterceptor.scala:26-37 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/core/src/main/scala/sttp/tapir/server/interceptor/ServerLogAndExceptionInterceptor.scala:27\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/main/scala/sttp/tapir/server/interceptor/ServerLogAndExceptionInterceptor.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"15c2d0f89437fd905ea8330a1598442b8fa916bcb2fe2409269dd46eabedf1b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): server/finatra-server/src/main/scala/sttp/tapir/server/finatra/FinatraToResponseBody.scala:74-85 | server/jdkhttp-server/src/main/scala/sttp/tapir/server/jdkhttp/internal/JdkHttpToResponseBody.scala:65-76 \u2014 before extracting anything, compare \u0060server/finatra-server/src/main/scala/sttp/tapir/server/finatra/FinatraToResponseBody.scala\u0060 and \u0060server/jdkhttp-server/src/main/scala/sttp/tapir/server/jdkhttp/internal/JdkHttpToResponseBody.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"server/finatra-server/src/main/scala/sttp/tapir/server/finatra/FinatraToResponseBody.scala"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29eb3186982fea56f7e0e92161417b5364d71da75734842633291d2dc3fdd2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): integrations/iron/src/main/scala/sttp/iron/codec/iron/IntersectionTypeMirror.scala:21-31 | integrations/iron/src/main/scala/sttp/iron/codec/iron/UnionTypeMirror.scala:24-34 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/iron/src/main/scala/sttp/iron/codec/iron/IntersectionTypeMirror.scala"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d429ff5cd0c6a32d8b93037749f4aab291a1a1fafc5c3b9c2ebbdf9252985b59"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala:178-188 | metrics/prometheus-simpleclient-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus_simpleclient/PrometheusMetrics.scala:170-180 \u2014 before extracting anything, compare \u0060metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala\u0060 and \u0060metrics/prometheus-simpleclient-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus_simpleclient/PrometheusMetrics.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala:178\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb78a56e2564c713ac34aa938e840fde4b65cd918164044999853b384fb45de4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala:49-70 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoToResponseBody.scala:49-70 \u2014 before extracting anything, compare \u0060server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala\u0060 and \u0060server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoToResponseBody.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala:49\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: \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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"40a61d95f112addc402062c05d5acfd6c105681afe7c09a2de25fbae4b1e12f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/ContentTypeCache.scala:18-28 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/ContentTypeCache.scala:18-28 \u2014 before extracting anything, compare \u0060server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/ContentTypeCache.scala\u0060 and \u0060server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/ContentTypeCache.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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the 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: \u0060ContentType\u0060 names \u0060akka.http.scaladsl.model.ContentType\u0060 in one and \u0060org.apache.pekko.http.scaladsl.model.ContentType\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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/ContentTypeCache.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"769c70a99036c16081d726dd67ab2ebcd6263a937ade4b874654203e24cda117"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerOptions.scala:35-45 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerOptions.scala:35-45 \u2014 before extracting anything, compare \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerOptions.scala\u0060 and \u0060server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerOptions.scala\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerOptions.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1204cad125aed13c857853c5e7bd3a635efb00152de778e43aae1b2d2770d56c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestDecoder.scala:57-67 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpRequestDecoder.scala:56-66 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestDecoder.scala"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccc167709860352fd5ae17c651773e95c975dc2f83b911ef7ee0b197d4dcd7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): core/src/main/scalajvm/sttp/tapir/internal/UrlencodedData.scala:10-19 | core/src/main/scalanative/sttp/tapir/internal/UrlencodedData.scala:10-19 \u2014 before extracting anything, compare \u0060core/src/main/scalajvm/sttp/tapir/internal/UrlencodedData.scala\u0060 and \u0060core/src/main/scalanative/sttp/tapir/internal/UrlencodedData.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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the 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":"core/src/main/scalajvm/sttp/tapir/internal/UrlencodedData.scala"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2740ce5d0a662179c9fe8e18bdb2d7a87bb90834af7c25e9ade3ae6d9fe91663"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (1\u201310 lines \u00D7 3): core/src/main/scalajvm/sttp/tapir/static/TapirStaticContentEndpoints.scala:94-103 | files/src/main/scalajvm/sttp/tapir/files/TapirStaticContentEndpoints.scala:101-110 | files/src/main/scalajvm/sttp/tapir/files/TapirStaticContentEndpoints.scala:116-116 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/scalajvm/sttp/tapir/static/TapirStaticContentEndpoints.scala:94\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under 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/scalajvm/sttp/tapir/static/TapirStaticContentEndpoints.scala"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae1c4b1a009c714eeab71a81cffd915935d58069280182fcc81952ce6b09f39"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala:190-199 | metrics/prometheus-simpleclient-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus_simpleclient/PrometheusMetrics.scala:182-191 \u2014 before extracting anything, compare \u0060metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala\u0060 and \u0060metrics/prometheus-simpleclient-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus_simpleclient/PrometheusMetrics.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala:190\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"996be47ab3d7e25908dd8f3f2a0cd1d635c8032bf209a196a9fd2b86da135c42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala:201-210 | metrics/prometheus-simpleclient-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus_simpleclient/PrometheusMetrics.scala:193-202 \u2014 before extracting anything, compare \u0060metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala\u0060 and \u0060metrics/prometheus-simpleclient-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus_simpleclient/PrometheusMetrics.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala:201\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c95e1fa94a4f538b152d2a45e0a54929db1cbdfe34299b9eb026ab1ad51e30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaRequestBody.scala:86-95 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoRequestBody.scala:86-95 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaRequestBody.scala"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3acb48f31baaff818fff5160695d8fb19da28227357e0ba80c7df74b6b9a7bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): server/play-server/src/main/scala/sttp/tapir/server/play/PlayBodyListener.scala:13-29 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayBodyListener.scala:13-29 \u2014 before extracting anything, compare \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayBodyListener.scala\u0060 and \u0060server/play29-server/src/main/scala/sttp/tapir/server/play/PlayBodyListener.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. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the 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: \u0060Done\u0060 names \u0060akka.Done\u0060 in one and \u0060org.apache.pekko.Done\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":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayBodyListener.scala"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c283f3a562f33c6ca2dbf0ae3f46806e76be98d88428801971ed2ae0c31ca4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala:89-98 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala:89-98 \u2014 before extracting anything, compare \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala\u0060 and \u0060server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 99 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala:89\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"a24b4bf46066077b98fd5fb057a8def560c0564739cd4ab7fb978509d9a17c24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): server/play-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala:132-141 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala:132-141 \u2014 before extracting anything, compare \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala\u0060 and \u0060server/play29-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"42dda371d888bf0a72d9ce6918c37f626d62dfe2da8bd738497f61dae4331d06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpStubServer.scala:36-45 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpStubServer.scala:54-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpStubServer.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4a8d97f8620b9da46d67e74bc29393c2b7ab7e8332ce7f119d604350d00df0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpStubServer.scala:48-57 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpStubServer.scala:66-75 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpStubServer.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0509091b2cdec409ad52d543dfbcc48d3d880f48c864925207c51d2a437d87a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 4): client/sttp-client/src/main/scalajvm-2/sttp/tapir/client/sttp/ws/akkahttp/WebSocketToAkkaPipe.scala:20-44 | client/sttp-client/src/main/scalajvm/sttp/tapir/client/sttp/ws/pekkohttp/WebSocketToPekkoPipe.scala:20-44 | client/sttp-client4/src/main/scalajvm-2/sttp/tapir/client/sttp4/ws/akkahttp/WebSocketToAkkaPipe.scala:20-44 | client/sttp-client4/src/main/scalajvm/sttp/tapir/client/sttp4/ws/pekkohttp/WebSocketToPekkoPipe.scala:20-44 \u2014 before extracting anything, compare \u0060client/sttp-client/src/main/scalajvm-2/sttp/tapir/client/sttp/ws/akkahttp/WebSocketToAkkaPipe.scala\u0060 and \u0060client/sttp-client/src/main/scalajvm/sttp/tapir/client/sttp/ws/pekkohttp/WebSocketToPekkoPipe.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 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client/src/main/scalajvm-2/sttp/tapir/client/sttp/ws/akkahttp/WebSocketToAkkaPipe.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"56020b31dbe91387424dab0ed8d7e107bc0bfe142d833496cc8a803dcf1cd9d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcToResponseBody.scala:59-71 | server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala:120-132 | server/pekko-grpc-server/src/main/scala/sttp/tapir/server/pekkogrpc/PekkoGrpcToResponseBody.scala:59-71 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoToResponseBody.scala:120-132 \u2014 before extracting anything, compare \u0060server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala\u0060 and \u0060server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoToResponseBody.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcToResponseBody.scala"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc052c7220821fad40097294931dd2f3e108e57a0174a32b5b6c5d6c058fa2d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): server/core/src/main/scala/sttp/tapir/server/interceptor/Interceptor.scala:53-61 | server/core/src/main/scala/sttp/tapir/server/interceptor/Interceptor.scala:72-80 | server/core/src/main/scala/sttp/tapir/server/interceptor/Interceptor.scala:93-101 | server/core/src/main/scala/sttp/tapir/server/interceptor/Interceptor.scala:128-136 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/core/src/main/scala/sttp/tapir/server/interceptor/Interceptor.scala:53\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/main/scala/sttp/tapir/server/interceptor/Interceptor.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f499e8472b65bb7240c1f5f9ecf0c7e9e82e821f586d5303b877da6f3b8fd60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/scala/sttp/tapir/server/PartialServerEndpoint.scala:64-72 | core/src/main/scala/sttp/tapir/server/PartialServerEndpointWithSecurityOutput.scala:69-77 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/tapir/server/PartialServerEndpoint.scala"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"8670a2c4d7f8c4693a83acd1cfc84ec3b98339a91d835b18bdab0daa3d747df7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala:128-136 | metrics/prometheus-simpleclient-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus_simpleclient/PrometheusMetrics.scala:126-133 \u2014 before extracting anything, compare \u0060metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala\u0060 and \u0060metrics/prometheus-simpleclient-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus_simpleclient/PrometheusMetrics.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala:128\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under 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":"metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"467c293d429e492ea5fddbf05d702f9157e53dd5b4e02d3105c59993dd652f7b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InAndOutComponents.scala:135-143 | openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InAndOutComponents.scala:224-232 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InAndOutComponents.scala:135\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InAndOutComponents.scala"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"46c71a3619879c630bb5e1038f56546e25f6ed8293652aab107330159fe4ac0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): server/play-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala:144-159 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala:144-159 \u2014 before extracting anything, compare \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala\u0060 and \u0060server/play29-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0c573769dda38a21fb5f63686c42a28e834ea71ff03f669bd79373ed1629e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala:24-41 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpRequestBody.scala:30-47 \u2014 before extracting anything, compare \u0060server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala\u0060 and \u0060server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpRequestBody.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b7f2b6a2cd687168436024dd5aa9ba32525052a6adac503ec7f6cd40a29016"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): serverless/aws/lambda-core/src/main/scalajs/sttp/tapir/serverless/aws/lambda/AwsToResponseBody.scala:16-24 | serverless/aws/lambda-core/src/main/scalajvm/sttp/tapir/serverless/aws/lambda/AwsToResponseBody.scala:18-26 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060serverless/aws/lambda-core/src/main/scalajs/sttp/tapir/serverless/aws/lambda/AwsToResponseBody.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":"serverless/aws/lambda-core/src/main/scalajs/sttp/tapir/serverless/aws/lambda/AwsToResponseBody.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b5821ba181e4a82bc6c23221bdb25e12669828954ae7f2fc271a880fece248"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala:143-150 | openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/JsoniterSerdeImpl.scala:256-263 | openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/ZioSerdeImpl.scala:138-145 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala:143\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"25cecc1cf746db2647995cdba13ca6d3bf5d41873a8353f5cb4cc22d174ebec1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/stream/StreamEndpointToSttpClient.scala:35-42 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/stream/StreamEndpointToSttpClient.scala:47-54 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/stream/StreamEndpointToSttpClient.scala:35\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/stream/StreamEndpointToSttpClient.scala"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"988ad892662eea3239dfa4445d96154460938f8ba7769648883b9ac1b1011929"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaHttpServerInterpreter.scala:87-96 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoHttpServerInterpreter.scala:89-98 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaHttpServerInterpreter.scala:87\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaHttpServerInterpreter.scala"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3016c003acceade16b503b71f10915a56fbe1e35747adc5ef51571c3b2cd8bec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): server/core/src/main/scala/sttp/tapir/server/interceptor/ServerLogAndExceptionInterceptor.scala:86-93 | server/core/src/main/scala/sttp/tapir/server/interceptor/log/ServerLogInterceptor.scala:82-89 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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 \u0060server/core/src/main/scala/sttp/tapir/server/interceptor/ServerLogAndExceptionInterceptor.scala:86\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060server/core/src/main/scala/sttp/tapir/server/interceptor/ServerLogAndExceptionInterceptor.scala:83\u0060 calls \u0060NonFatal\u0060, \u0060onException\u0060, \u0060Some\u0060 and \u0060server/core/src/main/scala/sttp/tapir/server/interceptor/log/ServerLogInterceptor.scala:81\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":"server/core/src/main/scala/sttp/tapir/server/interceptor/ServerLogAndExceptionInterceptor.scala"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94d01b649acf1aa088f01aaaed7695a1b7aa6982d2b89aedb9ed49c5ea2625e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:68-83 | client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:68-83 \u2014 before extracting anything, compare \u0060client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala\u0060 and \u0060client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a26136f72714310e0ec73c98985b5b80ba65053467af1a2ffbc19a698b1dc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala:169-179 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/EndpointToSttpClientBase.scala:187-197 \u2014 before extracting anything, compare \u0060client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala\u0060 and \u0060client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/EndpointToSttpClientBase.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala:169\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1419bdc11bbe27776418fea20dc0e814dbd3575bb495ca4ebfc1254ace0a61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/sttp-client/src/main/scala/sttp/tapir/client/sttp/WebSocketToPipe.scala:34-40 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/WebSocketToPipe.scala:34-40 \u2014 before extracting anything, compare \u0060client/sttp-client/src/main/scala/sttp/tapir/client/sttp/WebSocketToPipe.scala\u0060 and \u0060client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/WebSocketToPipe.scala\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"client/sttp-client/src/main/scala/sttp/tapir/client/sttp/WebSocketToPipe.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"2432fba92fbe6998140728f765377568d8300db54d08fc4f85b18f6326513383"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/scala-3/sttp/tapir/macros/FormCodecMacros.scala:50-56 | core/src/main/scala-3/sttp/tapir/macros/MultipartCodecMacros.scala:90-96 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/scala-3/sttp/tapir/macros/FormCodecMacros.scala:50\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala-3/sttp/tapir/macros/FormCodecMacros.scala"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c5557ccd59bb628bfd501bb062e6bca25213211bc2e2091b88f4ac0e6ea85d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/scala-3/sttp/tapir/macros/FormCodecMacros.scala:88-94 | core/src/main/scala-3/sttp/tapir/macros/MultipartCodecMacros.scala:118-124 \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/scala-3/sttp/tapir/macros/FormCodecMacros.scala:88\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala-3/sttp/tapir/macros/FormCodecMacros.scala"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"be9e98df18de6c02a64fade657da7fc953f3f9f4ecc55de7f4e2299b94894fda"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcToResponseBody.scala:47-56 | server/pekko-grpc-server/src/main/scala/sttp/tapir/server/pekkogrpc/PekkoGrpcToResponseBody.scala:47-56 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the 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":"server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcToResponseBody.scala"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"29305dee5785e1e9ea4a51bc401fe524898557aa0b2fecd9ff4dab4da9d70260"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaServerRequest.scala:38-44 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoServerRequest.scala:55-61 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaServerRequest.scala:38\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaServerRequest.scala"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b60cbc931700198c503caf6dd9f08a39ef89995dc02f1f6370c90749c7f4484"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): server/core/src/main/scala/sttp/tapir/server/interceptor/content/NotAcceptableInterceptor.scala:37-43 | server/core/src/main/scala/sttp/tapir/server/interceptor/decodefailure/DecodeFailureInterceptor.scala:17-23 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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 \u0060server/core/src/main/scala/sttp/tapir/server/interceptor/content/NotAcceptableInterceptor.scala:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/main/scala/sttp/tapir/server/interceptor/content/NotAcceptableInterceptor.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"22add6def8d7c280db01964cc5b8ccbadc61ca1953c7a2e6c3096589d4b8cf7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): server/vertx-server/src/main/scala/sttp/tapir/server/vertx/VertxFutureServerInterpreter.scala:29-35 | server/vertx-server/src/main/scala/sttp/tapir/server/vertx/VertxFutureServerInterpreter.scala:45-51 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/vertx-server/src/main/scala/sttp/tapir/server/vertx/VertxFutureServerInterpreter.scala:29\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/vertx-server/src/main/scala/sttp/tapir/server/vertx/VertxFutureServerInterpreter.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0634e057a65bc3be5a07f1839bd516b5ded8f2ddf808e6474145d3571683424"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): server/vertx-server/src/main/scala/sttp/tapir/server/vertx/streams/Pipe.scala:110-116 | server/vertx-server/src/main/scala/sttp/tapir/server/vertx/streams/Pipe.scala:164-170 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/vertx-server/src/main/scala/sttp/tapir/server/vertx/streams/Pipe.scala:110\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/vertx-server/src/main/scala/sttp/tapir/server/vertx/streams/Pipe.scala"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca1ddc4cbd26bae2af199d165472f692c85d2cf600b43d70df89e7911aba79ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): client/sttp-client/src/main/scala/sttp/tapir/client/sttp/SttpClientInterpreter.scala:97-105 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/SttpClientInterpreter.scala:101-109 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/stream/StreamSttpClientInterpreter.scala:107-115 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/ws/WebSocketSttpClientInterpreter.scala:111-119 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/sttp-client/src/main/scala/sttp/tapir/client/sttp/SttpClientInterpreter.scala:97\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client/src/main/scala/sttp/tapir/client/sttp/SttpClientInterpreter.scala"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cd0a7ae2178e0c829ca78dded7c500c804a929477c0246be7033ce6990ab340"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 4): client/sttp-client/src/main/scala/sttp/tapir/client/sttp/SttpClientInterpreter.scala:197-205 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/SttpClientInterpreter.scala:205-213 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/stream/StreamSttpClientInterpreter.scala:214-222 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/ws/WebSocketSttpClientInterpreter.scala:230-238 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client/sttp-client/src/main/scala/sttp/tapir/client/sttp/SttpClientInterpreter.scala:197\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client/src/main/scala/sttp/tapir/client/sttp/SttpClientInterpreter.scala"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d02d04bed8ec3c6405ff199a59feb8483f71fc6be26a6fb8e2407c5f8db84fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala:84-91 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoToResponseBody.scala:84-91 | server/play-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala:95-102 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala:95-102 \u2014 before extracting anything, compare \u0060server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala\u0060 and \u0060server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoToResponseBody.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. 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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d0e744952b05ac32a293d334ba11b4e8069e2b5ebefc2e68cac7c67a8207cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): server/finatra-server/src/main/scala/sttp/tapir/server/finatra/FinatraToResponseBody.scala:59-64 | server/jdkhttp-server/src/main/scala/sttp/tapir/server/jdkhttp/internal/JdkHttpToResponseBody.scala:94-99 | server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyToResponseBodyCommon.scala:93-98 \u2014 before extracting anything, compare \u0060server/finatra-server/src/main/scala/sttp/tapir/server/finatra/FinatraToResponseBody.scala\u0060 and \u0060server/jdkhttp-server/src/main/scala/sttp/tapir/server/jdkhttp/internal/JdkHttpToResponseBody.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060server/finatra-server/src/main/scala/sttp/tapir/server/finatra/FinatraToResponseBody.scala:59\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/finatra-server/src/main/scala/sttp/tapir/server/finatra/FinatraToResponseBody.scala"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c13929fa976676ea3c1c212581248950374311689f9c815d50805194739a9eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala:215-225 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/EndpointToSttpClientBase.scala:69-79 \u2014 before extracting anything, compare \u0060client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala\u0060 and \u0060client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/EndpointToSttpClientBase.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"18de5c55f432a084ab5a852cceb0b5dcce4b4eec91f1e4c97445eb9b661b31b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): core/src/main/scala-2/sttp/tapir/generic/auto/SchemaMagnoliaDerivation.scala:48-54 | core/src/main/scala-3/sttp/tapir/generic/auto/SchemaMagnoliaDerivation.scala:51-57 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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/scala-2/sttp/tapir/generic/auto/SchemaMagnoliaDerivation.scala:48\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted 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/scala-2/sttp/tapir/generic/auto/SchemaMagnoliaDerivation.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ce4fb84a65683dffb69b3ce21a42f85987dda562a4f2df1d092f0a8170679e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): json/pickler/src/main/scala/sttp/tapir/json/pickler/Pickler.scala:418-423 | json/upickle/src/main/scala/sttp/tapir/json/upickle/TapirJsonuPickle.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json/pickler/src/main/scala/sttp/tapir/json/pickler/Pickler.scala"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ac594022e98a2b890fd8ae99501e24f863caa95728a3bada3a4d013075ceb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): metrics/datadog-metrics/src/main/scala/sttp/tapir/server/metrics/datadog/DatadogMetrics.scala:138-143 | metrics/datadog-metrics/src/main/scala/sttp/tapir/server/metrics/datadog/DatadogMetrics.scala:151-156 | metrics/datadog-metrics/src/main/scala/sttp/tapir/server/metrics/datadog/DatadogMetrics.scala:163-169 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060metrics/datadog-metrics/src/main/scala/sttp/tapir/server/metrics/datadog/DatadogMetrics.scala:138\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/datadog-metrics/src/main/scala/sttp/tapir/server/metrics/datadog/DatadogMetrics.scala"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"eae841143397ced21f739e2a6a64bccc950b123f43f6518d8992d509be0898f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 3): observability/zio-opentelemetry/src/main/scala/sttp/tapir/server/ziopentelemetry/ZIOpenTelemetryTracingConfig.scala:84-89 | tracing/opentelemetry-tracing/src/main/scala/sttp/tapir/server/tracing/opentelemetry/OpenTelemetryTracingConfig.scala:102-106 | tracing/otel4s-tracing/src/main/scala/sttp/tapir/server/tracing/otel4s/Otel4sTracingConfig.scala:76-81 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060observability/zio-opentelemetry/src/main/scala/sttp/tapir/server/ziopentelemetry/ZIOpenTelemetryTracingConfig.scala:84\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under 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":"observability/zio-opentelemetry/src/main/scala/sttp/tapir/server/ziopentelemetry/ZIOpenTelemetryTracingConfig.scala"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8d492c7031bfb0a25fe87b3e53648b4191bbffd8670641ff94cadd93834bec6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20136 lines \u00D7 5): server/core/src/main/scala/sttp/tapir/server/interceptor/ServerLogAndExceptionInterceptor.scala:48-53 | server/core/src/main/scala/sttp/tapir/server/interceptor/content/NotAcceptableInterceptor.scala:17-20 | server/core/src/main/scala/sttp/tapir/server/interceptor/exception/ExceptionInterceptor.scala:18-21 | server/core/src/main/scala/sttp/tapir/server/interceptor/log/ServerLogInterceptor.scala:43-48 | server/core/src/main/scala/sttp/tapir/server/interceptor/metrics/MetricsEndpointInterceptor.scala:77-81 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/core/src/main/scala/sttp/tapir/server/interceptor/ServerLogAndExceptionInterceptor.scala:48\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060server/core/src/main/scala/sttp/tapir/server/interceptor/ServerLogAndExceptionInterceptor.scala:54\u0060 calls \u0060NonFatal\u0060, \u0060onException\u0060, \u0060Some\u0060 and \u0060server/core/src/main/scala/sttp/tapir/server/interceptor/log/ServerLogInterceptor.scala:49\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":"server/core/src/main/scala/sttp/tapir/server/interceptor/ServerLogAndExceptionInterceptor.scala"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ede360628eec4b0904b423f999d9c35d9f976ecf31563a9b8b75487b4799c87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyServerHandler.scala:464-469 | server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/package.scala:25-30 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyServerHandler.scala:464\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyServerHandler.scala"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"9728ca4fa0129a64fbbe16341bf3e5c7863a03e714c0725dca03ecca6dac436b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/scala-2/sttp/tapir/generic/auto/SchemaMagnoliaDerivation.scala:69-76 | core/src/main/scala-3/sttp/tapir/generic/auto/SchemaMagnoliaDerivation.scala:72-79 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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/scala-2/sttp/tapir/generic/auto/SchemaMagnoliaDerivation.scala:69\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala-2/sttp/tapir/generic/auto/SchemaMagnoliaDerivation.scala"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2de7fe55c272e133d8889df028782546bebc2000e4413e58370c5f6312cd42c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InComponent.scala:54-58 | openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/OutComponent.scala:82-86 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InComponent.scala"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"20391f01cd17b371dbd8615a540ca9cbe3a4c439f23baa6b35ff807c6c613de8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InComponent.scala:89-93 | openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/OutComponent.scala:117-121 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InComponent.scala"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce08ab3eecc89d713864900a7ed32555c5fdbf12a0eabf6b4ebd234101e7075"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala:198-202 | openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/JsoniterSerdeImpl.scala:337-341 | openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/ZioSerdeImpl.scala:201-203 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala:198\u0060 it does not close everything it opens, so those exact lines 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":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"db63346163595ec7f7812f4e57f8d812314896f55e2ed7aa23de38668540f866"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaWebSockets.scala:47-54 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoWebSockets.scala:47-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the 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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaWebSockets.scala"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe272f9b7e8b3932d1c79653e90b4bb5d414d61ef1a4cce20f48340aac7b552"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): server/play-server/src/main/scala/sttp/tapir/server/play/PlayWebSockets.scala:46-53 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayWebSockets.scala:46-53 \u2014 before extracting anything, compare \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayWebSockets.scala\u0060 and \u0060server/play29-server/src/main/scala/sttp/tapir/server/play/PlayWebSockets.scala\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 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: \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":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayWebSockets.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"9081812c8f30972ae2f77f510cfc5022a24d5ed172e44453bea960cdacc9ce2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpResponseEncoder.scala:20-24 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpResponseEncoder.scala:22-26 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpResponseEncoder.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3c06274f0e9da503346c066697402794896640fffc902e4009fce18b2e1db5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (69 lines \u00D7 2): client/play-client/src/main/scala/sttp/tapir/client/play/PlayClientInterpreter.scala:8-76 | client/play29-client/src/main/scala/sttp/tapir/client/play/PlayClientInterpreter.scala:8-76 \u2014 before extracting anything, compare \u0060client/play-client/src/main/scala/sttp/tapir/client/play/PlayClientInterpreter.scala\u0060 and \u0060client/play29-client/src/main/scala/sttp/tapir/client/play/PlayClientInterpreter.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 \u0060client/play-client/src/main/scala/sttp/tapir/client/play/PlayClientInterpreter.scala:8\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/play-client/src/main/scala/sttp/tapir/client/play/PlayClientInterpreter.scala"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"56dcbbffa40e7800c6febe89e193cac4fbce81e46ec497e80acfd80f264a9ab0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): integrations/zio-prelude/src/main/scala-2/sttp/tapir/codec/zio/prelude/newtype/TapirNewtype.scala:8-24 | integrations/zio-prelude/src/main/scala-3/sttp/tapir/codec/zio/prelude/newtype/TapirNewtype.scala:8-24 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060integrations/zio-prelude/src/main/scala-2/sttp/tapir/codec/zio/prelude/newtype/TapirNewtype.scala:8\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/zio-prelude/src/main/scala-2/sttp/tapir/codec/zio/prelude/newtype/TapirNewtype.scala"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a800ab69ef5156e83cf7b793ed2b3496ee618c0cca788468502082d6ecb4b4ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaModel.scala:15-23 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoModel.scala:15-23 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: \u0060HttpHeader\u0060 names \u0060akka.http.scaladsl.model.HttpHeader\u0060 in one and \u0060org.apache.pekko.http.scaladsl.model.HttpHeader\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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaModel.scala"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26ba4e5e0670cd90464327d70ac606ba6f6d461bcb0bdd915ca9ffa38713d77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerRequest.scala:18-34 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerRequest.scala:18-33 \u2014 before extracting anything, compare \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerRequest.scala\u0060 and \u0060server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerRequest.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":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerRequest.scala"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be47739049784cf7bf278b39b62ed2023e3cec72a85eba1e2af6cb0689a60c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): client/http4s-client/src/main/scala/sttp/tapir/client/http4s/EndpointToHttp4sClient.scala:253-257 | client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:254-258 | client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:254-258 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/http4s-client/src/main/scala/sttp/tapir/client/http4s/EndpointToHttp4sClient.scala"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"c519d4506d5e169e35e445ad78c9b0d47bb1b7e46cf4fd43ee4a2d9de704752e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:59-65 | client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:59-65 \u2014 before extracting anything, compare \u0060client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala\u0060 and \u0060client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:59\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0c44656a7957aa9b2f34b5a2aa11f8fc2c2124dbf3eaa3eb14247a621083620"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:166-170 | client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:166-170 \u2014 before extracting anything, compare \u0060client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala\u0060 and \u0060client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:166\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a547a0d43f24f837e49e0867c4bea07ba663cdbf56a39c9267d53511be8746b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:219-223 | client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:219-223 | client/sttp-client/src/main/scala/sttp/tapir/client/sttp/SttpClientInterpreter.scala:210-214 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/package.scala:8-12 \u2014 before extracting anything, compare \u0060client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala\u0060 and \u0060client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"86b4ac9ee11f0e7c3b0f475ee09db4e0b02256f066a59c27c52fde4d0c3b1299"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): core/src/main/scala/sttp/tapir/server/PartialServerEndpointSync.scala:36-43 | core/src/main/scala/sttp/tapir/server/PartialServerEndpointWithSecurityOutputSync.scala:40-47 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/tapir/server/PartialServerEndpointSync.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b176776bbf861917cd5b0942de57a95d718410f86ffb2117928bde2e17a5dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/scalajvm/sttp/tapir/static/Resources.scala:68-72 | files/src/main/scalajvm/sttp/tapir/files/Resources.scala:97-101 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scalajvm/sttp/tapir/static/Resources.scala"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b70f3c59ff0829af1b6f4645e998ed867284fa05d872b7627605624ce66e5ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/src/main/scalajvm/sttp/tapir/static/package.scala:10-18 | files/src/main/scalajvm/sttp/tapir/files/package.scala:13-21 \u2014 before extracting anything, compare \u0060core/src/main/scalajvm/sttp/tapir/static/package.scala\u0060 and \u0060files/src/main/scalajvm/sttp/tapir/files/package.scala\u0060 as WHOLE FILES: 89% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 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":"core/src/main/scalajvm/sttp/tapir/static/package.scala"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"0451e28b67a7f35620c2a4278ea477bb6229df63957fbdfbdebc0a28a4db4bde"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala:84-92 | metrics/prometheus-simpleclient-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus_simpleclient/PrometheusMetrics.scala:79-87 \u2014 before extracting anything, compare \u0060metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala\u0060 and \u0060metrics/prometheus-simpleclient-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus_simpleclient/PrometheusMetrics.scala\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 49 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"metrics/prometheus-metrics/src/main/scala/sttp/tapir/server/metrics/prometheus/PrometheusMetrics.scala"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"b430c2b1ce2f6aec2b0af67d294dd72dc2a5ee8ecf721eb5b2afa550828ec241"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcToResponseBody.scala:78-83 | server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala:139-144 | server/pekko-grpc-server/src/main/scala/sttp/tapir/server/pekkogrpc/PekkoGrpcToResponseBody.scala:78-83 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoToResponseBody.scala:139-144 \u2014 before extracting anything, compare \u0060server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala\u0060 and \u0060server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoToResponseBody.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcToResponseBody.scala"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9343ada1a0d97ef439ad9ee46ebc5a43dcd0f749079d8525ff13326c4f9002fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala:93-98 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoToResponseBody.scala:93-98 \u2014 before extracting anything, compare \u0060server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala\u0060 and \u0060server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoToResponseBody.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 72 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaToResponseBody.scala"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"301a38856ec53b7382bae9e9c26740112ae339e86cefa53db84fde62ee39eedb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): server/jdkhttp-server/src/main/scala/sttp/tapir/server/jdkhttp/internal/JdkHttpToResponseBody.scala:128-133 | server/nima-server/src/main/scala/sttp/tapir/server/nima/internal/NimaToResponseBody.scala:62-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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/jdkhttp-server/src/main/scala/sttp/tapir/server/jdkhttp/internal/JdkHttpToResponseBody.scala"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b70e3e5195616f00deb225a0f4ff0cb84ca0feb4c81fadd47d5a1770145a342f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/reactivestreams/InputStreamPublisher.scala:36-44 | server/netty-server/sync/src/main/scala/sttp/tapir/server/netty/sync/internal/reactivestreams/InputStreamSyncPublisher.scala:32-40 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/reactivestreams/InputStreamPublisher.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"887ad697ab0c8dfc3d40edbda9227b2d2ec0abd101c7f19bd7d61dd6a228a8f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): server/play-server/src/main/scala/sttp/tapir/server/play/PlayRequestBody.scala:28-32 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayRequestBody.scala:28-32 \u2014 before extracting anything, compare \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayRequestBody.scala\u0060 and \u0060server/play29-server/src/main/scala/sttp/tapir/server/play/PlayRequestBody.scala\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 92 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayRequestBody.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd905de3ef0067ecfedec1478fa38b33b9803bcb85d37e12b06236af1f8084b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerOptions.scala:61-66 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerOptions.scala:61-66 \u2014 before extracting anything, compare \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerOptions.scala\u0060 and \u0060server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerOptions.scala\u0060 as WHOLE FILES: 94% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 2 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerOptions.scala"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"555f87acbd962c7f0070dd0b93fc6837200fcb875f86748f3a4aa0fa0d71ee7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): server/play-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala:113-121 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala:113-121 \u2014 before extracting anything, compare \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala\u0060 and \u0060server/play29-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 135 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd2dc6ad40a79cc66a1c45c329e449515c4bf00e70d3380db529c37bcb19c9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpStubServer.scala:12-20 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpStubServer.scala:30-38 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpStubServer.scala"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3579788a3e582e1b24209076621857d2027ef412dab0d393d206070fd1ee2d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/TapirStubInterpreter.scala:63-67 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/TapirStubInterpreter.scala:262-266 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/TapirStubInterpreter.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"581d1bbc899a2adba70df16c1177c66b2d8b6cdb25be60e53cc3a5e935749a1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:152-158 | client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:152-158 \u2014 before extracting anything, compare \u0060client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala\u0060 and \u0060client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 144 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, 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 \u0060client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala:152\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"058245bce887b2868992c3d68a9f1bc893fafa8aacbec91bef035ff7efeb5074"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala:200-208 | client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/EndpointToSttpClientBase.scala:218-226 \u2014 before extracting anything, compare \u0060client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala\u0060 and \u0060client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/EndpointToSttpClientBase.scala\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab529754f0fbab97c539782c1ac24dba5b047bd49c242c66ad819752602e05d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/scala-2/sttp/tapir/internal/EndpointInputAnnotationsMacro.scala:29-33 | core/src/main/scala-3/sttp/tapir/internal/AnnotationsMacros.scala:23-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 \u0060core/src/main/scala-2/sttp/tapir/internal/EndpointInputAnnotationsMacro.scala:29\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so 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/scala-2/sttp/tapir/internal/EndpointInputAnnotationsMacro.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"34d530cae24cd433bbd4b2b90ca7d736c74e5df0ccdaa2887d768d81bcea3b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/src/main/scala-3/sttp/tapir/internal/CaseClass.scala:52-56 | core/src/main/scala-3/sttp/tapir/internal/CaseClass.scala:79-83 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/src/main/scala-3/sttp/tapir/internal/CaseClass.scala:52\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala-3/sttp/tapir/internal/CaseClass.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6493a7a89d695a35f6d3dde41925a270227a9a6ebd5b36edd790253aa4f0474f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): docs/openapi-docs/src/main/scala/sttp/tapir/docs/openapi/EndpointInputToDecodeFailureOutput.scala:50-57 | server/core/src/main/scala/sttp/tapir/server/interceptor/decodefailure/DecodeFailureHandler.scala:196-203 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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 \u0060docs/openapi-docs/src/main/scala/sttp/tapir/docs/openapi/EndpointInputToDecodeFailureOutput.scala:50\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/openapi-docs/src/main/scala/sttp/tapir/docs/openapi/EndpointInputToDecodeFailureOutput.scala"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a7c68d267c6730d58579b6fe18ceaf99e1c559b5d364fd88886ccf9be044e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcRequestBody.scala:34-38 | server/pekko-grpc-server/src/main/scala/sttp/tapir/server/pekkogrpc/PekkoGrpcRequestBody.scala:33-37 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the 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: \u0060HttpEntity\u0060 names \u0060akka.http.scaladsl.model.HttpEntity\u0060 in one and \u0060org.apache.pekko.http.scaladsl.model.HttpEntity\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":"server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcRequestBody.scala"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"25faf1faa9c9753cc061901bec7e4a078cfec70349d038c01c3ad4094fdc38d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaWebSockets.scala:39-44 | server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoWebSockets.scala:39-44 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note first that the copies are not typed on the same thing: \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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaWebSockets.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f0210ec5a018c6704c24a8a2a6e5a08d381202dc5068e60a3f7bc6ead0a53a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): server/play-server/src/main/scala/sttp/tapir/server/play/PlayWebSockets.scala:37-43 | server/play29-server/src/main/scala/sttp/tapir/server/play/PlayWebSockets.scala:37-43 \u2014 before extracting anything, compare \u0060server/play-server/src/main/scala/sttp/tapir/server/play/PlayWebSockets.scala\u0060 and \u0060server/play29-server/src/main/scala/sttp/tapir/server/play/PlayWebSockets.scala\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 3 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":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayWebSockets.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bce05e9f280ed497147213dde1e65adef0ba9833e848fcf5bb1c4884f7b758c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala:54-58 | server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpRequestBody.scala:59-63 \u2014 before extracting anything, compare \u0060server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala\u0060 and \u0060server/sttp-stub4-server/src/main/scala/sttp/tapir/server/stub4/SttpRequestBody.scala\u0060 as WHOLE FILES: this scan already matched 6 separate duplicated blocks between them, totalling at least 85 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala:54\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e83e03c8fa59ca56cb38750231533337d17382a0adfa6b3dac9b2ee639bd340"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): docs/redoc/src/main/scala/sttp/tapir/redoc/Redoc.scala:52-103 | docs/scalar/src/main/scala/sttp/tapir/scalar/Scalar.scala:86-131 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/redoc/src/main/scala/sttp/tapir/redoc/Redoc.scala"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2413f69d6d782b265a0e898cf71c08502f7d4a513e8e14f608c1ff9d663d3cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 14\u002B corresponding lines): docs/openapi-docs/src/main/scala/sttp/tapir/docs/openapi/EndpointInputToParameterConverter.scala:12-27 | docs/openapi-docs/src/main/scala/sttp/tapir/docs/openapi/EndpointInputToParameterConverter.scala:56-69 | docs/openapi-docs/src/main/scala/sttp/tapir/docs/openapi/EndpointInputToParameterConverter.scala:90-103 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 14 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/openapi-docs/src/main/scala/sttp/tapir/docs/openapi/EndpointInputToParameterConverter.scala"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be41c8629f287ee10c8b25d50a090524b486d7a548d720156988327156ca718"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): examples/src/main/scala/sttp/tapir/examples/observability/Otel4sMetricsExample.scala:69-95 | examples/src/main/scala/sttp/tapir/examples/observability/Otel4sTracingExample.scala:58-83 \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":"examples/src/main/scala/sttp/tapir/examples/observability/Otel4sMetricsExample.scala"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfebaed8931706debcc3ed1322e9b591907010dd1d371ca644a2c8ea8ed27d66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): docs/apispec-docs/src/main/scala/sttp/tapir/docs/apispec/EndpointInputMapper.scala:22-28 | docs/apispec-docs/src/main/scala/sttp/tapir/docs/apispec/EndpointInputMapper.scala:41-47 \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":"docs/apispec-docs/src/main/scala/sttp/tapir/docs/apispec/EndpointInputMapper.scala"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2204723c7f6021c4a29a8362dcc6f056dafcac766de5b9ccf3b1d564ac1bbd5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): examples/src/main/scala/sttp/tapir/examples/HelloWorldHttp4sServer.scala:32-44 | examples/src/main/scala/sttp/tapir/examples/streaming/StreamingHttp4sFs2Server.scala:55-68 \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":"examples/src/main/scala/sttp/tapir/examples/HelloWorldHttp4sServer.scala"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ef2a774a10f179bdc7fbbcaca057c366786fd043194a5422790575f4e515fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): docs/apispec-docs/src/main/scala/sttp/tapir/docs/apispec/EndpointInputMapper.scala:11-19 | docs/apispec-docs/src/main/scala/sttp/tapir/docs/apispec/EndpointInputMapper.scala:31-38 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/apispec-docs/src/main/scala/sttp/tapir/docs/apispec/EndpointInputMapper.scala"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"26231a33e90d5d83433624f53854c298715dc56170a61867a7e55013f27a22bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): docs/redoc-bundle/src/main/scala/sttp/tapir/redoc/bundle/RedocInterpreter.scala:21-29 | docs/scalar-bundle/src/main/scala/sttp/tapir/scalar/bundle/ScalarInterpreter.scala:21-29 | docs/swagger-ui-bundle/src/main/scala/sttp/tapir/swagger/bundle/SwaggerInterpreter.scala:21-29 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/redoc-bundle/src/main/scala/sttp/tapir/redoc/bundle/RedocInterpreter.scala"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a506c43eaa0d4b76b6052bf410cedb95db2d42d41b277b748bf8ea6b1d7f3bd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): examples/src/main/scala/sttp/tapir/examples/security/OAuth2GithubHttp4sServer.scala:116-127 | examples/src/main/scala/sttp/tapir/examples/openapi/MultipleEndpointsDocumentationHttp4sServer.scala:74-80 \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":"examples/src/main/scala/sttp/tapir/examples/security/OAuth2GithubHttp4sServer.scala"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55f7d38510ac43e96f64c467b71bc83ca2dab295d5c2276c86b3516d75bbdd9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): docs/scalar-bundle/src/main/scala/sttp/tapir/scalar/bundle/ScalarInterpreter.scala:85-96 | docs/swagger-ui-bundle/src/main/scala/sttp/tapir/swagger/bundle/SwaggerInterpreter.scala:85-96 \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":"docs/scalar-bundle/src/main/scala/sttp/tapir/scalar/bundle/ScalarInterpreter.scala"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aee808f9099b21c053cc88713475d5b82f7d2e1aa8432d6129130dbfe88feac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 4\u002B corresponding lines): examples/src/main/scala/sttp/tapir/examples/HelloWorldZioHttpServer.scala:46-52 | examples/src/main/scala/sttp/tapir/examples/ZioExampleZioHttpServer.scala:53-59 | examples/src/main/scala/sttp/tapir/examples/streaming/StreamingZioHttpServer.scala:48-54 | examples/src/main/scala/sttp/tapir/examples/websocket/WebSocketZioHttpCustomCodecServer.scala:65-68 | examples/src/main/scala/sttp/tapir/examples/websocket/WebSocketZioHttpJsonServer.scala:50-53 \u2014 These 5 members are one piece of code written 5 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 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/scala/sttp/tapir/examples/HelloWorldZioHttpServer.scala"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfb3a6757caed0f903b7228cc8ab7e28580e6108c15ae34e7d97d4bce29e1860"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): docs/redoc/src/main/scala/sttp/tapir/redoc/Redoc.scala:79-103 | docs/scalar/src/main/scala/sttp/tapir/scalar/Scalar.scala:108-131 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060docs/redoc/src/main/scala/sttp/tapir/redoc/Redoc.scala:79\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/redoc/src/main/scala/sttp/tapir/redoc/Redoc.scala"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae404bd5570080946b2d0d926a703bb72132724ef303086e87bf46a422a8fb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): examples/src/main/scala/sttp/tapir/examples/openapi/RedocZioHttpServer.scala:37-49 | examples/src/main/scala/sttp/tapir/examples/openapi/ScalarZioHttpServer.scala:37-49 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/scala/sttp/tapir/examples/openapi/RedocZioHttpServer.scala"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d3f67066f5dffe96c3a427ac87fe466f6ff048edc82d5145b10844628b9585"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): docs/redoc/src/main/scala/sttp/tapir/redoc/Redoc.scala:53-72 | docs/scalar/src/main/scala/sttp/tapir/scalar/Scalar.scala:87-106 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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":"docs/redoc/src/main/scala/sttp/tapir/redoc/Redoc.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3aa1bd2c95d6e157979547577377007b543ec773cff12b4808a06ec4b34f3d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): examples/src/main/scala/sttp/tapir/examples/openapi/RedocContextPathHttp4sServer.scala:36-41 | examples/src/main/scala/sttp/tapir/examples/openapi/ScalarContextPathHttp4sServer.scala:36-41 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/src/main/scala/sttp/tapir/examples/openapi/RedocContextPathHttp4sServer.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"95888c11936a69ccbeff0697f21d58cb368cb112561022fcf6dd91ce691d029a"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project awsLambdaZio: awsLambdaZio has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"95085477e869a469581c1332c14d3d3cc96d1d4135f491a7c96ec37f6014e1fd"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: openapiCodegenCore: openapiCodegenCore: abstractness 0.08, instability 0.00, distance 0.92 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"018e5b934d483ff714b2c6bf8d076fd3ea1273a52278208a145845ed87654343"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: circeJson: circeJson: abstractness 0.00, instability 0.11, distance 0.89 \u2014 zone of pain \u2014 concrete and depended on by 8 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d8ab45d3e0793cbe2b1f59be21041b72494c5772ece5a73c6018aa6084dd5447"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: core: core: abstractness 0.17, instability 0.00, distance 0.83 \u2014 zone of pain \u2014 concrete and depended on by 40 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"deda6fd6cb2c3d74f7dc0fecd76cc36d1d58966a5bcb861efc01f7e84f6f398d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: catsEffect: catsEffect: abstractness 0.00, instability 0.20, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"edd5faca694929ac1ebd2a489b458dca7b50aa739fc9fc3264052e68d0030eed"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: serverCore: serverCore: abstractness 0.21, instability 0.00, distance 0.79 \u2014 zone of pain \u2014 concrete and depended on by 22 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"be1e06219a49351ca2e923c9747061cb3552ca4c84e7d009b8a6d5c119eceddf"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: zio: zio: abstractness 0.14, instability 0.13, distance 0.73 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c231dd99e3bf98d2d3bf9651887182bf161f14e283010867aa72de66e89a037f"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: cats: cats: abstractness 0.15, instability 0.13, distance 0.72 \u2014 zone of pain \u2014 concrete and depended on by 7 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"63b837135de7d862fcd8861e5aef6526f87285e1cc094422c04fa05c586b1724"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: EndpointAnnotationsMacro (LCOM4 4): EndpointAnnotationsMacro\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/scala-2/sttp/tapir/internal/EndpointAnnotationsMacro.scala"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b41867ec71068b2ec107ce0d2ceb4c1255314f0474ab6b46bb5ffb7163cc91a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: LimitedReadStream (LCOM4 4): LimitedReadStream\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":"server/vertx-server/src/main/scala/sttp/tapir/server/vertx/streams/LimitedReadStream.scala"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"58413892e8c6b6f9f83bb55ac24c0f5a370b45aba2d9ba90a0fcdf0915c880c1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ReadStreamMapping (LCOM4 4): ReadStreamMapping\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":"server/vertx-server/src/main/scala/sttp/tapir/server/vertx/streams/package.scala"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a18b6d37e97b8eea50e25ca5df3923ac55a12d13bc2236834f69292cd77a25"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 JavaScript/TypeScript suite: Coverage NOT MEASURED: the JavaScript/TypeScript half could not be measured \u2014 the jest suite in serverless/aws/cdk/src/main/resources/app-template/ ran and not one test passed (\u25CF Validation Error:), so the coverage would describe the failed run, not the code. Coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/OutComponent.scala: openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/OutComponent.scala changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 121 in OutComponent.outs at line 53. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:43:35 \u002B00:00\u0027 --until=\u00272026-11-14 00:43:35 \u002B00:00\u0027 --full-history --no-merges -- openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/OutComponent.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/OutComponent.scala"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b00f85bd72304312edcb4bc2b88de7c3019b24def486e73f07865243702a9ef"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: core/src/main/scala-3/sttp/tapir/generic/auto/SchemaMagnoliaDerivation.scala: core/src/main/scala-3/sttp/tapir/generic/auto/SchemaMagnoliaDerivation.scala changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in SchemaMagnoliaDerivation.derived at line 15. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:43:35 \u002B00:00\u0027 --until=\u00272026-11-14 00:43:35 \u002B00:00\u0027 --full-history --no-merges -- core/src/main/scala-3/sttp/tapir/generic/auto/SchemaMagnoliaDerivation.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala-3/sttp/tapir/generic/auto/SchemaMagnoliaDerivation.scala"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5b9ba56788adf25be134cf66d1cc676e5bd141b22d8920633be97ccdcd64fb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyServerHandler.scala: server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyServerHandler.scala changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in NettyServerHandler.channelRead0 at line 152. 2 of those changes were fix/bug commits, and the other 2 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:43:35 \u002B00:00\u0027 --until=\u00272026-11-14 00:43:35 \u002B00:00\u0027 --full-history --no-merges -- server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyServerHandler.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyServerHandler.scala"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"4624100af11b3162a9f25ffe51d918e8077001dba56a83e19ee3e2764254403f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InAndOutComponents.scala: openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InAndOutComponents.scala changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in InAndOutComponents.contentTypeMapper at line 63. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:43:35 \u002B00:00\u0027 --until=\u00272026-11-14 00:43:35 \u002B00:00\u0027 --full-history --no-merges -- openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InAndOutComponents.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InAndOutComponents.scala"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b330b2ad02bd47f073383cbdc9258b62595a6afe5c21fb8d86d09198389923cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/EndpointGenerator.scala: openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/EndpointGenerator.scala changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in EndpointGenerator.generatedEndpoints at line 157. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:43:35 \u002B00:00\u0027 --until=\u00272026-11-14 00:43:35 \u002B00:00\u0027 --full-history --no-merges -- openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/EndpointGenerator.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/EndpointGenerator.scala"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"583ea84822039b81c938edf68bf6aa1794abc91e6f61d605e439c1c96d7ad64c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/zio-http-server/src/main/scala/sttp/tapir/server/ziohttp/ZioHttpInterpreter.scala: server/zio-http-server/src/main/scala/sttp/tapir/server/ziohttp/ZioHttpInterpreter.scala changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 33 in ZioHttpInterpreter.toHttp at line 25. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:43:35 \u002B00:00\u0027 --until=\u00272026-11-14 00:43:35 \u002B00:00\u0027 --full-history --no-merges -- server/zio-http-server/src/main/scala/sttp/tapir/server/ziohttp/ZioHttpInterpreter.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/zio-http-server/src/main/scala/sttp/tapir/server/ziohttp/ZioHttpInterpreter.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c7e79fba9eb1981ec321b606507acd10c92964ea6fd4d53b35c7566528d845"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InComponent.scala: openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InComponent.scala changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in InComponent.ins at line 22. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:43:35 \u002B00:00\u0027 --until=\u00272026-11-14 00:43:35 \u002B00:00\u0027 --full-history --no-merges -- openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InComponent.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InComponent.scala"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1e503089580e8a7614a11029243f3d6a588f80d89f3580775edbc0e1be285c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala: server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in PlayServerInterpreter.toRoutes at line 39. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:43:35 \u002B00:00\u0027 --until=\u00272026-11-14 00:43:35 \u002B00:00\u0027 --full-history --no-merges -- server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fffff260c6868941f2ca39fb8a5169c1c3b653596341822eb45c608e108a64"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala: server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in PlayServerInterpreter.toRoutes at line 39. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-16..2026-11-14, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-16 00:43:35 \u002B00:00\u0027 --until=\u00272026-11-14 00:43:35 \u002B00:00\u0027 --full-history --no-merges -- server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"956c8deeb14886e9e564d14682361062c1c3ed0b6d06ce35023fded9cdf5bfc0"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 4 significant file(s) lose their only recent owner: core/src/main/scala/sttp/tapir/SchemaType.scala, core/src/main/scala/sttp/tapir/TapirAuth.scala, server/core/src/main/scala/sttp/tapir/server/interceptor/cors/CORSConfig.scala, server/netty-server/src/main/scala/sttp/tapir/server/netty/NettyServerRequest.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): 5 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (9 single-owned of 294 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; 294 of the 715 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)), anonymized user #3 (1 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: openapi-codegen/cli/src/main/scala/sttp/tapir/codegen/GenScala.scala, server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyMonadRequestBody.scala, core/src/main/scala-2/sttp/tapir/macros/SchemaMacros.scala, core/src/main/scala-2/sttp/tapir/internal/MapToMacro.scala, grpc/pekko-examples/src/main/scala/sttp/tapir/grpc/examples/PekkoGrpcSimpleBooksExample.scala."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: needed until Scala3 derivation supports \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tests/src/main/scala/sttp/tapir/tests/Validation.scala"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc5006934c62ba8d5169ffbfdf7102c02d76b85b637c55d8be228f4e15d70f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO implement this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/vertx-server/src/main/scala/sttp/tapir/server/vertx/streams/package.scala"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9919630c40a94c3b91bb72fa2625d427c9baca4c447cee6a00af45cb1184ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO implement this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/vertx-server/src/main/scala/sttp/tapir/server/vertx/streams/package.scala"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"09195fab4257f8be4725667dd9a7dc0ef5be9e9009aecbc81bb600409b7fba0e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO implement this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/vertx-server/src/main/scala/sttp/tapir/server/vertx/streams/package.scala"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"de78c98c91e95eccedc4083792edf4c42e8c35b176cd864a4fc01be5123c4f03"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: probably it should not throw if tapir interprets correctly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-mock-server/src/main/scala/sttp/tapir/server/mockserver/SttpMockServerClient.scala"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda7a39293db3e9ba000ffc507d3127b76f63737a727fc71f4c80db31c54a4ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: currently unused \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-mock-server/src/main/scala/sttp/tapir/server/mockserver/model.scala"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2ab2b284f8657ce11940345bb829bc999abb7352b0f625443a38ee22685ae1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO support for compressed body \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/pekko-grpc-server/src/main/scala/sttp/tapir/server/pekkogrpc/PekkoGrpcToResponseBody.scala"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"75489cf50f317715cac13bb7b1f7e916205749df41315e83259a29e9407b5fd3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO support for compressed body \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcToResponseBody.scala"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a77a246186d4d025a35f39c583b7895c74211e82e283ee9fa44f8d9bba5c5b2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO uncomment static content tests when Nima starts to correctly support \u0027*\u0027 in accept-encoding \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/nima-server/src/test/scala/sttp/tapir/server/nima/NimaServerTest.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7226599922a1050a551b54bdd3e7008773e21c0c23373084a13456cbb32bda0d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO can\u0027t we provide the length? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/jdkhttp-server/src/main/scala/sttp/tapir/server/jdkhttp/internal/JdkHttpToResponseBody.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb229992e1f6871734dff097503fe0953e71cc2fb2b18ec7a40f3cb8856966ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use MultipartDecoder.mixedMultipart once available? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/http4s-server/src/main/scala/sttp/tapir/server/http4s/Http4sRequestBody.scala"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fc9c94cbd334b9a67d1225ccfd4870f4b2a79e8bd9f5bef2e7868a75c98ba3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make this streaming \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/finatra-server/src/main/scala/sttp/tapir/server/finatra/FinatraServerOptions.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"7336a1da2f358f16cf2bcbdf5664e68f16c013a643f5cb968a623619a040846d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move to shared sources after https://github.com/softwaremill/sttp-model/issues/188 is fixed"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/test/scalajvm/sttp/tapir/server/interpreter/DecodeBasicInputsResultTest.scala"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41654cc915f39c7b64ce14f508b33123afd899d8224cbf84a3ae7a9f7adf65d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove headers? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/main/scala/sttp/tapir/server/interpreter/ToResponseBody.scala"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c635eacab56940e7111edfdbcdb2e9eb788f41a92bbd4a0b4b3281fae1d40c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ikhoon): Add StreamMessage.of(InputStream) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/armeria-server/src/main/scala/sttp/tapir/server/armeria/ArmeriaToResponseBody.scala"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7057db6e015f078ea3a1d1b6bf15fe863828c012095c1ca8b2af05595fb3c04"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Add StreamMessage.of(InputStream) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/armeria-server/src/main/scala/sttp/tapir/server/armeria/ArmeriaToResponseBody.scala"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"50227122934f7b520226c27e4c9e60ddf41aa10fb1a92724bbb4aea882edd8c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(ikhoon): Use upstream\u0027s ExchangeType to optimize performance for non-streaming requests \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/armeria-server/src/main/scala/sttp/tapir/server/armeria/TapirService.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"699c6d6e487b3261aea5281ec4715a17cedb16e48590922532157597b8eb5c46"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: parse \u0060xml\u0060 on schema and use it to configure these \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/xml/XmlSerdeGenerator.scala"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"790dfbdaf2212f0607fdea8f77fc0ad205971346a7a7c374b5b3f8ede5795bf7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Parameterisation here must come from openapi \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/xml/XmlSerdeGenerator.scala"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"f05eb02b936f35855bc2249fd8102b79e86e232beb9a7c8dd9cabe300688d700"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should be able to rename non-array fields too \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/xml/XmlSerdeGenerator.scala"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"581f8779ef978e92e28f01f7f1a2973848cfb4fc3670843f1a0a40bc272f8642"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle top-level object validations \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/validation/ValidationGenerator.scala"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d525378f366bd84902b8a50bbffd4f196d864622a24e1f4d83596207adacd4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Validation on inline defns \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InAndOutComponents.scala"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb032addc5d4afb52235a2a17500a16c6ff3d3bf7777bf5e2f1a0553c5aede4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // it should \u0022use custom schema for custom types\u0022 in { // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json/pickler/src/test/scala/sttp/tapir/json/pickler/SchemaDerivationTest.scala"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9d9e8d23c225b45bac09312f0d4ff34eae6a6928b74d874206b62c6145fb66a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO files support? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grpc/protobuf/src/main/scala/sttp/tapir/grpc/protobuf/EndpointToProtobufMessage.scala"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"222324cade2b65f2fc3bbe5cefb51fe951303abf995e8b837d4fa11423dfe4e9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grpc/protobuf/src/main/scala/sttp/tapir/grpc/protobuf/EndpointToProtobufMessage.scala"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbafb9c6aa95abeb50a8f55d7c18055747545a87012f3fc9fef052e428da712"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grpc/protobuf/src/main/scala/sttp/tapir/grpc/protobuf/EndpointToProtobufMessage.scala"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d61909e74e93740b106e97b6216c82c81cf9f0d905d8043f58dc43e2d4d8b6"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grpc/protobuf/src/main/scala/sttp/tapir/grpc/protobuf/EndpointToProtobufService.scala"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6626d69e93a9cf7e557e1418bf92b21ecc694ffd58bfceec69f3f671834f603c"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME we need to a better way for generating messages names \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grpc/protobuf/src/main/scala/sttp/tapir/grpc/protobuf/ProtobufScalarType.scala"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c05ab0b652daae75e9362db33b69ce64dc377801f43a101182d37b6b0ed8fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move back to VerifyYamlTest companion after https://github.com/lampepfl/dotty/issues/12849 is fixed"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/openapi-docs/src/test/scalajvm-3/sttp/tapir/docs/openapi/dtos/VerifyYamlCoproductTestData2.scala"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d0c4d35d37427969e65d4461a1f9a5ea15a0d49e68f27eb150b4690b5d0b9e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move back to VerifyYamlTest companion after https://github.com/lampepfl/dotty/issues/12849 is fixed"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/openapi-docs/src/test/scalajvm-3/sttp/tapir/docs/openapi/dtos/VerifyYamlTestData2.scala"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12e300b8e7548ae5f81c2294d97b2476322e6f31b0af46502cb02bf11d342c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move back to VerifyYamlTest companion after https://github.com/lampepfl/dotty/issues/12849 is fixed"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/openapi-docs/src/test/scalajvm/sttp/tapir/docs/openapi/dtos/VerifyYamlCoproductTestData.scala"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"642866fa69cb3586878cc152327009d5f98fa9cd8782c1c9877d8f8863b69da7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move back to VerifyYamlTest companion after https://github.com/lampepfl/dotty/issues/12849 is fixed"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/openapi-docs/src/test/scalajvm/sttp/tapir/docs/openapi/dtos/VerifyYamlTestData.scala"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb20f8dde72f985e095409dc415a9ee4641c5fe25c5e4f5a5b6da678fd3d4aa6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move back to VerifyYamlTest companion after https://github.com/lampepfl/dotty/issues/12849 is fixed"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/openapi-docs/src/test/scalajvm/sttp/tapir/docs/openapi/dtos/VerifyYamlValidatorTestData.scala"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca45465cbf84cd45163274f2337ed222e4e5de20dfb526a4df300a3da783dbf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove explicit encoders/decoders/schemas once recursive auto-derivation is supported in magnolia \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/openapi-docs/src/test/scalajvm-3/sttp/tapir/docs/openapi/dtos/VerifyYamlCoproductTestData2.scala"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1665a9a8f9a417f82040f4edfc268e773cec75a495ed2215265eee933b4a1c45"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove explicit encoders/decoders/schemas once recursive auto-derivation is supported in magnolia \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/openapi-docs/src/test/scalajvm-3/sttp/tapir/docs/openapi/dtos/VerifyYamlTestData2.scala"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21f543938dee54a99e0929f14b4b87b3bfaca986cdcae2588d674178fe0e891"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fix test \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/openapi-docs/src/test/scalajvm-2/sttp/tapir/docs/openapi/VerifyYamlEnumeratumTest.scala"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bf1fcf3f226397c0da219aff366d0026e85792b80c24c160c81ec83e07c90d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fix test \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/openapi-docs/src/test/scalajvm-2/sttp/tapir/docs/openapi/VerifyYamlEnumeratumTest.scala"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"df1712525e41453e5c446758729b34d9761677b013d241844fd77384ce71cf68"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fix test \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/openapi-docs/src/test/scalajvm-2/sttp/tapir/docs/openapi/VerifyYamlEnumeratumTest.scala"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18809a98e12f562b2b8ca3fb47da4e47b61df42572b5c1cc2e4c9927a903d05"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: missing \u0060RequestInfo.example(example: EndpointIO.Example)\u0060 and friends \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/asyncapi-docs/src/test/scala/sttp/tapir/docs/asyncapi/VerifyAsyncAPIYamlTest.scala"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"267a7dd4700b1b48010505dfd39bfe6883d211078fea323dcb9a9d237a8ee288"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use serverRequestFromUri in the tests and remove the below \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/tapir/TestUtil.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"de05440f9859364760ecb46a18fc26bd42a8b015dd70891a61fba784035173b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove work-around after https://github.com/lampepfl/dotty/issues/12241 is fixed"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/test/scala/sttp/tapir/annotations/DeriveEndpointIOTest.scala"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"25d0310aadc6febf6f8641c559997b7f8b57e81176f4bcc161e86d9b85a9b2cd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // @compileTimeOnly(canOnlyBeUsedInsideModify(\u0022each\u0022)) TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala-3/sttp/tapir/macros/ModifyMacroSupport.scala"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"924364867f15bdc78082c42ce7a91e0cb2ebe942b0e7947fc28775aff1dd3436"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // @compileTimeOnly(canOnlyBeUsedInsideModify(\u0022each\u0022)) TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/tapir/macros/ModifyMacroFunctorSupport.scala"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e9ef4f11da22ccf29ae89fee3f9f1b6f7911440887a462689fa575bfca8c647"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // @compileTimeOnly(canOnlyBeUsedInsideModify(\u0022each\u0022)) TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala/sttp/tapir/macros/ModifyMacroFunctorSupport.scala"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22d1f84f3b522797976188f8825bc1c23c6ab4aa96ddb5e61d66dae3ce2572e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: also handle Auth inputs, by adding the description to the nested input \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala-3/sttp/tapir/internal/AnnotationsMacros.scala"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebd38dcfef906ceb4eb82ec2fa174baf5b0ab43a5036a1b64feee95aa352549"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make private[tapir] once Scala3 compilation is fixed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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-3/sttp/tapir/internal/AnnotationsMacros.scala"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"8864def89e46a0897b75960d1b177b40a35c1f8d9aab939ce7cee642137277da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make private[tapir] once Scala3 compilation is fixed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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-3/sttp/tapir/internal/SNameMacros.scala"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9bc0d0fb395f99703e2c1ca7a32393edd21bd8102dd080e934c65675ae55de4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use AttributeKey \u0026 AttributeMap from sttp-shared in Tapir2 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/tapir/attribute.scala"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"8964d5c25c1a7e391d6b31c3fdf2b34a67bc1def1188302ea4c0eaed178d0c59"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make private[tapir] once Scala3/JS compilation is fixed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/tapir/internal/package.scala"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"f96e1ae1ed3f0b826b2c3fd769c2737d4ee5301d4efd3cd4810f7d99bf7a9dd3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make private[tapir] once Scala3/JS compilation is fixed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/tapir/internal/package.scala"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23b8d81e7e5dd775fa7899854cb3dbad80dd6daf59f5f19b189c07d72eccc85"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: test root path \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/tests/src/main/scala/sttp/tapir/client/tests/ClientBasicTests.scala"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bd1cebf239ec4e3f7d7b78d3e619eb948133b4c3218927ae3f859adbd2b8ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: tests for ping/pong (control frames handling) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/tests/src/main/scala/sttp/tapir/client/tests/ClientWebSocketTests.scala"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f7c9e95b9534aa3be88b30aace9068da8a9e7688f9fb5df6a89be2c640eb4ad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment repeated across 12 files: The identical TodoComment appears in 12 files (12 occurrences) \u2014 almost certainly one boilerplate line from a single migration or decision, not 12 independent debts. Fix the systemic cause once rather than file-by-file. Text: \u0022// TODO support fragmented frames\u0022. Source code is not a task system: track the cleanup where tasks live. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client4/src/main/scalajvm-2/sttp/tapir/client/sttp4/ws/akkahttp/WebSocketToAkkaPipe.scala"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ca11a2e1a745cb673c3ae70fcf0f4c0dfb38b4b055fb62e8e16e08962aa071d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Consider using bodyAsSource to not load the whole content in memory \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/play29-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb929112a98737a039dca882d829679e28b556ef3759793d0f8fd63e2ac7dc17"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Consider using bodyAsSource to not load the whole content in memory \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"665bc865c4996385b7d4fa6ea24a4b8d9c3229c034342152a71062d35f018f1f"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: doc/adr/0001-explicit-encode-function-on-validator-enum.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":"doc/adr/0001-explicit-encode-function-on-validator-enum.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f379c5032fa99ac226647e8dd127adf66faa7f153b6688168303d9ea0d829b3"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: doc/adr/0003-shape-of-ios.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":"doc/adr/0003-shape-of-ios.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa86058e7fa9f07d6dc1833ffd7f90c13dfda33612aa0ddbcd96ae67ddf4401"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: doc/adr/0004-codecs-parametrised-by-raw-values.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":"doc/adr/0004-codecs-parametrised-by-raw-values.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83df61334217abb518d9a4dcb4da70208641929e2f027dfd29630ff0fb75734c"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: doc/adr/0005-rethinking-codecs.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":"doc/adr/0005-rethinking-codecs.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb81212975c0684b69186bb1d62dbcbf54588c8cc3962e1480588d2c40142ab2"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: doc/adr/0006-partial-server-logic.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":"doc/adr/0006-partial-server-logic.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"669b850f00b42a00e334be427a2b55d2279a97dcf78aa8e540dcb614504b8e7b"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: doc/adr/0008-effectful-maps.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":"doc/adr/0008-effectful-maps.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"445e6d0a85965f1be6c8b5e96381e606ec6a297a6f38eebdf4be41e5853aa002"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: doc/adr/0009-lists-are-optional.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":"doc/adr/0009-lists-are-optional.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ed4832191b947d72a0a516fb368733987f7e8928423952ea2390ae6edec471"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: doc/adr/0010-security-refactoring.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":"doc/adr/0010-security-refactoring.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b54f15f3b76dbb837f0022c10410deb8cb540a767fb5f924effcb59c90ff01"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: doc/adr/0011-dedicated-schema-macros.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":"doc/adr/0011-dedicated-schema-macros.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60ca9d9a25f865683bc0545a0383d7b368125948e8be80b47d90dd871b73af1"}},{"ruleId":"D20","level":"note","message":{"text":"ADR has no Consequences section: doc/adr/0012-extracting-schema-as-a-module.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":"doc/adr/0012-extracting-schema-as-a-module.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88f2416dd480733b56517e42ab3d1bda4a85bddee3aa6a1029890a8d9b67418c"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060resolveURL\u0060 spells \u0060URL\u0060 where 31 names in the project spell it \u0060Url\u0060: 31 of 33 names in project repository spell the token \u0060Url\u0060 (31 of 33; unit: names in project repository containing \u0060Url\u0060). Peers: oauth2.authorizationCode(authorizationUrl) (core/src/main/scala/sttp/tapir/TapirAuth.scala:81); oauth2.authorizationCode(tokenUrl) (core/src/main/scala/sttp/tapir/TapirAuth.scala:81); oauth2.authorizationCode(refreshUrl) (core/src/main/scala/sttp/tapir/TapirAuth.scala:81); oauth2.authorizationCodeFlow(authorizationUrl) (core/src/main/scala/sttp/tapir/TapirAuth.scala:107); oauth2.authorizationCodeFlow(tokenUrl) (core/src/main/scala/sttp/tapir/TapirAuth.scala:107). Rename to \u0060resolveUrl\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scalajvm/sttp/tapir/static/Resources.scala"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa8eae12683967bb63800647b76f6528b78dfff33587d32f27df4326ee39d36"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060baseServerURL\u0060 spells \u0060URL\u0060 where 31 names in the project spell it \u0060Url\u0060: 31 of 33 names in project repository spell the token \u0060Url\u0060 (31 of 33; unit: names in project repository containing \u0060Url\u0060). Peers: oauth2.authorizationCode(authorizationUrl) (core/src/main/scala/sttp/tapir/TapirAuth.scala:81); oauth2.authorizationCode(tokenUrl) (core/src/main/scala/sttp/tapir/TapirAuth.scala:81); oauth2.authorizationCode(refreshUrl) (core/src/main/scala/sttp/tapir/TapirAuth.scala:81); oauth2.authorizationCodeFlow(authorizationUrl) (core/src/main/scala/sttp/tapir/TapirAuth.scala:107); oauth2.authorizationCodeFlow(tokenUrl) (core/src/main/scala/sttp/tapir/TapirAuth.scala:107). Rename to \u0060baseServerUrl\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/scalar/src/main/scala/sttp/tapir/scalar/ScalarConfiguration.scala"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ecd01939968489c843536071f7decdf70b440d05475b34e8296483ae460312"}},{"ruleId":"D21","level":"note","message":{"text":"\u0060vertxFutureToIo\u0060 spells \u0060Io\u0060 where 22 names in the project spell it \u0060IO\u0060: 22 of 23 names in project repository spell the token \u0060IO\u0060 (22 of 23; unit: names in project repository containing \u0060IO\u0060). Peers: EndpointAnnotationsMacro.makeHeaderIO (core/src/main/scala-2/sttp/tapir/internal/EndpointAnnotationsMacro.scala:43); EndpointAnnotationsMacro.makeHeadersIO (core/src/main/scala-2/sttp/tapir/internal/EndpointAnnotationsMacro.scala:48); EndpointAnnotationsMacro.makeCookiesIO (core/src/main/scala-2/sttp/tapir/internal/EndpointAnnotationsMacro.scala:55); EndpointAnnotationsMacro.makeBodyIO (core/src/main/scala-2/sttp/tapir/internal/EndpointAnnotationsMacro.scala:74); AnnotationsMacros.makeHeaderIO (core/src/main/scala-3/sttp/tapir/internal/AnnotationsMacros.scala:209). Rename to \u0060vertxFutureToIO\u0060. [rule N6]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"perf-tests/perf-tests-e2e/src/main/scala/sttp/tapir/perf/vertx/Vertx.scala"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"305eb470f4a14c40fd089a141512debdbdbf24a5f152444340281ebcf4683a7e"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 3 project(s) overshoot their size bounds, lowering Project Cohesion to 3.3/10. The most over is \u0060(repository root)\u0060 (56721 LoC, 1750 module-visible types across 213 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"18b19f247152b5c87af5bf97aaa161568436f75019f31efd50a5da36ae6eea4e"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"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":"4b7e202a747bafbe73bbf7ea084e7030fb32220cd71da160ad3120cc66252a80"},"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":"dd65e2f04abdf477e5d882fff12a00d1ee228e0a527014aeb9b4139224ebe812"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"8109dce38defa2356a4dadc0d0de54d2a3068d55e0fa05a6643a42adc1a4628c"},"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":"482e3b19efd040fb2215efbc5e65f5b9996234817368c5a9198eb89910e46231"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bc17439367157c6f6ff8590f4dfe29bc3a0ce4e328d99df310f8a49a2877af10"},"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":"560590e100ac4a365ade97f8511d430d2bd2fdc5a02148c14c2bee11801ace92"},"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":"d72f5e65200e5dc699b908646d208b108f12b07b088c346409cabcda2df14a23"},"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":"9da766a08bf6650c9e8db65a220bafd0dd3953f124e16ab6312d94a7ac436623"},"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":"e21d7cbfe22ffa658f860ac916e9df9668e5487f7455139c426205d98614d7d3"},"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":"c5214498535a86f3ed448bb4cb816be0b7948aa0abaa8e1196cae484e3161c5f"},"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":"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":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"19e97ef27a1088f3104b0970adc0f76ee2e4cebbb01f0fbef40973471cf279b9"},"taxa":[{"id":"CWE-269","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","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":"8154354486835492b1be24bcb2f793e0db087f29a8673f33b766fdfa39e16332"},"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":"c649e65a20613f30d8a0a1d95377bed56b06d53a0139fa116baa407b886e6dfc"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"95740b583969c78c7132f35629806263a32606dcd6d14eefa8ad5abaeaae0af3"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1352","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-7","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b6722f9a5008165f56b6600902a4db8048e0f7e0e371912841afab9ed5ffb641"},"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":"a66d067d8513c75ec59f9cf157adcc4792e8d267d7b44ba49c65b54fdd393f6c"},"taxa":[{"id":"CWE-522","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":"787ba2e1d74d902a86936270204512812387826c9c4f4bda126ec0260f74f3fe"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json/pickler/src/main/scala/sttp/tapir/json/pickler/Pickler.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b7a035b91b5dc1a393886a817817e6d82f40f4cca504b25bf145e09c9a481e8"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 88 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/ws/WebSocketSttpClientInterpreter.scala, integrations/iron/src/main/scala/sttp/iron/codec/iron/TapirCodecIron.scala, client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/stream/StreamSttpClientInterpreter.scala, files/src/main/scalajvm/sttp/tapir/files/TapirStaticContentEndpoints.scala, client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/SttpClientInterpreter.scala, metrics/datadog-metrics/src/main/scala/sttp/tapir/server/metrics/datadog/DatadogMetrics.scala, server/sttp-mock-server/src/main/scala/sttp/tapir/server/mockserver/SttpMockServerClient.scala, metrics/zio-metrics/src/main/scala/sttp/tapir/server/metrics/zio/ZioMetrics.scala (and 80 more) (89 orphaned of 294 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; 294 of the 715 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/ws/WebSocketSttpClientInterpreter.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec045ebdfc8bc923d54b2a1eeb1e538aec6a7bae45018d3ded097570b645e4a9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/iron/src/main/scala/sttp/iron/codec/iron/TapirCodecIron.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"606137f900ac7831e2a5c5f41aa848b97e6cc149f82331aff009a9e3934f9794"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/stream/StreamSttpClientInterpreter.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a020f72e9edb113f5fa13ea082e904e92d619838503e4df549f0e73ae2a24be"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"files/src/main/scalajvm/sttp/tapir/files/TapirStaticContentEndpoints.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e5f85acc49780200b45257572b1d0e184019d7db4c1206993e3fbd08a6e6a1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/SttpClientInterpreter.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9636bc017498816b51e9ba98fba573874def68c962f54a873b69fbcc911ecd7f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/datadog-metrics/src/main/scala/sttp/tapir/server/metrics/datadog/DatadogMetrics.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e92899439bba7a3f33a8944b1f26c1c10d49117507c3881409677d154e1c58"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-mock-server/src/main/scala/sttp/tapir/server/mockserver/SttpMockServerClient.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f69269f95423927c203c6cb73a8c3f504012b2d586a9bf9c3fbf7e45aa944a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/zio-metrics/src/main/scala/sttp/tapir/server/metrics/zio/ZioMetrics.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3e6ee38fa211b01de483856ad24a0c033cbedbfafe24e4de018916b1aa7620"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"observability/zio-opentelemetry/src/main/scala/sttp/tapir/server/ziopentelemetry/ZIOpenTelemetryTracing.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"47213f0fae8309042a1954a2f1570480e2e2c8a7726c01d799ec4608dc487b10"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/play29-server/src/main/scala/sttp/tapir/server/play/PlayToResponseBody.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7b2a847702f117c0a6e3c3ba8fb11b08b929c006b8ae1a6db1919244deb214"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/core/src/main/scala/sttp/tapir/server/interceptor/cors/CORSInterceptor.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6324f06642bfff08ec4c407015a98a444d2ef2642d2b999057d643880406ff2d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/jdkhttp-server/src/main/scala/sttp/tapir/server/jdkhttp/internal/ParsedMultiPart.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dea27db77b417e9de55f2f69d91f46b3aa5b5ae7908b733abf298a189207556"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grpc/protobuf/src/main/scala/sttp/tapir/grpc/protobuf/EndpointToProtobufMessage.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7aafe58120b794dbbc85be883bca052a4bf2fda9af84aeb7e50b55ecb520f11"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9eed82d45bdbb94e18f7c6565cc65c5acaa61f2228e7c859292217ff188dcec"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/zio-http-server/src/main/scala/sttp/tapir/server/ziohttp/ZioWebSockets.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"08caea910493d778bd39b7a8ece32d6c89174c55703c84af465e74e975d9f163"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoToResponseBody.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6939ca558425f0080bb6c7cc094773837d9f55a5f40c79f6faa6203a8090a37f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/play29-server/src/main/scala/sttp/tapir/server/play/PlayRequestBody.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f81a6862db0b27b73279647ebefc6252016f94a5c5580563cda4099714f29d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/SttpRequestBody.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a8265223e434bc0f4b9bc43fde06bb0214cb6f9ac6feb18b709c95d8dc0b3a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serverless/aws/sam/src/main/scala/sttp/tapir/serverless/aws/sam/EndpointsToSamTemplate.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6fbadd50ff313097d2cbcb28121484ab37fe611ce65f778704e57209064eda6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala-2/sttp/tapir/internal/EndpointInputAnnotationsMacro.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c2481e6dcdad6b227d7f81f5c7598f44076c27b2132cedf8d4facfc42ce6a9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serverless/aws/sam/src/main/scala/sttp/tapir/serverless/aws/sam/Printer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cfe9388597a640f2ef4505612f8e8af239b54e47f0a25ba3db0ae559b75cd7d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json/pickler/src/main/scala/sttp/tapir/json/pickler/CreateDerivedEnumerationPickler.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ea3b0640c361abc18596480c3de0a06a10c9414a63b615e1ed506127c7c4bd"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-mock-server/src/main/scala/sttp/tapir/server/mockserver/impl/JsonCodecs.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0723b9abcdd5962142c98bd49f2de98b664328bc375278ae99e7b9d63a1b3c2c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/jdkhttp-server/src/main/scala/sttp/tapir/server/jdkhttp/internal/JdkHttpToResponseBody.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c8fe9ad75b65a1f453c56b594c3b9e99ab28aa5be9760e8fcc12397171efc7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testing/src/main/scala/sttp/tapir/testing/EndpointVerifier.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38bad079af0692b3078e30eb5c9294cfa18736297a3c7883265931772230f30c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serverless/aws/terraform/src/main/scala/sttp/tapir/serverless/aws/terraform/TerraformResource.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"496a4e0b4ceba1fb7cd2ea7a800912299aaeeb070af302a5bfd9d06e4e5a5231"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tracing/otel4s-tracing/src/main/scala/sttp/tapir/server/tracing/otel4s/Otel4sTracing.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c30f920ad7a8d5116234c560182aa92952e584beeeaf3d6a210bdf5c4582cdb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoHttpServerInterpreter.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4f353e9fe3f5737c200430958572b29c5336427251f80248b7faaa2136a215"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/jdkhttp-server/src/main/scala/sttp/tapir/server/jdkhttp/JdkHttpServerOptions.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"63a1327ffc532f2993fc66f609ee8cfcaa8693d9bf1bde4f3427a6a972b66c2d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"perf-tests/perf-tests-e2e/src/main/scala/sttp/tapir/perf/pekko/PekkoHttp.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"116678cd693e4fb7bb20f4d56e7dcf283798a39b03f9745fcbc59d15bbd96ee7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"perf-tests/perf-tests-e2e/src/main/scala/sttp/tapir/perf/http4s/Http4s.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce40d2fa4fdb00c78fbb5da5a003df8b8e73988edefc7de6ad6298044c54e4b7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyToResponseBodyCommon.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab86d9a9a50de67eda6b0ba6bdacd090dbd767c8e382633fd4361cfe9a78d259"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tracing/otel4s-tracing/src/main/scala/sttp/tapir/server/tracing/otel4s/Otel4sTracingConfig.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2f9427ade8cc982bb2ecf6020e5a01259f231f4c31f6c9da013e1766f01f24"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json/pickler/src/main/scala/sttp/tapir/json/pickler/Readers.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07d6f71bf0f92ae557fea83595ef01743752ff94cc131a3331186cf9cf51c8a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"perf-tests/perf-tests-e2e/src/main/scala/sttp/tapir/perf/play/Play.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fffd074005c8fc8c763e1a5569c0f3c0782e31e3b1e410ad8878686299926faa"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client4/src/main/scalajvm/sttp/tapir/client/sttp4/ws/fs2/WebSocketToFs2Pipe.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"555ed73fb13002cf817665b20ed2fd36015cea1672aca77dd8a553d2ed3a4e45"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/reactivestreams/SubscriberInputStream.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8260565414a5292b627810607fb6e4291b2ceb0c94a0092477e8affe3a9b2a53"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/zio-http-server/src/main/scala/sttp/tapir/server/ziohttp/ZioHttpRequestBody.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67edb28709b964c927834aed699321616a9565bf733aaed134a0b4af5b4330ff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"files/src/main/scalajvm/sttp/tapir/files/Resources.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"954134daaec4b113b85f08291b3f469638de5f4d5d2a4aea93cdd5b2e1f69c86"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/jdkhttp-server/src/main/scala/sttp/tapir/server/jdkhttp/JdkHttpServer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9bb9c9e70aa4c88f74ca0f0e308cef8536ee4b3a12b9fc0461c1a36c57906c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-stub-server/src/main/scala/sttp/tapir/server/stub/TapirStubInterpreter.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"511eaee8fc361a8e9267ca2c1674f78359c83a98851fd389486928734baed0ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json/pickler/src/main/scala/sttp/tapir/json/pickler/Writers.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38042e288271aef5d0b7b17a90a92be93f14f47fdfd31877922a02c0f52c5346"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serverless/aws/lambda-cats-effect/src/main/scala/sttp/tapir/serverless/aws/lambda/runtime/AwsLambdaRuntimeInvocation.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2235f48c1ab40f0dd192217ecaef8051dc448ce472c397f01b759417d9b3b66d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/armeria-server/src/main/scala/sttp/tapir/server/armeria/ArmeriaToResponseBody.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdda74aac3643dfe388fb1321d9dfa6aad592e4e607f2d57dfded5bc0e7e9c49"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json/pickler/src/main/scala/sttp/tapir/json/pickler/macros.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"143777f756dde799a6ec8d2e3c8633880f989317a66fd3324a4621ad4a251811"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/reactivestreams/FileRangePublisher.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1221dc336a7404b66e583d5fdb6db3c5bde85e68edb9fcf9616d2262c8e321"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/armeria-server/cats/src/main/scala/sttp/tapir/server/armeria/cats/TapirCatsService.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b062623aac94efeed055d2a4e3354f259d6398a6069afa6d4134e32e172b28d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/armeria-server/zio/src/main/scala/sttp/tapir/server/armeria/zio/TapirZioService.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0655a65aeb7441399e9b23398aee6888404b3175df2f1717c724a4dd4d63c951"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/play29-client/src/main/scala/sttp/tapir/client/play/PlayClientInterpreter.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2b680e49e746299f956eb0410cebc2c51b8ebcb1494ad8569c442c87c59ef7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/src/main/scala-3/sttp/tapir/internal/SchemaAnnotationsMacro.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ad0c2ef8887d547d77186ff107321db64c309b33ea80a13a7aaa42a614af620"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/reactivestreams/InputStreamPublisher.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a8eecdb8e349d58941d5424fb9953865757817d205722f0d8cef91393835e2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client4/src/main/scalajs/sttp/tapir/client/sttp4/ws/fs2/WebSocketToFs2Pipe.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f8f2b6c8382862b6642be5684e41bab86498649d316469b50a5f0a688675b31"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/pekko-grpc-server/src/main/scala/sttp/tapir/server/pekkogrpc/PekkoGrpcToResponseBody.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e23a7635902b38682b4977c9f6896d82ea8780e92166e842cc4d3d70c798c38f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/vertx-server/src/main/scala/sttp/tapir/server/vertx/streams/domain.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca08f7fe75b3013369e016139676bd6dd0854f670ce6cce3da96335ab77a89bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"testing/src/main/scala/sttp/tapir/testing/EndpointVerificationError.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5b3e992c04df735dd86ac23485c617258f56b86e345b5411f6b3c58d47934d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcToResponseBody.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b795ec3b3765c15bc201f3498b13ce9e70d6d08db64ca5e76452ae3f2d8684"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grpc/protobuf/src/main/scala/sttp/tapir/grpc/protobuf/EndpointToProtobufService.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"13944869f8dd41c78329d0ed898e9452532a71e06f25e6dc4d07dc3d7c18da29"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/vertx-server/src/main/scala/sttp/tapir/server/vertx/encoders/package.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cde684198c997d289595270aa6887251dbc26bb0ec6127ae5b3a2f04f7edc7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client4/src/main/scalajvm/sttp/tapir/client/sttp4/ws/zio/WebSocketToZioPipe.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"071be52cdf3f393dee0deae1e9ec0abac4186f5b160faff3941ba87e09e69f28"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client4/src/main/scalajs/sttp/tapir/client/sttp4/ws/zio/WebSocketToZioPipe.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31b0f596af84701db75e0fb267943b48c82dcfc60dbf6953708ebf487362afc2"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client/src/main/scalajvm/sttp/tapir/client/sttp/ws/zio/WebSocketToZioPipe.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15a3616f3b7ea78cab1e954f23d2fc34cde486130a39db133100a582e79bb24f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client/src/main/scalanative/sttp/tapir/client/sttp/SttpClientInterpreterExtensions.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17911e3d05cdbbc6b2c0a41706a39cd7286f3dbc771e5acbc3776069cc18c9f6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/ws/WebSocketFrameConverters.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c318e8b99afbba581daba88e4dc634ff6c89af3fc61d1b43e8273cf61fecc64f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-mock-server/src/main/scala/sttp/tapir/server/mockserver/model.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47795e520ec5caa8eb30fdc1649406a68686a7961b9cba32a8418185dfd293a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serverless/aws/sam/src/main/scala/sttp/tapir/serverless/aws/sam/AwsSamOptions.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf6bcdfcad706d42028fb2970f6639340a6e4b89dafc6b0112ae29ae8f6cf6f3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serverless/aws/sam/src/main/scala/sttp/tapir/serverless/aws/sam/model.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b67956ffc90b418c3e4d27ff3981b65b31c386e6edda5ca93f6ca36a9bee5c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/vertx-server/src/main/scala/sttp/tapir/server/vertx/streams/package.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"01eb86da99b720e404bbf84fe91ea4f37c011b85b469f9e5ddc2f37db25cc651"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serverless/aws/sam/src/main/scala/sttp/tapir/serverless/aws/sam/AwsSamTemplateEncoders.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"64e834c0deded0db62ffbe379c0b7eb498e1bc722d0659697b0a9645c5d0c466"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoHttpServerOptions.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10d678ad35ce152a7c43d28a21a73734ffcbaca4495dec7934ae50de9a5f551a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerOptions.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1833b9ffa560e017063998c7c1b275dd820c892bf34c118c1f9ccf38a17bf9c7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/armeria-server/cats/src/main/scala/sttp/tapir/server/armeria/cats/ArmeriaCatsServerOptions.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d39d0595998b61d204a0e109c9e00e6bfc7eba273ae76fe7a4af6b7069e044f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/armeria-server/src/main/scala/sttp/tapir/server/armeria/RouteMapping.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f691befdb3aef9838714426b2bf1c8d88d694b5dbbd94afb3a6aa4371fabc9e7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/zio/src/main/scala/sttp/tapir/server/netty/zio/internal/ZioStreamCompatible.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d06bf1a4c73882d2892a1b13e22db36f9968445f195ca1653279484340c54af"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"grpc/protobuf/src/main/scala/sttp/tapir/grpc/protobuf/ProtoRenderer.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d294c3fcc3664610004f8e00a04f0bce02b3dbba8692ba20f40e59bb1b65cd53"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyToStreamsResponseBody.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf17c81528d61136d8088a6c7f36d8cb1572653283992774435de193a29c14af"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/nima-server/src/main/scala/sttp/tapir/server/nima/internal/NimaToResponseBody.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2066465d424f5148f8fd0f86ca11b56b25bbb74a0f35794e1868c9bb23e1764"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/armeria-server/zio/src/main/scala/sttp/tapir/server/armeria/zio/ArmeriaZioServerOptions.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34f9db93cf01db477e823cc90079a6b7a4cb4f1e7a4acaaa6192a52497134cc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/nima-server/src/main/scala/sttp/tapir/server/nima/NimaServerInterpreter.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3c91b144efdd29070ec2f6eec73b19bcf27944cb6205af0b569adf42bc0df9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"json/pickler/src/main/scala/sttp/tapir/json/pickler/PicklerConfiguration.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"589d0c4aa0ab327d83ed3909d87c60374a06958bd75f2a9276d91088bcf19f5c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"integrations/iron/src/main/scala/sttp/iron/codec/iron/UnionTypeMirror.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2d6b8d841abb7bdeda29802bf2d4d4a4c96b38768dc755248d346fcdb3f3ac4"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"perf-tests/perf-tests-e2e/src/main/scala/sttp/tapir/perf/apis/Endpoints.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"10287013321c64d6c6261370278be4bc8b6c8738807a53b77dcf7911cae8c376"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/armeria-server/src/main/scala/sttp/tapir/server/armeria/ArmeriaFutureServerOptions.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c64e85dc335fcb05a9ce075842d9dab430ef3bebc4e1e3bc955cf666cb3529cf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serverless/aws/cdk/src/main/scala/sttp/tapir/serverless/aws/cdk/internal/AppTemplateFiles.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa65e144490bfe1417f7c6c6f2f1f7763c058516c557a1923c13662884e17b1"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/armeria-server/src/main/scala/sttp/tapir/server/armeria/TapirFutureService.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ded575d641728d5e18312d881b915c4ed00604c668318839e64f05dfe0e769"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcRequestBody.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9d2e328c8241b246457f414e0ef65a736a2a150628105848fc04f880911b7ff"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/pekko-grpc-server/src/main/scala/sttp/tapir/server/pekkogrpc/PekkoGrpcRequestBody.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a88ce8d4197f6a684d04dbc70b4f51da327a5ba0f1c72e79210b6415791d8f3b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/nima-server/src/main/scala/sttp/tapir/server/nima/internal/NimaServerRequest.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9501b45f3dbe155de9cb0861352f25e79ad0bc00404301e96b815f0bcf90c2b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/ws/WebSocketEndpointToSttpClient.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0236d7769eebe9bc949b2cba6a15e85814f8ff0ce04d5cd2ef736531dd19bad8"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: Http4sServerRequest.scala \u2194 VertxServerRequest.scala: \u0060server/http4s-server/src/main/scala/sttp/tapir/server/http4s/Http4sServerRequest.scala\u0060 (context http4s-server) and \u0060server/vertx-server/src/main/scala/sttp/tapir/server/vertx/decoders/VertxServerRequest.scala\u0060 (context vertx-server) sit in DIFFERENT parts of the tree yet change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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 \u006087cb4121\u0060 Improve showShort to avoid parsing Uri (#3590); \u0060ed84510f\u0060 Add attributes to server request (at that commit the file was still \u0060server/vertx/src/main/scala/sttp/tapir/server/vertx/decoders/VertxServerRequest.scala\u0060); \u0060c4be23e9\u0060 Simplify the creation of a changed ServerRequest (at that commit the file was still \u0060server/vertx/src/main/scala/sttp/tapir/server/vertx/decoders/VertxServerRequest.scala\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/http4s-server/src/main/scala/sttp/tapir/server/http4s/Http4sServerRequest.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9790786d84253f0a7490e21b41211491ba5db0d6c4e163b1a980ea79652ea6e2"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: EndpointToPlayClient.scala \u2194 EndpointToSttpClient.scala: \u0060client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala\u0060 (context play-client) and \u0060client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala\u0060 (context sttp-client) sit in DIFFERENT parts of the tree yet change together 59% of the time (19 of the 32 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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 19 shared commits counted here, the most recent 3 are \u006032e693b4\u0060 Apply the mapping of oneOfBody(...).map(...) when used as an input (#\u2026; \u00606004c64b\u0060 Support flag query parameters; \u0060e5d49739\u0060 Each one of body variant corresponds to a content type range \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb499a78b8be029f320615466f540596738e25db5b18bf93f372b9e73ac16f65"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: EndpointToHttp4sClient.scala \u2194 EndpointToPlayClient.scala: \u0060client/http4s-client/src/main/scala/sttp/tapir/client/http4s/EndpointToHttp4sClient.scala\u0060 (context http4s-client) and \u0060client/play-client/src/main/scala/sttp/tapir/client/play/EndpointToPlayClient.scala\u0060 (context play-client) sit in DIFFERENT parts of the tree yet change together 55% of the time (12 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \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 12 shared commits counted here, the most recent 3 are \u006032e693b4\u0060 Apply the mapping of oneOfBody(...).map(...) when used as an input (#\u2026; \u00606004c64b\u0060 Support flag query parameters; \u00600a38edc0\u0060 Fix compile issues \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client/http4s-client/src/main/scala/sttp/tapir/client/http4s/EndpointToHttp4sClient.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c52a2ca1baad9c7490e37f05686c283709a25bcd6e82d5ec9afb96d5090691d8"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: VertxCatsServerOptions.scala, VertxFutureServerOptions.scala, VertxZioServerOptions.scala: 3 files \u2014 \u0060server/vertx-server/cats/src/main/scala/sttp/tapir/server/vertx/cats/VertxCatsServerOptions.scala\u0060, \u0060server/vertx-server/src/main/scala/sttp/tapir/server/vertx/VertxFutureServerOptions.scala\u0060, \u0060server/vertx-server/zio/src/main/scala/sttp/tapir/server/vertx/zio/VertxZioServerOptions.scala\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/vertx-server/cats/src/main/scala/sttp/tapir/server/vertx/cats/VertxCatsServerOptions.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"369f6ef5888a339b3947e6b98d0cb0d77389ae97e6bde6e09017b9023cea544c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling clique: VertxCatsServerInterpreter.scala, VertxFutureServerInterpreter.scala, VertxZioServerInterpreter.scala: 3 files \u2014 \u0060server/vertx-server/cats/src/main/scala/sttp/tapir/server/vertx/cats/VertxCatsServerInterpreter.scala\u0060, \u0060server/vertx-server/src/main/scala/sttp/tapir/server/vertx/VertxFutureServerInterpreter.scala\u0060, \u0060server/vertx-server/zio/src/main/scala/sttp/tapir/server/vertx/zio/VertxZioServerInterpreter.scala\u0060 \u2014 all change together with no explicit dependency: a fully-connected co-change clique, not 3 separate couplings. They share one concern (thin parallel siblings over a common abstraction), so extract the shared part into ONE unit and the whole clique\u0027s coupling clears at once \u2014 you do not need to break each pair individually."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/vertx-server/cats/src/main/scala/sttp/tapir/server/vertx/cats/VertxCatsServerInterpreter.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b85c7667f992956b1554b554ec2fad1dcea1eac3271e4cec97e149e0ac9d452"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: NettyCatsServerOptions.scala \u2194 NettyFutureServerOptions.scala: \u0060server/netty-server/cats/src/main/scala/sttp/tapir/server/netty/cats/NettyCatsServerOptions.scala\u0060 and \u0060server/netty-server/src/main/scala/sttp/tapir/server/netty/NettyFutureServerOptions.scala\u0060 change together 77% of the time (10 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u006013f2fa22\u0060 Change the default options of Netty servers to return a 404, when no \u2026; \u0060ce082aa7\u0060 Remove dependency on logback-classic and scala-logging where unnecess\u2026; \u0060dd2c86b6\u0060 Adjust Netty Cats Implementation. Use own type for socket distinction. (at that commit the file was still \u0060server/netty-server/src/main/scala/sttp/tapir/server/netty/NettyCatsServerOptions.scala\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/cats/src/main/scala/sttp/tapir/server/netty/cats/NettyCatsServerOptions.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddae8fdffcc65a7dae41d5b4641732ddbc55a903f24d7bbfaf66ba68e69c98d4"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: OpenapiCodegenKeys.scala \u2194 OpenapiCodegenTask.scala: \u0060openapi-codegen/sbt-plugin/src/main/scala/sttp/tapir/sbt/OpenapiCodegenKeys.scala\u0060 and \u0060openapi-codegen/sbt-plugin/src/main/scala/sttp/tapir/sbt/OpenapiCodegenTask.scala\u0060 change together 63% of the time (12 of the 19 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u0060504091be\u0060 codegen: Disambiguate when shared response model shared between multi\u2026; \u0060650cca47\u0060 codegen: various minor fixes and improvements (#5374); \u006059ea8bec\u0060 codegen: Add support for custom jsoniter-scala serde config (#4598) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"openapi-codegen/sbt-plugin/src/main/scala/sttp/tapir/sbt/OpenapiCodegenKeys.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"78f8787d598690c34d9a9237be77cd87a34033589d7877cbb211be35bfa64999"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: EndpointToAsyncAPIDocs.scala \u2194 EndpointToOpenAPIDocs.scala: \u0060docs/asyncapi-docs/src/main/scala/sttp/tapir/docs/asyncapi/EndpointToAsyncAPIDocs.scala\u0060 and \u0060docs/openapi-docs/src/main/scala/sttp/tapir/docs/openapi/EndpointToOpenAPIDocs.scala\u0060 change together 55% of the time (12 of the 22 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 12 shared commits counted here, the most recent 3 are \u0060a253330f\u0060 Fail on duplicate schema name (#5068); \u006079feb489\u0060 ToKeyedSchemas can be an object; \u006030ad906d\u0060 Properly generate docs for default error responses defined in options \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/asyncapi-docs/src/main/scala/sttp/tapir/docs/asyncapi/EndpointToAsyncAPIDocs.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd1fb37ada9c6d30457b5c5c81090d918c074e1b50dcbb54800a19d8fda7539"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: NettyRequestBody.scala \u2194 NettyToResponseBody.scala: \u0060server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyRequestBody.scala\u0060 and \u0060server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyToResponseBody.scala\u0060 change together 55% of the time (6 of the 11 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well, and counted over this repository\u0027s 10,000 most recent commits rather than its whole history \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060758d5216\u0060 Simplified and refactored Netty-ReactiveStreams integration (#3636); \u0060c2c20323\u0060 Move non-internal class to shared code; \u00600102ebc8\u0060 Fixed compilation erros after merge \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyRequestBody.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"944e449dd3fc90a7d7cea52b047fd75a927d24734e5e76c3794e80ca87562707"}},{"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":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 body is \u0060???\u0060: \u0060toStream\u0060 is a shipped member whose whole body is still \u0060???\u0060, and nothing in the repository overrides it \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcRequestBody.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"076f7077fa1e337901c5fcab601e94fed39c05c2fb522567329db04a67e737cb"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 body is \u0060???\u0060: \u0060fromStreamValue\u0060 is a shipped member whose whole body is still \u0060???\u0060, and nothing in the repository overrides it \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcToResponseBody.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e320df815f6e9f3196d5eecf0e14d13fda5bf2a74749185cb334674395f66c2b"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 body is \u0060???\u0060: \u0060fromWebSocketPipe\u0060 is a shipped member whose whole body is still \u0060???\u0060, and nothing in the repository overrides it \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcToResponseBody.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"d81bb55884b60a43a933f6a00067f390e95a708a9db30c517233d9535038c475"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 body is \u0060???\u0060: \u0060toStream\u0060 is a shipped member whose whole body is still \u0060???\u0060, and nothing in the repository overrides it \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/pekko-grpc-server/src/main/scala/sttp/tapir/server/pekkogrpc/PekkoGrpcRequestBody.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a61cdf7133732d3e72b7a1f6f560e3e2d1736f18f30f798cbc87e232e43d0449"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 body is \u0060???\u0060: \u0060fromStreamValue\u0060 is a shipped member whose whole body is still \u0060???\u0060, and nothing in the repository overrides it \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/pekko-grpc-server/src/main/scala/sttp/tapir/server/pekkogrpc/PekkoGrpcToResponseBody.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f069cd9d756c2765e63c7aaf118fe631a5783f433bf71a259be8ef9025eb87"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 body is \u0060???\u0060: \u0060fromWebSocketPipe\u0060 is a shipped member whose whole body is still \u0060???\u0060, and nothing in the repository overrides it \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/pekko-grpc-server/src/main/scala/sttp/tapir/server/pekkogrpc/PekkoGrpcToResponseBody.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d97d64cfb21f68c8e0003646d25a872714ba07339477b975bdcefceb61c3ac6"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 body is ??? / NotImplementedError: \u0060toStream\u0060 is a shipped method whose whole body is \u0060???\u0060 (or throws NotImplementedError), and nothing in the repository overrides it \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcRequestBody.scala"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9614089aada959e6204d464b6365289df7e2575009085736bad180275f9524a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 body is ??? / NotImplementedError: \u0060fromStreamValue\u0060 is a shipped method whose whole body is \u0060???\u0060 (or throws NotImplementedError), and nothing in the repository overrides it \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcToResponseBody.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3927510e0ae5f1fc65333741acafbfbfa8b83bb345ed3eeb6d4a7a19679acf3d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 body is ??? / NotImplementedError: \u0060fromWebSocketPipe\u0060 is a shipped method whose whole body is \u0060???\u0060 (or throws NotImplementedError), and nothing in the repository overrides it \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/akka-grpc-server/src/main/scala/sttp/tapir/server/akkagrpc/AkkaGrpcToResponseBody.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f8868f80374d23a28473445712a4fc675db1b526c3ffc4e473c2f27a238e71"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 body is ??? / NotImplementedError: \u0060toStream\u0060 is a shipped method whose whole body is \u0060???\u0060 (or throws NotImplementedError), and nothing in the repository overrides it \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/pekko-grpc-server/src/main/scala/sttp/tapir/server/pekkogrpc/PekkoGrpcRequestBody.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a169677be9d6de093da623442daff13bd0c2fea7c29ba1528f1d889c03cbe5fd"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 body is ??? / NotImplementedError: \u0060fromStreamValue\u0060 is a shipped method whose whole body is \u0060???\u0060 (or throws NotImplementedError), and nothing in the repository overrides it \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/pekko-grpc-server/src/main/scala/sttp/tapir/server/pekkogrpc/PekkoGrpcToResponseBody.scala"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a750d54c98944ad9853fe1d2d47b9a4b6bcf86f0f1bb93ab73356e15707e695"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 body is ??? / NotImplementedError: \u0060fromWebSocketPipe\u0060 is a shipped method whose whole body is \u0060???\u0060 (or throws NotImplementedError), and nothing in the repository overrides it \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/pekko-grpc-server/src/main/scala/sttp/tapir/server/pekkogrpc/PekkoGrpcToResponseBody.scala"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6593e9ff1d4642d3bb69c75c292d2f14c09cb6b2d1c73fccc92bea83b34189"}},{"ruleId":"IC1","level":"note","message":{"text":"Blanket warning suppression: A bare \u0060// scalastyle:off\u0060, \u0060// scalafix:off\u0060 or \u0060@nowarn\u0060 (or Wartremover\u0027s \u0060warts.All\u0060) switches every rule or warning off \u2014 hidden debt. Suppress the specific rule on the specific line, with a justification, instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"observability/zio-opentelemetry/src/main/scala/sttp/tapir/server/ziopentelemetry/ZIOpenTelemetryTracingConfig.scala"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a89fc6db3b4117bf349473439b9b66f974964a0aed1fd15ad5c1171976251f2"}},{"ruleId":"IC1","level":"note","message":{"text":"Method throws UnsupportedOperationException: \u0060fileAsInputStream\u0060\u0027s body only throws UnsupportedOperationException \u2014 sometimes a deliberate refusal, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/sttp-stub4-server/src/main/scalajs/sttp/tapir/server/stub4/internal/SttpFileConversions.scala"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e90561411228deae9e36e12cc742aa82aad0ca493b2e109adf9304048e7b2f"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 2/3 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060serverless/aws/cdk/src/main/resources/app-template\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add 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 4 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"Dependabot does not watch npm/pip: \u0060.github/dependabot.yaml\u0060 schedules updates, but no \u0060package-ecosystem\u0060 entry covers \u0060npm\u0060, \u0060pip\u0060, which this tree depends on \u2014 so those dependencies get no update pull requests and no advisory pressure, however complete the dep-scan credit looks. Add the missing entries to the \u0060updates:\u0060 list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/dependabot.yaml"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a099614c2cf6822dd01870041066d831ad32f6fdd34e18acf6092dd7df84ef4"}},{"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":"PF1","level":"note","message":{"text":"Benchmarks don\u0027t track allocations: A JMH/Jetpack Benchmark suite exists but nothing turns on its allocation measurement \u2014 allocations (the main way hot code pressures a garbage collector or allocator) aren\u0027t being measured."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"perf-tests/perf-tests-micro/src/main/scala/sttp/tapir/benchmarks/JsoniterDecodeBenchmark.scala"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb04799b78bfc65307a70d3b5e10a966f3017cbb468fae063c1804b11a41619"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: serverless/aws/cdk/src/main/resources/app-template/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serverless/aws/cdk/src/main/resources/app-template/package.json"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"22704260331ec1375718cb63270a68657cf3a95c49cd4d3f86192fa8478d609c"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!channelGroup.isEmpty \u0026\u0026 gracefulShutdownTimeoutNanos.exists(_ \u003E= System.nanoTime() - startNanos)\u0060 appears character-identically in 4 files \u2014 server/netty-server/cats/src/main/scala/sttp/tapir/server/netty/cats/NettyCatsServer.scala, server/netty-server/src/main/scala/sttp/tapir/server/netty/NettyFutureServer.scala, server/netty-server/sync/src/main/scala/sttp/tapir/server/netty/sync/NettySyncServer.scala, server/netty-server/zio/src/main/scala/sttp/tapir/server/netty/zio/NettyZioServer.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":"server/netty-server/cats/src/main/scala/sttp/tapir/server/netty/cats/NettyCatsServer.scala"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d59076cebb8321d4502309876f86e263e06b52e2695ddfc4640439311ab62e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!symbol.isClassDef || !symbol.flags.is(Flags.Sealed)\u0060 appears character-identically in 2 files \u2014 core/src/main/scala-3/sttp/tapir/macros/SchemaMacros.scala, core/src/main/scala-3/sttp/tapir/macros/ValidatorMacros.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/scala-3/sttp/tapir/macros/SchemaMacros.scala"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26456027aab9ec3283059f0b506c6b3c75d0edd1c9b0ff6269f28924df4e6a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(!o.autoPongOnPing) \u0026\u0026 o.autoPing.isEmpty\u0060 appears character-identically in 2 files \u2014 server/http4s-server/src/main/scala/sttp/tapir/server/http4s/Http4sWebSockets.scala, server/vertx-server/cats/src/main/scala/sttp/tapir/server/vertx/cats/streams/fs2.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":"server/http4s-server/src/main/scala/sttp/tapir/server/http4s/Http4sWebSockets.scala"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"11dd81f29ed3916e1eaba826320e4ba0210c59f111ecac211e56213ad4fc003e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060ContentTypes.isJson(ct) \u0026\u0026 tapirCodegenDirectives.contains(jsonBodyAsString)\u0060 appears character-identically in 2 files \u2014 openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InAndOutComponents.scala, openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/OutComponent.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":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InAndOutComponents.scala"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"94a255ed027ee4ca9ddb6bac6ec2405dfde06a49c72bf3d82992283de57727c4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060HeaderNames.ContentType.equalsIgnoreCase(h.name) || HeaderNames.ContentLength.equalsIgnoreCase(h.name)\u0060 appears character-identically in 2 files \u2014 client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala, client/sttp-client4/src/main/scala/sttp/tapir/client/sttp4/EndpointToSttpClientBase.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":"client/sttp-client/src/main/scala/sttp/tapir/client/sttp/EndpointToSttpClient.scala"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c84aeac21c81d37e18501771b9bf96f55d618c2e7eb0e3b73ffe10e92621721"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060PackageReuseContext.isReusedSchema(name, packageReuse) \u0026\u0026 packageReuse.dependencyMeta.allTransitiveJsonParamRefs.contains(name)\u0060 appears character-identically in 2 files \u2014 openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala, openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/ZioSerdeImpl.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":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/json/CirceSerdeImpl.scala"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"db414fead1e92dee30c9db8732a68820b28d9ddcd8c758b270102e6498ffbe29"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cache.size \u003C= Limit \u0026\u0026 contentType.mediaType.params.isEmpty\u0060 appears character-identically in 2 files \u2014 server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/ContentTypeCache.scala, server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/ContentTypeCache.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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/ContentTypeCache.scala"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e04519c304843c01f07a0c4185b73231d36f43ab6b21d3c79132815873bff2"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060connection.equalsIgnoreCase(\u0022Upgrade\u0022) \u0026\u0026 upgrade.equalsIgnoreCase(\u0022websocket\u0022)\u0060 appears character-identically in 3 files \u2014 core/src/main/scala/sttp/tapir/Tapir.scala, server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala, server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.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/scala/sttp/tapir/Tapir.scala"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfec886659cdb3e021e2b4ec063af240693b465ec913ad73b59abe8ab21d9d64"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060demand.get() \u003E 0 \u0026\u0026 !isCompleted.get() \u0026\u0026 readingInProgress.compareAndSet(false, true)\u0060 appears character-identically in 3 files \u2014 server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/reactivestreams/FileRangePublisher.scala, server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/reactivestreams/InputStreamPublisher.scala, server/netty-server/sync/src/main/scala/sttp/tapir/server/netty/sync/internal/reactivestreams/InputStreamSyncPublisher.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":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/reactivestreams/FileRangePublisher.scala"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"129d53943088d64d3401aa549ff27b2622be8c82efa0a92b739d523dbd86085d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060distinctTypes.size != 1 || tpes.head == \u0022Array[Byte]\u0022 || tpes.head.contains(\u0022BinaryStream\u0022) || tpes.head.contains(\u0022fs2.Stream\u0022)\u0060 appears character-identically in 2 files \u2014 openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InComponent.scala, openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/OutComponent.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":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InComponent.scala"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dce78c36c61ef732139a96add6cbf60a1229176d281b06c73e6478cc9b2e65e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060h.is(ctHeaderNameLowerCase) || h.is(clHeaderNameLowerCase) || h.is(teHeaderNameLowerCase)\u0060 appears character-identically in 2 files \u2014 server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaModel.scala, server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoModel.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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaModel.scala"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ed81de61ea00e4fc1aea7704907796610a6859eabbee4ee038d250eb2e7eeb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060p == \u0022\u0022 || p == \u0022.\u0022 || p == \u0022..\u0022 || p.startsWith(\u0022../\u0022) || p.endsWith(\u0022/..\u0022) || p.contains(\u0022/../\u0022)\u0060 appears character-identically in 2 files \u2014 core/src/main/scalajvm/sttp/tapir/static/TapirStaticContentEndpoints.scala, files/src/main/scalajvm/sttp/tapir/files/TapirStaticContentEndpoints.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/tapir/static/TapirStaticContentEndpoints.scala"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa556feecf7aa9590533331839a95ea680e4b8ad13523de3b9f47d450defbae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060requestMethod.is(Method.HEAD) \u0026\u0026 response.contentLength.isDefined\u0060 appears character-identically in 2 files \u2014 server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaHttpServerInterpreter.scala, server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoHttpServerInterpreter.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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaHttpServerInterpreter.scala"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afefd267ac261a7bc22b4f841f2a86f8d049859b284c5fa81a405cc03255986"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060segment.startsWith(\u0022{\u0022) \u0026\u0026 segment.endsWith(\u0022}\u0022)\u0060 appears character-identically in 2 files \u2014 core/src/main/scala-2/sttp/tapir/internal/EndpointInputAnnotationsMacro.scala, core/src/main/scala-3/sttp/tapir/internal/AnnotationsMacros.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/scala-2/sttp/tapir/internal/EndpointInputAnnotationsMacro.scala"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"363874e8e9476df39239b3f4ddd5e46fafc066583ea32502b7e02e42b1747543"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060serverRequest.method.is(Method.HEAD) \u0026\u0026 response.contentLength.isDefined\u0060 appears character-identically in 2 files \u2014 server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala, server/play29-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.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":"server/play-server/src/main/scala/sttp/tapir/server/play/PlayServerInterpreter.scala"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"9365261e9c702980452fa6a1b58255102e5fbdd18e726a94091f5ef83356f37b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060specNameLowerCase.endsWith(\u0022.yaml\u0022) || specNameLowerCase.endsWith(\u0022.yml\u0022)\u0060 appears character-identically in 2 files \u2014 docs/redoc/src/main/scala/sttp/tapir/redoc/Redoc.scala, docs/scalar/src/main/scala/sttp/tapir/scalar/Scalar.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":"docs/redoc/src/main/scala/sttp/tapir/redoc/Redoc.scala"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"64730f5a9dd6e506ca7fbbdf2491da1d08832be2acf3635c88060b7e9193e438"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060t == \u0022Array[Byte]\u0022 || t.contains(\u0022BinaryStream\u0022) || tpes.head.contains(\u0022fs2.Stream\u0022)\u0060 appears character-identically in 2 files \u2014 openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InComponent.scala, openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/OutComponent.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":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InComponent.scala"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7551dbd7b02d9797f77db3e33402b2afc6707ac5e4c78bbc3a3e98a475e860"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060tpes.head.contains(\u0022BinaryStream\u0022) || tpes.head.contains(\u0022fs2.Stream\u0022)\u0060 appears character-identically in 2 files \u2014 openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InComponent.scala, openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/OutComponent.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":"openapi-codegen/core/src/main/scala/sttp/tapir/codegen/endpoints/InComponent.scala"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"83f965364f630cd67dda1757c14f72ba41426539412b8151602b06575fe9c741"}},{"ruleId":"X17","level":"warning","message":{"text":"Recursive walk over a caller-supplied document has no depth cap: \u0060pretty\u0060 is public, takes a document from its caller (line 31) and hands it to \u0060jsonToYaml\u0060, which calls itself at line 88 with a piece of \u0060json\u0060 (and at line 106), not as a tail call the compiler turns into a loop \u2014 and nowhere in \u0060jsonToYaml\u0060 is there a depth parameter, a descent counter, or any other cap. The walk therefore spends one stack frame per LEVEL of the value it is handed, so the nesting of the caller\u0027s document \u2014 not this code \u2014 decides how deep the stack goes. On the JVM\u0027s default 1 MB thread stack a walk like this one throws \u0060StackOverflowError\u0060 from about 500\u20132,000 levels on a cold first call and 6,000\u201317,000 once warmed up (OpenJDK 21 and 25), while \u0060ujson.read\u0060, Jackson\u0027s \u0060readTree\u0060 before 2.15 and circe before 0.14.16 accept any nesting (2,000,000 levels from 4 MB) and circe 0.14.16 accepts 4,096 \u2014 on a cold JVM even play-json\u0027s cap of 1,000 is past the point the walk fails. \u0060StackOverflowError\u0060 is not \u0060NonFatal\u0060: \u0060Try\u0060, \u0060case NonFatal(e)\u0060 and \u0060recover\u0060 do not stop it, and in a \u0060Future\u0060 on the global execution context it leaves the future forever incomplete. Thread a depth argument through \u0060jsonToYaml\u0060 and reject the value past a fixed maximum, or rewrite the descent with an explicit stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"serverless/aws/sam/src/main/scala/sttp/tapir/serverless/aws/sam/Printer.scala"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af8ba50b54408b3802de229da8a564b09c7bf630e8f8a60e504b343986c84ab"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the function that made it: \u0060Source.fromURL(\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.fromURL(\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":"project/GenerateMimeByExtensionDB.scala"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a1cbcbd7f597b1627d0a1dfcf55332be9c7c53a92bdd1d6b917842f27de82a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/sync/src/main/scala/sttp/tapir/server/netty/sync/internal/reactivestreams/InputStreamSyncPublisher.scala"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"358b8603ca5e29bb7cf5e8c82a6a3e6eb331a3d967f48130966a9ed31cba5b30"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/reactivestreams/InputStreamPublisher.scala"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b05e785b8f54a5534b91f5646271e2dac4f4ad64a471d0b50e1182dcce4b895"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 61 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.error(\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":"serverless/aws/lambda-cats-effect/src/main/scala/sttp/tapir/serverless/aws/lambda/runtime/AwsLambdaRuntimeInvocation.scala"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"40ba066bee14f3fada1b576cb478977cb7fd26776855eab773c2d3f2d7c2abdf"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 87 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.info(\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":"serverless/aws/lambda-cats-effect/src/main/scala/sttp/tapir/serverless/aws/lambda/runtime/AwsLambdaRuntimeInvocation.scala"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"6273741d92075e27fd03c4a59da8b7817b4def542c3da23b7921d6d638f2c381"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 90 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.error(\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":"serverless/aws/lambda-cats-effect/src/main/scala/sttp/tapir/serverless/aws/lambda/runtime/AwsLambdaRuntimeInvocation.scala"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"3efb3aa476db6371c215c9751239bb3ffb9b741abca53c8b6f765db73423450b"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 17 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":"server/vertx-server/src/main/scala/sttp/tapir/server/vertx/VertxServerOptions.scala"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fc10d41452cc611f2df563cf3f3c36b15f9904174053050a09493c12020d5e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 23 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.info(\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":"server/vertx-server/src/main/scala/sttp/tapir/server/vertx/VertxServerOptions.scala"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf4aeda23b439da32fb983b4598703509b6258128d4fa3acfd01cca6ea8b16e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 47 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":"server/pekko-http-server/src/main/scala/sttp/tapir/server/pekkohttp/PekkoHttpServerOptions.scala"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4377b21116109918ae35eb16716b04541bc823032d980b8c7ac221e0077bf5e0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 84 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.info(\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":"server/netty-server/sync/src/main/scala/sttp/tapir/server/netty/sync/NettySyncServer.scala"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"252e4bd43bd54997b0f7cea2f0cef4648cc663b7c4316717135171c750ceb641"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 102 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.error(\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":"server/netty-server/sync/src/main/scala/sttp/tapir/server/netty/sync/internal/reactivestreams/OxProcessor.scala"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eca04804c3911679106afb498f9304f36b9058ca6faebe32724e2ea2fd4943f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060error\u0060 at line 127 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.error(\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":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyServerHandler.scala"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"18a2716a00ab71abf61bf602ffb9ab9a42fde6355c74b95700a2b6678afc29f7"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 130 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":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyServerHandler.scala"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"6789f38ed21e64dca3cbfafe6e3e65dba0df73439ba4de24ef71643be1024ead"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 143 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":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyServerHandler.scala"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"474286d1a04454e48e68610cc2ff1f2bf1d703792da544502f32956dc176ede0"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 177 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":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/NettyServerHandler.scala"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"643a51befbc7128a5882db5d2ee5aaea548b28997a73ea67399e6037f34ff77f"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 27 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":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/ws/WebSocketAutoPingHandler.scala"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"82133145a2cd03e845eb2a41befb329ebee7ca5907cdc272bd8c181da56751df"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060trace\u0060 at line 30 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.trace(\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":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/ws/WebSocketAutoPingHandler.scala"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"a708bd4922d52a4603ab75f3d8f58c46570695f21c4bf50a1b05d7e037d0b66a"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 41 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":"server/netty-server/src/main/scala/sttp/tapir/server/netty/internal/ws/WebSocketAutoPingHandler.scala"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"548c967bb6db1b3169091bcfa40c5d5f8581b63bceff6983cbc00ce6aa8ab5ac"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 47 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":"server/akka-http-server/src/main/scala/sttp/tapir/server/akkahttp/AkkaHttpServerOptions.scala"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"619d0ac2ae62095480b074e5b581e8681e0accf13f4f0267565994c4f4ba8844"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060debug\u0060 at line 23 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":"grpc/protobuf/src/main/scala/sttp/tapir/grpc/protobuf/ProtoSchemaGenerator.scala"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72b340c51dd8ed8b54479436bd2ea433faf404c5bfb2ef2baaeb4d66b7b5bd4"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 24 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.info(\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":"grpc/protobuf/src/main/scala/sttp/tapir/grpc/protobuf/ProtoSchemaGenerator.scala"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b91c1a90c16efa8883e725fc65b24432652dd8f4fa45d3a1b0bcfebf9101d45"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 236 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.info(\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":"client/testserver/src/main/scala/sttp/tapir/client/tests/HttpServer.scala"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfd9d61f0b24a9ff9162c0a6ae290573a781972b5cb3994ab91f406d717b6fd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060info\u0060 at line 237 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.info(\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":"client/testserver/src/main/scala/sttp/tapir/client/tests/HttpServer.scala"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"92d86348dcc56009854352c849cb615d7cc6b6de84d15f223518a77c95c66be7"}},{"ruleId":"X5","level":"note","message":{"text":"Scala\u0027s null is not held to the type system everywhere: No build over this repository\u0027s 692 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-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-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-1352","guid":"5257f322-5cfc-6b52-bedd-0b9a526b4c7d","name":"CWE-1352","shortDescription":{"text":"CWE-1352"},"helpUri":"https://cwe.mitre.org/data/definitions/1352.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-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-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.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-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"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-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-7","guid":"4c4af28d-49e3-2d51-b597-e1396c49658b","name":"Insecure System Configuration","shortDescription":{"text":"Insecure System Configuration"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-07-Insecure-System-Configuration"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":30,"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."]}]}