{"$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":"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":"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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P8","name":"Schema migrations","shortDescription":{"text":"Schema migrations"},"helpUri":"https://codehealth.canine.dev/dimensions/P8"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Web-Security Posture","shortDescription":{"text":"Web-Security Posture"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"poem_openapi_derive::api::generate_operation (cyclomatic 40): poem_openapi_derive::api::generate_operation has cyclomatic complexity 40 (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":"poem-openapi-derive/src/api.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3a030741ae3c1003a710d46ceafdf67fe355c00cfc43a8234f88fc997a1b20"}},{"ruleId":"D1","level":"warning","message":{"text":"poem_openapi_derive::object::generate (cyclomatic 34): poem_openapi_derive::object::generate has cyclomatic complexity 34 (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":"poem-openapi-derive/src/object.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3c046a1e76c9579c519d71fe58809377b3ad6d44174328d7448ae9d9470654"}},{"ruleId":"D1","level":"warning","message":{"text":"poem_openapi_derive::union::generate (cyclomatic 26): poem_openapi_derive::union::generate has cyclomatic complexity 26 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/union.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b224de07884e31e0f1e055502976175605ee131a706b4660b0177909dbcbdf"}},{"ruleId":"D1","level":"warning","message":{"text":"MetaSchema::merge (cyclomatic 25): MetaSchema::merge has cyclomatic complexity 25 (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":"poem-openapi/src/registry/mod.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a778c685487eabfa942a06988cd7918240c62ac0e12d8625df05264cde7ec49"}},{"ruleId":"D1","level":"warning","message":{"text":"StaticFileRequest::create_response (cyclomatic 24): StaticFileRequest::create_response has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/web/static_file.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"9897d6dbc58312a63be9b187be90f1ed9e275517e9fce3d9b859776e5b0956ae"}},{"ruleId":"D1","level":"warning","message":{"text":"poem_openapi_derive::response::generate (cyclomatic 20): poem_openapi_derive::response::generate has cyclomatic complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/response.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b385606307c44754a61346b5ed9e2f3221dac509e732e9ed07407e6c1cfcb26"}},{"ruleId":"D1","level":"warning","message":{"text":"StaticFilesEndpoint::serve (cyclomatic 19): StaticFilesEndpoint::serve has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/endpoint/static_files.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13544615decf7e67250229a4812d4eda179be601cd2954ae450e00ce03193da"}},{"ruleId":"D1","level":"warning","message":{"text":"poem_mcpserver::streamable_http::post_handler (cyclomatic 18): poem_mcpserver::streamable_http::post_handler has cyclomatic complexity 18 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-mcpserver/src/streamable_http.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"06578b04223e22bc3c269a92e5483f11f27504cf687ddc5512c63def0d746c7b"}},{"ruleId":"D1","level":"warning","message":{"text":"Node::matches (cyclomatic 16): Node::matches has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/route/internal/radix_tree.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cb89b50cb19d18601eb600ce29f9690769572279e229780ec498575d395278"}},{"ruleId":"D1","level":"warning","message":{"text":"poem::route::internal::radix_tree::parse_path_segments (cyclomatic 16): poem::route::internal::radix_tree::parse_path_segments has cyclomatic complexity 16 (threshold 15). Of this number, 8 points are the body\u0027s own statements and 8 belong to 3 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/route/internal/radix_tree.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"5972a3fecd1c6056035ade2b14eabeb630a2aa4c1190f89ff0a4e39984ecba0f"}},{"ruleId":"D1","level":"warning","message":{"text":"poem_grpc::encoding::decode_single_response_message (cyclomatic 16): poem_grpc::encoding::decode_single_response_message has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-grpc/src/encoding.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"9848bf670eb836790de0dd68588f1a3cec400b90acc8752eb7ec4e4adf4698c8"}},{"ruleId":"D2","level":"warning","message":{"text":"poem_openapi_derive::object::generate (cognitive 75): poem_openapi_derive::object::generate has cognitive complexity 75 (threshold 15). Drivers by points: if/else 25 (45 pts), match/switch 10 (23 pts), boolean chains 6, loops 1 (nesting depth added 33). 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":"poem-openapi-derive/src/object.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1ccf306040a710a9734ce295f607ff6f72bd4ae66be1c9067b20339981c2f66"}},{"ruleId":"D2","level":"warning","message":{"text":"poem_openapi_derive::api::generate_operation (cognitive 52): poem_openapi_derive::api::generate_operation has cognitive complexity 52 (threshold 15). Drivers by points: match/switch 16 (28 pts), if/else 12 (16 pts), loops 6 (7 pts), boolean chains 1 (nesting depth added 17). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/api.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fc4486131ad33dedaed4b9a1d5af686ea1a4a46c6691c81034db0fb87ffe99"}},{"ruleId":"D2","level":"warning","message":{"text":"poem_openapi_derive::union::generate (cognitive 42): poem_openapi_derive::union::generate has cognitive complexity 42 (threshold 15). Drivers by points: if/else 21 (32 pts), match/switch 6 (8 pts), boolean chains 1, loops 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/union.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"75494473b816d1bdc59d9502df1c29315b3927da02add5172ccb68c11d57853a"}},{"ruleId":"D2","level":"warning","message":{"text":"StaticFilesEndpoint::serve (cognitive 39): StaticFilesEndpoint::serve has cognitive complexity 39 (threshold 15). Drivers by points: if/else 16 (32 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 18). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/endpoint/static_files.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8cd7808d8dbcaa9d62ddad4526f2fad76cc7b51ad282ae71de8ae802000d13"}},{"ruleId":"D2","level":"warning","message":{"text":"Server::run_with_graceful_shutdown (cognitive 36): Server::run_with_graceful_shutdown has cognitive complexity 36 (threshold 15). Drivers by points: if/else 9 (26 pts), match/switch 3 (8 pts), loops 2 (nesting depth added 22). 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":"poem/src/server.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f6274b81e4129a0de84c37be4d24637b89fd5e7396cfbf69da148bce7adca85"}},{"ruleId":"D2","level":"warning","message":{"text":"poem_openapi_derive::response::generate (cognitive 36): poem_openapi_derive::response::generate has cognitive complexity 36 (threshold 15). Drivers by points: if/else 14 (24 pts), match/switch 4 (7 pts), loops 3 (5 pts) (nesting depth added 15). Of this number, 32 points are the body\u0027s own statements and 4 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/response.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4db0a1a5ee4d2f97f90755f8345f5fee2cfa62d4417c07f5c78b1a179729ab06"}},{"ruleId":"D2","level":"warning","message":{"text":"StaticFileRequest::create_response (cognitive 35): StaticFileRequest::create_response has cognitive complexity 35 (threshold 15). Drivers by points: if/else 19 (26 pts), boolean chains 5, match/switch 2 (4 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/web/static_file.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee56cbdc02fb96a5ec0a1f61feeacde71302f4e4d16708db65d14a1609bdf6a"}},{"ruleId":"D2","level":"warning","message":{"text":"poem_mcpserver::streamable_http::post_handler (cognitive 35): poem_mcpserver::streamable_http::post_handler has cognitive complexity 35 (threshold 15). Drivers by points: if/else 13 (27 pts), loops 3 (6 pts), boolean chains 1, match/switch 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-mcpserver/src/streamable_http.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"4534d9166ebbfe1f32dcc5fda8e09f8a585cbe2bb3a0909b3fda10882e0eb828"}},{"ruleId":"D2","level":"warning","message":{"text":"poem_mcpserver_macros::tools::generate (cognitive 32): poem_mcpserver_macros::tools::generate has cognitive complexity 32 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 4 (13 pts), loops 2 (4 pts) (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-mcpserver-macros/src/tools.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47f0e8d5f1848b630608744569fccd5b3146db260685aafd65e63bb8e9aaae0"}},{"ruleId":"D2","level":"warning","message":{"text":"MetaSchema::merge (cognitive 32): MetaSchema::merge has cognitive complexity 32 (threshold 15). Drivers by points: if/else 24 (26 pts), match/switch 2 (6 pts) (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":"poem-openapi/src/registry/mod.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c1ed304e8654afc1216e9866e8406519aecb1a3278f89c553232cb67f4a2eb"}},{"ruleId":"D2","level":"warning","message":{"text":"poem_grpc::encoding::decode_single_response_message (cognitive 31): poem_grpc::encoding::decode_single_response_message has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (20 pts), match/switch 4 (9 pts), boolean chains 1, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-grpc/src/encoding.rs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8c01ec5fe17be0e380c78f208e087fcfa79de8969da4ef8757042e131c61b93"}},{"ruleId":"D2","level":"warning","message":{"text":"poem_mcpserver_macros::prompts::generate (cognitive 30): poem_mcpserver_macros::prompts::generate has cognitive complexity 30 (threshold 15). Drivers by points: if/else 7 (19 pts), match/switch 2 (7 pts), loops 2 (4 pts) (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-mcpserver-macros/src/prompts.rs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a67b1f7809b0b6a5ea1a6711cc0e4e8cae9350e770a45f91b3cb07f9ef1cfbbe"}},{"ruleId":"D2","level":"warning","message":{"text":"AutoCertListener::into_acceptor (cognitive 29): AutoCertListener::into_acceptor has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (19 pts), match/switch 4 (9 pts), loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/listener/acme/listener.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"67710ddc7add1afa6387dcbcd687dab6affd96b03f2128ea86c7252411b82e5b"}},{"ruleId":"D2","level":"warning","message":{"text":"Node::matches (cognitive 27): Node::matches has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 2, loops 2, match/switch 1 (2 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/route/internal/radix_tree.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"d997d45e4b16083464e14ae7a068da482118f5498f54e4809e088b35cdb19658"}},{"ruleId":"D2","level":"warning","message":{"text":"poem::route::internal::radix_tree::parse_path_segments (cognitive 26): poem::route::internal::radix_tree::parse_path_segments has cognitive complexity 26 (threshold 15). Drivers by points: if/else 7 (13 pts), match/switch 4 (8 pts), loops 4, boolean chains 1 (nesting depth added 10). Most of this is not in the body itself: 12 of the 26 points are its own statements and the rest belongs to 3 function items inside it that branch (parse_re, parse_name, parse_static). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/route/internal/radix_tree.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"9300295c0cfae8ea8240a22a406cafc17eea6330f03087e939c1fff4b748c1cf"}},{"ruleId":"D2","level":"warning","message":{"text":"poem::listener::acme::listener::issue_cert (cognitive 24): poem::listener::acme::listener::issue_cert has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 1 (4 pts), loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/listener/acme/listener.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8950af9ddf10d6aec9d476ebeea6f6d7f83135ae2fb3a442fdc66dfb5c8cec5"}},{"ruleId":"D2","level":"warning","message":{"text":"poem_openapi_derive::security_scheme::generate (cognitive 24): poem_openapi_derive::security_scheme::generate has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 3 (5 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/security_scheme.rs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"28e8c23acd12dd1e7ea6210a96ad01f2a5c8f2191fa98631cdea9d9fd00f2681"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeTlsAcceptor::accept (cognitive 20): NativeTlsAcceptor::accept has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 3 (9 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/listener/native_tls.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2ab786a256f4b08d796a8c87800df0cdee31776433f636836270017413daef"}},{"ruleId":"D2","level":"warning","message":{"text":"OpensslTlsAcceptor::accept (cognitive 20): OpensslTlsAcceptor::accept has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 3 (9 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/listener/openssl_tls.rs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"630492a70111306568e33e6c5feff9eb0b7bbb7a5093bb19f2902eaf49c6479b"}},{"ruleId":"D2","level":"warning","message":{"text":"RustlsAcceptor::accept (cognitive 20): RustlsAcceptor::accept has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (10 pts), match/switch 3 (9 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/listener/rustls.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdea0a7b684c53d9b4c5f8dda505af1262400b92e3ea642b3b868488db07efd7"}},{"ruleId":"D2","level":"warning","message":{"text":"poem_openapi_derive::response_content::generate (cognitive 18): poem_openapi_derive::response_content::generate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 2 (3 pts), loops 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":"poem-openapi-derive/src/response_content.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b50a814d9a09dcce0b75b6fc1dded2806990a008868b54931e8d6767cf20d32"}},{"ruleId":"D2","level":"warning","message":{"text":"poem_openapi_derive::webhook::generate_operation (cognitive 18): poem_openapi_derive::webhook::generate_operation has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (8 pts), match/switch 5 (8 pts), loops 2 (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":"poem-openapi-derive/src/webhook.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"868b02c078d370e8069c1210add01cbe7d03f9da5bc8f6cd48b50bd9620e0fca"}},{"ruleId":"D2","level":"warning","message":{"text":"CorsEndpoint::check_allow_headers (cognitive 17): CorsEndpoint::check_allow_headers has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/middleware/cors.rs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"2560d2bf4a37d2fbbc17a8f3b4b211f4f3eb57b833affeb4d41d49c46482857c"}},{"ruleId":"D2","level":"warning","message":{"text":"poem_openapi_derive::newtype::generate (cognitive 17): poem_openapi_derive::newtype::generate has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13, match/switch 3, boolean chains 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":"poem-openapi-derive/src/newtype.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01a9516b89b7b56f7a644907b836c15b8e4795f99a0b646bf840653033f3fa8"}},{"ruleId":"D2","level":"warning","message":{"text":"Validators::create_validators (cognitive 16): Validators::create_validators has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (15 pts), loops 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/validators.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20a4a539cf7d2f632aef83e24e060cfc326686b47f5ba1884fe9ae14aa1e188"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: poem_openapi_derive::api::generate_operation: FunctionTooLong \u2014 poem_openapi_derive::api::generate_operation runs 363 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 263 over it, 3.63\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/api.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"510c6aad52dacb1adef536cfd95defee33e62a3272cf669af5bd623da3892352"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: poem_openapi_derive::object::generate: FunctionTooLong \u2014 poem_openapi_derive::object::generate runs 291 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 191 over it, 2.91\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/object.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ea56c93efaa08dee9852cdd72ac6b04a0a9f3e687b0da4ac963325b5020f88"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: poem_openapi_derive::response::generate: FunctionTooLong \u2014 poem_openapi_derive::response::generate runs 253 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 153 over it, 2.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/response.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7272cfce7f7d51e656c6908046621af741a1caf5f9628821e5f4ed6ac36e3e3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: poem_openapi_derive::union::generate: FunctionTooLong \u2014 poem_openapi_derive::union::generate runs 252 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 152 over it, 2.52\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/union.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31a820736eb85723c72d4e1c700a7ece10b03809ad91cf8a09808fd845ca28a"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: poem_openapi_derive::multipart::generate: FunctionTooLong \u2014 poem_openapi_derive::multipart::generate runs 161 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 61 over it, 1.61\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/multipart.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b0fed46f523dd0585d61541da920bd5ee15843537e40e11d4d34fa887fc622"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: poem_openapi_derive::webhook::generate_operation: FunctionTooLong \u2014 poem_openapi_derive::webhook::generate_operation runs 146 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/webhook.rs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"bebbcef0e0a1c3e99828d883bf50272237a5f4c99976e15e3db57073029837f8"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: poem_grpc_build::server::generate: FunctionTooLong \u2014 poem_grpc_build::server::generate runs 126 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-grpc-build/src/server.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"870bdc97bc0720c0359b8f9f2b53de2db27fe6f3a691837c4b7dc94ba643529e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: poem_mcpserver::streamable_http::post_handler: FunctionTooLong \u2014 poem_mcpserver::streamable_http::post_handler runs 126 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-mcpserver/src/streamable_http.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"08bb9355349c13e7142d5dfd103127d9f0b49bcbef11133e69949ac0a06e4186"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: registry/mod.rs: FileTooLong \u2014 609 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 109 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/registry/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"215de0a3b6a3a1b729f5c2d2116364fe63f767404a08974165a5ffae78bfbb42"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/error.rs: FileTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 39 free functions. The bar is 500 significant lines; this is 84 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/error.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff93bb12ae95937874f01d207b39cd247e4ab77d127ba4782f8dd7862a90499"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: MetaSchema: TooManyFields \u2014 34 stored fields beside 4 methods. The bar is 30 stored fields; this is 4 over it, 1.13\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/registry/mod.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35400da27e4a7e220203d5ed8a79f1c13ca00b950debab729fd500f4cc44121"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: poem_openapi_derive::newtype::generate: FunctionTooLong \u2014 poem_openapi_derive::newtype::generate runs 113 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/newtype.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"97e086d62afae1b588d60d7c824de740f10096d7889ef83baf3736bbe70f8e7b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Request: TooManyMethods \u2014 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/request.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"388730e2f59496fef99b91a24e159140ce8a334763bfce27dc6ac63b0719e30c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OpenApiService: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/openapi.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a64b5e2157e11febd125c655c0f71fdf67194ed847151cb573faca2c25efa15"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: poem_openapi_derive::enum::generate: FunctionTooLong \u2014 poem_openapi_derive::enum::generate runs 102 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/enum.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"64b6ebe2134e1fc0800c231f6245cd6f6ac6112a39c558637be0269fb28dd6d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 19 shared lines): poem-grpc-build/src/server.rs:244-286 | poem-grpc-build/src/server.rs:288-330 | poem-grpc-build/src/server.rs:332-374 | poem-grpc-build/src/server.rs:376-418 \u2014 These 4 members are variants of one another: a block of 19 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-grpc-build/src/server.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6aef788766246ade8aafd67342368255ee383c051f38a2f933e08129626ada1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): poem-openapi-derive/src/enum.rs:47-212 | poem-openapi-derive/src/newtype.rs:50-229 | poem-openapi-derive/src/object.rs:93-531 | poem-openapi-derive/src/tags.rs:41-103 | poem-openapi-derive/src/union.rs:50-454 \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":"poem-openapi-derive/src/enum.rs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4f7280d8fcba37b680237e1ac49fcd2c7ce564ce92d33d0dabd9153e0157ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): poem-grpc/src/client.rs:235-274 | poem-grpc/src/client.rs:281-321 | poem-grpc/src/client.rs:328-363 | poem-grpc/src/client.rs:370-406 \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":"poem-grpc/src/client.rs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ff9048d0edeb051a3ae2093fb62bff6c3363c67275625e2c3dcd3b5a98e6fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): poem-grpc/src/server.rs:52-94 | poem-grpc/src/server.rs:99-138 | poem-grpc/src/server.rs:143-187 | poem-grpc/src/server.rs:192-231 \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":"poem-grpc/src/server.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c606290cc7522a71d43f8c0ef7d471226aa154f0cc6e6b19e0f74253c062aedc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): poem/src/listener/handshake_stream.rs:41-58 | poem/src/listener/handshake_stream.rs:69-86 | poem/src/listener/handshake_stream.rs:91-108 | poem/src/listener/handshake_stream.rs:113-130 \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":"poem/src/listener/handshake_stream.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ccd82930cc033dbd80d5f36f5fc00027ce0c474e6106258139d92db6cf42b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): poem/src/listener/native_tls.rs:149-181 | poem/src/listener/openssl_tls.rs:194-234 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/listener/native_tls.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89c91be679c8ac139e80c01eff9bd0f3dc985e8b7b6de5e7fcda11bd2d32bfe"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (35 corresponding lines): poem-grpc/src/compression.rs:71-105 | poem-grpc/src/compression.rs:114-148 \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":"poem-grpc/src/compression.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9db78a484542e5135add7e9850945ad67c34df0ccd435f55569f5415790d137"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): poem-openapi-derive/src/validators.rs:164-191 | poem-openapi-derive/src/validators.rs:253-284 \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":"poem-openapi-derive/src/validators.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f626445a736ac27d4a9a99a122534551700098380133bcd5a443853c8b81167"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): poem/src/route/internal/radix_tree.rs:303-327 | poem/src/route/internal/radix_tree.rs:351-376 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/route/internal/radix_tree.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"71fd6d6926e6da69eefad79e454fd4e9e0b092fc77f78473074b79bdba706837"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): poem/src/request.rs:87-113 | poem/src/request.rs:157-184 \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":"poem/src/request.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"afbe4e493d147cf56a0ec97c55ead97edbeea606dbefb0c0ee3e6b6553a4ac47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): poem-mcpserver-macros/src/utils.rs:16-38 | poem-openapi-derive/src/utils.rs:27-49 \u2014 These two members are one piece of code written twice and then edited apart: 23 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-mcpserver-macros/src/utils.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"de881bc1e81127110d6c2d2d8ed97ea92fd8a9471328e316a823553e4546cc95"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): poem-openapi/src/param/cookie.rs:59-78 | poem-openapi/src/param/cookie.rs:125-145 | poem-openapi/src/param/cookie.rs:192-212 | poem-openapi/src/param/path.rs:56-75 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/param/cookie.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f389a028000553876665928111a728d41e97b7b466fefe8e8e0e8f583c63a9f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): poem-openapi/src/payload/json.rs:57-71 | poem-openapi/src/payload/xml.rs:57-76 | poem-openapi/src/payload/yaml.rs:57-71 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/payload/json.rs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f384f61c8037558c4cebe9a08ae330211b07a5489d7923f9149080b1032e956"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): poem/src/web/xml.rs:109-123 | poem/src/web/yaml.rs:110-124 \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":"poem/src/web/xml.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"85299c8b7b1f4bf7ab5cced0ac4df3ae610886861754ebe7ab0091570bef6ba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 18\u002B corresponding lines): poem-mcpserver/src/server.rs:275-292 | poem-mcpserver/src/server.rs:310-327 | poem-mcpserver/src/server.rs:333-355 | poem-mcpserver/src/server.rs:361-378 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-mcpserver/src/server.rs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4a77116e3ef537ec30e33007fa9a7b6d7a246ed68b0bb12a3969ba14faf60c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): poem-grpc-build/src/client.rs:146-153 | poem-grpc-build/src/client.rs:161-168 | poem-grpc-build/src/client.rs:176-183 | poem-grpc-build/src/client.rs:191-198 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-grpc-build/src/client.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b256207c716e7d0a35776e795a60baa09e8c72d8a1927ecb3118768614a62ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): poem/src/error.rs:222-231 | poem/src/error.rs:377-386 | poem/src/error.rs:436-445 \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":"poem/src/error.rs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"104d0a4d550140bf7cb92fdc8a2f1b099891252e324b8da9f0d0a6878399a043"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): poem/src/endpoint/catch_error.rs:35-43 | poem/src/endpoint/inspect_err.rs:32-41 \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":"poem/src/endpoint/catch_error.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9966e7b50bde6c9a95d05415c5bb5f8a0c9a04eed94a839e9292d7bc14c179"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): poem/src/web/multipart.rs:85-91 | poem/src/web/tempfile.rs:23-30 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/web/multipart.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6ca794ddf47ac8cf5d4d677a9d137e39ddae7d476db021350884bb01c92754"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): poem/src/listener/acme/client.rs:119-139 | poem/src/listener/acme/client.rs:141-156 \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":"poem/src/listener/acme/client.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"b08904dd78e722dd394321c18a20a0e2f2de9cbe796e3efdd9cdc8a4e95f1fce"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): poem-derive/src/utils.rs:6-17 | poem-grpc-build/src/utils.rs:6-17 | poem-mcpserver-macros/src/utils.rs:7-14 | poem-openapi-derive/src/utils.rs:14-25 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-derive/src/utils.rs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"391eae1f9eb9ff6d8cc6b5ad8f008335bd30363e13f1cf2e6cd661d02975c883"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): poem-openapi/src/types/multipart/upload.rs:26-35 | poem/src/web/multipart.rs:21-37 \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":"poem-openapi/src/types/multipart/upload.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7d278129a449c6a7e25b551a987625bd46186ab0774b4a62a5c440ec8d9626"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): poem/src/session/cookie_config.rs:176-182 | poem/src/session/cookie_config.rs:185-192 \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":"poem/src/session/cookie_config.rs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"101277a4e26ddc1882666bababd0be2f5aae26bb85fbd296c616500751486cb1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): poem/src/web/cookie.rs:650-657 | poem/src/web/cookie.rs:696-703 \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":"poem/src/web/cookie.rs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfbd281626e85d0726a78b5557da2453f92eb2530f41058ed13122ce80d62724"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 8\u002B corresponding lines): poem-mcpserver-macros/src/lib.rs:29-36 | poem-mcpserver-macros/src/lib.rs:40-47 | poem-openapi-derive/src/lib.rs:109-116 | poem-openapi-derive/src/lib.rs:156-163 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-mcpserver-macros/src/lib.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"fae960e9830fa3440a7204836689a717e77d83da6a729e2d59f5ff9af5527859"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): poem-openapi/src/auth/basic.rs:19-31 | poem-openapi/src/auth/bearer.rs:16-27 \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":"poem-openapi/src/auth/basic.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a7b5b57a3f55f25a019535cba711e519f999c39a1ef7de8a183b126f22e339"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): poem-mcpserver-macros/src/utils.rs:52-60 | poem-openapi-derive/src/utils.rs:91-99 \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":"poem-mcpserver-macros/src/utils.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7628f5f23df2c17f992d6a2e0495aa531e4402e309226823cd02437872630615"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): poem/src/listener/tcp.rs:29-36 | poem/src/listener/unix.rs:96-103 \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":"poem/src/listener/tcp.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab91e40101134b1fa61461c3599aeb6232886c7cc07a8b56c5a14604f5bcc5da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): poem/src/request.rs:116-123 | poem/src/response.rs:33-39 \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":"poem/src/request.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d687ba18f73661d1ed867a09f5a27898e2bd54dc689d548a5fa957646b55f044"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): poem/src/request.rs:139-146 | poem/src/response.rs: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":"poem/src/request.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"81a43a5965f41036257cf657304190d87fe17480b83000377d4b9d9fe9c85aaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): poem-openapi/src/ui/rapidoc/mod.rs:50-60 | poem-openapi/src/ui/swagger_ui/mod.rs:56-64 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/ui/rapidoc/mod.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1dc6451717e46653a109fd58d8b5f6abed26619ae42edf9e79e3d0581c7795"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): poem-openapi/src/base.rs:72-77 | poem/src/request.rs:296-302 \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":"poem-openapi/src/base.rs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d0486b98d0c444193701ac5a35f34ed6604635ae26b677acc89845541c1eb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): poem-openapi/src/validation/maximum.rs:31-38 | poem-openapi/src/validation/minimum.rs:31-38 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/validation/maximum.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea112dc7ca83c679c8b272087598b45b2572a4011fef2a8c7e6e5357e2789fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 6\u002B corresponding lines): poem/src/listener/native_tls.rs:109-114 | poem/src/listener/openssl_tls.rs:154-159 | poem/src/listener/rustls.rs:367-372 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/listener/native_tls.rs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c65e938aafb239f0c7a4132294710d8748fd8ef8c1f2a0c3acb9b56864d935c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): poem-grpc/src/request.rs:19-24 | poem-grpc/src/response.rs:17-22 \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":"poem-grpc/src/request.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a40a91eb5da03ea1a1729625d80d5d9b59da399cd8a363259dfc2e2e4c024df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): poem/src/listener/openssl_tls.rs:118-123 | poem/src/listener/rustls.rs:331-336 \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":"poem/src/listener/openssl_tls.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"4098a990dc0ed32ac6abdb37ccafece44d5e91d65f2e45aee9817ce1b874cc4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): poem/src/request.rs:625-630 | poem/src/response.rs:168-173 \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":"poem/src/request.rs"},"region":{"startLine":625}}}],"partialFingerprints":{"codehealthFindingId/v1":"360d2530da8c4ba6713501dfaa745588055c113825b2de645a278ebd8a2c9b93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): poem-grpc/src/server.rs:55-82 | poem-grpc/src/server.rs:146-173 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-grpc/src/server.rs:55\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-grpc/src/server.rs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a3ac6dcd5ceefadf97877f6c8711d183baf954452b76b7e89ca318f630a1988"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): poem-mcpserver-macros/src/prompts.rs:32-54 | poem-mcpserver-macros/src/tools.rs:35-57 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-mcpserver-macros/src/prompts.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"69731e13b7248ad50536bbe07cb676861b7424d3ecf49a585f994a6450d4179c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): poem-openapi-derive/src/response.rs:193-214 | poem-openapi-derive/src/response.rs:256-277 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/response.rs:193\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/response.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5c2cf0a5f6d151285f6788a508d6c55d79e904b9289aebbdf0ead7805e7e71e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): poem-grpc/src/client.rs:255-274 | poem-grpc/src/client.rs:302-321 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-grpc/src/client.rs:255\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-grpc/src/client.rs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed003e5eedb2af6fd5d92eb3a1bd62291b9d3c1194b5f85c4e71142effb719ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): poem-openapi-derive/src/object.rs:393-411 | poem-openapi-derive/src/union.rs:399-417 \u2014 before extracting anything, compare \u0060poem-openapi-derive/src/object.rs\u0060 and \u0060poem-openapi-derive/src/union.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/object.rs:393\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/object.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e6da1578ac8265ffd15ba8fdf43542b54510d4b5ac8f0adc675df1b6c12e4a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): poem-grpc/src/client.rs:290-306 | poem-grpc/src/client.rs:379-395 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-grpc/src/client.rs:290\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-grpc/src/client.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"629b53758b8b9e4da67eb48a63a215e031622bb53030ed82cd22f210dfd33096"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): poem-grpc/src/server.rs:171-187 | poem-grpc/src/server.rs:215-231 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-grpc/src/server.rs:171\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-grpc/src/server.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"15093e9e37064d5247db91c508c922c5c2b432cf8017fd90f74a9c9dcf22a7ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): poem-mcpserver/src/server.rs:277-292 | poem-mcpserver/src/server.rs:312-327 | poem-mcpserver/src/server.rs:363-378 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-mcpserver/src/server.rs:277\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-mcpserver/src/server.rs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"80d17ae091b95d2f06624a671980ea4d6e23df5c9d0d1eac228c7a87e265c7d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): poem-grpc/src/client.rs:244-259 | poem-grpc/src/client.rs:337-352 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-grpc/src/client.rs:244\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-grpc/src/client.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc00b6583526da749a0d4d461f566483f563a56f99cf5e2c80e1801a4574930c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): poem-grpc/src/client.rs:348-363 | poem-grpc/src/client.rs:391-406 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-grpc/src/client.rs:348\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-grpc/src/client.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"b23bf7796099439b563bea4537c70976e055bef06d89fbe67ef02eb7d036be55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): poem-mcpserver-macros/src/utils.rs:17-32 | poem-openapi-derive/src/utils.rs:28-43 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-mcpserver-macros/src/utils.rs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac93cffc94f055016ed485f5143199cde3897678dcf755d139986ae712baa6f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): poem-grpc/src/server.rs:102-116 | poem-grpc/src/server.rs:195-209 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-grpc/src/server.rs:102\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-grpc/src/server.rs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"374ce70eb6428a4da090552f07eb07bf73fec478293a8883bb4f553958e8f270"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): poem-openapi-derive/src/response.rs:278-292 | poem-openapi-derive/src/response.rs:319-333 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/response.rs:278\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/response.rs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65e31438825981f18c7611a7e6fb1c77ea4ffd1518c8feefd4c691f3ad8a1a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): poem-openapi-derive/src/response.rs:216-229 | poem-openapi-derive/src/response.rs:279-292 | poem-openapi-derive/src/response.rs:320-333 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/response.rs:216\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/response.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66db70a3f3924aef574e600e9e17631efbee921a72fd572fc249cc4de49e4d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): poem-openapi/src/param/cookie.rs:65-78 | poem-openapi/src/param/cookie.rs:199-212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi/src/param/cookie.rs:65\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/param/cookie.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84f2fe44a3e9d880ffe07bb06adad850258188735b9cf799f852c297737f377"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): poem-grpc-build/src/server.rs:274-286 | poem-grpc-build/src/server.rs:318-330 | poem-grpc-build/src/server.rs:362-374 | poem-grpc-build/src/server.rs:406-418 \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 \u0060poem-grpc-build/src/server.rs:274\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060request\u0060 to \u0060#crate_name::Request\u003C#input_type\u003E\u0060 in one and \u0060#crate_name::Request\u003C#crate_name::Streaming\u003C#input_type\u003E\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-grpc-build/src/server.rs"},"region":{"startLine":274}}}],"partialFingerprints":{"codehealthFindingId/v1":"620164e207e2a9914c52297f21759fdb059da2fe602fa8ab0ae5cd1a879be27c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): poem-openapi-derive/src/api.rs:388-400 | poem-openapi-derive/src/webhook.rs:219-231 \u2014 before extracting anything, compare \u0060poem-openapi-derive/src/api.rs\u0060 and \u0060poem-openapi-derive/src/webhook.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/api.rs:388\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/api.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a4795e9a2acb31816c1b62feb5f047ac28419d9dfc69dee4a2f7b5ddbabd9f6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): poem/src/request.rs:89-101 | poem/src/request.rs:159-171 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem/src/request.rs:89\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060poem/src/request.rs:172\u0060 calls \u0060Body\u0060, \u0060map_err\u0060, \u0060boxed\u0060 and \u0060poem/src/request.rs:102\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/request.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"915a9b270214961145fafe13a422f069d2ce41bbd7790045a8c51f7ab2d0ca96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): poem/src/listener/handshake_stream.rs:42-53 | poem/src/listener/handshake_stream.rs:70-81 | poem/src/listener/handshake_stream.rs:92-103 | poem/src/listener/handshake_stream.rs:114-125 \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 \u0060poem/src/listener/handshake_stream.rs:42\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/listener/handshake_stream.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"811120d6d29721bc30eb253ecef4154f3ac1acb77f3ac86f21bfcf69f786f5ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): poem-openapi-derive/src/api.rs:237-248 | poem-openapi-derive/src/webhook.rs:153-164 \u2014 before extracting anything, compare \u0060poem-openapi-derive/src/api.rs\u0060 and \u0060poem-openapi-derive/src/webhook.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/api.rs:237\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/api.rs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ebd4bce4b4c0e26b514dc340681c5d6ad42fff0ec64a0b68f8a647d1b78de5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): poem-openapi-derive/src/oauth_scopes.rs:62-73 | poem-openapi-derive/src/tags.rs:60-71 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/oauth_scopes.rs:62\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/oauth_scopes.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"694d30bb25feead4ee9a381b99dd18d840d253a8d405d23981dc0eacb672f21d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 4): poem-grpc/src/client.rs:251-260 | poem-grpc/src/client.rs:300-307 | poem-grpc/src/client.rs:344-354 | poem-grpc/src/client.rs:389-397 \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 \u0060poem-grpc/src/client.rs:251\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under 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":"poem-grpc/src/client.rs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"4186f133fd6b1aa5f12e4353bcd5ff5103b45b004f62696bfab69bc1c0dbf05f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): poem-openapi-derive/src/object.rs:433-443 | poem-openapi-derive/src/object.rs:455-465 | poem-openapi-derive/src/object.rs:477-487 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/object.rs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"669c069949d8abfea350c97471899a019ad904f70ccdf83244fc181b8e32ad10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): poem-openapi-derive/src/enum.rs:119-129 | poem-openapi-derive/src/object.rs:331-340 \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 \u0060poem-openapi-derive/src/enum.rs:119\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/enum.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c47b7941b62df757b4c609649feb72ec6a0b25bacfd3756c5b82fa43a8e9984"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): poem-openapi-derive/src/security_scheme.rs:455-465 | poem-openapi-derive/src/security_scheme.rs:542-551 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/security_scheme.rs:455\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/security_scheme.rs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"909fdc9e61dcf9f286bfbf60668cb4ae3fa7dc5d0aeb53f98337d19c5851d7a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): poem/src/listener/native_tls.rs:165-174 | poem/src/listener/openssl_tls.rs:210-220 \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 \u0060poem/src/listener/native_tls.rs:165\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under 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":"poem/src/listener/native_tls.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc956c395b3f0a7d1670dc679d352c9cfad63c071b5e73d4442488b83007ca55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): poem-grpc/src/server.rs:53-62 | poem-grpc/src/server.rs:100-109 | poem-grpc/src/server.rs:144-153 | poem-grpc/src/server.rs:193-202 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-grpc/src/server.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ac961611210e301cd24f463fa7248dd342dfd745d090bea0a8288ad94f1452"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): poem-grpc/src/server.rs:80-89 | poem-grpc/src/server.rs:122-131 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-grpc/src/server.rs:80\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-grpc/src/server.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a91ca3f8d7b419877c63896ac4d5ecc769e36dec263491bfe0639cc4cc94ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): poem-mcpserver-macros/src/prompts.rs:58-67 | poem-mcpserver-macros/src/tools.rs:60-69 \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 \u0060poem-mcpserver-macros/src/prompts.rs:58\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-mcpserver-macros/src/prompts.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b25d87e111c27e91d3b5f7654009741429112f76cfd31af6803c71923e3a65"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): poem-openapi-derive/src/multipart.rs:193-202 | poem-openapi-derive/src/request.rs:59-68 \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 \u0060poem-openapi-derive/src/multipart.rs:193\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/multipart.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1264e20c7269e83c8683b835488c637c0f1d4e8c65a4baf25f1dd21b6783d210"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): poem-openapi-derive/src/response.rs:115-124 | poem-openapi-derive/src/response.rs:136-145 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/response.rs:115\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/response.rs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9aea5283a407eb1212854dc4f048f2acc756f80a6ce6a156cbe8e525f8003a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): poem/src/web/static_file.rs:137-146 | poem/src/web/static_file.rs:252-261 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem/src/web/static_file.rs:137\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/web/static_file.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d031ca8333543124ef6c1c5f9451199afd3e22529902909845b9530c11371511"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): poem-openapi/src/param/cookie.rs:62-71 | poem-openapi/src/param/cookie.rs:129-138 | poem-openapi/src/param/cookie.rs:196-205 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi/src/param/cookie.rs:62\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060poem-openapi/src/param/cookie.rs:128\u0060 calls \u0060private\u0060 and \u0060poem-openapi/src/param/cookie.rs:61\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/param/cookie.rs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"50eaea984e8ad0398f494175504701b1c98ab0ff3bb2224cafb7b62e35e584c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): poem/src/listener/native_tls.rs:163-171 | poem/src/listener/openssl_tls.rs:208-216 | poem/src/listener/rustls.rs:422-430 \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 \u0060poem/src/listener/native_tls.rs:163\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/listener/native_tls.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61ee3770faea8feec2c75d705965ea1bf4ef094d8ae3f81cf73c221914a7ab9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): poem/src/middleware/opentelemetry_metrics.rs:91-99 | poem/src/middleware/opentelemetry_metrics.rs:102-110 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/middleware/opentelemetry_metrics.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd2ae968f15620ea7ce00a73d134a848824c06e207b8a1fc7f23456b3b1db22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): poem-openapi-derive/src/request.rs:41-47 | poem-openapi-derive/src/response.rs:66-72 | poem-openapi-derive/src/response_content.rs:37-44 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/request.rs:41\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under 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":"poem-openapi-derive/src/request.rs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dbe36fde81e189676567e2e21666d851fe6e85e7dfa9680781f1c3ae5b6fb3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): poem-openapi-derive/src/api.rs:553-560 | poem-openapi-derive/src/webhook.rs:131-138 \u2014 before extracting anything, compare \u0060poem-openapi-derive/src/api.rs\u0060 and \u0060poem-openapi-derive/src/webhook.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/api.rs:553\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/api.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f3769dc057264eff112f88f63c38db3982000c8231101d9b5f185b9c125c0c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): poem/src/middleware/opentelemetry_tracing.rs:108-115 | poem/src/middleware/opentelemetry_tracing.rs:133-140 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/middleware/opentelemetry_tracing.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"e800408dc9db09955773e2a4bc4a3ebdba3545daccc6633c6f25ff8c12b5d9a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): poem-openapi-derive/src/enum.rs:121-127 | poem-openapi-derive/src/newtype.rs:77-83 | poem-openapi-derive/src/object.rs:333-339 | poem-openapi-derive/src/tags.rs:72-78 | poem-openapi-derive/src/union.rs:369-375 \u2014 before extracting anything, compare \u0060poem-openapi-derive/src/object.rs\u0060 and \u0060poem-openapi-derive/src/union.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/enum.rs:121\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/enum.rs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b3f554980c2926b9baa08ec9a01c5ccae5ddd67e4914a2837ffebcbff522bef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): poem-openapi-derive/src/api.rs:547-553 | poem-openapi-derive/src/webhook.rs:267-273 \u2014 before extracting anything, compare \u0060poem-openapi-derive/src/api.rs\u0060 and \u0060poem-openapi-derive/src/webhook.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/api.rs:547\u0060 it does not close everything it opens, so those exact 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, \u0060poem-openapi-derive/src/webhook.rs:265\u0060 calls \u0060push\u0060 and \u0060poem-openapi-derive/src/api.rs:545\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":"poem-openapi-derive/src/api.rs"},"region":{"startLine":547}}}],"partialFingerprints":{"codehealthFindingId/v1":"818097293bf6ba459a355f84cfad947c6d858d2d39230a811433156dc5c8754f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): poem-openapi-derive/src/multipart.rs:50-57 | poem-openapi-derive/src/object.rs:95-101 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/multipart.rs: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":"poem-openapi-derive/src/multipart.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"0814dc900b6b5236f58b71cfba71ea5c547f527e918563463ede5e888de15408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6\u20137 lines \u00D7 2): poem-openapi-derive/src/multipart.rs:84-90 | poem-openapi-derive/src/object.rs:149-154 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under 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":"poem-openapi-derive/src/multipart.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"007d018fd36675459326bbd51cc1b52f428f96f4a926fe8c0d200cdd2b143f0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): poem-openapi-derive/src/multipart.rs:261-267 | poem-openapi-derive/src/request.rs:120-126 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/multipart.rs:261\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/multipart.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"6865b29b571bb19ad8d3796d7ef39a889d7f275c7a6fa3c06791aa99ffc185bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): poem-grpc-build/src/server.rs:260-265 | poem-grpc-build/src/server.rs:304-309 | poem-grpc-build/src/server.rs:348-353 | poem-grpc-build/src/server.rs:392-397 \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 \u0060poem-grpc-build/src/server.rs:260\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-grpc-build/src/server.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd042104e673776aa93daaf5c6f94efc49387a5d30531ad31b8a46fd4410e82c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): poem-openapi-derive/src/api.rs:565-573 | poem-openapi-derive/src/api.rs:595-603 | poem-openapi-derive/src/response.rs:128-136 \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 \u0060poem-openapi-derive/src/api.rs:565\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060poem-openapi-derive/src/api.rs:605\u0060 calls \u0060insert\u0060 and \u0060poem-openapi-derive/src/response.rs:138\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/api.rs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"f68a317ba9561f38b685af7804a9b2f16db2334da718b4581a17178a391aed5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): poem-openapi-derive/src/response.rs:210-215 | poem-openapi-derive/src/response.rs:243-248 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/response.rs:210\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/response.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a454ca5089fb90f802e92afcfcf445bf73932f6a63c3c518644bdd3d244e6365"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): poem-openapi-derive/src/security_scheme.rs:340-345 | poem-openapi-derive/src/security_scheme.rs:354-359 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/security_scheme.rs:340\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/security_scheme.rs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"1016e6b18031bfa39bb182d09fccd414034f2d266235a3811765dd467e0f2b9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): poem/src/listener/acme/jose.rs:34-40 | poem/src/listener/acme/jose.rs:83-89 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem/src/listener/acme/jose.rs:34\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060poem/src/listener/acme/jose.rs:90\u0060 calls \u0060sha256\u0060 and \u0060poem/src/listener/acme/jose.rs:41\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/listener/acme/jose.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"7359f772c007775dd636b8b9984d43661590977ca153cc8ed107efde2ebf92f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): poem-openapi-derive/src/object.rs:447-451 | poem-openapi-derive/src/object.rs:469-473 | poem-openapi-derive/src/object.rs:491-495 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/object.rs:447\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/object.rs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6664299ce8939f1c6ff8c1fbceeaa3acfc5dc83901d9aacff24eaa5f54cf7c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): poem-openapi-derive/src/api.rs:425-429 | poem-openapi-derive/src/webhook.rs:231-235 \u2014 before extracting anything, compare \u0060poem-openapi-derive/src/api.rs\u0060 and \u0060poem-openapi-derive/src/webhook.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/api.rs:425\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/api.rs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39eaa375d512ad32f00a003e31392df88c8fc758860aee2fbc10ad8ea80888d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): poem-openapi-derive/src/enum.rs:145-149 | poem-openapi-derive/src/object.rs:407-411 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/enum.rs:145\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/enum.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c1b5a6f0bec78047fa5b18085e5bdb12350dbfac1d57957f7eb4af6d8e0ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 3): poem-openapi-derive/src/enum.rs:160-162 | poem-openapi-derive/src/object.rs:425-429 | poem-openapi-derive/src/union.rs:431-435 \u2014 before extracting anything, compare \u0060poem-openapi-derive/src/object.rs\u0060 and \u0060poem-openapi-derive/src/union.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/enum.rs:160\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under 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":"poem-openapi-derive/src/enum.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2a19da65f998f93255071f9278162bc4d0f0872b7119083f2ec8a93ee781172"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): poem-openapi/src/ui/openapi_explorer/mod.rs:35-44 | poem-openapi/src/ui/redoc/mod.rs:41-50 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/ui/openapi_explorer/mod.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d6b8e5023de40ef2d50c8cf4491b1029a3dc5f7d13b0569bc324cd947a06bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): poem-grpc/src/metadata.rs:69-73 | poem/src/request.rs:289-293 | poem/src/response.rs:190-194 \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":"poem-grpc/src/metadata.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"2061df2ab37d56ecc52c74901a9750a52dc8c3d81acdfb36f731cf61739041b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): poem-openapi/src/payload/base64_payload.rs:91-97 | poem-openapi/src/payload/plain_text.rs:33-39 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/payload/base64_payload.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"c89112c9fd8f6046a5997d2c453e472c9c87a555652470b4466db3f19ed8db5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): poem-openapi/src/payload/form.rs:35-41 | poem/src/web/form.rs:114-121 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/payload/form.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"97039403b253cc1b1b081204efc3e24e3709d84cb1d685a26b1ac5f368285ba1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): poem-openapi/src/payload/json.rs:36-42 | poem/src/web/json.rs:133-140 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or 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":"poem-openapi/src/payload/json.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf16fc3420a127ee045d70067453ad83e1a2889af94927c70fce01c993f6d91b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): poem-openapi/src/payload/response.rs:81-88 | poem/src/request.rs:607-614 | poem/src/response.rs:295-302 \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":"poem-openapi/src/payload/response.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"620f4499cb55e8a123d9c3cb746c80d012a2ccd3320e2d76aba70515a9d0e128"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): poem-openapi/src/payload/xml.rs:36-42 | poem/src/web/xml.rs:126-133 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/payload/xml.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9738d94b96e56309e9675ff888949876bb80ddf1f32363cf0de6a0a4e1bf767"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): poem-openapi/src/payload/yaml.rs:36-42 | poem/src/web/yaml.rs:127-134 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/payload/yaml.rs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c320d67a9830b7aa1d5c218f85ae374a5e6c58fdcfcd62764f70f2c789de9a08"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): poem/src/request.rs:384-388 | poem/src/response.rs:160-164 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/request.rs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aeeb22e537cd46fcc333b4fc9483427a90301f56f74ce03fd3cfceaba3acad2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): poem-openapi-derive/src/enum.rs:60-72 | poem-openapi-derive/src/oauth_scopes.rs:54-66 | poem-openapi-derive/src/tags.rs:52-64 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/enum.rs:60\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/enum.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a2e542a5ba51bf9c77330ab22bd0bec4d3ccceaa0c995045ed9a878206f21f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): poem-openapi-derive/src/oauth_scopes.rs:42-53 | poem-openapi-derive/src/response.rs:68-78 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060poem-openapi-derive/src/response.rs:67\u0060 calls \u0060split_for_impl\u0060 and \u0060poem-openapi-derive/src/oauth_scopes.rs:41\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/oauth_scopes.rs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"41c44a080a59ed619ae3f08e1019a927ceef760de610a3fa5937bb246f8ac46c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): poem/src/web/json.rs:150-160 | poem/src/web/yaml.rs:139-149 \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 \u0060poem/src/web/json.rs:150\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/web/json.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"996e363546d362b9fd276822954a2c4895aaa1c729b9e05fde1c69ea8f68f708"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): poem/src/listener/acme/client.rs:186-196 | poem/src/listener/acme/client.rs:216-226 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem/src/listener/acme/client.rs:186\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/listener/acme/client.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1e3f8156c17403ed8d6c9f8eef1d867f344f975876344b7cd89d4d5d8b17e32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): poem-openapi-derive/src/multipart.rs:58-66 | poem-openapi-derive/src/response.rs:73-81 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/multipart.rs:58\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/multipart.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"94efc8000e6b35e985994ce84c0ffbdead13490633e794fff77d375eaa79a318"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): poem-openapi-derive/src/security_scheme.rs:369-375 | poem-openapi-derive/src/security_scheme.rs:383-389 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/security_scheme.rs:369\u0060 it does not close everything it opens, so those exact 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, \u0060poem-openapi-derive/src/security_scheme.rs:368\u0060 calls \u0060as_ref\u0060, \u0060unwrap\u0060, \u0060generate_meta\u0060 and \u0060poem-openapi-derive/src/security_scheme.rs:382\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/security_scheme.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9a9b067233b91fbafe5d5e39b50578f1a32cd191f87e49d64342880bd7a07bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): poem-openapi-derive/src/enum.rs:53-59 | poem-openapi-derive/src/tags.rs:46-52 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/enum.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7549e92f1e8dfba6cbd53708f91564bf412ccac5ecf1369c79530826a2a57a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): poem/src/listener/acme/jose.rs:35-39 | poem/src/listener/acme/jose.rs:84-88 | poem/src/listener/acme/jose.rs:121-125 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060poem/src/listener/acme/jose.rs:90\u0060 calls \u0060sha256\u0060 and \u0060poem/src/listener/acme/jose.rs:41\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/listener/acme/jose.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"85faa7cc275df0e8af52c0017732ee259c648b155e40ac1c0fffb693424df906"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): poem-openapi-derive/src/object.rs:420-424 | poem-openapi-derive/src/union.rs:426-430 \u2014 before extracting anything, compare \u0060poem-openapi-derive/src/object.rs\u0060 and \u0060poem-openapi-derive/src/union.rs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060poem-openapi-derive/src/object.rs:420\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/object.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a278a98cd63bee9597a476f85eed7701c0d5ebc63dc457b43c5447206473ed"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: poem-grpc-build: poem-grpc-build: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"61d0365ef2261c59ae27204a3d9b99f53b1055c43020ef1b105f01573dfc78b4"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: poem: poem: abstractness 0.09, instability 0.17, distance 0.75 \u2014 zone of pain \u2014 concrete and depended on by 5 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"25a81c1b7fd06e9d5b6888944ce51683da7ef00e4b5789ae3c9347227b42bfed"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HandshakeStream (LCOM4 4): HandshakeStream\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":"poem/src/listener/handshake_stream.rs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"442904de9ab7bbd83430ba15ed82a96c0404ae8e09ccf300d88334266efa002a"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: BoxIo (LCOM4 4): BoxIo\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":"poem/src/listener/mod.rs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1360dd80c0f2b1d2fc3a15e70f856e7d69048faa3a4337f4f03a7997c89850d"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c071727949ae48f1075de47f1fbde41300883f59163eae90c23ac7acfb7c557"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"59dc0cfc53bd4ec60e2cd71a1437a421d840a876c2278f49073139e271609d06"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: poem-openapi-derive/src/api.rs: poem-openapi-derive/src/api.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 40 in poem_openapi_derive::api::generate_operation at line 170. 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-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 18:41:13 \u002B08:00\u0027 --until=\u00272026-10-28 18:41:13 \u002B08:00\u0027 --full-history --no-merges -- poem-openapi-derive/src/api.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/api.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80ef754b5e11f0f09d979303926cd7fdcf6ad5115666d95b17826b019da09cc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: poem-mcpserver/src/streamable_http.rs: poem-mcpserver/src/streamable_http.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in poem_mcpserver::streamable_http::post_handler at line 333. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 18:41:13 \u002B08:00\u0027 --until=\u00272026-10-28 18:41:13 \u002B08:00\u0027 --full-history --no-merges -- poem-mcpserver/src/streamable_http.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-mcpserver/src/streamable_http.rs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb1f3a21a27039200d2f44f45a3c62760756b54d5a4063c540f407598af8096"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: poem-openapi-derive/src/union.rs: poem-openapi-derive/src/union.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in poem_openapi_derive::union::generate at line 50. 2 of those changes were fix/bug commits, so the churn is repair rather than feature work. 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-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 18:41:13 \u002B08:00\u0027 --until=\u00272026-10-28 18:41:13 \u002B08:00\u0027 --full-history --no-merges -- poem-openapi-derive/src/union.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi-derive/src/union.rs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"edd3cb0fa209641d6cb0f6d353d644e170d19f9919806bace39c91e8f5f927d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: poem/src/web/static_file.rs: poem/src/web/static_file.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in StaticFileRequest::create_response at line 187. 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-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 18:41:13 \u002B08:00\u0027 --until=\u00272026-10-28 18:41:13 \u002B08:00\u0027 --full-history --no-merges -- poem/src/web/static_file.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/web/static_file.rs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"590bdac832df7e8c55613fe161d27524c25cae6f10624f52fed4750fafda2d09"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: poem/src/endpoint/static_files.rs: poem/src/endpoint/static_files.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in StaticFilesEndpoint::serve at line 193. 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-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 18:41:13 \u002B08:00\u0027 --until=\u00272026-10-28 18:41:13 \u002B08:00\u0027 --full-history --no-merges -- poem/src/endpoint/static_files.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/endpoint/static_files.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a1cdfb78d3e8ed45717bccfc1031cb723db886a9767be89293d71cba59ba8e2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: poem/src/route/internal/radix_tree.rs: poem/src/route/internal/radix_tree.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in Node::matches at line 378. 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-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 18:41:13 \u002B08:00\u0027 --until=\u00272026-10-28 18:41:13 \u002B08:00\u0027 --full-history --no-merges -- poem/src/route/internal/radix_tree.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/route/internal/radix_tree.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"6342a7a9884fa049b262f8f117578ee6db153dac6bceb4dc7c9d6f93da7bc737"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: poem/src/listener/rustls.rs: poem/src/listener/rustls.rs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is RustlsAcceptor::accept at line 407), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201Cfix(mcp): avoid structured output schema panics and document API deferrals (#1211)\u201D; \u201Cfix(grpc): correct content-type for JsonCodec (#1191)\u201D; \u201Cfix: remove rustls-pemfile dependency (#1184)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-30..2026-10-28, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-30 18:41:13 \u002B08:00\u0027 --until=\u00272026-10-28 18:41:13 \u002B08:00\u0027 --full-history --no-merges -- poem/src/listener/rustls.rs\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/listener/rustls.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"8249e16cb5f2cd1ec51dca677226696d8b9ab2abb0bb84d123f7bb8c47d6cc47"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 9 significant file(s) lose their only recent owner: poem/src/middleware/normalize_path.rs, poem-mcpserver/src/protocol/rpc.rs, poem-openapi/src/types/external/jiff.rs, poem/src/web/form.rs, poem-openapi/src/types/external/optional.rs, poem-openapi/src/types/external/range.rs, poem/src/web/sse/event.rs, poem-mcpserver/src/protocol/resources.rs (\u002B1 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"37d6beca7441dadcac63b570cd229819998067fd9aae2f3550055d8cd9bf6fd5"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 5 significant file(s) lose their only recent owner: poem-grpc/src/encoding.rs, poem-grpc/src/status.rs, poem-grpc/src/test_harness.rs, poem-grpc/src/route.rs, poem-grpc/src/compression.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"80c28e9142d35ad32baa169c9ce236f068b7a05b31c5ddab9bccdc2c5421b36b"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 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 (16 single-owned of 176 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; 176 of the 294 production source files in this repository met that bar). They are anonymized user #3 (1 file(s)), anonymized user #4 (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: poem/src/listener/tcp.rs, poem/src/web/xml.rs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle error \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-worker/src/server.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"63bffe06e980dbf9d3af5cc7af278ac8b3e5d40f2eb466e74d14c2e56119e11d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: remove the unnecessary boxed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/base.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4696970feacee8ab23a5b6f60184dbe5ff9f0a37e0b2372cb2451a7475c386"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: remove the unnecessary boxed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/web/mod.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2adf6fd36a07838fd5ce9e7d4ee55f877c03b6d1a098e5d32c3828913392ce3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: remove the unnecessary boxed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/web/mod.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bbb520fc64d48d2f409ca60332f70e17ff6608f6282db082ae6d0ec312c03fc"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: remove the unnecessary boxed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/web/mod.rs"},"region":{"startLine":816}}}],"partialFingerprints":{"codehealthFindingId/v1":"429704f39a054baa8460da48bca621aa25f13496d96e1662c4e579f0468e6aaa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //!     todo!() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/lib.rs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4db2b9a008dd7fcd352abe80f735725d80800fb14feabc0a781e077662862a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //!     todo!() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/lib.rs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3232682d28eab7f4ffe2412ffcc5a357895c8f15ebedd0a87d58ae1270ad414"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //!     todo!() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/lib.rs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"200ff80e95edadc9dca9352fab509bf212c4206e14b40d2759bd111f5eabc726"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// Todo \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/openapi/todos/src/main.rs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"766787c59c0abe97074483badb011896975caae235e2fc41a30010c231bfc8c4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// Todo \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"examples/openapi/todos/src/main.rs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"49cfa2a037cc4fd407316b77d4f90e0bad1894cbdfcbc9a547f73572366d9701"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 11 project(s) overshoot their size bounds, lowering Project Cohesion to 6.5/10. The most over is \u0060poem\u0060 (22079 LoC, 235 module-visible types across 13 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ab52e8db21bf2120e3e5d52e9dce6cacac31686406e4290cb420a19c9ce828cf"},"taxa":[{"id":"CWE-321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"af4922c625b4639edda9c95a8adf098e91c618eb536dbe449a2e5de0ebf6e5d9"},"properties":{"commitSha":"47232f235a50b48df424e60de8df49dccfe6ee78"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"285f32be14294d35c3d7661fdc692586f7c7d9da156435ecda0cda7938c9b92f"},"properties":{"commitSha":"8541ae12d25eda2510862c3bde3a9ada3f27c127"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d7a51efeafde9560ea09a39a7fa99796e799f3a76a51b9d4eda02faaadf1478f"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1652660d1418357a468ba96ee2953c99f606165b27fe0ca387cc86654512ad26"},"properties":{"commitSha":"8541ae12d25eda2510862c3bde3a9ada3f27c127"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"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":"e5b557c9b51a27c6ffffd4bcd786f5205fdb6c8cc92ed5b989bd7a7805fb9511"},"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":"76b1aee0684dd72e51e0aefef8b3759450aca1c37a61b14bf7923519ee602e7b"},"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":"96f88121b035a898a6759141862415469563ae4858d3bd2449d90d5e5ba04a57"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6bb9cf1195ec12a40db09939947f98fc2e7c8621a77e1a791a5eb53da2fbb34d"},"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":"fc22d3f11d84eda67ddc05ec9f2a88629a95fedc96bb65c2ad0abda1b665b7f6"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0d386d80d7b5b673a2aaa813bd7442fbee8a3a75cf2e38e645815765daa16a5a"},"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":"4c04097bfa4cef1c891aff0825baf09174c7f7c9e501de2f936698ce48bbb776"},"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":"c05398fae6e5d772fe473582bd84cee7c1a07a09a16dc3645116e0f84381d986"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"54015389eb5f9a0beb6433e209224f32665bbffd45f48b4ac71eacdc7584cddd"},"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":"58416306c1a27a37c4768b939e55dd2865e8672774adab59964be2ffeffdd74f"},"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":"b5f43548e65d320fbd42168a71f6e650a831b385573ebbc168439631736b063c"},"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":"4ad3691d8d69f694ad8afab6d2a1944200f5cdff46c5a1c5ef9690232a5b6a5d"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"925a1751e8d41c7a13a4890cf62f333e20e1b9979e60753140251f2431b1053b"},"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":"d29688f45b2bc3fb841fa1991841d9f617b13b9371f598be920f6051cba6d6ed"},"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":"865c1256b0af6cac7fabd52ec1703a6840a81e82c2cc09619e5e78e47af02756"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b045f06583c9b465f808666ab807bb301b75e163408a0670ffe050a381f461f6"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"0c8ac9b11e4371a44bd704d7304b753e2599855e3624404e6c2ccf6fd7141a8e"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0b9845d71d0362b133e919076e03cfabcc33e62fd69751d60446f2447a89201f"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e0c79e1706629d79b21498c1e2e536ea928afcec33c0a1a0d06a1926058ff2c"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"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":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"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":"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":"c5928b81075799790cb18fed2980a6b6e8aa5072772041c9951633efe8eb3542"},"taxa":[{"id":"CICD-SEC-1","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/ui/rapidoc/oauth-receiver.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73dac3c0e33c7ac8e825b394e5d4db1e8867a283cbd8deaf2b544ecb120789c"}},{"ruleId":"AC3","level":"error","message":{"text":"Document without a \u003Ctitle\u003E: A page with no \u003Ctitle\u003E gives no name in the tab, history or screen-reader page list. Add a descriptive \u003Ctitle\u003E in \u003Chead\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/ui/rapidoc/oauth-receiver.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a3f8fb561a536d607ea0b254c32dc852ce393f7a3d5fa56b8bf31bcc2da3208"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. This document\u0027s body is only the mount point \u003Coauth-receiver\u003E, so there is no content here to wrap \u2014 render the \u003Cmain\u003E from the component mounted into it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/ui/rapidoc/oauth-receiver.html"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fd600b53b34e3d72a76ebd487aef0fab117b440c79b9cd33825c71e42e2bcb"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/ui/stoplight_elements/stoplight-elements.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"24850e5339f100f627c5cce548d259e382d90404cbfaa4572429d55b6eb98c9b"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 2/4 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060poem-grpc\u0060, \u0060poem-openapi\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"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":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://unpkg.com/@stoplight/elements/web-components.min.js\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. The URL also names no version, so it resolves to whatever that origin serves at fetch time \u2014 the executed bytes can change with nobody touching this repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/ui/stoplight_elements/stoplight-elements.html"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"972586d1fa63ffeca1a5d640d3045df77160c5aef158922b149b054e0daa2360"}},{"ruleId":"S1","level":"note","message":{"text":"No security response headers detected: None of the 11 security response headers the OWASP Secure Headers Project recommends (Content-Security-Policy, Strict-Transport-Security, X-Content-Type-Options, X-Frame-Options, \u2026) is set on a response this repository\u0027s Rust server sends \u2014 defense in depth, even when a proxy could set them. (\u22122.0 on this card.) The server: \u0060.serve_connection_with_upgrades(\u0060 (poem/src/server.rs:499)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd19c680309417e132c0be93c2002123f0664b42afe6172b1319da65a6a57ba7"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!config.emit_package \u0026\u0026 !service.package.is_empty()\u0060 appears character-identically in 2 files \u2014 poem-grpc-build/src/client.rs, poem-grpc-build/src/server.rs. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-grpc-build/src/client.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d3a7630dee8c87556ea5660fb91e33c8b072b5c0292382aa7a3a116d08eb129"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 120 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/listener/acme/listener.rs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ace373fc1c735818d8282c0d1a7e588a6ec7c0450649d04acba21f8718f79fe"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: \u0060warn!\u0060 at line 131 is handed a format string with \u0060{\u2026}\u0060 values in it, so tracing records one finished \u0060message\u0060 field \u2014 the values in it cannot be queried, filtered or aggregated as fields, and every occurrence reads as a different message. Record the values as fields beside a constant message instead: \u0060warn!(order_id = %order_id, status = ?status, \u0022order status updated\u0022)\u0060 (\u0060%\u0060 records a value by its \u0060Display\u0060, \u0060?\u0060 by its \u0060Debug\u0060, a bare name as itself), which a JSON subscriber, OpenTelemetry or a log store keeps as queryable keys. An error goes in as a field too: \u0060error = %err\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem/src/listener/acme/listener.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a00b58faf1c7941c004356b79e48ac3a4a6a3cf0989c38894e3ddf0542a35f"}},{"ruleId":"X6","level":"note","message":{"text":"Hand-rolled JSON/XML parsing via regex: A regex whose pattern encodes JSON/XML syntax is parsing a structured format by hand \u2014 malformed or differently-typed content (e.g. \u0060\u0022amount\u0022: \u00225\u0022\u0060 as a string) silently mis-parses instead of failing validation. This JavaScript/TypeScript code already uses a real parser in the same package; use it here too."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"poem-openapi/src/ui/swagger_ui/swagger-ui-bundle.js"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"189fc29f608f1c34f9761e7fa3fcc3eda8e33b90623b90d54080b07dcbcffe4c"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-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-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-321","guid":"0ce564a5-a44c-3358-b3db-317712e6e019","name":"Use of Hard-coded Cryptographic Key","shortDescription":{"text":"Use of Hard-coded Cryptographic Key"},"helpUri":"https://cwe.mitre.org/data/definitions/321.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-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-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-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"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-1","guid":"a40d9a4c-89f5-4b5d-b2dc-32dc9cbfe814","name":"Insufficient Flow Control Mechanisms","shortDescription":{"text":"Insufficient Flow Control Mechanisms"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-01-Insufficient-Flow-Control-Mechanisms"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-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":34,"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."]}]}