{"$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":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"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":"D32","name":"Data Compliance (PII/GDPR)","shortDescription":{"text":"Data Compliance (PII/GDPR)"},"helpUri":"https://codehealth.canine.dev/dimensions/D32","relationships":[{"target":{"id":"CWE-359","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-312","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-359","CWE-312","CWE-200"],"owasp":"A01: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":"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":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"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":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"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":"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":"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":"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":"HttpProxy::custom_bidirection_down_to_up (cyclomatic 77): HttpProxy::custom_bidirection_down_to_up has cyclomatic complexity 77 (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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"af3395f45464c62fefbe0a0cb6be62ec3f995c8d020f27750dafe5fa9b2ae101"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpProxy::bidirection_down_to_up (cyclomatic 67): HttpProxy::bidirection_down_to_up has cyclomatic complexity 67 (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":"pingora-proxy/src/proxy_h2.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e3fc554b3b246d5090955fe0c8f01d1fec27526725f28db3b86b0f650d1e132"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpProxy::proxy_handle_downstream (cyclomatic 64): HttpProxy::proxy_handle_downstream has cyclomatic complexity 64 (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":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"a918604e3c4acfe4403b01fdf4deb0189a6fef46c8c15bd9bb6387e82bdaa8c3"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpProxy::proxy_cache_hit (cyclomatic 46): HttpProxy::proxy_cache_hit has cyclomatic complexity 46 (threshold 15). Of this number, 44 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":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"25482826f822fd47c26b70fc32812397955623e38aa3c96dafffc83aadf68003"}},{"ruleId":"D1","level":"warning","message":{"text":"pingora_proxy::subrequest::pipe::pipe_subrequest (cyclomatic 41): pingora_proxy::subrequest::pipe::pipe_subrequest has cyclomatic complexity 41 (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":"pingora-proxy/src/subrequest/pipe.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0bbe5ba7bf1a83c2d6b41ddd681b11050c9491cd690cea80d78a18310d3b7ea"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpSession::write_proxy_tasks (cyclomatic 40): HttpSession::write_proxy_tasks has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0038f4c1193007e1de756f7f28b20323078128205ca12f811a0bf387f212b0"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpProxy::proxy_cache (cyclomatic 40): HttpProxy::proxy_cache has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"9425eb9f5befb3f5f22ca5b5593f0dc16eea5b5dd2b6a4e29dbdd452cf417458"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpProxy::proxy_down_to_up (cyclomatic 35): HttpProxy::proxy_down_to_up has cyclomatic complexity 35 (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":"pingora-proxy/src/proxy_h2.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"221b6ab68b58e38ef6016f412bf49c966f5714caa449a7c6db9ed3c4dd669017"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpProxy::cache_http_task (cyclomatic 33): HttpProxy::cache_http_task has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c3d7202c98646739f1fa50a6d23945581857aa4ac08e9aab8cba03cd15f63e"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpProxy::process_request (cyclomatic 30): HttpProxy::process_request has cyclomatic complexity 30 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/lib.rs"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"3050fc220da1607a984c4db158720e81df384adbc344674eeab26d1de820d87e"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpProxy::custom_response_filter (cyclomatic 29): HttpProxy::custom_response_filter has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79132380911b5c4b5b5e70503acbd6a04d4682a39af0144cb5fbb7d1cba6044"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpProxy::h1_response_filter (cyclomatic 27): HttpProxy::h1_response_filter has cyclomatic complexity 27 (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":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe76085916a2e9ff8d50a2a80fe8aea6c33da940409970136d87c61b17f26392"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpProxy::h2_response_filter (cyclomatic 26): HttpProxy::h2_response_filter 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":"pingora-proxy/src/proxy_h2.rs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bb55b58607940847916855b30299a42dc324b937fd09c3a854f22c3f34bd598"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpProxy::proxy_1to1 (cyclomatic 24): HttpProxy::proxy_1to1 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":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ffd45e986eab9d778238a5994c69460b9a14f5d09dc3fffbd648fe62bd928d"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpSession::read_response (cyclomatic 23): HttpSession::read_response has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eaaf2af478166c885aeffd7e71c434d0934da0c7f149a120ae381547c20022f"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpSession::write_proxy_tasks (cyclomatic 23): HttpSession::write_proxy_tasks has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a62bbf069629f2ee755978ed23ed3de467fa485f713173c64411300970881c3"}},{"ruleId":"D1","level":"warning","message":{"text":"pingora_proxy::proxy_h2::pipe_up_to_down_response (cyclomatic 23): pingora_proxy::proxy_h2::pipe_up_to_down_response has cyclomatic complexity 23 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h2.rs"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"cec5537bbab36137352a4dccbb68b5f33c7e20a853244c8f82648697d127fff0"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpSession::read_request (cyclomatic 21): HttpSession::read_request has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5c14cf4e30c6ca01b7f42220df2d673c645989948f03b19e0cd5453347e93b"}},{"ruleId":"D1","level":"warning","message":{"text":"pingora_core::connectors::tls::rustls::connect (cyclomatic 21): pingora_core::connectors::tls::rustls::connect has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/tls/rustls/mod.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"742ccc684db672ba3aed0045c3505b549303fd89a02231b76a61f3a1b8bf5424"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpSession::prepare_response_header (cyclomatic 20): HttpSession::prepare_response_header has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ea0c34c0430765694e9f978f8acfcdc38d3f852edd80e5c26fbefb40d4d262"}},{"ruleId":"D1","level":"warning","message":{"text":"Server::run (cyclomatic 20): Server::run has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/server/mod.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"4746cfabd89d51d7457287a20b008b276922eed085b51a01c064103410adb777"}},{"ruleId":"D1","level":"warning","message":{"text":"pingora_core::connectors::tls::boringssl_openssl::connect (cyclomatic 20): pingora_core::connectors::tls::boringssl_openssl::connect has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/tls/boringssl_openssl/mod.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"c645b85c987f3e61c091f24cdbad766325a1b45deb1f7f6794430a1f043d552c"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpProxy::custom_proxy_down_to_up (cyclomatic 20): HttpProxy::custom_proxy_down_to_up has cyclomatic complexity 20 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb9f069223dd16b545eeeafbd86144d5c8851b8c3d93d3f04939a183ddb5e8ed"}},{"ruleId":"D1","level":"warning","message":{"text":"pingora_core::connectors::l4::connect (cyclomatic 19): pingora_core::connectors::l4::connect 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":"pingora-core/src/connectors/l4.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f9b2f84adc3f06c103fa42aaf74f6cc66f2734b619411c7ba307df4336b574"}},{"ruleId":"D1","level":"warning","message":{"text":"HealthCheckService::run (cyclomatic 19): HealthCheckService::run 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":"pingora-load-balancing/src/background.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"947ac040816816b3e1230ed4556c7dc71bcf934cdfda51a06ac9251073614eda"}},{"ruleId":"D1","level":"warning","message":{"text":"ServeFromCache::next_http_task (cyclomatic 19): ServeFromCache::next_http_task has cyclomatic complexity 19 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 1 belongs 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":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":2629}}}],"partialFingerprints":{"codehealthFindingId/v1":"61fc87dc8f5554712bc64efae758c089b5101afc3283b2ad7718aa1bbe461c1f"}},{"ruleId":"D1","level":"warning","message":{"text":"pingora_proxy::proxy_custom::read_custom_response (cyclomatic 19): pingora_proxy::proxy_custom::read_custom_response 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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba592fed9623fa4e97574a722763977ba416224606c2580dff211fae1b48bc8"}},{"ruleId":"D1","level":"warning","message":{"text":"pingora_http::authority::raw_target_authority (cyclomatic 18): pingora_http::authority::raw_target_authority 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":"pingora-http/src/authority.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"74dc8c5be3ae9e37902f0e49216a6a6200e3b5b5cb2a49cedc4d2d8c52b1ba98"}},{"ruleId":"D1","level":"warning","message":{"text":"pingora_proxy::proxy_cache::range_filter::parse_range_header (cyclomatic 18): pingora_proxy::proxy_cache::range_filter::parse_range_header 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":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d501e41cdbf77b9d7ae6986ea4dc2cc96b1ad4506ffa703f5243274427004cd"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpProxy::buffer_request_body_early_inner (cyclomatic 17): HttpProxy::buffer_request_body_early_inner has cyclomatic complexity 17 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/lib.rs"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b553002cfa273265d78ab5e6bca56fb4dd1807f5b4a5b082136c5b75d98ec0"}},{"ruleId":"D1","level":"warning","message":{"text":"RTCache::get (cyclomatic 16): RTCache::get 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":"pingora-memory-cache/src/read_through.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"0690d06e617c3f13339779340a9180b4d86506c0ab02047094bb7feebf8ae75a"}},{"ruleId":"D1","level":"warning","message":{"text":"HttpProxy::proxy_handle_upstream (cyclomatic 16): HttpProxy::proxy_handle_upstream 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":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17ecfc5231f8a61061b9ed11d6118808bc479308aa6ba462fb626b93c99c130"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::custom_bidirection_down_to_up (cognitive 187): HttpProxy::custom_bidirection_down_to_up has cognitive complexity 187 (threshold 15). Drivers by points: if/else 49 (142 pts), boolean chains 23, match/switch 7 (21 pts), loops 1 (nesting depth added 107). 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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a24c820e8d669c3ccb8b7d4876f157111313577e9049e49a5cd39e2b5de08a"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::bidirection_down_to_up (cognitive 174): HttpProxy::bidirection_down_to_up has cognitive complexity 174 (threshold 15). Drivers by points: if/else 42 (129 pts), match/switch 9 (27 pts), boolean chains 17, loops 1 (nesting depth added 105). 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":"pingora-proxy/src/proxy_h2.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"6907ecadbb9449f5587aac1ff8f8f0f753111d51309799d819463b3fe8998aa2"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::proxy_handle_downstream (cognitive 158): HttpProxy::proxy_handle_downstream has cognitive complexity 158 (threshold 15). Drivers by points: if/else 37 (114 pts), match/switch 8 (24 pts), boolean chains 19, loops 1 (nesting depth added 93). 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":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"4016cc688dfa5aab6083b164dc9f9162befc750ac928c8308b33791455617041"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::proxy_cache (cognitive 120): HttpProxy::proxy_cache has cognitive complexity 120 (threshold 15). Drivers by points: if/else 34 (107 pts), match/switch 3 (8 pts), boolean chains 4, loops 1 (nesting depth added 78). 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":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"704001b0c16fec3afcc20f76cbab8061dc60f00287c52cee7b813ee832942f7b"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::proxy_cache_hit (cognitive 112): HttpProxy::proxy_cache_hit has cognitive complexity 112 (threshold 15). Drivers by points: if/else 24 (64 pts), match/switch 10 (33 pts), boolean chains 9, loops 2 (6 pts) (nesting depth added 67). Of this number, 110 points are the body\u0027s own statements and 2 belong to one function item inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"f58bf0d714283a33a003aa11d75725a67719881e91359b64a9ed785fd7f018b0"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::cache_http_task (cognitive 88): HttpProxy::cache_http_task has cognitive complexity 88 (threshold 15). Drivers by points: if/else 21 (74 pts), match/switch 4 (9 pts), boolean chains 5 (nesting depth added 58). 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":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"8072adfe1e546ff6fd3450083a247c4777a5bc2e58f3b36afd1e3765587be3d1"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpSession::write_proxy_tasks (cognitive 81): HttpSession::write_proxy_tasks has cognitive complexity 81 (threshold 15). Drivers by points: if/else 24 (60 pts), match/switch 7 (17 pts), boolean chains 3, loops 1 (nesting depth added 46). 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":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb447cff2684dd801437ddba47f94535838273246f4bb315bb28f808764ea1d"}},{"ruleId":"D2","level":"warning","message":{"text":"pingora_proxy::subrequest::pipe::pipe_subrequest (cognitive 74): pingora_proxy::subrequest::pipe::pipe_subrequest has cognitive complexity 74 (threshold 15). Drivers by points: if/else 20 (52 pts), boolean chains 14, loops 2 (5 pts), match/switch 2 (3 pts) (nesting depth added 36). 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":"pingora-proxy/src/subrequest/pipe.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"d343a0095d8d582722cff05ce8d60b002f097a25396bab2ffcf1ec996a34cc9e"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpSession::read_request (cognitive 61): HttpSession::read_request has cognitive complexity 61 (threshold 15). Drivers by points: if/else 14 (42 pts), match/switch 3 (11 pts), loops 3 (7 pts), boolean chains 1 (nesting depth added 40). 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":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ce364880cb8eac7939c2a27f1a7fce80aaa80646ac3eede88335bb8376b9cd"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::process_request (cognitive 56): HttpProxy::process_request has cognitive complexity 56 (threshold 15). Drivers by points: if/else 24 (44 pts), match/switch 4 (8 pts), boolean chains 3, loops 1 (nesting depth added 24). 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":"pingora-proxy/src/lib.rs"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"e32ec980da9a695bafec39d115a19ec4ee68a896783842d3fbbf1ffe5ce9b248"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpSession::read_response (cognitive 54): HttpSession::read_response has cognitive complexity 54 (threshold 15). Drivers by points: if/else 11 (30 pts), match/switch 6 (18 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 34). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"7190a230358be57846b3c3c68dadcd31bcaa35222b428bd0dc7f0e55fde5ea3a"}},{"ruleId":"D2","level":"warning","message":{"text":"BodyReader::do_read_chunked_body (cognitive 50): BodyReader::do_read_chunked_body has cognitive complexity 50 (threshold 15). Drivers by points: if/else 16 (49 pts), match/switch 1 (nesting depth added 33). 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":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"c46cc3a05cc4b76ad8c2d2a80bdf5d7e147afaa042a3febce340c80315e4f7b9"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::proxy_down_to_up (cognitive 50): HttpProxy::proxy_down_to_up has cognitive complexity 50 (threshold 15). Drivers by points: if/else 22 (31 pts), match/switch 7 (12 pts), boolean chains 7 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h2.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"818b729661f5ee91f1a7fcd9ab89bf5510fd806343cef1a24c99aecac2f7db7e"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::custom_response_filter (cognitive 48): HttpProxy::custom_response_filter has cognitive complexity 48 (threshold 15). Drivers by points: if/else 19 (38 pts), match/switch 3 (6 pts), boolean chains 4 (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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c4099088e7d610fbaa1060a89dda8d0c5cbf337a92776c81ae3a68416b871b"}},{"ruleId":"D2","level":"warning","message":{"text":"pingora_core::connectors::l4::connect (cognitive 46): pingora_core::connectors::l4::connect has cognitive complexity 46 (threshold 15). Drivers by points: match/switch 9 (28 pts), if/else 10 (18 pts) (nesting depth added 27). 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":"pingora-core/src/connectors/l4.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"048c4971402b6f4495d9591fda76863b4c6a35fe0b000091e998ea2d1fc0c640"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpSession::write_proxy_tasks (cognitive 45): HttpSession::write_proxy_tasks has cognitive complexity 45 (threshold 15). Drivers by points: if/else 11 (34 pts), match/switch 3 (8 pts), boolean chains 2, loops 1 (nesting depth added 28). 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":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":1648}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c0e0683b7f7919ee600e6848db1c42957093a542de60ded684c5d6a10f14ec"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::h1_response_filter (cognitive 42): HttpProxy::h1_response_filter has cognitive complexity 42 (threshold 15). Drivers by points: if/else 18 (37 pts), boolean chains 4, match/switch 1 (nesting depth added 19). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"01a7f5ac844ed1c152875984edc95e78a97c514fef732c0ff16c1a5f430c8c61"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::h2_response_filter (cognitive 42): HttpProxy::h2_response_filter has cognitive complexity 42 (threshold 15). Drivers by points: if/else 16 (32 pts), match/switch 3 (6 pts), boolean chains 4 (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":"pingora-proxy/src/proxy_h2.rs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1d29822aa69de7ebea17e59ef28d6bc3c4e5db17a70fb703d385beee632fc4"}},{"ruleId":"D2","level":"warning","message":{"text":"BodyReader::parse_chunked_buf (cognitive 41): BodyReader::parse_chunked_buf has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (34 pts), match/switch 3 (6 pts), boolean chains 1 (nesting depth added 25). 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":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":686}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b5475051e3a647585ae11cfd3cb21cf8cd3bdcd5c4b39f234820f57978657be"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::proxy_handle_upstream (cognitive 41): HttpProxy::proxy_handle_upstream has cognitive complexity 41 (threshold 15). Drivers by points: if/else 6 (28 pts), match/switch 3 (8 pts), boolean chains 4, loops 1 (nesting depth added 27). 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":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fdc80b65b3b47d6e43c2dfa6d7dca1ee4571ea658e9c391ed40b85c4f25ee8"}},{"ruleId":"D2","level":"warning","message":{"text":"RTCache::get (cognitive 38): RTCache::get has cognitive complexity 38 (threshold 15). Drivers by points: if/else 13 (23 pts), match/switch 6 (15 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":"pingora-memory-cache/src/read_through.rs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"3998d3bc3bc35494b23898d7c8f3c2890aaf2b856144ab72f01f8c4e2f420707"}},{"ruleId":"D2","level":"warning","message":{"text":"pingora_core::connectors::tls::boringssl_openssl::connect (cognitive 37): pingora_core::connectors::tls::boringssl_openssl::connect has cognitive complexity 37 (threshold 15). Drivers by points: if/else 15 (28 pts), loops 2 (5 pts), match/switch 3 (4 pts) (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":"pingora-core/src/connectors/tls/boringssl_openssl/mod.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"561228aef52be9993fa60bdbbf48b21310e4147fd9bdac841ca7687988a1c4a6"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::proxy_1to1 (cognitive 37): HttpProxy::proxy_1to1 has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (24 pts), match/switch 7 (12 pts), boolean chains 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":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c3c4a7d23fdcdce0c7ca99542919ace2d5d8bc989ba40b2b6d93502557fce3"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::revalidate_or_stale (cognitive 36): HttpProxy::revalidate_or_stale has cognitive complexity 36 (threshold 15). Drivers by points: if/else 12 (30 pts), match/switch 2 (5 pts), boolean chains 1 (nesting depth added 21). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1bec4c2a648c42fcb7f1013dc1f3d034c548ab1cfd2008dc01a561236dc3e17"}},{"ruleId":"D2","level":"warning","message":{"text":"pingora_proxy::proxy_cache::range_filter::parse_range_header (cognitive 36): pingora_proxy::proxy_cache::range_filter::parse_range_header has cognitive complexity 36 (threshold 15). Drivers by points: if/else 17 (31 pts), match/switch 2 (3 pts), loops 2 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":1220}}}],"partialFingerprints":{"codehealthFindingId/v1":"6222c06abf0ef762c4819edffd510d987115d368d207f05eab383a46a6329949"}},{"ruleId":"D2","level":"warning","message":{"text":"pingora_proxy::proxy_h2::pipe_up_to_down_response (cognitive 35): pingora_proxy::proxy_h2::pipe_up_to_down_response has cognitive complexity 35 (threshold 15). Drivers by points: if/else 10 (19 pts), match/switch 6 (10 pts), boolean chains 5, 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":"pingora-proxy/src/proxy_h2.rs"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f27df9af60c806cfbbdb60db28d923520f9b4f04effddd139af5f8ee9f92e98"}},{"ruleId":"D2","level":"warning","message":{"text":"pingora_core::connectors::tls::rustls::connect (cognitive 34): pingora_core::connectors::tls::rustls::connect has cognitive complexity 34 (threshold 15). Drivers by points: if/else 19 (26 pts), match/switch 3 (4 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/tls/rustls/mod.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cff548aa0578e0a132f520d4e41bbc8d09b6f76a7e379d58034e83e0c0f5462"}},{"ruleId":"D2","level":"warning","message":{"text":"HealthCheckService::run (cognitive 34): HealthCheckService::run has cognitive complexity 34 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 4 (11 pts), loops 3 (6 pts), boolean chains 2 (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":"pingora-load-balancing/src/background.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"75788811fb9e58a6db858f2862824f8a6cc4e6f556413a174b184347e98e7d05"}},{"ruleId":"D2","level":"warning","message":{"text":"pingora_load_balancing::run_selector_rebuilds (cognitive 34): pingora_load_balancing::run_selector_rebuilds has cognitive complexity 34 (threshold 15). Drivers by points: if/else 13 (25 pts), match/switch 3 (8 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":"pingora-load-balancing/src/lib.rs"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"598045f1728e0e75e0fb80a566e34d2e7e6781bc0b767a67e54b23a289b735ef"}},{"ruleId":"D2","level":"warning","message":{"text":"pingora_proxy::proxy_custom::read_custom_response (cognitive 32): pingora_proxy::proxy_custom::read_custom_response has cognitive complexity 32 (threshold 15). Drivers by points: if/else 9 (19 pts), match/switch 4 (7 pts), boolean chains 4, loops 2 (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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1379}}}],"partialFingerprints":{"codehealthFindingId/v1":"e040df67cf94913c47d233b1d726f2188567b7ba0c6115779c92c0d0e063b419"}},{"ruleId":"D2","level":"warning","message":{"text":"BodyReader::do_read_chunked_body_final (cognitive 31): BodyReader::do_read_chunked_body_final has cognitive complexity 31 (threshold 15). Drivers by points: if/else 8 (21 pts), match/switch 3 (7 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 18). 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":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f405132b31888d8813dba2854a94b407c86edb9c794b8a3ada24d76cc141f5"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpSession::prepare_response_header (cognitive 30): HttpSession::prepare_response_header has cognitive complexity 30 (threshold 15). Drivers by points: if/else 15 (23 pts), boolean chains 7 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4f5516a6e94b2f491f4d25f431258e2a60bd2fd8e1052906eb7ec6ce18ce545"}},{"ruleId":"D2","level":"warning","message":{"text":"Service::run_endpoint (cognitive 30): Service::run_endpoint has cognitive complexity 30 (threshold 15). Drivers by points: if/else 6 (19 pts), match/switch 4 (10 pts), loops 1 (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":"pingora-core/src/services/listening.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"63620e4b0f105bae0ff20445a84f4d5802c9b72bc9e2b658de5fff6fae8fe673"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpSession::read_body_or_idle (cognitive 29): HttpSession::read_body_or_idle has cognitive complexity 29 (threshold 15). Drivers by points: if/else 14 (27 pts), boolean chains 2 (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":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"51e19e0e358657b362fcfc99ab0f4ef36a5c8973e85df9105f58eb698f13bb70"}},{"ruleId":"D2","level":"warning","message":{"text":"pingora_core::server::transfer_fd::send_fds_to (cognitive 29): pingora_core::server::transfer_fd::send_fds_to has cognitive complexity 29 (threshold 15). Drivers by points: if/else 3 (13 pts), match/switch 5 (13 pts), loops 2 (3 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":"pingora-core/src/server/transfer_fd/mod.rs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"1937609be3a66cd2f9b97d1bab14847f2e1e1508da9f2818ea0133c6c91497d3"}},{"ruleId":"D2","level":"warning","message":{"text":"LoadBalancerGroup::run (cognitive 29): LoadBalancerGroup::run has cognitive complexity 29 (threshold 15). Drivers by points: if/else 7 (17 pts), match/switch 4 (10 pts), boolean chains 1, loops 1 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-load-balancing/src/background.rs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27213b3c8c0d2c7f4b84948ce31d845c7905d77965234e6104120d3cfe995bd"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::buffer_request_body_early_inner (cognitive 29): HttpProxy::buffer_request_body_early_inner has cognitive complexity 29 (threshold 15). Drivers by points: if/else 15 (25 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/lib.rs"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4b5d22dab4f4833926ddb864536790117b38574845ac8dd2874e553b3a34688"}},{"ruleId":"D2","level":"warning","message":{"text":"ServeFromCache::next_http_task (cognitive 28): ServeFromCache::next_http_task has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (23 pts), loops 2 (4 pts), match/switch 1 (nesting depth added 13). Of this number, 26 points are the body\u0027s own statements and 2 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":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":2629}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d1297cb144d12d0cf57a3991aeaeb70031b667a80eeea979e4c1014e0bd8a18"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomMessageForwarder::proxy (cognitive 28): CustomMessageForwarder::proxy has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 5 (11 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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c1a45ce50c9f7a34def31fd3b11e251d71e57535ca5ae498fb9dc4a28f4271"}},{"ruleId":"D2","level":"warning","message":{"text":"pingora_proxy::proxy_h1::send_body_to1 (cognitive 28): pingora_proxy::proxy_h1::send_body_to1 has cognitive complexity 28 (threshold 15). Drivers by points: match/switch 6 (18 pts), if/else 6 (10 pts) (nesting depth added 16). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":1157}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea63ac6f87c6d0a33f393cbab2bcb19ab7ced6c8255533efe049058196473d4"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::custom_proxy_down_to_up (cognitive 27): HttpProxy::custom_proxy_down_to_up has cognitive complexity 27 (threshold 15). Drivers by points: if/else 18 (24 pts), match/switch 3 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"e420321017a0dc4ee17409185ac328df6ad45824a26965f4e3b570888d0ccb85"}},{"ruleId":"D2","level":"warning","message":{"text":"pingora_http::authority::raw_target_authority (cognitive 26): pingora_http::authority::raw_target_authority has cognitive complexity 26 (threshold 15). Drivers by points: if/else 14 (20 pts), boolean chains 4, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-http/src/authority.rs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"90a68fc9f8dccb8a7c8081620f39b95d719d3406c643c2130665cef9a07c3486"}},{"ruleId":"D2","level":"warning","message":{"text":"Server::run (cognitive 25): Server::run has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (14 pts), match/switch 5 (7 pts), boolean chains 2, loops 2 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/server/mod.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ff7c98628c081480103642f486f6f99894dd4e7f8c7e94f01d48240a69192c7"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::proxy_to_upstream (cognitive 25): HttpProxy::proxy_to_upstream has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (19 pts), match/switch 3 (4 pts), boolean chains 2 (nesting depth added 14). 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":"pingora-proxy/src/lib.rs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"d350c4cb024c267258de55fa0484d2b68f1170800a0eebf0fdce83ac594367e7"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::process_upstream_tasks (cognitive 25): HttpProxy::process_upstream_tasks has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (23 pts), loops 2 (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":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"223f3ca6b9e5b0a3321ea59e1e248400c4aee0e3b9e67a28fc76dc312a8010ff"}},{"ruleId":"D2","level":"warning","message":{"text":"CachePutCtx::do_cache_put (cognitive 24): CachePutCtx::do_cache_put has cognitive complexity 24 (threshold 15). Drivers by points: if/else 4 (18 pts), match/switch 2 (5 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":"pingora-cache/src/put.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd48bf376b884712064a6fb7f192731cc80f4e184e4de9bb123ca94af90d9ae"}},{"ruleId":"D2","level":"warning","message":{"text":"pingora_core::protocols::http::compression::parse_accept_encoding (cognitive 24): pingora_core::protocols::http::compression::parse_accept_encoding has cognitive complexity 24 (threshold 15). Drivers by points: if/else 6 (19 pts), loops 1 (3 pts), match/switch 1 (2 pts) (nesting depth added 16). 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":"pingora-core/src/protocols/http/compression/mod.rs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee2e794cd5814a56f5ec7df55253a8e3ebbe24cdfbd0e031551664f436901e6"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::process_upstream_tasks_h2 (cognitive 23): HttpProxy::process_upstream_tasks_h2 has cognitive complexity 23 (threshold 15). Drivers by points: if/else 11 (21 pts), loops 2 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h2.rs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1c374aa690f32c6be329ebee015992b9a9905cfa2ae683ba3a47763572d6c60"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseCompressionCtx::response_header_filter (cognitive 22): ResponseCompressionCtx::response_header_filter has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 3 (6 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/compression/mod.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b024d677ef613ec885a390ff88dac2285db050ce78848ed35e7cdddf93f5448"}},{"ruleId":"D2","level":"warning","message":{"text":"pingora_core::server::runtime_group::resolve_group (cognitive 22): pingora_core::server::runtime_group::resolve_group has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 4 (7 pts), match/switch 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/server/runtime_group.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"553c734c09b397d22b11a29082f683a79684ac0dbfaae1cf134b09e153b5c8f6"}},{"ruleId":"D2","level":"warning","message":{"text":"HealthRegistry::run_health_check (cognitive 22): HealthRegistry::run_health_check has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (16 pts), loops 3 (6 pts) (nesting depth added 10). Of this number, 18 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":"pingora-load-balancing/src/lib.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c1a3c6db5222f98d2ca954fa6f306057d5463ee1bdf3c0a79c5f1d2a8cb22e"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeBodyFilter::filter_multi_range_body (cognitive 22): RangeBodyFilter::filter_multi_range_body has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (21 pts), loops 1 (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":2176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2504dda4e880da42345afe9a28b8be4f0e04fd5e3d39956af636942625c0e2"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpCache::cache_lookup (cognitive 21): HttpCache::cache_lookup has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 pts), boolean chains 3, match/switch 1 (nesting depth added 10). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lib.rs"},"region":{"startLine":1540}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c32e0e92d230f668089623d7603f82dd7b2a59d5cce622cb61408100596935b"}},{"ruleId":"D2","level":"warning","message":{"text":"BodyReader::validate_crlf (cognitive 21): BodyReader::validate_crlf has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (19 pts), match/switch 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":1029}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e7874f24cfec183cf53df16bf04b74d0b8212f991809b3f8037b4068f72c07"}},{"ruleId":"D2","level":"warning","message":{"text":"BodyWriter::poll_write_content_length_body_task (cognitive 21): BodyWriter::poll_write_content_length_body_task has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (16 pts), match/switch 3 (5 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":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"6204ed3d2782d7e7804c38d3601fa7072c0af6ad3d4fbbd2c4b3d6f429958bfe"}},{"ruleId":"D2","level":"warning","message":{"text":"pingora_core::protocols::http::conditional_filter::not_modified_filter (cognitive 21): pingora_core::protocols::http::conditional_filter::not_modified_filter has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 1 (3 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/conditional_filter.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83e3e7a19c1ce97ee4cc3d7d3f3cab1b7a5490f1f1218b1666ea1797760a688"}},{"ruleId":"D2","level":"warning","message":{"text":"Lru::evict_to_limit_with_rng (cognitive 21): Lru::evict_to_limit_with_rng has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 3, loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-lru/src/lib.rs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"6405f05816592a633905d0dc06d8e5e2a7d901c0f5eda39412ebb543086d1c7f"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpCache::update_variance (cognitive 20): HttpCache::update_variance has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (17 pts), match/switch 2 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lib.rs"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"46dc851ee23027e171ce9268e4bb3e4ae84f07f1aa4f3bec230d51e540f97d79"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpCache::cache_lock_wait (cognitive 20): HttpCache::cache_lock_wait has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), match/switch 2 (7 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lib.rs"},"region":{"startLine":1747}}}],"partialFingerprints":{"codehealthFindingId/v1":"f404e1163a2ab706e56f0c2eb6a55cc02ece8079bde954954271d22056038e19"}},{"ruleId":"D2","level":"warning","message":{"text":"EndpointLimits::admit (cognitive 20): EndpointLimits::admit has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (18 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/listeners/accept_limits.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84efa85edad6fd62364c0a614e7872846399c4fe78736f31424609d27771ff1"}},{"ruleId":"D2","level":"warning","message":{"text":"pingora_core::protocols::http::authority::validate_connect_authority (cognitive 20): pingora_core::protocols::http::authority::validate_connect_authority has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (16 pts), match/switch 2 (3 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/authority.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"a14e00a1a28d188cd415722fb7da37753b9aab4fa2348b0304261f203a102993"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpProxy::process_upstream_tasks_custom (cognitive 20): HttpProxy::process_upstream_tasks_custom has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 pts), loops 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51c95ef4a899e30d7b7d2a39ef41d445e1ca2bc7842d05985dd92977f165669"}},{"ruleId":"D2","level":"warning","message":{"text":"Session::downstream_response_task_filter (cognitive 20): Session::downstream_response_task_filter has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 1, match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/lib.rs"},"region":{"startLine":980}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f75046d65bb1bd31ff465a09948e75f6bbe8ba88cc6ff5a8077427debe08d6b"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpSession::read_request_buf (cognitive 19): HttpSession::read_request_buf has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (10 pts), match/switch 5 (9 pts) (nesting depth added 8). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"b30df6859917ae283bcbfa98c879541eaf482f60d5fd098e064dc906e3d84658"}},{"ruleId":"D2","level":"warning","message":{"text":"LoadBalancer::run (cognitive 19): LoadBalancer::run has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 3 (8 pts), loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-load-balancing/src/background.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e5fc561786980f5c97ee71d3b168107549b9b2ec42d8e14b79faf3c44c2083"}},{"ruleId":"D2","level":"warning","message":{"text":"pingora_core::protocols::http::v1::common::parse_connection_header (cognitive 18): pingora_core::protocols::http::v1::common::parse_connection_header has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 pts), loops 1 (2 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/common.rs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb1532d66bab39b97e6a3d06f4101ffc2159f9f38f114d9c40e42bbaaf908d2"}},{"ruleId":"D2","level":"warning","message":{"text":"pingora_core::protocols::tls::boringssl_openssl::client::handshake (cognitive 18): pingora_core::protocols::tls::boringssl_openssl::client::handshake has cognitive complexity 18 (threshold 15). Drivers by points: if/else 3 (9 pts), match/switch 4 (9 pts) (nesting depth added 11). Of this number, 15 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. 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":"pingora-core/src/protocols/tls/boringssl_openssl/client.rs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7eba8274fd052d230e890fd5defb7c43b1b6359aa5f229709d31982446ea2e9"}},{"ruleId":"D2","level":"warning","message":{"text":"TimerManager::clock_thread (cognitive 18): TimerManager::clock_thread has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 3 (6 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-timeout/src/timer.rs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"031ef14cf28194f4d3430171979fd21b25a0815766c521d035ff676cda650c84"}},{"ruleId":"D2","level":"warning","message":{"text":"Connector::get_http_session (cognitive 17): Connector::get_http_session has cognitive complexity 17 (threshold 15). Drivers by points: if/else 8 (14 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/http/mod.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b09317114e93a8406da1555b10eac4185e93add96be8364b31cfbb8942b6f62"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpSession::init_body_reader (cognitive 17): HttpSession::init_body_reader has cognitive complexity 17 (threshold 15). Drivers by points: if/else 9 (14 pts), match/switch 1 (3 pts) (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"734752eeeb673cf213a6383ac645671ccf00179e0a0fb6e824f227d3adb5a7b4"}},{"ruleId":"D2","level":"warning","message":{"text":"pingora_lru::async_lru::eviction_worker (cognitive 17): pingora_lru::async_lru::eviction_worker has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 2 (3 pts), match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-lru/src/async_lru.rs"},"region":{"startLine":1020}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ad51c922a060d4ba6fb3ed026269a71ff21af8412046994a7da774e31e2c8ff"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpCache::set_miss_handler (cognitive 16): HttpCache::set_miss_handler has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (15 pts), match/switch 1 (nesting depth added 9). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lib.rs"},"region":{"startLine":1028}}}],"partialFingerprints":{"codehealthFindingId/v1":"03cd1a4bedc294ef95d2fd9809670aee83b950f893f943962a791b75cd75434a"}},{"ruleId":"D2","level":"warning","message":{"text":"HttpSession::respect_keepalive (cognitive 16): HttpSession::respect_keepalive has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 3, match/switch 1 (3 pts) (nesting depth added 3). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"383da249b0ebae0afaf8ca7838c70b57e762eacec549909a03c8ce50d184affe"}},{"ruleId":"D2","level":"warning","message":{"text":"PeerOptions::fmt (cognitive 16): PeerOptions::fmt has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12, loops 2 (4 pts) (nesting depth added 2). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/upstreams/peer.rs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"e912a73c31d9e4b32fc9c215308281c5916b373a85222657df8aa395ef064e51"}},{"ruleId":"D2","level":"warning","message":{"text":"FiFoQueues::admit (cognitive 16): FiFoQueues::admit has cognitive complexity 16 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 1 (nesting depth added 4). Of this number, 13 points are the body\u0027s own statements and 3 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":"tinyufo/src/lib.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1e1852a2c9148a4020d19e9dc969b023860b1f225c388455fa382b005f0fdc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HttpSession: TooManyMethods \u2014 96 methods. The bar is 30 methods; this is 66 over it, 3.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"269ea4dbb873197266f8446a6418434543ae8ec4edb947f239fc01252c78e270"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HttpProxy.custom_bidirection_down_to_up: MethodTooLong \u2014 custom_bidirection_down_to_up runs 317 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 217 over it, 3.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0ed5fdc228bc0217229b630b1795bab20b490315d9fafb0d6188ad1f106864"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HttpProxy.bidirection_down_to_up: MethodTooLong \u2014 bidirection_down_to_up runs 301 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 201 over it, 3.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h2.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a6bac33268f11dff9ccf8889ad3b69cc3aef7c63adc39a4ffc6c52b48c7e4f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Session: TooManyMethods \u2014 87 methods. The bar is 30 methods; this is 57 over it, 2.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/server.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"48057d00e39e1290fe5a17effe2babfa771270c918df71144f571bf17621fc3c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1389 significant 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 889 over it, 2.78\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"acae95d8ae49e2f967dacc19369415674ad9422bf295250d76a318da658c1da7"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HttpProxy.proxy_handle_downstream: MethodTooLong \u2014 proxy_handle_downstream runs 276 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 176 over it, 2.76\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"85dc583f6a3803322b522369295342f51180d0e8e1309985b36e1d141660d4f1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HttpCache: TooManyMethods \u2014 78 methods. The bar is 30 methods; this is 48 over it, 2.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lib.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"91ead3ef309df128a65a286121e5fa0d1a1fdb784ac6b62ac21c8dac51d933a1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/proxy_cache.rs: FileTooLong \u2014 1188 significant 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 688 over it, 2.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5308444f4f269cf88245814e515ad90b475e4106204ffcc5815dd86c3d4bffd8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HttpSession: TooManyMethods \u2014 68 methods. The bar is 30 methods; this is 38 over it, 2.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7e3ab8aae1e9d5945d6697c5e63de6743a558df3d47747a88976d9958e4795"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v1/body.rs: FileTooLong \u2014 1133 significant 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 633 over it, 2.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1f39e1346178db2f78766f620606b455423152bd539eb59a237d0e0b3fc842"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HttpCache: ClassTooLong \u2014 882 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 78 methods, 2 blocks, lines 71-2017. The bar is 400 significant lines; this is 482 over it, 2.21\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lib.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"663de4bc7ed18dadfca1b83777fbed1110c24496eef330c064aab26adf303bd3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 1064 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 83% of them inside a single declaration: HttpCache (2 blocks, 71-2017). The bar is 500 significant lines; this is 564 over it, 2.13\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17121278caa8ff977a61456b087b26ab688b36ec3250fa74cb86793aaf2da683"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HttpSession: ClassTooLong \u2014 842 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 96 methods, 2 blocks, lines 80-1784. The bar is 400 significant lines; this is 442 over it, 2.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"2699d3bfc81593b827c302d8e0c4ed6f5084b3fed88e63d7ec091e9a1415c1dc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/proxy_custom.rs: FileTooLong \u2014 996 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 74% of them inside a single declaration: HttpProxy (164-1309). The bar is 500 significant lines; this is 496 over it, 1.99\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f66f7c20757f63e134762f8228d6ef80e72f4929afa46c4285bc174b3517ca"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v1/server.rs: FileTooLong \u2014 921 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 91% of them inside a single declaration: HttpSession (2 blocks, 80-1784). The bar is 500 significant lines; this is 421 over it, 1.84\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51a51e6eb8d879906a3d618b5f82084027122958c4ced33f525c606de034a4e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 904 significant 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 404 over it, 1.81\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-load-balancing/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38ff8d37237e38ec861fb00d945778eb50d147347896822042f912856aa4f11c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HttpProxy.proxy_cache_hit: MethodTooLong \u2014 proxy_cache_hit runs 173 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfa4e2498f6a62ed6959678e41ab88312147910e81f0d1ad884e946f1351359"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Server.run: MethodTooLong \u2014 run runs 172 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/server/mod.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"98bfcbe088ba63e8e8b18c8d3d7272f938ceb58cb5a4bcbd16a41da1eff3a014"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/proxy_h2.rs: FileTooLong \u2014 856 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 81% of them inside a single declaration: HttpProxy (134-1243). The bar is 500 significant lines; this is 356 over it, 1.71\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h2.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"825fe4d40115e03576ebeca0ddde4908c6a0b935b4730e175cad0930105844ad"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HttpSession: TooManyMethods \u2014 51 methods. The bar is 30 methods; this is 21 over it, 1.70\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":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"09febe8e5f6aa14c10a2a7a74aa9e1ddaf5d9e5bcad46d8ddb0fdbe0d634f6ac"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HttpProxy: ClassTooLong \u2014 647 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 46 methods, 6 blocks, lines 191-2202. The bar is 400 significant lines; this is 247 over it, 1.62\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":"pingora-proxy/src/lib.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc45b956659c0c44452425ff19cf54b2d3126d89dabb28000dc05c429d44a55d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HttpProxy: TooManyMethods \u2014 46 methods, declared across 6 files: src/lib.rs (16), src/proxy_cache.rs (9), src/proxy_custom.rs (7), src/proxy_h1.rs (7), \u002B2 more file(s). The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. That list is where to read them, not a suggestion to split the file: the members belong to the type wherever they are declared, so moving them between files leaves the count unchanged. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/lib.rs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4ff13db13bc7d24989eec73d5af915ba4a8507255caf0dbf64850b27638099"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Session: TooManyMethods \u2014 46 methods. The bar is 30 methods; this is 16 over it, 1.53\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":"pingora-proxy/src/lib.rs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00c8513b8c2b364bd0ec2d2bb00f268937782b28876432b24f53bfdf5caf33e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HttpProxy.custom_proxy_down_to_up: MethodTooLong \u2014 custom_proxy_down_to_up runs 153 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"c06265f097f4edd2ab607eccac298eae69e7ef102b06a24558f3b01f47541413"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HttpProxy.process_request: MethodTooLong \u2014 process_request runs 151 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 51 over it, 1.51\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/lib.rs"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bbab20881fdfc9277edcbd41549a3241e674e9ecec6baddbc83b0477fb6aafc"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HttpSession: ClassTooLong \u2014 598 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 68 methods, 2 blocks, lines 100-1208. The bar is 400 significant lines; this is 198 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"876b656556e0a55a5ca1f01702bcc7feea8b36d46e60d184f09c096e7ce5fa3c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HttpProxy.proxy_cache: MethodTooLong \u2014 proxy_cache runs 149 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c2216867dc47d73f0eb4ad2b77ba5e601759466673d8ffb20b82d449b60438"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pingora_proxy::subrequest::pipe::pipe_subrequest: FunctionTooLong \u2014 pingora_proxy::subrequest::pipe::pipe_subrequest runs 149 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/subrequest/pipe.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"0479e53b9758ade62aef3b087f38e99e0a03ed06583526af50d58ebcd618b90c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/proxy_h1.rs: FileTooLong \u2014 732 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 92% of them inside a single declaration: HttpProxy (28-1155). The bar is 500 significant lines; this is 232 over it, 1.46\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3402515e0e487943efcb83aea08de411c2dd0fdfe7e5e080ed9acb73c32b951"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: subrequest/server.rs: FileTooLong \u2014 726 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 82% of them inside a single declaration: HttpSession (2 blocks, 100-1208). The bar is 500 significant lines; this is 226 over it, 1.45\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"753788e4497b2a050e41882f3a61d124640ab4512dcef83b58add9d62fd40ba6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HttpSession.write_proxy_tasks: MethodTooLong \u2014 write_proxy_tasks runs 143 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 43 over it, 1.43\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"241b8833240ca1864944c93c4858d2da112a477f001c9e6fef39b92b0a6026d5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HttpProxy.proxy_down_to_up: MethodTooLong \u2014 proxy_down_to_up runs 142 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 42 over it, 1.42\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h2.rs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"be0fb0362d936303dcdf291d6b9fe3c1797bf26bf64d5dfc52517bda89244a8f"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BodyReader: ClassTooLong \u2014 552 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 32 methods, 2 blocks, lines 147-1095. The bar is 400 significant lines; this is 152 over it, 1.38\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":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"0029bffbfb21c2ddcbd1ea168c4bfb4e4371953da5586ba4bd2329964d86c938"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Lru: TooManyMethods \u2014 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-lru/src/lib.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac32cac44c0b123ede1eb623b18a3d1264e53812b8fe03f5d66a233bf437dec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HttpSession: TooManyMethods \u2014 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v2/server.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fa78ea87e74f926b404ad98b037fbe5a97820236fb28fd0b94d9d11a8c7274a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: l4/stream.rs: FileTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 130 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/stream.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32948038e5b60423dba8564c09876e5129f9cfd6f8a02800c0f4026845029773"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Session: ClassTooLong \u2014 493 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 87 methods, 3 blocks, lines 56-1069. The bar is 400 significant lines; this is 93 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/server.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"35073e81669fdbea42f84256b6ad22f5c363d3eae0b8a6bc2ff19cfe691cd6d3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: ServerConf: TooManyFields \u2014 36 stored fields beside 11 methods. The bar is 30 stored fields; this is 6 over it, 1.20\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/server/configuration/mod.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"29a07f9301aa844af2368f2c6a1b4093646c0f50cf5fb19c41d16a1f9ed528c6"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: HttpSession: ClassTooLong \u2014 473 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 51 methods, 3 blocks, lines 39-956. The bar is 400 significant lines; this is 73 over it, 1.18\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbb4bc35c36f5879ef2edf970996d57a9575c167507080bcd8e0a3a53228949"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: PeerOptions: TooManyFields \u2014 35 stored fields beside 2 methods. The bar is 30 stored fields; this is 5 over it, 1.17\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/upstreams/peer.rs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"32732016fef3ae15ad0b9054ca720ba1342859b3abe5fc7e12bfb9ef5ab4ca42"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HttpProxy.custom_response_filter: MethodTooLong \u2014 custom_response_filter runs 116 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1037}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7849accb9f43c7d6b01b5ce25e20c4b34f11d4423a61e0f2b0203a10e4e6747"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 567 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 66% of them inside a single declaration: Lru (2 blocks, 59-823). The bar is 500 significant lines; this is 67 over it, 1.13\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-lru/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd922d6fb263eb7ae0bc8c0bcb8293ed5494f41e17bc3cd4c51cff52cbadc97c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CacheMeta: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/meta.rs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"e91bdad7673112e8f2f1127169ae8b31c99ec1c41ff619964e9629c384b9f462"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Error: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-error/src/lib.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6bb61fb2d52f9d528915995fe9a54b930f751bb0e44b032b4c6e7f3b0501fc"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HttpSession.read_response: MethodTooLong \u2014 read_response runs 110 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 10 over it, 1.10\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"460f0015cb66fe07ef3ce5a57191d40aa62c80c4b1ddb45704a70948d00bcc4f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HttpProxy.h1_response_filter: MethodTooLong \u2014 h1_response_filter runs 109 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 9 over it, 1.09\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"be005169c8007543c8306a9688e4d591c9fccb0ecdd38f5482a5b3a7eab1aa57"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BodyReader.do_read_chunked_body: MethodTooLong \u2014 do_read_chunked_body runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"2077feacfbac3e7edeca063c160a0cc499900c2b0d530c429ebd3d763424e306"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HttpSession.read_request: MethodTooLong \u2014 read_request runs 107 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"130a9eb8ae9bd55221fa125ea188323c9fb2166f708c743c16537410397ae027"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: HttpSession: TooManyFields \u2014 32 stored fields beside 96 methods. The bar is 30 stored fields; this is 2 over it, 1.07\u00D7 the bar. This is width in DATA, not behaviour: every reader that takes the whole type couples to all of its fields, so a change to any one of them is a change every reader has to be checked against. To reduce it, group the fields that are read together by the same callers into a smaller type of their own, and have this one hold that type as a single member \u2014 each reader then names only the group it uses."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f651f893383dd84261a82fcf739ea74c784c97cb009bc75f88287df513db6a8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BodyReader: 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":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf5657e5e923082a366c5b9988617fbac9e1334fdb64f07eaf9f1d6b08b40ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HttpProxy.h2_response_filter: MethodTooLong \u2014 h2_response_filter runs 106 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h2.rs"},"region":{"startLine":991}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e96ec47485c8f739ddd676af6ac77d1895077bce68b58c764b76a8e93af9ced"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Server: ClassTooLong \u2014 421 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 18 methods, 2 blocks, lines 212-977. The bar is 400 significant lines; this is 21 over it, 1.05\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/server/mod.rs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc06364df54367be4e51907ac4816545affc29ef61b5f991b9999446ab783198"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: server/mod.rs: FileTooLong \u2014 526 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 80% of them inside a single declaration: Server (2 blocks, 212-977). The bar is 500 significant lines; this is 26 over it, 1.05\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/server/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc76ce17358972634f729a7d8fa2bfc0c6b9c7c1fcd07f82f1f5e10f4cb0973"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/async_lru.rs: FileTooLong \u2014 522 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 22 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-lru/src/async_lru.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"746b90e57a5bd4402000512a6dc7b3c86feb39b016ecbd378c40a79ddec76951"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pingora_core::connectors::l4::connect: FunctionTooLong \u2014 pingora_core::connectors::l4::connect runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/l4.rs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fedefe7675106ea3e5a5cc3a620811a0f9dd5fd16fa0c57e7b7c16e6fcac800"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pingora_load_balancing::run_selector_rebuilds: FunctionTooLong \u2014 pingora_load_balancing::run_selector_rebuilds runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-load-balancing/src/lib.rs"},"region":{"startLine":1489}}}],"partialFingerprints":{"codehealthFindingId/v1":"718da2263d89ddc641ec08322966f4af650a24c0670643f5692355407216e763"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HttpProxy.cache_http_task: MethodTooLong \u2014 cache_http_task runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"1808813560bab5f7ca04fe4d730f81d7bf860d25e52f16b46cdec34a24d6f997"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: HttpProxy.proxy_1to1: MethodTooLong \u2014 proxy_1to1 runs 104 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d353832936a0df35f0edabc234dcd66f08fe149524c4136c721a076e4c8f3bcc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: http/server.rs: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 95% of them inside a single declaration: Session (3 blocks, 56-1069). The bar is 500 significant lines; this is 19 over it, 1.04\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/server.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"de775eb6a87fe7857ea070f30b625b1e711ff02c2f063631f34f34b4897717e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: upstreams/peer.rs: FileTooLong \u2014 519 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 19 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/upstreams/peer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4e00e11d85b97f0d0af2a47a80781b53bb9da4415b3355d364f3a9c467315ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: v1/client.rs: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), about 91% of them inside a single declaration: HttpSession (3 blocks, 39-956). The bar is 500 significant lines; this is 17 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c694c9449fd343d87ee11de374c583bf902099a21fa0e0a9ef07debf61302b3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: BodyWriter: ClassTooLong \u2014 410 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), 27 methods, 3 blocks, lines 1289-2065. The bar is 400 significant lines; this is 10 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"121364e40863f810adda94a65ceae60c7939cb5871e24de0a556c5b9d42d671c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: l4/ext.rs: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted), declaring 44 free functions. The bar is 500 significant lines; this is 8 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/ext.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"079e8ef027360fed7c2506451be58fb52dcdc95a658162293afef976ea2a5a2f"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: pingora_core::connectors::tls::rustls::connect: FunctionTooLong \u2014 pingora_core::connectors::tls::rustls::connect runs 101 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted) in one body. The bar is 100 significant lines; this is 1 over it, 1.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/tls/rustls/mod.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a85d91dd518ab05955c810cb256d98ec79ee032ea5765beca95c80dc6467c45"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lib.rs: FileTooLong \u2014 504 significant lines (blank, comment-only and punctuation-only lines excluded, and inline test code \u2014 #[cfg(test)] modules and bare #[test] functions \u2014 not counted). The bar is 500 significant lines; this is 4 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-http/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43ee3e080f68d3581317db76b0faa3483b30aec66ebbe6358dbeb8ece35996c"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 144 shared lines): pingora-proxy/src/proxy_custom.rs:555-1035 | pingora-proxy/src/proxy_h1.rs:486-922 | pingora-proxy/src/proxy_h2.rs:543-989 \u2014 These 3 members are variants of one another: a block of 144 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"80287e21c531192c7cae457322f9371e0b8cfc51668b4143ac7f9e618fbd4d5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 67 shared lines): pingora-proxy/src/proxy_custom.rs:1049-1219 | pingora-proxy/src/proxy_h1.rs:936-1099 | pingora-proxy/src/proxy_h2.rs:1003-1161 \u2014 These 3 members are variants of one another: a block of 67 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1049}}}],"partialFingerprints":{"codehealthFindingId/v1":"75a12b10bd28d5d1b3c8cab39adb4bf387f736f03d009a55187dbbebb20af47d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): pingora-core/src/protocols/http/subrequest/server.rs:805-833 | pingora-core/src/protocols/http/subrequest/server.rs:836-881 | pingora-core/src/protocols/http/v1/server.rs:1537-1562 | pingora-core/src/protocols/http/v1/server.rs:1582-1625 \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":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d561a0ae0e244578ad40102a285b340a6631a4c96a0b05165208179bd777e8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 66\u002B corresponding lines): pingora-core/src/protocols/http/v1/body.rs:1805-1895 | pingora-core/src/protocols/http/v1/body.rs:1905-1989 | pingora-core/src/protocols/http/v1/body.rs:1999-2064 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 66 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":1805}}}],"partialFingerprints":{"codehealthFindingId/v1":"257cc97be5d598f01165ae7465fc04664b3b9b88d2c3521d08d65a5b05fce541"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (66 corresponding lines): pingora-lru/src/persistence.rs:160-225 | pingora-lru/src/persistence.rs:242-307 \u2014 These two members are one piece of code written twice and then edited apart: 66 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-lru/src/persistence.rs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ffa41e9b4a67d54e2a55762b439d4e29d59dae6a219b26a4b405abb0eed5c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 73\u002B corresponding lines): pingora-proxy/src/proxy_custom.rs:463-535 | pingora-proxy/src/proxy_h1.rs:391-466 | pingora-proxy/src/proxy_h2.rs:447-522 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 73 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fbe304af91593ef1fe17f762e4fc3708dd5810e6c14972ba5c63cbbb65cb3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): pingora-core/src/listeners/tls/boringssl_openssl/mod.rs:213-239 | pingora-core/src/listeners/tls/rustls/mod.rs:259-286 \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":"pingora-core/src/listeners/tls/boringssl_openssl/mod.rs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e359993ba745a0d4a872eb85b90410e44d4dd58811592f7baa64bc7311dd117"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): pingora-proxy/src/proxy_cache.rs:2715-2748 | pingora-proxy/src/proxy_cache.rs:2754-2781 \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":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":2715}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16069e8f091bd73e5baeb8715521af0a5b56d76be22937cf746ac38f291b46c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pingora-load-balancing/src/health_check.rs:205-224 | pingora-load-balancing/src/health_check.rs:239-258 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-load-balancing/src/health_check.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fd51160437e0dc4f1454fb42e84de43f115b364fede3f2b2d4f146e22261f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): pingora-lru/src/lib.rs:899-918 | pingora-lru/src/lib.rs:933-952 \u2014 These two members are one piece of code written twice and then edited apart: 20 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-lru/src/lib.rs"},"region":{"startLine":899}}}],"partialFingerprints":{"codehealthFindingId/v1":"546992d7d190deeec2f2aa69553aec54f863042baa880d3adbcf71abae82a486"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): pingora-core/src/protocols/http/subrequest/body.rs:268-292 | pingora-core/src/protocols/http/v1/body.rs:1370-1397 \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":"pingora-core/src/protocols/http/subrequest/body.rs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"35261d3e709b82f98840736f1586eb3d972f97b292a83497f58139965b527dd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pingora-cache/src/eviction/async_lru.rs:199-215 | pingora-cache/src/eviction/lru.rs:106-133 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/eviction/async_lru.rs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"cac0e90023f8b1878c9b336a81f6a939a5e33b1e7af265b125721c8dcb479107"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): pingora-proxy/src/proxy_custom.rs:183-205 | pingora-proxy/src/proxy_h2.rs:406-431 \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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"431190d598aa7c3b54fb069dde5079b9471abfd632cb5a4580c9923fcb1b209b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): pingora-core/src/protocols/http/v1/server.rs:1829-1855 | pingora-header-serde/src/lib.rs:192-215 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":1829}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e04ea03751c03bd93c712094741bc72be7ddb6f7a0f45fbe6a526310bcd2b3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): pingora-core/src/protocols/http/compression/brotli.rs:44-71 | pingora-core/src/protocols/http/compression/gzip.rs:42-68 | pingora-core/src/protocols/http/compression/zstd.rs:50-72 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/compression/brotli.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"64a4ef9efb989c2219f39bea764f21007d521354e2fc27fa2323ad7a9b8cd1ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): pingora-core/src/protocols/http/subrequest/server.rs:568-600 | pingora-core/src/protocols/http/v1/server.rs:1147-1182 \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":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"166df9396454636394cabf1a9b430718fc7c880e8398ee36648d1b86d7ef720a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 21\u002B corresponding lines): pingora-core/src/protocols/l4/stream.rs:725-745 | pingora-core/src/protocols/l4/stream.rs:749-769 | pingora-core/src/protocols/l4/stream.rs:774-794 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 21 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/stream.rs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebc885b0bfab6ca2ea8a34eaf51afbdff8a0e6c514db458358b5d2d3f7009fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pingora-cache/src/cache_control.rs:129-147 | pingora-cache/src/cache_control.rs:154-173 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/cache_control.rs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1d5f4a64a088a411e36593e0b51adeb1084a3d74178ac9ab1a9a0d40ee28a33"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pingora-core/src/protocols/http/subrequest/body.rs:298-312 | pingora-core/src/protocols/http/v1/body.rs:1441-1456 \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":"pingora-core/src/protocols/http/subrequest/body.rs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9cac8d655139ead4577d9d1347d4869224d367209989167ae614a178988b73"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): pingora-core/src/protocols/http/v2/client.rs:309-327 | pingora-core/src/protocols/http/v2/server.rs:545-560 \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":"pingora-core/src/protocols/http/v2/client.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae3b8cd480e57e7611076e3faebd6161f2685c1c1736f669ff03bffdb50432c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pingora-http-parser/src/backend.rs:231-245 | pingora-http-parser/src/backend.rs:277-291 \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":"pingora-http-parser/src/backend.rs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"769985ec012fa8d49c369aa6e809a35d5e7fb396f5a6351679de91e51d730106"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): pingora-core/src/protocols/tls/s2n/client.rs:29-47 | pingora-core/src/protocols/tls/s2n/server.rs:24-44 \u2014 These two members are one piece of code written twice and then edited apart: 19 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/tls/s2n/client.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"844906d5ea748b2b98de54de60167c8662ca8b216bb8661b98ed3d3008b992da"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pingora-core/src/protocols/windows.rs:29-45 | pingora-core/src/protocols/windows.rs:46-62 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/windows.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba774dbb58994b3949ffd2edf01af19c49347707b130772e249e193b49a5508"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pingora-core/src/protocols/http/subrequest/server.rs:787-803 | pingora-core/src/protocols/http/v1/server.rs:1515-1535 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1a6eba744297b998291488255ad594ddd34293565675b39791fb397c25848df"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pingora-core/src/protocols/http/v1/body.rs:73-81 | pingora-core/src/protocols/http/v1/body.rs:83-91 \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":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fce1b9af6ad62158cd67b917ea67f49e8765ee1b455d684b1c0d31a660c797"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pingora-core/src/protocols/http/server.rs:229-242 | pingora-core/src/protocols/http/server.rs:245-258 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/server.rs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"00e3a42e56355dc28cd8c88d59a6a26c3e2712a92382cc688037cfc9d10b43b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 11\u002B corresponding lines): pingora-core/src/protocols/l4/stream.rs:64-74 | pingora-core/src/protocols/l4/stream.rs:78-88 | pingora-core/src/protocols/l4/stream.rs:118-128 | pingora-core/src/protocols/l4/stream.rs:212-223 | pingora-core/src/protocols/l4/stream.rs:301-311 | pingora-core/src/protocols/l4/stream.rs:341-351 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/stream.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7c84077beee13f1e2dc52559ebd06f869751c290d2229012a600ba70e722886"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): tinyufo/src/lib.rs:366-382 | tinyufo/src/lib.rs:388-404 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tinyufo/src/lib.rs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"d25e4cd3c6fff593cc7c286b2471825f291895604f82d3d23f8cfb66ddf4819f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): pingora-proxy/src/lib.rs:2079-2095 | pingora-proxy/src/lib.rs:2106-2124 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/lib.rs"},"region":{"startLine":2079}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f0f05aae577484d3b3c8715591b8a7cbdf2d4361e1035487f35fcce58bf13b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 11\u002B corresponding lines): pingora-core/src/protocols/l4/stream.rs:90-100 | pingora-core/src/protocols/l4/stream.rs:102-112 | pingora-core/src/protocols/l4/stream.rs:313-323 | pingora-core/src/protocols/l4/stream.rs:325-335 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 11 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/stream.rs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb4e7b534576c639df802664a811dacde1237b3a71b018daa55a7aadb8fe027"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pingora-limits/src/estimator.rs:45-55 | pingora-limits/src/estimator.rs:67-76 \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":"pingora-limits/src/estimator.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac6614cc55ec6ddfde992808566a94c8d949a4f215eed5500e6ed0c7ebea78b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pingora-core/src/protocols/http/subrequest/body.rs:246-254 | pingora-core/src/protocols/http/v1/body.rs:1344-1353 \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":"pingora-core/src/protocols/http/subrequest/body.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f336706227be592738c38ddb14dc6a4b37b78ed4e64482025dfb6e40a80a874"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pingora-proxy/src/lib.rs:230-244 | pingora-proxy/src/lib.rs:263-281 \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":"pingora-proxy/src/lib.rs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"c132643075095938180163ac3cd3c2c7320c00e8122ad455c9cb382d83f842c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pingora-core/src/protocols/tls/mod.rs:185-192 | pingora-core/src/protocols/tls/mod.rs:195-202 \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":"pingora-core/src/protocols/tls/mod.rs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"459da4bbea21024b8bd82a34b39e32c40e6f4c9869291e3ec7ef0c07948f530f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pingora-core/src/protocols/http/error_resp.rs:26-36 | pingora-proxy/src/proxy_purge.rs:45-54 \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":"pingora-core/src/protocols/http/error_resp.rs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3fdb2e8884f18b629fd55348eaec4467303309590109b2e46dd3ecc674d9eb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): pingora-lru/src/lib.rs:164-183 | pingora-lru/src/lib.rs:205-217 | pingora-lru/src/lib.rs:236-252 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-lru/src/lib.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eabce17e171392f72d5e863550193cc402be660d6fe1bf88508b51550582c3d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): pingora-core/src/protocols/l4/stream.rs:645-658 | pingora-core/src/protocols/l4/stream.rs:661-674 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/stream.rs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca0cc3ae1b33579418cf29cb00af9ef86aa9d4a8a5482f3b3bc1816d743e91b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): pingora-core/src/protocols/http/subrequest/body.rs:323-341 | pingora-core/src/protocols/http/v1/body.rs:1471-1485 \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":"pingora-core/src/protocols/http/subrequest/body.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"e781b60680ac0d58eba816fdc7cb77c3070430c5fd204129a6f3c11ef298f272"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): pingora-core/src/protocols/l4/stream.rs:956-964 | pingora-core/src/protocols/l4/stream.rs:980-991 \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":"pingora-core/src/protocols/l4/stream.rs"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c286754dfc6aadfb635970e4bf32eb9ab86c52e0dc6c0c722e8ea73b4e7765"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pingora-core/src/utils/tls/rustls.rs:214-225 | pingora-core/src/utils/tls/s2n.rs:217-228 \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":"pingora-core/src/utils/tls/rustls.rs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b547321bc70181f4abb2d1584cbc842ffd35513dfa77ca6b60d66ad027c4588e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pingora-load-balancing/src/lib.rs:1065-1074 | pingora-load-balancing/src/lib.rs:1824-1842 \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":"pingora-load-balancing/src/lib.rs"},"region":{"startLine":1065}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d67bb4556ad270ad858f9440fa2476154bfc3ef09e8a09712ce78e933358c5a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 10\u002B corresponding lines): pingora-core/src/protocols/http/subrequest/server.rs:492-501 | pingora-core/src/protocols/http/v1/client.rs:180-189 | pingora-core/src/protocols/http/v1/server.rs:996-1005 | pingora-core/src/protocols/http/v2/server.rs:684-695 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":492}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd19437e42a708b89e1eb9778c52808a2c5239a3808447dee7bb0490e057b57"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pingora-core/src/listeners/accept_limits.rs:309-318 | pingora-core/src/listeners/accept_limits.rs:333-342 \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":"pingora-core/src/listeners/accept_limits.rs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6e50bb23592dc1d1cb061b312d0444c16230bc989e8f8425e096ffabf5e584f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pingora-http/src/lib.rs:877-898 | pingora-http/src/lib.rs:906-918 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-http/src/lib.rs"},"region":{"startLine":877}}}],"partialFingerprints":{"codehealthFindingId/v1":"91b5ec1d9b011c96da8d9762cdce2cb720b339d02b425b82c3e867fefc7809ef"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pingora-http/src/lib.rs:821-833 | pingora-http/src/lib.rs:835-846 \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":"pingora-http/src/lib.rs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc0abbb6675131aaf6184e6e34af3284807397f0cbfd7edc4535246d0f8188c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 9\u002B corresponding lines): pingora-core/src/protocols/tls/boringssl_openssl/stream.rs:75-83 | pingora-core/src/protocols/tls/boringssl_openssl/stream.rs:86-94 | pingora-core/src/protocols/tls/rustls/stream.rs:167-175 | pingora-core/src/protocols/tls/rustls/stream.rs:178-186 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/tls/boringssl_openssl/stream.rs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e9293f24e11e4050892a9b8b115a55b782be4d7f067d1a0ba30f445d5668d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pingora-core/src/protocols/http/v1/body.rs:1260-1270 | pingora-core/src/protocols/http/v1/header.rs:69-80 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bc80c57e8b6eb43430f296f6fc614501f2c08c0e7003e3ff23530a3994696b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pingora-core/src/protocols/http/subrequest/body.rs:314-321 | pingora-core/src/protocols/http/v1/body.rs:1461-1469 \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":"pingora-core/src/protocols/http/subrequest/body.rs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5370e5e68422abb0e92aa81cff2d41bcdf6fbe14dcb8461a72deb43a13580c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pingora-lru/src/lib.rs:420-430 | pingora-lru/src/lib.rs:442-454 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-lru/src/lib.rs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ee81331397e4715a5c1efb3d2c7420bdc947fd176f750487d96f19b99e57eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): pingora-core/src/protocols/http/v1/client.rs:797-821 | pingora-core/src/protocols/http/v1/common.rs:118-145 \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":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c15d6cb55c172c497d6c1c2b84794e56632a4b671e11b6de016823696db56ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pingora-core/src/protocols/http/client.rs:67-76 | pingora-core/src/protocols/http/client.rs:79-89 \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":"pingora-core/src/protocols/http/client.rs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf8df77dc2ec872abaf8d3d677d3db31b366b5aa65fb96fd67800902a1bffca"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (6 members, 9\u002B corresponding lines): pingora-core/src/protocols/http/subrequest/server.rs:303-314 | pingora-core/src/protocols/http/subrequest/server.rs:327-341 | pingora-core/src/protocols/http/v1/server.rs:612-620 | pingora-core/src/protocols/http/v1/server.rs:633-644 | pingora-core/src/protocols/http/v1/server.rs:1093-1101 | pingora-core/src/protocols/http/v2/server.rs:574-588 \u2014 These 6 members are one piece of code written 6 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 6 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf842c8827cdd5779515f6a6cb2497dca4ce8b57a5e096570244daeacd4830e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): pingora-core/src/listeners/mod.rs:572-589 | pingora-core/src/listeners/mod.rs:656-667 \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":"pingora-core/src/listeners/mod.rs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e8f0cc9b68e564eb4a5538c2bd1c60b178ad7b3429a852a8c8a7b4cc4d2ee93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pingora-boringssl/src/ext.rs:40-52 | pingora-openssl/src/ext.rs:106-118 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-boringssl/src/ext.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e710e5112550d272dc87e7910b19a51fa82906a0f270021e4bff2b8968a61ed2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pingora-core/src/protocols/http/server.rs:1032-1039 | pingora-core/src/protocols/http/server.rs:1061-1068 \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":"pingora-core/src/protocols/http/server.rs"},"region":{"startLine":1032}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d1ab4c0cc6f9e808698fc9ac06acc3308fc5bdb240e4245ad7084c49b6341e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): pingora-core/src/protocols/l4/socket.rs:118-130 | pingora-core/src/protocols/l4/socket.rs:134-150 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/socket.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"08cca539f1af6e8520e7d107755a04e94dc9bc55d1bbfbac0556037f6dad1bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pingora-core/src/protocols/http/server.rs:598-605 | pingora-core/src/protocols/http/client.rs:184-190 \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":"pingora-core/src/protocols/http/server.rs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83a162b5407a379411510c7d78dd88c03a6fd9f5d5cef840e65e5d1df1fbe1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): pingora-core/src/protocols/http/v1/client.rs:200-209 | pingora-core/src/protocols/http/v1/server.rs:1114-1127 \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":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf97afa733568a657892b9db2522166b59778b72873fa6ae6c5d3ffcf197b8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pingora-core/src/protocols/http/server.rs:914-921 | pingora-core/src/protocols/http/client.rs:207-213 \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":"pingora-core/src/protocols/http/server.rs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93e25fabaef543b5fed1bf55c65a4889116593931b0a1fd8abb7988e4b591bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pingora-core/src/protocols/http/server.rs:926-933 | pingora-core/src/protocols/http/client.rs:218-224 \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":"pingora-core/src/protocols/http/server.rs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8f0ed51f8abe0de8c97ab7ce160c9110999a7326d51683f37a73da4929d6f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pingora-core/src/protocols/http/subrequest/server.rs:265-272 | pingora-core/src/protocols/http/v1/server.rs:567-574 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"048439218f23961c3655a775b1e1234af263323d0eee9d032c370cc9b3fb2590"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pingora-core/src/protocols/http/client.rs:227-233 | pingora-core/src/protocols/http/server.rs:946-953 \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":"pingora-core/src/protocols/http/client.rs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2168ff2941bbe3efd5e1a102807dd0f2160bf10e17d51183a442c0f195d7ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pingora-core/src/protocols/http/client.rs:236-242 | pingora-core/src/protocols/http/server.rs:936-943 \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":"pingora-core/src/protocols/http/client.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"16983bbad48c601e19e3add4c9cb14ed30552e35be1ef6dd1997872faa9bfedd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): pingora-core/src/protocols/http/subrequest/server.rs:694-704 | pingora-core/src/protocols/http/v2/server.rs:940-950 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"c23cf04b1f3c69a028eda9c8bd9eabd899cced75cf50b1326a3f58163ab328dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pingora-core/src/protocols/tls/boringssl_openssl/server.rs:39-46 | pingora-core/src/protocols/tls/rustls/server.rs:57-64 \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":"pingora-core/src/protocols/tls/boringssl_openssl/server.rs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"91c24d646cd323ae4ce57d3a79012e020a7d88ae2c411498cff0b98a76fb8fbb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pingora-core/src/protocols/http/client.rs:246-252 | pingora-core/src/protocols/http/server.rs:957-964 \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":"pingora-core/src/protocols/http/client.rs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55f23eaa1eeaf9a47853c6a4559573d997b238dd6e1c026e7e4beb6ca9759aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): pingora-cache/src/eviction/async_lru.rs:336-341 | pingora-cache/src/eviction/lru.rs:255-260 \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":"pingora-cache/src/eviction/async_lru.rs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a237ed0068adc0237600bfdcfe17bd8e1bb903e56da63c527809df70e25ad4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pingora-core/src/protocols/http/client.rs:32-38 | pingora-core/src/protocols/http/server.rs:782-789 \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":"pingora-core/src/protocols/http/client.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"114e1ba614ffd6c3ac917925b78a75598575bbea10cf6c586aaf67ec970dc7cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pingora-core/src/protocols/http/client.rs:40-46 | pingora-core/src/protocols/http/server.rs:791-798 \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":"pingora-core/src/protocols/http/client.rs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"508bc437d4368c99145fea519da01a8400bf4cb848a16b809c55bc746501eee4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pingora-core/src/protocols/http/client.rs:48-54 | pingora-core/src/protocols/http/server.rs:818-825 \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":"pingora-core/src/protocols/http/client.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"11539b7f99dc46bfa79c1dcbd736022e24993538a8cbe424be058e0a8377b439"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): pingora-core/src/protocols/http/client.rs:56-62 | pingora-core/src/protocols/http/server.rs:827-834 \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":"pingora-core/src/protocols/http/client.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"890bbd1712a484165e3e8149c059bff41beba6a2449936839869e6d1e6faee32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): pingora-core/src/protocols/http/compression/brotli.rs:32-40 | pingora-core/src/protocols/http/compression/gzip.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":"pingora-core/src/protocols/http/compression/brotli.rs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeade027f6eb30fc9e531f2e458c8060e50019542196cb03e8285a600616fdbc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): pingora-core/src/server/transfer_fd/mod.rs:59-61 | pingora-lru/src/async_lru.rs:250-252 \u2014 These two members are one piece of code written twice and then edited apart: 3 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/server/transfer_fd/mod.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5679c8b8800be3869a914a5afe737665f1b6e15095137c174107e5e086a4d1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): pingora-core/src/protocols/tls/boringssl_openssl/client.rs:92-96 | pingora-core/src/protocols/tls/rustls/stream.rs:113-117 | pingora-core/src/protocols/tls/s2n/stream.rs:264-268 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/tls/boringssl_openssl/client.rs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ba45c2b7983d6f4114724fd03d67a78c5edfa109410d63268945a5fd1a54a2b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (105\u2013112 lines \u00D7 3): pingora-proxy/src/proxy_custom.rs:827-931 | pingora-proxy/src/proxy_h1.rs:750-861 | pingora-proxy/src/proxy_h2.rs:821-928 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h1.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 336 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:827\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"45304399efe5ddc5b642a4d2a1e5372a215e8601a954dc3300db84e4acbd4e07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): pingora-lru/src/persistence.rs:183-225 | pingora-lru/src/persistence.rs:265-307 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-lru/src/persistence.rs:183\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-lru/src/persistence.rs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ffda94d9efde07c5034f193233f2f8a42fdcf4316c4126081c5f999f660061b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201341 lines \u00D7 3): pingora-proxy/src/proxy_custom.rs:1060-1097 | pingora-proxy/src/proxy_h1.rs:956-996 | pingora-proxy/src/proxy_h2.rs:1017-1057 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h1.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 336 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:1060\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"42dd767f80405d152e3b9326ea35446642b43b04970dd29786300d275c655118"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38\u201339 lines \u00D7 2): pingora-proxy/src/proxy_custom.rs:1175-1212 | pingora-proxy/src/proxy_h2.rs:1116-1154 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h2.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 464 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:1175\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1175}}}],"partialFingerprints":{"codehealthFindingId/v1":"f679c3fce9d5fba9854e29904d5419e0053c027b05f7d2edafcf67ab9b8a49df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 3): pingora-core/src/protocols/http/v1/body.rs:1858-1895 | pingora-core/src/protocols/http/v1/body.rs:1952-1989 | pingora-core/src/protocols/http/v1/body.rs:2027-2064 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/http/v1/body.rs:1858\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":1858}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cd3ca883638a5057880fdccb1a74dfc29b793d208e3ff4fa521244282945d34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201332 lines \u00D7 2): pingora-proxy/src/proxy_h1.rs:538-569 | pingora-proxy/src/proxy_h2.rs:610-627 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_h1.rs\u0060 and \u0060pingora-proxy/src/proxy_h2.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 388 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_h1.rs:538\u0060 it does not close everything it opens, so those exact 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, \u0060pingora-proxy/src/proxy_h1.rs:573\u0060 calls \u0060try_reserve\u0060, \u0060or_err\u0060 and \u0060pingora-proxy/src/proxy_h2.rs:629\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":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda9db76567b66a4889927bc1d3698b9f902b4389f4bf13a4429823a909f3ac6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201327 lines \u00D7 2): pingora-proxy/src/proxy_custom.rs:779-802 | pingora-proxy/src/proxy_h1.rs:703-729 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h1.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 336 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:779\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The 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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"41676cd5967dc898b01dce06fe37111f68a0b6a07ee82ec0f15f1ea8596950c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): pingora-proxy/src/proxy_h1.rs:488-514 | pingora-proxy/src/proxy_h2.rs:548-574 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_h1.rs\u0060 and \u0060pingora-proxy/src/proxy_h2.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 388 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f3d42e670606608c81d0f2fd2ca7a839d02e85894da11087ef3e7f3eac0e23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): pingora-proxy/src/proxy_custom.rs:664-689 | pingora-proxy/src/proxy_h1.rs:601-626 | pingora-proxy/src/proxy_h2.rs:651-676 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h1.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 336 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:664\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2968ff675b895021ee2290a41fa263186e24a185cb61e69a912a10106c23c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 4): pingora-proxy/src/proxy_custom.rs:670-693 | pingora-proxy/src/proxy_h1.rs:607-630 | pingora-proxy/src/proxy_h2.rs:657-680 | pingora-proxy/src/proxy_h2.rs:708-730 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h1.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 336 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:670\u0060 it begins part-way through the construct above it, so those exact 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, \u0060pingora-proxy/src/proxy_h1.rs:633\u0060 calls \u0060on_proxy_failure\u0060 and \u0060pingora-proxy/src/proxy_custom.rs:694\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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c7161c1b7f1b2cb5c8465c58adaf0a6a82d68887125da3aaf442fef98987a23"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): pingora-proxy/src/proxy_custom.rs:513-535 | pingora-proxy/src/proxy_h2.rs:500-522 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h2.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 464 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:513\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ddccf43178f2b50b85ca682ee2374c1cdabcff762f4e726003859da72464ff0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): pingora-http/src/lib.rs:289-310 | pingora-http/src/lib.rs:643-664 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-http/src/lib.rs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"705678967429276d13bf98e55b06d10990bf76002b327c7a6f56a3f8e53d2a32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): pingora-proxy/src/proxy_custom.rs:226-246 | pingora-proxy/src/proxy_h2.rs:184-204 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h2.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 464 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:226\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"36c65f616556dde0fef7abf8bf738c9c08e1bc5a0b2d82a1cbcde0be6a13756b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201321 lines \u00D7 2): pingora-proxy/src/proxy_h2.rs:748-766 | pingora-proxy/src/proxy_h2.rs:774-794 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_h2.rs:748\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h2.rs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c0bfafc249a6f6f431baff048c2cd9114f07324be1192341a6aa02d80c6a833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): pingora-proxy/src/proxy_custom.rs:1126-1144 | pingora-proxy/src/proxy_h2.rs:1080-1098 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h2.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 464 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:1126\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1126}}}],"partialFingerprints":{"codehealthFindingId/v1":"b360f242b8a11b4341ed19326441b7238d74af42d94f653a7c2d90fd5d89c9b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201319 lines \u00D7 2): pingora-proxy/src/proxy_h1.rs:577-595 | pingora-proxy/src/proxy_h2.rs:629-645 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_h1.rs\u0060 and \u0060pingora-proxy/src/proxy_h2.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 388 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_h1.rs:577\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pingora-proxy/src/proxy_h1.rs:573\u0060 calls \u0060try_reserve\u0060, \u0060or_err\u0060 and \u0060pingora-proxy/src/proxy_h2.rs:627\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":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0f6a2cbc52b0ec93451d7aca892e7f1d55c60977353b72ccdfe7f76fde7ef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): pingora-proxy/src/proxy_custom.rs:1153-1169 | pingora-proxy/src/proxy_h1.rs:1060-1077 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h1.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 336 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:1153\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1153}}}],"partialFingerprints":{"codehealthFindingId/v1":"892cf36b24c7d2147046226cbcb2b045552263c7058dc6b909ac846bd9f9ba55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): pingora-proxy/src/proxy_custom.rs:485-501 | pingora-proxy/src/proxy_h1.rs:416-432 | pingora-proxy/src/proxy_h2.rs:472-488 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h1.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 336 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:485\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"548cc13256002991ab3016b171bb81d54cb8e7f7e6b1b7d253629935e74e8ebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): pingora-core/src/server/mod.rs:265-281 | pingora-core/src/server/mod.rs:352-368 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/server/mod.rs:265\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/server/mod.rs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3dc729569e6af7650c8be861b7deb4b814f991086e19baf273551e871136b2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): pingora-proxy/src/proxy_custom.rs:1102-1118 | pingora-proxy/src/proxy_h2.rs:1061-1077 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h2.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 464 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:1102\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"4419a30cc56d4730a4503c108d413b4626d2527fc358ebc9962eed6c07ff210b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): pingora-proxy/src/proxy_h1.rs:722-738 | pingora-proxy/src/proxy_h2.rs:793-809 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_h1.rs\u0060 and \u0060pingora-proxy/src/proxy_h2.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 388 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_h1.rs:722\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060pingora-proxy/src/proxy_h1.rs:721\u0060 calls \u0060maybe_finished\u0060, \u0060is_body_done\u0060 and \u0060pingora-proxy/src/proxy_h2.rs:792\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":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbef6728b16fc86a23c2ab63ef3b7ee376bec7c5a12ce9cf99a4cefbdd918e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201316 lines \u00D7 3): pingora-core/src/protocols/http/v1/body.rs:1832-1845 | pingora-core/src/protocols/http/v1/body.rs:1929-1944 | pingora-core/src/protocols/http/v1/body.rs:2006-2019 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/http/v1/body.rs:1832\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":1832}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e98a9f34eaca86f98bc815fbc4d9db76bf3bf02c752197031c96b644104fb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 3): pingora-proxy/src/proxy_custom.rs:1137-1151 | pingora-proxy/src/proxy_h1.rs:1043-1058 | pingora-proxy/src/proxy_h2.rs:1091-1105 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h1.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 336 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:1137\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1137}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdb6870cefdc2a9d1d70252606c86e08a5953dc1b146ec6de520920b5de319c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): pingora-core/src/protocols/http/subrequest/server.rs:838-852 | pingora-core/src/protocols/http/v1/server.rs:1583-1598 \u2014 \u0060pingora-core/src/protocols/http/subrequest/server.rs\u0060 and \u0060pingora-core/src/protocols/http/v1/server.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 81 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/http/subrequest/server.rs:838\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":838}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa6109a694a1b5d534599874791f73e3c4f5b1d8ab887e883207a4fb3fea8df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): pingora-proxy/src/proxy_custom.rs:751-765 | pingora-proxy/src/proxy_h1.rs:677-692 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h1.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 336 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:751\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":751}}}],"partialFingerprints":{"codehealthFindingId/v1":"00898aca557fdc71b2208e4ff6cf7191980d8ee3f6a495d89604715fba12c523"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): pingora-core/src/protocols/http/subrequest/server.rs:807-820 | pingora-core/src/protocols/http/subrequest/server.rs:845-859 | pingora-core/src/protocols/http/v1/server.rs:1539-1552 \u2014 \u0060pingora-core/src/protocols/http/subrequest/server.rs\u0060 and \u0060pingora-core/src/protocols/http/v1/server.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 81 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/http/subrequest/server.rs:845\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"126ebaf52c90348e1d7a5ccc4ee17ace77e1c5a3f3848d58f68062628ee92919"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): pingora-core/src/protocols/l4/stream.rs:731-745 | pingora-core/src/protocols/l4/stream.rs:755-769 | pingora-core/src/protocols/l4/stream.rs:780-794 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/l4/stream.rs:731\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/stream.rs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"311426d13d39978573b8ee1a1a566d83742c0ede1966d7e502f66b827bb3a417"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): pingora-proxy/src/proxy_custom.rs:226-240 | pingora-proxy/src/proxy_h1.rs:74-88 | pingora-proxy/src/proxy_h2.rs:184-198 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h1.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 336 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:226\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"59624528f90f15b5552acb4a4ce07306d4da4099c997daf30f8ef0f849a0d784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): pingora-proxy/src/proxy_custom.rs:1206-1219 | pingora-proxy/src/proxy_h1.rs:1085-1099 | pingora-proxy/src/proxy_h2.rs:1147-1161 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h1.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 336 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:1206\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1206}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd55347d98eaaa1f4f1bf9a7ee2c37607cde4fa8482969d8c73ac86ca3109e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): pingora-core/src/protocols/http/compression/brotli.rs:45-59 | pingora-core/src/protocols/http/compression/gzip.rs:43-56 \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":"pingora-core/src/protocols/http/compression/brotli.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"61c8901c7d752d7df3af0d8540a14ce44f666cf9efc3a5ed523253630dd8d8e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): pingora-core/src/protocols/http/subrequest/body.rs:118-132 | pingora-core/src/protocols/http/subrequest/body.rs:178-192 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/body.rs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a0d23474b68ed8e31d70ce2a2d184b1d973632ad7b5dec2c96f64430dfd28cd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): pingora-proxy/src/lib.rs:616-630 | pingora-proxy/src/lib.rs:1749-1763 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/lib.rs:616\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/lib.rs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96db93ae968d3d3e1a398cbc59a60a2ce582dea48947dc8eafb7fa5278b3c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): pingora-proxy/src/proxy_custom.rs:607-621 | pingora-proxy/src/proxy_h2.rs:605-619 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h2.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 464 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da9bc7651740bd6ed948677c6d90ae1725e4cad55165783e0e192aa080eba84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pingora-cache/src/cache_control.rs:131-144 | pingora-cache/src/cache_control.rs:157-170 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060s\u0060 to \u0060\u0026str\u0060 in one and \u0060String\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types 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":"pingora-cache/src/cache_control.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafa91075c3806a5a30f72cba23268d1c97adc92366caab0b2c5914d1671b30a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pingora-proxy/src/proxy_custom.rs:184-197 | pingora-proxy/src/proxy_h2.rs:407-420 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h2.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 464 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"85561f6a2b3556a8c03288c8cead740691a811e33134e1d3a652d20ca9c9a766"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pingora-proxy/src/proxy_h1.rs:1131-1144 | pingora-proxy/src/subrequest/pipe.rs:501-514 \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":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":1131}}}],"partialFingerprints":{"codehealthFindingId/v1":"1684726e084204141468e4dac845465b68462417e663579ce83728becdcf3c31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): pingora-core/src/listeners/tls/boringssl_openssl/mod.rs:217-228 | pingora-core/src/listeners/tls/rustls/mod.rs:268-280 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/listeners/tls/boringssl_openssl/mod.rs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea89845b37565594ad2ad186fdc45931bf112e7be18664c58344c14f5e103efe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pingora-cache/src/lib.rs:613-624 | pingora-cache/src/lib.rs:672-683 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lib.rs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"334e5c1b884fd2995105bbdd27a503c1af939f9cda097fcfadec52317ab05ded"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pingora-core/src/connectors/l4.rs:178-189 | pingora-core/src/connectors/l4.rs:206-217 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/connectors/l4.rs:178\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact 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, \u0060pingora-core/src/connectors/l4.rs:177\u0060 calls \u0060local_addr\u0060 and \u0060pingora-core/src/connectors/l4.rs:205\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":"pingora-core/src/connectors/l4.rs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"5325e5c1fd333ce5ea908bd740c20dbbf70a03ee9a358b734fad2f9c84b739fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pingora-core/src/utils/tls/rustls.rs:186-197 | pingora-core/src/utils/tls/s2n.rs:189-200 \u2014 before extracting anything, compare \u0060pingora-core/src/utils/tls/rustls.rs\u0060 and \u0060pingora-core/src/utils/tls/s2n.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/utils/tls/rustls.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"c82a8dc95bd02d3803b0da6451f1fec2ec147c5afd0a9612489b1492ad92b06b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pingora-lru/src/persistence.rs:161-172 | pingora-lru/src/persistence.rs:243-254 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-lru/src/persistence.rs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8cef6123e5187be91d7db236754172c557ab615c0f996e83240c0e6930e4e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pingora-proxy/src/proxy_custom.rs:1476-1487 | pingora-proxy/src/proxy_h2.rs:1390-1401 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h2.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 464 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:1476\u0060 it begins part-way through the construct above it, so those exact 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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1476}}}],"partialFingerprints":{"codehealthFindingId/v1":"0980e6dc5af3ddd959a30dea140c5e443addab725e9dce7a2a97e0d3be87ec3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pingora-core/src/connectors/tls/rustls/mod.rs:284-294 | pingora-core/src/connectors/tls/s2n/mod.rs:161-171 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/connectors/tls/rustls/mod.rs:284\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/tls/rustls/mod.rs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0650aa4d7b69436b2beab23762da9ce468c4d22786385cddd2270f0d3caa7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pingora-core/src/protocols/http/v1/client.rs:607-617 | pingora-core/src/protocols/http/v1/server.rs:823-833 \u2014 before extracting anything, compare \u0060pingora-core/src/protocols/http/v1/client.rs\u0060 and \u0060pingora-core/src/protocols/http/v1/server.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/http/v1/client.rs:607\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60c338e7c5a9bada05a4d9af99e3dbf82130fdc0ce56d3322e031d65c20247e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pingora-core/src/protocols/http/v1/server.rs:1735-1745 | pingora-core/src/protocols/http/v1/server.rs:1750-1760 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/http/v1/server.rs:1735\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":1735}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bec10c0e70ba308cd3991b1aacbc087f2639cd3095252c6469cc39cb49a2ef0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): pingora-core/src/connectors/tls/boringssl_openssl/mod.rs:257-264 | pingora-core/src/connectors/tls/rustls/mod.rs:284-293 | pingora-core/src/connectors/tls/s2n/mod.rs:161-170 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under 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":"pingora-core/src/connectors/tls/boringssl_openssl/mod.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd18c86b75e247cbaa2fa45c52a565cd24ac6163bcf8f909ffcdc80798434830"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pingora-core/src/protocols/http/subrequest/server.rs:1024-1033 | pingora-core/src/protocols/http/subrequest/server.rs:1169-1178 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/http/subrequest/server.rs:1024\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":1024}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea3d152042101f3cf6f0848299436e6e963a69940d911c44d74634ab9334894"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pingora-core/src/utils/tls/rustls.rs:216-225 | pingora-core/src/utils/tls/s2n.rs:219-228 \u2014 before extracting anything, compare \u0060pingora-core/src/utils/tls/rustls.rs\u0060 and \u0060pingora-core/src/utils/tls/s2n.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/utils/tls/rustls.rs:216\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/utils/tls/rustls.rs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"499532dbdd1a4dc439f7d4969b328fa081f63528d9329bb33d376af94a6638ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pingora-proxy/src/proxy_h1.rs:688-697 | pingora-proxy/src/proxy_h2.rs:765-774 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_h1.rs\u0060 and \u0060pingora-proxy/src/proxy_h2.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 388 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_h1.rs:688\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdf351a8ca70604653fd36aef14b605362184c6357aa7adc272699b05a5be1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): pingora-proxy/src/proxy_custom.rs:808-816 | pingora-proxy/src/proxy_h1.rs:730-738 | pingora-proxy/src/proxy_h2.rs:801-809 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h1.rs\u0060 as WHOLE FILES: this scan already matched 12 separate duplicated blocks between them, totalling at least 336 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:808\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab1a8c572844ffeaa4eea1209edcaab5519fee293efc15ca77ccb017f1bdaebd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pingora-proxy/src/lib.rs:2080-2088 | pingora-proxy/src/lib.rs:2107-2115 \u2014 both copies are in the same file, so extract the block 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":"pingora-proxy/src/lib.rs"},"region":{"startLine":2080}}}],"partialFingerprints":{"codehealthFindingId/v1":"2590dc81dcce897a8e2fb2326aaaeb4e52d30a6cde5c60ed8fc7bd05666d8f0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pingora-proxy/src/proxy_custom.rs:252-260 | pingora-proxy/src/proxy_h2.rs:252-260 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h2.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 464 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa957137edc7cd32cb9e1f20ddf2ca704385f053542c05143025845081e5feba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): pingora-core/src/utils/tls/boringssl_openssl.rs:127-134 | pingora-core/src/utils/tls/rustls.rs:215-222 | pingora-core/src/utils/tls/s2n.rs:218-225 \u2014 before extracting anything, compare \u0060pingora-core/src/utils/tls/rustls.rs\u0060 and \u0060pingora-core/src/utils/tls/s2n.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/utils/tls/boringssl_openssl.rs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57c57efe1f20c4d34ef70214a84411989ca5dee32a66429a393e60835b68a01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): pingora-core/src/protocols/http/subrequest/server.rs:495-501 | pingora-core/src/protocols/http/v1/client.rs:183-189 | pingora-core/src/protocols/http/v1/server.rs:999-1005 \u2014 \u0060pingora-core/src/protocols/http/subrequest/server.rs\u0060 and \u0060pingora-core/src/protocols/http/v1/server.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 81 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/http/subrequest/server.rs:495\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines 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 \u0060buf\u0060 to \u0060Bytes\u0060 in one and \u0060\u0026[u8]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types 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":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"17c950a37f83b61164970f6f993f041f09ab1cdc16b71a301d5626f27d69dcf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pingora-load-balancing/src/health_check.rs:206-215 | pingora-load-balancing/src/health_check.rs:240-249 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-load-balancing/src/health_check.rs:206\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-load-balancing/src/health_check.rs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c16183bbf5f5fbb417a56fff516b4103a182fa5157bbd74e533842ffe5da7d24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pingora-proxy/src/proxy_h1.rs:93-100 | pingora-proxy/src/proxy_h2.rs:203-209 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_h1.rs\u0060 and \u0060pingora-proxy/src/proxy_h2.rs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 388 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_h1.rs:93\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9eda87277feb65acd35b9cf5d0e1f2e4c1c6dcd65cd853e4b330dfb3517453"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pingora-core/src/protocols/http/subrequest/server.rs:328-335 | pingora-core/src/protocols/http/v1/server.rs:634-639 \u2014 \u0060pingora-core/src/protocols/http/subrequest/server.rs\u0060 and \u0060pingora-core/src/protocols/http/v1/server.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 81 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/http/subrequest/server.rs:328\u0060 it does not close everything it opens, so those exact lines 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":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f2d2e0be44324b60a61f8e4952035c8100bb7c11e11d3e6043add653095ff5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5\u20136 lines \u00D7 2): pingora-core/src/protocols/http/v1/client.rs:491-495 | pingora-core/src/protocols/http/v1/server.rs:614-619 \u2014 before extracting anything, compare \u0060pingora-core/src/protocols/http/v1/client.rs\u0060 and \u0060pingora-core/src/protocols/http/v1/server.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/http/v1/server.rs:614\u0060 it begins part-way through the construct above it, so those exact lines 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":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"930c743b7641105335d8729a67945a13b6d9d68a69bb79a695b53e77f17debce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pingora-core/src/protocols/l4/stream.rs:68-74 | pingora-core/src/protocols/l4/stream.rs:217-223 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/l4/stream.rs:68\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/stream.rs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf1e6a7db5cc674aae18fdf2ab774a5f6b5f15aa213d13d64c9abb3dc149619"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pingora-core/src/protocols/l4/stream.rs:82-88 | pingora-core/src/protocols/l4/stream.rs:305-311 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/l4/stream.rs:82\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/stream.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa612fd3155d5ec1ac7d0f5920d225d69bc7696def440fc7903ee23570397770"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pingora-core/src/protocols/l4/stream.rs:94-100 | pingora-core/src/protocols/l4/stream.rs:317-323 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/l4/stream.rs:94\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/stream.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1645d75522bf97d88992c1f6c457c560e567c0e5558e90563490bf496eacc06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pingora-core/src/protocols/l4/stream.rs:106-112 | pingora-core/src/protocols/l4/stream.rs:329-335 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/l4/stream.rs:106\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/stream.rs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a66dd37847f3aa20975c7ccda9c85925eee3613bc3645ad969b28b2207aac13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pingora-core/src/protocols/l4/stream.rs:122-128 | pingora-core/src/protocols/l4/stream.rs:345-351 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/l4/stream.rs:122\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/stream.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3ef7452cdbeed128e46e0d48b04cb6ad0648af48fc7ab7d9e66ec670774f83c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pingora-core/src/protocols/tls/rustls/stream.rs:170-175 | pingora-core/src/protocols/tls/rustls/stream.rs:181-186 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/tls/rustls/stream.rs:170\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines 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 \u0060self\u0060 to \u0060crate) async fn connect(\u0026mut\u0060 in one and \u0060crate) async fn accept(\u0026mut\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types 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":"pingora-core/src/protocols/tls/rustls/stream.rs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f858754950164d65bff47a4072cd67ffe419ed8341998e2a2b2a8dfa30000a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pingora-core/src/protocols/http/v1/body.rs:1606-1610 | pingora-core/src/protocols/http/v1/header.rs:214-218 \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 \u0060pingora-core/src/protocols/http/v1/body.rs:1606\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":1606}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cd7c2de0504936dcd76d19ec519a37f622450749bed5e28fdd4cb3eddbec0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): pingora-core/src/protocols/tls/boringssl_openssl/stream.rs:79-83 | pingora-core/src/protocols/tls/boringssl_openssl/stream.rs:90-94 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/tls/boringssl_openssl/stream.rs:79\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/tls/boringssl_openssl/stream.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3085e4124dfa69f46a3096bfb17c93c5321342aa3f26dbafa7fc3c76780ef4e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pingora-core/src/protocols/tls/mod.rs:186-192 | pingora-core/src/protocols/tls/mod.rs:196-202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/tls/mod.rs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6f06ef2596f5df299c1cae75503a4a30d7a1481eb0fc765ed781bd41d08a35d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pingora-boringssl/src/ext.rs:225-230 | pingora-openssl/src/ext.rs:49-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-boringssl/src/ext.rs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7e9088a47338ba901848a0cac6e1395c920079aac4d70d31c76e3122a7db098"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pingora-cache/src/eviction/lru.rs:138-147 | pingora-cache/src/eviction/simple_lru.rs:175-183 \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":"pingora-cache/src/eviction/lru.rs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1aa006920ab508cbd8620e5cee4b3d596c15167c8df14c2f4f531b6e976ad36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): pingora-core/src/listeners/tls/boringssl_openssl/mod.rs:126-133 | pingora-core/src/listeners/tls/rustls/mod.rs:170-177 | pingora-core/src/listeners/tls/s2n/mod.rs:171-178 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/listeners/tls/boringssl_openssl/mod.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ec9be3392d7350f5f32858dee042924f101144c2b13839105adc7d61fee0595"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pingora-core/src/protocols/http/subrequest/body.rs:256-262 | pingora-core/src/protocols/http/v1/body.rs:1355-1361 \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":"pingora-core/src/protocols/http/subrequest/body.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44730f8db16d3ba7480bf2a6189231b30fc687f009d78cce9872ce67e63ec29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): pingora-core/src/protocols/http/subrequest/server.rs:316-324 | pingora-core/src/protocols/http/v1/server.rs:622-630 | pingora-core/src/protocols/http/v2/server.rs:562-570 \u2014 \u0060pingora-core/src/protocols/http/subrequest/server.rs\u0060 and \u0060pingora-core/src/protocols/http/v1/server.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 81 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"97cfae39b1299cb0097b01f9f8936bf1e2db5227cc6f0dcb4a8270527a8c9e8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pingora-core/src/protocols/http/subrequest/server.rs:437-443 | pingora-core/src/protocols/http/v1/server.rs:701-707 \u2014 \u0060pingora-core/src/protocols/http/subrequest/server.rs\u0060 and \u0060pingora-core/src/protocols/http/v1/server.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 81 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca0cfd348cc97734bba47c5d01400b7e5b473dc6f142fc7d42764a4ec115ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): pingora-core/src/protocols/http/subrequest/server.rs:614-622 | pingora-core/src/protocols/http/v1/server.rs:1196-1204 | pingora-core/src/protocols/http/v2/server.rs:920-928 \u2014 \u0060pingora-core/src/protocols/http/subrequest/server.rs\u0060 and \u0060pingora-core/src/protocols/http/v1/server.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 81 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc6d543b2666d275dae5b5280de5ebd4f9d8ad88f32060b2e0b2bdee05838639"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pingora-core/src/protocols/http/subrequest/server.rs:776-785 | pingora-core/src/protocols/http/v1/server.rs:1504-1513 \u2014 \u0060pingora-core/src/protocols/http/subrequest/server.rs\u0060 and \u0060pingora-core/src/protocols/http/v1/server.rs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 8 separate duplicated blocks between them, totalling at least 81 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3dfcaeb17d2b89c24cc1f3d2544c68165dde56a5deb7de7512b5b012328656"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): pingora-core/src/protocols/http/v1/client.rs:558-571 | pingora-core/src/protocols/http/v1/server.rs:728-741 \u2014 before extracting anything, compare \u0060pingora-core/src/protocols/http/v1/client.rs\u0060 and \u0060pingora-core/src/protocols/http/v1/server.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfecede88835fcc5870ba1c70a96c368470248d25de0955bee9b27ef835a219"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pingora-core/src/protocols/tls/boringssl_openssl/server.rs:86-93 | pingora-core/src/protocols/tls/rustls/server.rs:100-107 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/tls/boringssl_openssl/server.rs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0826758519fa1bdbeb48bdade97415f7b0ab2aeda354fcd70882ead2653f30"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): pingora-core/src/utils/tls/boringssl_openssl.rs:107-113 | pingora-core/src/utils/tls/rustls.rs:229-235 \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":"pingora-core/src/utils/tls/boringssl_openssl.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bcb4fe2926f857e7e9580a8c531520b727e8b299c4299ce874db8a523821492"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pingora-core/src/utils/tls/rustls.rs:49-56 | pingora-core/src/utils/tls/s2n.rs:44-51 \u2014 before extracting anything, compare \u0060pingora-core/src/utils/tls/rustls.rs\u0060 and \u0060pingora-core/src/utils/tls/s2n.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/utils/tls/rustls.rs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd330ca973b6a1159493b8e192105ce6d16f123ca3eec2d4aca69b90d15c902a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pingora-core/src/utils/tls/rustls.rs:60-65 | pingora-core/src/utils/tls/s2n.rs:55-60 \u2014 before extracting anything, compare \u0060pingora-core/src/utils/tls/rustls.rs\u0060 and \u0060pingora-core/src/utils/tls/s2n.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/utils/tls/rustls.rs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf615e864690dc1bd333ecfbf5ab5ac843e92f06c4e808ae9a4ceea8b7edd3be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pingora-core/src/utils/tls/rustls.rs:69-77 | pingora-core/src/utils/tls/s2n.rs:64-72 \u2014 before extracting anything, compare \u0060pingora-core/src/utils/tls/rustls.rs\u0060 and \u0060pingora-core/src/utils/tls/s2n.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/utils/tls/rustls.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd726970e37d52fe25f206a9bc6e2cdfec3a9c9a8307719d7b4e3af70eb170a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pingora-core/src/utils/tls/rustls.rs:81-89 | pingora-core/src/utils/tls/s2n.rs:76-84 \u2014 before extracting anything, compare \u0060pingora-core/src/utils/tls/rustls.rs\u0060 and \u0060pingora-core/src/utils/tls/s2n.rs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 62 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/utils/tls/rustls.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bd24643aa2a824d3a12b5937ec6d052166b2850c7370c5bf6d0c48eadfa85b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): pingora-core/src/protocols/http/v1/client.rs:165-176 | pingora-core/src/protocols/http/v1/server.rs:981-992 \u2014 before extracting anything, compare \u0060pingora-core/src/protocols/http/v1/client.rs\u0060 and \u0060pingora-core/src/protocols/http/v1/server.rs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 50 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"a05594e49962a2ad943eb54bf90f06bac4cf3a1fb5e1383f512c7e4bb8dc2938"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pingora-proxy/src/proxy_custom.rs:1456-1466 | pingora-proxy/src/proxy_h2.rs:1344-1354 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h2.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 464 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:1456\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1456}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd982343942aa8063f4754c91a2a2a99756589e854acdb5ff2f3e7232b639e20"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): pingora-core/src/protocols/http/subrequest/body.rs:270-280 | pingora-core/src/protocols/http/v1/body.rs:1372-1382 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/http/subrequest/body.rs:270\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/body.rs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc0daaa9ca7a4cf8e609d3aa7b892b7b7200029e1c169db54f1529bd087b89d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): pingora-core/src/protocols/tls/s2n/client.rs:38-47 | pingora-core/src/protocols/tls/s2n/server.rs:34-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 both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-core/src/protocols/tls/s2n/client.rs:38\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/tls/s2n/client.rs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a12f8c6e1e2397e8d355615d08fdc01b71ae34be06ec8b5234b00380ac30c38e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): pingora-proxy/src/proxy_custom.rs:1403-1411 | pingora-proxy/src/proxy_h2.rs:1285-1293 \u2014 before extracting anything, compare \u0060pingora-proxy/src/proxy_custom.rs\u0060 and \u0060pingora-proxy/src/proxy_h2.rs\u0060 as WHOLE FILES: this scan already matched 20 separate duplicated blocks between them, totalling at least 464 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060pingora-proxy/src/proxy_custom.rs:1403\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1403}}}],"partialFingerprints":{"codehealthFindingId/v1":"73646e912ecc41027060855b6348e2dbdfff4137cf59e0cf9ac2108970c072fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): pingora-core/src/protocols/http/compression/zstd.rs:65-72 | pingora-core/src/protocols/http/compression/zstd.rs:138-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 \u0060pingora-core/src/protocols/http/compression/zstd.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":"pingora-core/src/protocols/http/compression/zstd.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"652444f198d8e16ee785610992e451028ca53de83494076422dccd626edf6950"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): pingora-core/src/protocols/http/compression/brotli.rs:66-71 | pingora-core/src/protocols/http/compression/gzip.rs:63-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 \u0060pingora-core/src/protocols/http/compression/brotli.rs:66\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/compression/brotli.rs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"819b740dd1d5a64ba7cfec7829b3fbe6eb3dd62cce8e1dace1845383b27d0daa"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project pingora-load-balancing: pingora-load-balancing has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4f2aa7d2ca08385c687587805d04766f30bcd5cb2cd39365c1f2f04fa8759dce"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project pingora-proxy: pingora-proxy has instability 0.83 with 1 dependents."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1b82b400b48821e03adcc3bb02e6c44b940a78396ee57114413530a93c6433ab"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: TinyUFO: TinyUFO: 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":"90f23891b1d7df0db79e86a8621a060a80ca34d4491b88407226df52446f1256"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pingora-boringssl: pingora-boringssl: 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":"874b01d06532b3c88faff417bfc15cb049d8a942ea548ae66050941b21632ea2"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pingora-http-parser: pingora-http-parser: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f01b16803c1f0b60f7327556942934c421091cbbf5216b0bc147e4d2748676a4"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pingora-ketama: pingora-ketama: 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":"218e2c9209f2c5e9736ba482d7deffcfb9943f6a6b9d9f01ea77a69fe7900f11"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pingora-runtime: pingora-runtime: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a492c9104baf088c88aa52e52c3951bc37194b071db6af640e0b3e95b99de7fd"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pingora-lru: pingora-lru: abstractness 0.05, instability 0.00, distance 0.95 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"be6a9d2fd49a3bb88a70c47920266fca0bfc10e467b76d037a12d4468cad1058"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: pingora-timeout: pingora-timeout: abstractness 0.10, instability 0.00, distance 0.90 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"cc5c6a076320c4c1794102a4d6dd42bb303575af8e212d7ea43e49619d707e61"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RawStreamWrapper (LCOM4 7): RawStreamWrapper\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/stream.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"12bbbd51c83d5129110b4d79168ddbbe8386d3e3978408fa2493f0de678953d4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SslStream (LCOM4 4): SslStream\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":"pingora-core/src/protocols/tls/boringssl_openssl/stream.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9af27e07663bd868d2ba8e14f0ddafce734a2c9440291224c9915a3a2c3eae"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: HttpHealthCheck (LCOM4 4): HttpHealthCheck\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":"pingora-load-balancing/src/health_check.rs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc4896efc144f8a6d5311938c6f26ca65084e61708511f570d6852c72b8a5993"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: test_caching_when_downstream_stalls: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022flaky in CI due to timing/resource contention\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/tests/test_upstream.rs"},"region":{"startLine":4916}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd9eb76a624cc9385dbbd971bf9fbadfde0478979ef2ff61e85da1cf01895bf"}},{"ruleId":"D11","level":"error","message":{"text":"Test declared unreliable: test_caching_h2_upstream_when_downstream_stalls: This test is disabled or skipped with a reason naming unreliability \u2014 the repository\u0027s own words: \u0022flaky in CI due to timing/resource contention\u0022. A test that is skipped for flakiness is neither passing nor protecting the code it covers; either stabilise it or delete it, but do not leave it disabled indefinitely. (Found by reading the repository\u0027s own test source \u2014 the suite itself was not re-run, since the reliability runner does not support this ecosystem.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/tests/test_upstream.rs"},"region":{"startLine":5000}}}],"partialFingerprints":{"codehealthFindingId/v1":"19e85419f94fc974d1d951a82a144713848a3082eedcfb9015810a3353a622a6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pingora-proxy/src/proxy_custom.rs: pingora-proxy/src/proxy_custom.rs changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 77 in HttpProxy::custom_bidirection_down_to_up at line 539. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 08:45:47 -08:00\u0027 --until=\u00272026-11-09 08:45:47 -08:00\u0027 --full-history --no-merges -- pingora-proxy/src/proxy_custom.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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"27af280d21f4df74df79f1f8285ebf3ffe32dfd177cef7a2efa3debf769e9014"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pingora-proxy/src/proxy_h2.rs: pingora-proxy/src/proxy_h2.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 67 in HttpProxy::bidirection_down_to_up at line 526. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 08:45:47 -08:00\u0027 --until=\u00272026-11-09 08:45:47 -08:00\u0027 --full-history --no-merges -- pingora-proxy/src/proxy_h2.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":"pingora-proxy/src/proxy_h2.rs"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"979363d9bcd165f6e2ed9c9bc52e44f3a73c6cc84ebbae15e20707d98dd4dcf0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pingora-proxy/src/proxy_h1.rs: pingora-proxy/src/proxy_h1.rs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 64 in HttpProxy::proxy_handle_downstream at line 471. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 08:45:47 -08:00\u0027 --until=\u00272026-11-09 08:45:47 -08:00\u0027 --full-history --no-merges -- pingora-proxy/src/proxy_h1.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":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4210ac171ca28c068750e7c133f3252d01aa30493fff1170f5169c3e99102fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pingora-proxy/src/lib.rs: pingora-proxy/src/lib.rs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in HttpProxy::process_request at line 1485. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 08:45:47 -08:00\u0027 --until=\u00272026-11-09 08:45:47 -08:00\u0027 --full-history --no-merges -- pingora-proxy/src/lib.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":"pingora-proxy/src/lib.rs"},"region":{"startLine":1485}}}],"partialFingerprints":{"codehealthFindingId/v1":"784b578270779c13de24d1fba0645c9ad032dedbbf91ee043a78147644dc129d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pingora-proxy/src/proxy_cache.rs: pingora-proxy/src/proxy_cache.rs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 46 in HttpProxy::proxy_cache_hit at line 342. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 08:45:47 -08:00\u0027 --until=\u00272026-11-09 08:45:47 -08:00\u0027 --full-history --no-merges -- pingora-proxy/src/proxy_cache.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":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ade601ee908d0dcacb0156cb1e50741226f84f63c675a71ab6d3cab5d23be3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pingora-proxy/src/subrequest/pipe.rs: pingora-proxy/src/subrequest/pipe.rs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 41 in pingora_proxy::subrequest::pipe::pipe_subrequest at line 205. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 08:45:47 -08:00\u0027 --until=\u00272026-11-09 08:45:47 -08:00\u0027 --full-history --no-merges -- pingora-proxy/src/subrequest/pipe.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":"pingora-proxy/src/subrequest/pipe.rs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2944f97b637af667e33de9e50e5031d612680a5673e89116af6ca4a44135d040"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pingora-core/src/server/mod.rs: pingora-core/src/server/mod.rs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in Server::run at line 692. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 08:45:47 -08:00\u0027 --until=\u00272026-11-09 08:45:47 -08:00\u0027 --full-history --no-merges -- pingora-core/src/server/mod.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":"pingora-core/src/server/mod.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"b623f9791cfaf66d9297a3a3f016835693af031695c1abfc64b998265e9a4903"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pingora-core/src/connectors/tls/boringssl_openssl/mod.rs: pingora-core/src/connectors/tls/boringssl_openssl/mod.rs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in pingora_core::connectors::tls::boringssl_openssl::connect at line 148. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 08:45:47 -08:00\u0027 --until=\u00272026-11-09 08:45:47 -08:00\u0027 --full-history --no-merges -- pingora-core/src/connectors/tls/boringssl_openssl/mod.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":"pingora-core/src/connectors/tls/boringssl_openssl/mod.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"87882f5ff1830bc40e253bf4fe1b126dcbcde1b365f2d0f7e8285885170b17c8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: pingora-load-balancing/src/background.rs: pingora-load-balancing/src/background.rs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in HealthCheckService::run at line 388. 1 of those changes was a fix/bug commit, and the other 1 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-11..2026-11-09, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-11 08:45:47 -08:00\u0027 --until=\u00272026-11-09 08:45:47 -08:00\u0027 --full-history --no-merges -- pingora-load-balancing/src/background.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":"pingora-load-balancing/src/background.rs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae9b39e61118842ac5f23d6c51f624c7a2148edcfd55b313ce5c62e49caf5dc0"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 4 significant file(s) lose their only recent owner: pingora-foundations/src/lib.rs, pingora-core/src/protocols/tls/noop_tls/mod.rs, pingora-core/src/protocols/http/v1/mod.rs, pingora-cache/src/admission.rs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"32571d67410ed627e79539bdeaa931abeb50e4d5c3946edab2d7c5b69402cea5"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 4 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (9 single-owned of 158 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; 158 of the 185 production source files in this repository met that bar). They are anonymized user #2 (2 file(s)), anonymized user #3 (1 file(s)), anonymized user #4 (1 file(s)), anonymized user #5 (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: pingora-pool/src/lru.rs, pingora-load-balancing/src/discovery.rs, pingora-limits/src/estimator.rs, pingora-core/src/utils/tls/boringssl_openssl.rs, pingora-core/src/protocols/http/compression/brotli.rs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: figure out the right way to compare frequencies of different weights across \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tinyufo/src/lib.rs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"623de4f7ea64fbd8ce193872378006f32f1c7a47b67061bae57d853d8b6f6630"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: compare old.weight and update accordingly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tinyufo/src/lib.rs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9de33e283787ae8758352c2825e7b06c128457df65f593d28541070e0bece96"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: with_capacity() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tinyufo/src/lib.rs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a051a3a0da934fb9639998265b7e786b2cae77a34a323a99e6a7c7aa3f626cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make sure this value is larger than RESOLUTION_DURATION \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-timeout/src/timer.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fdfc4a55cc9b8bbae14646e64e5f4296a0f233cdf5db8a49e5c156b66086dd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: buffer these register calls instead (without a lock) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-timeout/src/timer.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"0841fcec998f49116b7faa73efb50262d74a3e0421344a06c3f9e11e36fd1cc8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use a mutex to avoid creating a lot threads only to drop them \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-runtime/src/lib.rs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e9afda542226b395041066c080374f4966b8f9eea048d110feadb4ea5f51f12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: runtime metrics \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-runtime/src/lib.rs"},"region":{"startLine":785}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2d127237b46e473817be03fc0eea804cc3a707c2297031470b6c2d22f191269"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this can currently break with 500 when body arrives alongside header \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/tests/test_upstream.rs"},"region":{"startLine":5481}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc9fb10c779c3b69b1cf1e2249ccf2f1f43eb0253954226dfe882c7ebc44ef3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: figure out a way to kill openresty when exiting \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/tests/utils/mock_origin.rs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8090d7007304c094716fc2d295d764c7b8351cb02c278386fe284c8a443bda"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: only allow GET \u0026 HEAD \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/tests/utils/server_utils.rs"},"region":{"startLine":1848}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e502a2f6278f0794bba03f7d3cc512fbd8faef86eaea6040e06878d907f6773"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO to simulate an actual http1.0 origin \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/tests/utils/server_utils.rs"},"region":{"startLine":2155}}}],"partialFingerprints":{"codehealthFindingId/v1":"135ce1505ad3a0abccc6aec5f1c0d2ac3c8f8a0f11c4e524f6b0ead57dd06042"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: this still allows multiple servers to spawn across integration tests \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/tests/utils/server_utils.rs"},"region":{"startLine":2743}}}],"partialFingerprints":{"codehealthFindingId/v1":"05f11a75f8ffb45ea5a2c25a0f7aa60189db9a1629147594f9c771dc5ab87f5b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: name it better than inner \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/lib.rs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f7d0ca37e4f993272fd791b54ba7a87926c4873459288c31a58a0981b79dc8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check n==0 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/lib.rs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"aea81ee5ce870d347ec72e200de115f5384efee8d6b36e6ff1cba31e97d7766f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: close connection? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/lib.rs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cb4e269e6571d797acddc6641491c34c90fb54af70bd5f82a43143524ed27e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: log 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":"pingora-proxy/src/lib.rs"},"region":{"startLine":615}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bb7e4f1aad3d46b6b24bbe296a1c8f9200afe27df389f0dea846799d7a76875"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: log 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":"pingora-proxy/src/lib.rs"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfc62c66b863379ea563ed97f8b0ba4cb860016532ca1f42156f7d8bdf918d83"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: move this into an upstream session digest for future fields. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/lib.rs"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"016a56579a9554822dee08daf6870b11d1936702fdd5ae01f1a5a35ae39a38b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow configuring the subrequest session before use \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/lib.rs"},"region":{"startLine":2074}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e2d9a4e4eac5396bf950083431ef225ac69997a896a552c7c1c587f8b48126"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow configuring the subrequest session before use \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/lib.rs"},"region":{"startLine":2101}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cbf6c2a88284d8514871d99ac6bbdc1fe73a2002b35ca6861176315a78a77d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: keepalive pool, use stack \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/lib.rs"},"region":{"startLine":2145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ebb36ef4e2b70c394e433602d9a46da73c68a0c689a70f69969e19bf2ec13fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO implement h2_options \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/lib.rs"},"region":{"startLine":2201}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8d93d940e24e60e94891779a5d860b3870d642e32e5bb632d2a6dc93804b9d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle this 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":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e20bc01d1d2f40e796d2803f6e08ac56d05cd6e61ea90831f793b6a81fd24fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle this 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":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"a834321b16a5d500ba21be9f7456e4ec6c844ce215b5df3ff5546ac98dd7084d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe round and/or cache now() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c1be1966b0d05b939333f4449d0c4809f8da00badcb6e191b8f3a3bcedb965"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check error types \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"c714efa8921e80352176a2cbd5e84b5b5d625a35b89fef087779d2e6a8038a1e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use ProxyUseCache to replace the logic below \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fb376f5ae9d12ec7a9b0376b42d39091b72c4c1c4d77ad9cf8c8b5c269020f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // (TODO: how might hit handlers want to recover from \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"531e7232bb478bffc47a940a29dfd0ee3191ad921658cb083e613a60dd255e39"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: range \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"100e4a1b51a485d82da2079cdd081966e4880a6ef0fe2ef09673a0737bbddf4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: cache upstream header filter to add/remove headers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"308057d470c7637679e5c103964c6f680edaa21e58ea4147ababa6a90113b231"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: do this async \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":861}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f35b52aaad60f92305115da7b6837ac6f06c69a975befa90539d43198533cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle this failure: delete the temp files? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"503457eb4c9a058cafd97c1e7cdfc84752bae01ab34268c4af30e6554bb94887"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if we choose to respect changing Vary / variance over 304, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":959}}}],"partialFingerprints":{"codehealthFindingId/v1":"156a09da80f6311a5188361d22d7448c78e8e53db11746418c862da3595dcd9f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: log more \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":984}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf11338a31c69beb8b62b99f96b82bf03ec75c1fa7f2080e8316604c5b9e23d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: log more \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":1004}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3c142bad3bc5e86cbbab3875ad0c379d3ae41b6898c43718a9a49ab48484ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we can also check Accept-Range header from resp. Nginx gives uses the option \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":1614}}}],"partialFingerprints":{"codehealthFindingId/v1":"00f0f0c4b556dd79e248244567cc518a1fb81dc6ae30021340debac7d699db8a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make sure no body is read yet \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":2616}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c5b255d681aaee2681ba7a2e06dd422445f32fdb6f8792d92571097bdce74be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if nothing is sent to eyeball yet, figure out a way to recovery by \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":2645}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b1a0f20523db5a50084e9e957929462b40cba2ba0cea7f34d5e2a9a54b2465"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: need to derive response_done from filtered_tasks in case downstream failed already \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfbfa9b501a4cd5837844a3e9c6c58f742cfd788c123c9bb9a7466bed16ae2d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: need to derive response_done from filtered_tasks in case downstream failed already \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d89f793dcfa8018fc3485d3e993c0c9720480880b3d9c693b8d9f01b5afd14"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: need to derive response_done from filtered_tasks in case downstream failed already \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h2.rs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c11e610c2dc397511a2d68a762b9b62bf8cdbde58d27e61b0d32a6459eea5a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // use cache when upstream revalidates (or TODO: 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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c8058a694a1d89c2a32729472c9ebd6a362473e6f18cb095ec09a815109c8db"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // use cache when upstream revalidates (or TODO: 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":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"4775ce7344a54c6dfb9ca6de0e33b7d5b3e9b05c2d1eb79e3ec5338ebac0ee0b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // use cache when upstream revalidates (or TODO: 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":"pingora-proxy/src/proxy_h2.rs"},"region":{"startLine":608}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad64de5a5e0d9341244bf94a73267affd5606f9667d3de1dd4798bf84b6d39ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if cache is disabled during response phase, we should still do the filter \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20ebe1338d2ab5fc51c8ac32e5f22495e77903bdf919abacc1c20620ec68da0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: temporary. The unbiased select only keeps the behavior from before downstream \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1612}}}],"partialFingerprints":{"codehealthFindingId/v1":"644e5d3910286115cc8dac61d8cb38372c450800b9ba4c5586881754b6d44b3e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo use this function to replace bidirection_1to2() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"18dd264183ce974b2726990556818b96f4719791530f0ce7de5160aed43eff1c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider just drain this if serve_from_cache is set \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb45a8d923f5f14a6ad4a9a85f588c7bf11ee8144d6c9934925950ab224377f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: write can happen async now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34eede5cb758ca8e4f58a8c3182bf07cba34b64f72e1cf15aeefdc1765505a6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: just set version to Version::HTTP_11 unconditionally here, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae766f3f7caa0add7ed5617318917283bbf58e97b5d951f9f49d25f03f6bbbdd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support trailers for h1 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":1084}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f4e8ed605555ff26d68a91faae54b71f9f779fa2d2aff2ab5a20c49ba69f20"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support trailers for h1 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/server.rs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dab1546f2940b92286d104652e16730f975efb92cc9e7e827905c3817e29a0d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO:: use this function to replace send_body_to2 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":1101}}}],"partialFingerprints":{"codehealthFindingId/v1":"acad4c7ec4eee43190ae58958c7cba8409d9a9acf88b151f5965e283ee28a5b3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: request body filter to have info about upgraded status? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"e075f0137278eb5ad3053a87d1ae9b1814bd003a6f56d26b4baf33bb715a0ede"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement for write timeouts? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h2.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"96cebc66e4f2b2c5afbda93971170ecf7590ee75a1c83743ed6dbe84c08fb25f"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: the h2 crate won\u0027t check for content-length underflow \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_h2.rs"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cdc2c7f287f3d02129f58aa33c7570af435628fb76ffdd1a3b8d75213cf3df6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO more headers? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_purge.rs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e6e18c14f419d4a1e5d03e9891374a42f3a6b3b92fad09371153a7d1d441f1e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Ideally only session.cache should be modified, TODO: reflect that in this interface \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_trait.rs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2cd8162cce02b9f336b64125f4262b1c4a7adbf24b337ff71db9569c3ec52a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: make this interface more intuitive \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/proxy_trait.rs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"db11a6930ac4e7badd8582a5e52185cc522780b15f86396144be8d4ddab2f286"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: stream \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/subrequest/pipe.rs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"1289bdc59594cf80d872ef3846de80fcb4989174f8071cbc74ffa3b81e8a2d36"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: if one of these tasks is Failed(e), the session will return that \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/subrequest/pipe.rs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e024f1d79f626adda8ea14e980ba7c3b3a9a2710b8147ad61ff8854a39e810"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // (can only happen with a real session, TODO to allow with preset body) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/subrequest/pipe.rs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"582bc33d8c5e1b5764f295c0b3352e204ad110f36a84ab5f8b9175afde613e96"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: tx send permit may not be necessary if no oneshot exists \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/subrequest/pipe.rs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9115e474ea5b5bb2bd4ad5dd67303c72e35cac01fe347765fdd98b24b95bf2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: WebSocket handling to set upstream done? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-proxy/src/subrequest/pipe.rs"},"region":{"startLine":444}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2502e58a4bde19e3d2429cd69b6b56b81740b74e31be8472f90ebe3be17690a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider restricting to \u0060/metrics\u0060 and returning 404 for other paths \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-prometheus/src/lib.rs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c6a1778dfed282001550b7614358e9087a451061a67d7bcbaa222401cd5f836"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: store the GroupKey to avoid hash collision? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-pool/src/connection.rs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"8994524619e5361397fc4de77055d0c653abd6776f6beaf3f7aeeb84fd103605"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check dup \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-pool/src/connection.rs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c5f11aa9c93690bc66a8077f9d75e54c5a86ea9fe6d5c581b436b25e9913dcd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: gracefully close the connection? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-pool/src/connection.rs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c35fa9718a0c68ff7012e54c2411da64638792fd6e3a735f90ef4e06f016b1c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: gracefully close the connection? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-pool/src/connection.rs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"61635ae6b13f979342a09c87cd9016e2d6f054f0809bb2a973405e1f23c02051"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: evict expired first \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-memory-cache/src/lib.rs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6381a6ff1721f42fc145b104b8f2e3c5c97945f1ecf381958ee20e0f9434396a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use a union \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-memory-cache/src/read_through.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce7de54ce3c3221f7d459a8126029479da984ee89f418c0a977aca71db24a78b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Probably should use NonZeroUsize instead \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-lru/src/lib.rs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bb179f07ccc4b6d6250483326abe7305ad79215052d380529481cd8221e2e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: scan the tail up to K elements to decide which ones to evict \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-lru/src/lib.rs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a61a7fc41fef344be4b378284b655b0314ccba9f51808a105592b425681df1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check node prev/next not NULL \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-lru/src/linked_list.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"f121d8bc9fcd636cf98b0ca726c51792cb48022e983d2ae0c6bc61f3ff6ef7b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: debug_check index not in self.free \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-lru/src/linked_list.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"6542307a48053bdfe66b88fd26df6a15103704ef6908cfbb4df3ffcb385c1c2e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: log err \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-load-balancing/src/background.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"96634efec0ac2f7e614ffd8dc1cbbcbf10640c2ea66f284b51931b40caff0b12"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add DNS base discovery \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-load-balancing/src/discovery.rs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ebabb31c384809d0034bbc962c1f16f5672eaa4767efe92ad563de383d7cd56"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use a queue to avoid racing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-load-balancing/src/discovery.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d917fc900bee9730180468e7b22431d31bf96d7febaf7dcff48f25657cf477f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: take an impl iter \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-load-balancing/src/discovery.rs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40e15b7ba5684f6742ffc4f7c58abcde15ca050c2c003e9763da2054e17dd41"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(slava): do it concurrently wtih body drain? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-load-balancing/src/health_check.rs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e38e849d055fae67fd71eabdce7083c7f07c9a7f302034ffe72db5e177f7b69"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow to start with unhealthy \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-load-balancing/src/health_check.rs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b6a4c89212348f8d0b59f11b681311ea759d5063632c25a76258c6e19be1931"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: UDS \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-load-balancing/src/lib.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34e7e080de0a9410557ccf73b83def634628a9f02bce877127e0696ece5454c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: UDS \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-ketama/tests/old_version/mod.rs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"83de81a7bcd90b303782d56720a9e5188a65b5e4d9329dd411a0a9b0490babc6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: UDS \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-ketama/src/lib.rs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d64ef8dce3f6b3e72245be0c65d99324cccf6eb8a7110cbabe1b4c4b6c45eb38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider remove \u0060max_iterations\u0060 as users have no idea how to set it. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-load-balancing/src/lib.rs"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d815bbda29a26bb92d9d306f848d10e5baee5dcb306689bb1dbb87c3bda958"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: update Ketama to just store this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-load-balancing/src/selection/consistent.rs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"bad522f56804c724b7128f374c2a3285a2caa691d19169ef95803084780ae2a3"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: ketama only supports Inet addr, UDS addrs are ignored here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-load-balancing/src/selection/consistent.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3cfa4f4e386894779072bcb31be467d5194209450630baa59618cde64711550"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: least conn \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-load-balancing/src/selection/mod.rs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fe0fd7cc2a332bf072fff5ecb7ecfca6f713a5fbab097209ccc6f721a299e4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this logic and hash the literal SocketAddr once we no longer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-ketama/tests/old_version/mod.rs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"966bdb5ace751918472d84c263824207c1e7fbb26c9f956c5ef9c268ce9d9b52"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this logic and hash the literal SocketAddr once we no longer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-ketama/src/lib.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd3a1a59341003b92eb2db0ecb497e09aa44e4403b14664f4b4c81b69d7f7c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add more const header here to map to their titled case \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-http/src/case_header_name.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"5401a263624e6a62c2af7bf94e2c6a4a5f50a74402150f2e251e5e2aa4fab001"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: automatically upper case the first letter? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-http/src/case_header_name.rs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"065890cd6a291cb0307fd2880d6e3cb838886a6ee3492eb6dacb55e5acf4b186"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: validate it \u0022*( HTAB / SP / VCHAR / obs-text )\u0022 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-http/src/lib.rs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"13893f5a1c9146e423ff73916a0edb7361406033781b1b6bf666a41350e6e797"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check f is file, it can be dir \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-header-serde/src/dict.rs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"af798148aea5225c5453484ce10415740f278ec6b0b07c2d4455ac34e8cd205c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should convert to h1 if the incoming header is for h2 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-header-serde/src/lib.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6335175adea9d22974cf86ef245a438102609b1a446b95e44f6df728c065dd8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow reading the parsed http version? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-header-serde/src/lib.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6bd9723f50f5a2d987de772f759ddcb20bd6693270e85804126c72b9aeb6f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: signal handlers are installed after Running phase \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/tests/server_phase_fastshutdown.rs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2645a4bfd9ca69eaee114651065e6515f0cfebfa286d562d5c20e4860bdde8d1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: signal handlers are installed after Running phase \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/tests/server_phase_gracefulshutdown.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4941bde7210e9f92125de1731c1b8720820176e29aeb7ad4c512e4b577c32fa6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check 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":"pingora-core/src/upstreams/peer.rs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"481daa11194f1f074b225973cb778fa0e2d5075b77474c99392479ff72e180f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add support for SNI \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/upstreams/peer.rs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"755e06e37f8fdcbd125d649934efc99b62e0063c19301abe185d8ee07420b58a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change connection pool to accept u64 instead of String \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/upstreams/peer.rs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"e338be0402e3b03412868286c9b8dc6d137c898dbbbadab04b8d21e9a8c220ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change connection pool to accept u64 instead of String \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/upstreams/peer.rs"},"region":{"startLine":904}}}],"partialFingerprints":{"codehealthFindingId/v1":"3089a0c13967139a9bbf86b64718f8a133e2ac96aaa9cd34c3e9edcee501e9d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: with no steal runtime, consider spawn() the next event on \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/services/listening.rs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d7f94332c23d12b587543c0b20b93ee50176c4af04e5e9feea04dcfa6969cb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider biased for perf reason? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/services/listening.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86bdf8f21a7a882e7be6c1de3a2ec6e5144191034fb8d6671dc339770b988b8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Maybe IOApp trait needs a fn to handle/filter out this 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":"pingora-core/src/services/listening.rs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba1df3b6aeb8c9415535391b7a7485ebbd5fc7261c26007fde3336fba5f85d48"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO. It would be nice if this function was called intermittently by \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/services/mod.rs"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"76716ec7eae1e8b6ff8b82eb02faf9dd13b28311949476ab6666944a2b5a0052"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO. It would be nice if this function was called intermittently by \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/services/mod.rs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"23288ee31b7e28e49635a609e5128bdda2a372649099be939f0b2d002ef8a763"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: this operation should have been done when the old service is exiting. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/server/daemon.rs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f54e93b47541b7aa4eb8639f1224a35cb4f0228c2eb69e39c1208116b63d62da"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we many want to drop this copy to let sender call closed() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/server/mod.rs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"0698c1e06e221a3097f6168199c0e74600932c378b319e955314e3f84bdaf41d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: delete the pid when exit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/server/mod.rs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f3aeaf5f9ed6409191ddf81afce73f18c135728f93c9f1b0b3fcb9b4ee86f11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: still need to select! on signals in case a fast shutdown is needed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/server/mod.rs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9ef53d6a9dc1dbba3628b6fb5f3861dca2389cb9dbcb95231da7a3d32176ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check the buf is large enough \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/server/transfer_fd/mod.rs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"d32a2465406e7f895f398eecd4a625c474df07160b9e6ccc6c1c402c208c2359"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: warn if exist but not able to unlink \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/server/transfer_fd/mod.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d4e2e14b03fc085495e74f0c4f21f2b6e695591ec460b7a923e3b635228ed3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: other OS path options should likely be \u0060PathBuf\u0060 as well. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/server/configuration/mod.rs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eff68c6d67a39ed03778c8bf76f9a85ef211fecab4edb9b0f64aaa5596b9b5d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: set http.read_timeout \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/raw_connect.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"947bae41f6dcf5803df40902d4f673dacf22218e1c450855e5963af63b152b9d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: valid that host doesn\u0027t have port \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/raw_connect.rs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a7a5cf53b8d10a354bb5842be24d1f24466c1c0f9948f2056001a71eabdd62"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: suspend cert callback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/tls/rustls/server.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7833d778fc70012f6faf0ab7c137792df0b62f8f26c0bd0ac7f4a86f0d5306"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: unblock cert callback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/tls/rustls/server.rs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"419157bc62b3ea6c08c36d3e710d05d705031423db1b13dd092c5ee58601cc8a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: upstream a vectored write to tokio-openssl and to boring\u0027s tokio-boring (which \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/tls/boringssl_openssl/coalesce.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"99aa37950b7f40b5311c50efa40e17b6cba1a420eb38008c958971ad252bcaaa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: with write coalescing off, the inner stream writes only the first slice of a \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/tls/boringssl_openssl/stream.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a28feca2dcfbee24d898d36febec3b6ccd06e3256c5540309b4bdc0e404932"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement Peek if needed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/tls/boringssl_openssl/stream.rs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae48dfbf054212361418cefdf249987ed525da82ee492d851512e6311cb9a6f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add support for bind on other platforms \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/ext.rs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"0502f389aba979f4571952466647ffc2b6690124b861d265ab0ccf4182d54f1c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check localhost or if keepalive is already set \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/ext.rs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"72aa351e90f6a85670bc85f4739528cadd9d6d132ebaf7e052904ba2b4fc9a00"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if listening on a specific bind address, we could save \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/listener.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab757e8339effd5da36a0e06b370ffe1ee183b574687d77918a5fb687692ed0a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: don\u0027t set abstract / unnamed for now, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/socket.rs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a370c9955de5abb6ecc07a50cc518698dadd09477ff90fb6c5d7e0f4a6504c18"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: ideally mio/tokio will start using the std version of the unix \u0060SocketAddr\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/socket.rs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cc0ee15ec822e3bc18174e481927050e5b0737c4d53c035d12fc797a3125073"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should this do something? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/stream.rs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ce346144eecb8604b938e5be577b18d65c6f7cd632b098aa3c5deb5d0afbc0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe h1 should also have the concept of \u0060end\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/client.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"84af367b38e6cf8efa7c680d84638741e0c815fc9f4f699a061d3377e2c2c3a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: If-Match and If-Unmodified-Since, and returning 412 Precondition Failed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/conditional_filter.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f355596cbfc5eed17d8da9cec38c683b9a70c6daafc050e62e5ebd7f30b46a1"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: In nginx, IMS is actually checked first, which may cause compatibility issues \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/conditional_filter.rs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"10a2d6322699b807295a87ed77d4bad8b636b967ec6b598cd31ade7584f6de35"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: This nginx algorithm will handle matching against ETags with commas correctly, but only \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/conditional_filter.rs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddcb01e013b4f91c03bd0507bb705ab2742834338de20023638892dba2a30b64"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: https://datatracker.ietf.org/doc/html/rfc9110#name-content-length"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/conditional_filter.rs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c934806a20fb9de895968d6490907ac96d387efd88a73f5f380d6ea371586d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make this use a \u0060Formatter\u0060 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/server.rs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d68085e26d9fd8f53660f9bbf6193bb5ce255ef71d4941c70d668c10ddaf9c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we shouldn\u0027t be closing downstream connections on internally generated errors \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/server.rs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea55c3d8a63579dcecb8a557e2f5abfefe637fe7423f8f36c4283144620b436"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(slava): is there any write_continue_response calls? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/server.rs"},"region":{"startLine":842}}}],"partialFingerprints":{"codehealthFindingId/v1":"698f8ff88f05ac155dcbdbf2616fecbf1aed0423dd9694212d0d97bc638e780c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement for H2 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/server.rs"},"region":{"startLine":1047}}}],"partialFingerprints":{"codehealthFindingId/v1":"e694931da2c30d4de5f25b736624ec2188abc6ee2d7dbd8023362ceeb11ac15b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this module needs a refactor \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v2/client.rs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc3a83b3d9464a3a3d75e182c11bcb44c2d2fac41030191afe64d83eceef7cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // cannot send again, TODO: warn \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v2/client.rs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3f8cb6dd9afa283ddbd070b298444a4e914acc4b351b0e5ca38a73c4486d8f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: how to read 1xx headers? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v2/client.rs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"270911c745643b18868e55655b41bf47ecaa1c06cb22f63b66934b3d6ff49f3b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: warn \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v2/client.rs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1e946f5b61b49d8f8fe95cab1d2984e78713bbc6e043fb002919cfb6dd8b00"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: warn \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v2/client.rs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"a914336cc75fe313982ba76c2a108e8f08052960b439eb53f448c11d8bb8efa2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: warn \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v2/client.rs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10462f53d4c455f61fbc835feaf59ec980f80f8c1aee9ea27085b0414d9ee0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should actually stop uploading \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v2/client.rs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2be47cf55663af64e80e5932f224854c0dd3bcd83e561b9cbccdadf89e10bf5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should we try reading again? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v2/client.rs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c03ee85a03ff883a8cbc9e4a2208f85614c7c9a8c9a5f920bcd31e83a58ef1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: handle this when reading headers and body as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v2/client.rs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2c21f46fe8db6e8618caa418071d5bf4a534a95b3acfd62f8f6116de4308ed"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: expose this through HTTP/2 server configuration if deployments need a \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v2/server.rs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc57a49d0bcd4f83e921520040a1a94113c42e341c80274a59c77bb38c1e15c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add a per-connection drain timeout to bound how long a single \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v2/server.rs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d48c2f840fb0b9deafd4486853e6ae98b8f6119ff0c5b0893def2e454bed433"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: timeout \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v2/server.rs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"2606b007e5e914e4582ad285a71dc5411a85b5daf6d7585a5bd49f0adbc6cc3f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: error or warn? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v2/server.rs"},"region":{"startLine":643}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1cee04e73e57fc4e0f8fed31ac0fa9867e5a2abfda29a9a0b53260b42b7886"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: trailer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v2/server.rs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada011cae189c68cd2dcf7c22fdae25db442d4adaaa49858d9178496173326fa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: be able to convert from h2 to h1 subrequest \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v2/server.rs"},"region":{"startLine":878}}}],"partialFingerprints":{"codehealthFindingId/v1":"191a078734055cf25838ef48fe2a372fb1f716617a7f974b84207e647dc00454"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: proper trailer handling and parsing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dec96c58bc72367c5a64a1be2ce0e4be4b3c9fc6aa7bab6516f975adff3d1fe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: these get_*() could panic. handle them better \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dc55d3d8ab488aad91cabc04834a900231125294d6d3bdbfba900253f05e94"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: these get_*() could panic. handle them better \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"7768e910d2ebdc1e9a3247d754c7d4ceccac9b35ba3cb665643eb6d5e87ef849"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: these get_*() could panic. handle them better \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"66778a94004684565e8c3fbb3c0c0b2fd5acf9b78c4f8ae7c4898394ba85dabf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: can optimize this to avoid the second read_body call \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":3078}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6f66c9f1344ebce359b3f97780e8af39cf367ec0a89943f235d1167d75413c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: can optimize this to avoid the second read_body call \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":3220}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de56659e1ab07a23b4717f837490e6a029d48425912a834c63d62af2a4b07d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: may be able to optimize this extra read_body out \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":3182}}}],"partialFingerprints":{"codehealthFindingId/v1":"76e7075c3edc64888aad22408a72c6aa7aa597e3b71eb7fed635103af7ce8cfd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // \\n TODO: optimize this call out \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":3326}}}],"partialFingerprints":{"codehealthFindingId/v1":"6636ad9273ac31719d0c870966d2fa2d5842cb718351bff386b8e6c55950bf47"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // \\n TODO: optimize this call out \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":3361}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9df8a500fc9b2b31d1b38bea616303a8944e5f47ed51fe4481537f3b6346184"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // \\n TODO: optimize this call out \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/body.rs"},"region":{"startLine":3400}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdbf552d45548ce38a574bbfbf4ba39185ce891cfadc1efa8abee63e292ba8d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe we should put digest in the connection itself \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ca7a70da7023568629e8402220ed83928cb936e2ace2a83b02b472bf405003"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe we should put digest in the connection itself \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4d7fb18a1bd89d6b6cea5b8d005d9feb344890a9fb9a14d68981950df780a5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make sure this can only be called once \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd34fb51b95a89d2c2ff261fe52c6ec98ca12ad95ff6667d56903f06919f9df6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: verify that request header is sent already \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7dc7cde3a737ea4b66c0de6b6fa5c481f8a91b40d754964aa750b4a74a0525f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: enforce https://datatracker.ietf.org/doc/html/rfc9110#section-15.2"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7a287dc681a79e894d1183bb6627cf9090e75e05aed7316f17cef09140d805"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: respect max_use \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"08433e9c330ddda3fdbecc49cfbd0823caceac9fa30a00a4ae4a727690cadf68"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: respect max_use \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3a9b63e0bc70533cc56e5918856aa70b99ce20e45e9c87e4627ee68240a06e9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this function is unnecessarily slow for keepalive case \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4fa7d7ecd36487c9783a82162f789519446974b71c9417129fd3373812e29f1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support h1 trailer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"179352732e5b07904fc254378456dc7c002c4b25f670dfb49935eb75aeb74c04"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change it to to_buf \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":917}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb29c26ec9be724a834ecf410fa57e21515371e6462cc0c9bfee6a5c88464f1e"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: the order is not guaranteed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":2961}}}],"partialFingerprints":{"codehealthFindingId/v1":"6605966b8f26dccf2727e2a15bee7245318df4effa146fb88b48de1bc35d6b0f"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: the order is not guaranteed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":3382}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e9b01326fe296fdeeb7ea152cce941c7484bf7a1a22b4d90946feecf9f6a50d"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: this should only apply to reads between requests \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df3d38e0d1e6fc90954a285d7d5d3f8045a20b5645ae5bfbdd49c466de70ddf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement this parsing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba4b1e1e3b3fcae3e9f10c15412381dcfad81f701ddd8203220702ee577c4734"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make these lazy static \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e0d467e3c5f748f9576338f57577172d9d6637affa27120691f726471c9fe50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://datatracker.ietf.org/doc/html/rfc9110#name-upgrade"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":914}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac82f255e55f370f7d86701e5b94b5f45614d76daec4f6c7c4fe07f4c34c1d56"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: https://datatracker.ietf.org/doc/html/rfc9110#name-upgrade"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2391308dc05358482a75ebc5c395d242c0a453c1445283e1707b9b83f884ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check if the response header is written \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":997}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c1f89088921eaaa6fe0e4c7f99aa315d33971452b75f9f7a4a87af6798d957"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check if the response header is written \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c48ef9843a26ded91a23268f82d989429abc3c2edcff13011837fb9ad4feb29"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: account for upgraded body reader change, if the read half split from the write half \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"c973061e6d8f9ef573bce7d57e21031d9a3a8ff6ad2e007062a319a44ac87357"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use vectored write to avoid copying \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":1581}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b8298873c07bd3fd92c1494c1811eecee2def7976839569e77c8b31e8deaa3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use vectored write to avoid copying \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":835}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bc208d7fbd2756f7282ddbf0b4c69cbe944f0c5ff733f7f0d6f2f13d82fb4cf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we can do the same for the non-cancel-safe APIs. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":1647}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13b7e9baa74285a465f3d388e8ad8ad27610601c1f29ca82a3d7ceca6a88188"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: buffer body data like response_duplex_vec \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":1651}}}],"partialFingerprints":{"codehealthFindingId/v1":"e50573537383d694962ccf27c9c260918ac90bce17feb94b4a94f3ea999193e5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this might be able to be done in place \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":1802}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fe3f1f4ddee1fb1972f0a245f8f3ca97a15265caed64f14f3466de596361cc5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: style: make sure Server and Date headers are the first two \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/v1/server.rs"},"region":{"startLine":1850}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32203654df71d2f238851421f8288548609ae248d603a74c3ea2c13ff5fe4f7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if wants body signal is None, init empty \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/body.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"242b1a33b30a00827a532204f5893e8b1ecfc073b8d05dc20583d6d93b19276f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: return an error into_down for Failed? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/body.rs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4e4d1c150978bf0a431db0d0b6f884f4205bc97e8de31a6535502139c38106"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this doesn\u0027t flush the bytes we did receive to upstream \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/body.rs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f51f39337cccba1e20d01941770de4d9f4aaddb2c60b456cdc64013520a30ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO more safeguards e.g. trailers after end of stream \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/body.rs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"158b885a4626bb848f29a41dec0d74f88702ccb0a82da1f41782c0607e52380a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: need to be able to indicate H2 / other HTTP versions here \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"6016a4e73ef63c9e28869fd257e99107c5bdc6cf1c1563f97fcd23639e781cec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: likely doesn\u0027t need to be a separate bool when/if moving away from dummy SessionV1 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc77b9204e485692ec2ef35540dc3f0f7bfec25d74420c69e4e6af58be923f9"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: don\u0027t add additional downstream headers, unlike h1, subreq is mostly treated as a pipe \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"639bd40fe35a81603dbbf688e60de0d5d3eff923a492fba0c88500a9baa82de7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO propagate h2 end \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"0793a2233e314cd3c8794d0396afc8b360a01c878b7aeb148f61d923497213e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this has no effect resetting the body counter of TE chunked \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"39fa485d29a2ea54fdbeb9c330f8878300abc8da7efed544892e24ad56bd7b8d"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: this should only be valid if subrequest is standing in for \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":456}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e74ff09f7f75017ee9388cba9055a6d824e7652f4b1fabaa5061eb5ca5c27bb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: send httptask failed on each 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":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b7cb99348bf0e649c1a0754c1ab268d9ce28ef87a321d2543dcef5be2028697"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // default buf is 4096 if 0 is used, TODO: figure out the significance of this value \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/compression/brotli.rs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6caff5d05cdc93df6bd2d98a134ebfc7d98027d7a9938f281f6def1f760e1b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // buf_size:4096 , lgwin:19 TODO: fine tune these \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/compression/brotli.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba31e311985fbe42c278e637820fc88c3f66997e9946956b7b712d0f49e9ae0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: enum for other compression algorithms \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/compression/gzip.rs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c53e49842eed9efa3778e4c25dd7d28237c10bd47206dc8359fd9f969326568"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // no transformation for websocket (TODO: cite RFC) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/compression/mod.rs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"32621f36289b36231ec1ede698edde9d6332b402f6d3a3afa0e87a867a01f482"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: retire this function, replace it with the two functions above \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/compression/mod.rs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0fcbb8e45d7cc70a4dce958a9ef29fc2ff79602996cca2b794682d9b5495c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Identity, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/compression/mod.rs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"e795eefa8d5bcc14e7e2087defb9aaba013cf6476274c62ccd8feee1eea510f6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Deflate \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/compression/mod.rs"},"region":{"startLine":453}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e075caaf9ffdba31f7534bbcd3ef092372b53012160b3f08a9bcd713ed325a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support q value \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/compression/mod.rs"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8da6ad11179d166031ad0b31e9e9c0ccae76ceda41adf7df8dba40e34cce87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // unless specifically excluded...\u0022 TODO: check the exclude case \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/compression/mod.rs"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"4201c2005683eac43b18e2a9303d7945093042bd8deb455f463255b86e16819b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we could also transcode it to a preferred encoding, e.g. br-\u003Egzip \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/compression/mod.rs"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ac3d3b71ea96a5bc5b30f7ada3ac30868961e640c052957ba53dc6f6691807"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support to configure preferred encoding \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/compression/mod.rs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"16654668a747ff8b9a05a3e7be4ef1f66da2c7a5fb91e2564d3659a882fe84ec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fine tune this list \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/compression/mod.rs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9aa7c9c77ad0546594942df07437db686014584f40303e1558fb2337e4d9e7b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// TODO: Replace with http::header when available. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/compression/mod.rs"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cdbd1e0487e5af15940e9c4c0addaffd533f98e232daaacc6467d0fa6e8c08d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // we stream body now TODO: chunked is for h1 only \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/compression/mod.rs"},"region":{"startLine":1114}}}],"partialFingerprints":{"codehealthFindingId/v1":"dce30371be8e11b83e5106ac844f93aa0f63fffd2569e79e4ac9374cc963fe42"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO compressed trailer? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/bridge/grpc_web.rs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb5fb643500263c44da554d64c14ee47df77c9f23dee4007662101d984bd4d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: configurable backlog \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/listeners/l4.rs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6dc75f5e99c73ed46154eb2af9309e2655bbcfdc4ea5463a51cf83873122c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow configuring reuseaddr, backlog, etc. from here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/listeners/l4.rs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4dcdd871c399e1eac096ab5fc58502773644e38969094da2ad8cfe46ad3ea2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: return 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":"pingora-core/src/listeners/mod.rs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0699fa5b5822920981efeb639b4b4ba14c3e5e21e334cf7ac620450692c2c77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /// Todo: Return a result instead of panicking XD \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/listeners/tls/rustls/mod.rs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"30423faed62a758273b8d88297e11d024c47ebd5e8d0cfaec94790e6d789f099"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: can add more thorough validation here. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/listeners/tls/boringssl_openssl/mod.rs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"c347f7053dc52ab53a1ce4ad412a751ab5606d4bf72eb6c316a14ee22f646e0c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO broken on arm64 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/l4.rs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"f44cb4d96df7e3aeb99b103862b0116f18a58238aecd60075ff234a4b2e42214"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: some system will allow the socket to bind and connect without error, only to timeout \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/l4.rs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8b548233045bcf15e76332c13981f23b610f98f17c0e706c51a89bcd0b4cfd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use it \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/mod.rs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"38496780c3d78e697351ec27f3973c6af5ca96b18f7e7ef6dd22b5ebdbc0e361"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: shard to avoid the global lock \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/mod.rs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fbcd1e3236c3080e938ce54e4fc8efbefec7c67bef162c90df8d2b474e5a08b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: limit the size of this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/mod.rs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"67ececfdb79c5710e21656c25a179ead35012f9d768d9e04de5706e79614dd9f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: currently using Rustls defaults \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/tls/rustls/mod.rs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"61ade6ece2bd42383f1c22c7e504431629de781c249123b9ef15f15c4ac3f4b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: WebPkiServerVerifier for CRL/OCSP validation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/tls/rustls/mod.rs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96a41e773001a6a6ee6df84ebe5b04b0270a57a9d599e8c7421894501e41788"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: is there a viable alternative to the panic? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/tls/rustls/mod.rs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00065f76d9b95300f314f10a22cf7ee11b8b9c37086a6f9ef832ac65121478a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: curve setup from peer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/tls/rustls/mod.rs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"849592cc7a33661a4a5ea82eb0caa212ba4690afdabefc9c96d2d0249b5ecae4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make these conf \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/tls/boringssl_openssl/mod.rs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f4916b2f47dde5b21906ba3f48e5bc554afe3193427b3331c51d7bc249c3660"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: store X509Store in the peer directly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/tls/boringssl_openssl/mod.rs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"514e351a3c49edb9e13a664e3ba5e3682f752fc1bd8585dc1ace54c14ea556e1"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: verify on empty string cause null string seg fault \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/tls/boringssl_openssl/mod.rs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"52121bd37fd248bb7f20cbb9e390dee2502129d58c8784f01d2eac66cd02baa1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // NOTE: maybe TODO: we do not yet enforce that only TLS traffic can use h2, which is the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/http/mod.rs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"969dfbaacbac8764541c9c8d9a4ba7656645a77f98e263a436d22e9ae55deed8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: If no ALPN is matched, rustls should return None instead of failing the handshake. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/http/mod.rs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c5072e77138fb9ce45e0a06f1dccac048df8c724c84906614df5111c1ae1c75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Migrate callers of \u0060more_streams_allowed()\u0060 to \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/http/v2.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbb6326ea2233e926f44afa5dc2180bb678c0dc4c10148931d32f00a57dd863f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: use pingora hashmap to shard the lock contention \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/http/v2.rs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e6eb0bc5da525012a2ca6361e0ddd1ddf277c8574d8ec268a0e023a74cf7e79"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: log h2 handshake time \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/http/v2.rs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"3687ca863f52d817c9d7ac06afd94756cf396879531405a9da26f5cda850f6e2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: log h2 handshake time \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/apps/mod.rs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"353f53002888e3e24ae5c4dccb065b0743e1b6069335dfefc55fe88fb9d48737"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(slava): add custom unit tests \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/http/v2.rs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fe70cca419ef33dd7f3ce5418f1fda78c5406fcd336b867e1e9a86678a712b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this in favor of HttpServer? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/apps/http_app.rs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdb9adf163c9810c2200c94389063803d0583adc88edf8ba5223ed0295e062c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check if chunked encoding is needed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/apps/http_app.rs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b24d28180ff1f4c4a6d941e7a6a24aa7df098cc4a3e905d0d262e0d1bad0284"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check if chunked encoding is needed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/apps/http_app.rs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe486f01afdf32d04420698b3679589e8fca78ab570d67ab1c27899106cdd18b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make this ShutdownWatch so that all task can await on this event \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/apps/mod.rs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"481d9d57e6330cf1fc890fcac226f6b4c77e7ca4880b90390086337516826081"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make this ShutdownWatch so that all task can await on this event \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/apps/mod.rs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"aefd9714b3d416e435d9abaeb0ba836d068004135dcd00b81bd97348cf18c8dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: the check is incomplete \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/filters.rs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5783fcf0a2021831637560031f8c9f9c0e2dad9f6a605a85248b249ae8879f13"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: work out the lifetimes to provide get/set directly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/hashtable.rs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"516457814fd46999a2e355f5accd12024a4e2534f3b3da664f0c578963845dc4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: work out the lifetimes to provide get/set directly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/hashtable.rs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c11ac5adf4c09323f6120b1401833914a5af5caf7fcb7ba5679222094a91f18"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: compile type enforce? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lib.rs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf935ef3837ee43fb850ac19c7e38097cfbec2d17eecf430397942788e2e2f8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: can be promoted to assertion once confirmed nothing is attempting this \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lib.rs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"841f1f3a37e1947955dfc22c06b9927ccfe4b9e3db00a3608ca2c3e7cdd2b447"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: store the staled meta somewhere else for future use? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lib.rs"},"region":{"startLine":1207}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9dda8d31683d961d85afad71dff600c5c1fbe20252aa817e4dc7b078cf3c906"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: have a separate expired span? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lib.rs"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"335f8f222c42dcb8025332714b943709dcfae7bc75efcf62eee8570ef0eddc6f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: have a separate expired span? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lib.rs"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8289e217bf65833279e41221ef119f37dedc8c6e11660eecd71201a893e3bf2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we should keep old meta in place, just use new one to update it \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lib.rs"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"152546bd55dc07635cb5357c59180ac093d39891c1937dfe1e8954b2b7ee33a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if we support vary during revalidation, there are a few edge cases to \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lib.rs"},"region":{"startLine":1333}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5b48c452c7463f1ce7912859f9ee9900e8d2b1f21497f4a23bc0a683da7d207"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove this asset from cache once finished? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lib.rs"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"f073009b7c680f8e761ccb0ac619ca3f52e00f5660d816496cc6660f68badb01"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe we should try to signal waiting readers to compete for the primary key \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lib.rs"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"652ff3176015018c050ad81e4f65c7aed27c1862a0541de21c9eb47176c64c5e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow in Bypass phase? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lib.rs"},"region":{"startLine":1467}}}],"partialFingerprints":{"codehealthFindingId/v1":"99c260ff5daea0c31a0e80632f1059ea84c9590b9a44529498ee263ff0179c76"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: it may make sense to allow configuring the CacheKeyLock here too that the write permit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lib.rs"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd8508f102755b765ce44d5abe344306b8429be80391ec377ce06bbf54a83dfc"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: for now it is the awkward responsibility of the ReadLock to set the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lock.rs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ea235c9dc684a56a8343710d3ddb17d3dc3b4100577bd78ccf30250790f1bae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: need to be careful not to wake everyone up at the same time \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/lock.rs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"3201d1256058f8b1b953f27168adcd8dcc181fded684f3a6f192df1a04235baa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Mark this module #[test] only \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/memory.rs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"5faa37309581eb0256cb713440be8bcae20ea9bcb6dd98a6231d68bdf54aed37"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: sender could drop because of an 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":"pingora-cache/src/memory.rs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"de896d3ac225e620710e1dea6cdc72723284d60dcea42e8e732866aacdf4e7f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: support seeking in partial reads \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/memory.rs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4ed382dda72b33f79b089fe74988ee857899661aa5cbb1c581dd736120a7f67"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: just body size, also track meta size \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/memory.rs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8293472a713b6c77d06f2de8a2be32afc43614f726239e68b1cf1e979a145e8"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: this just body size, also track meta size \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/memory.rs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb65e3e8a3fa0633c753703378ec4cdfab14c26f327dd60ef42a7dc6e51cabac"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: return Error if \u0060fresh_until\u0060 is much earlier than expected? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/meta.rs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"68009e3bbe212940c2674559322c96e310bc2b5872c89f17c6ef57763f242571"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: allow \u0022error\u0022 condition to be configurable? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/meta.rs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"256d351f16d7a6f1379817700010d4b7b8d5971eee42725d6a69ed11222987b9"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: cache put doesn\u0027t have cache lock but some storage cannot handle concurrent put \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/put.rs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c03514534b480731f51b721a20e5963ebe8ac46f9a5ef3b588615771181720"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // (TODO: should we reset content-length/transfer-encoding \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/put.rs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd3e3239677255205771427c5b480105289f6a82769897fca17d837fbee8635"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider propagating an error to the client \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/put.rs"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27faeb122fe8ef0aee128816b8733fd178af5730d4539704ebf484e4065add7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: consider hold a Bytes and all header values can be Bytes referencing the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/put.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c70d8170dd0219b9732e7c2bdad338c87594e275c3089af22fb3f1e7b68a87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: see above, we can make header value \u0060Bytes\u0060 referencing header_bytes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/put.rs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8238923c860715ff1a4824aa8050354e4885b2d4f9ed6f2f4a739206ccfba50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: warn! more data than expected \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/put.rs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"54f3c7abfb4b68fc665830de18417dc197084173f4ca6b9b2218bc60077cb3e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: shouldn\u0027t have to be static \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/storage.rs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc76c69eae5fb2998f3ab083dd7e389a6c6a039c5e8e67f80c7b6ba62ccc04ca"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fn is_stream_hit() \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-cache/src/storage.rs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dd7c7e17b58f08f674651182508c70b8977de86d9bf4cf6fd88ae4478b05dcb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: early data \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-boringssl/src/boring_tokio.rs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"d064bd4367e781850536d2cc931371a2de9e8af3cf37235c3250ec49dd303d33"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060pingora-header-serde/Cargo.toml\u0060 makes this repository a deployable product (line 20)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-header-serde/Cargo.toml"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"5278b75203037478a6cfef88263b025b0ae9fce53c8fd52021bb3501a030f36e"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 23 project(s) overshoot their size bounds, lowering Project Cohesion to 9.1/10. The most over is \u0060pingora-core\u0060 (48548 LoC, 220 module-visible types across 34 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9f8b18c5b36959bf3308fb7142801061d416eff4a5b6181274603080fcbf3e6a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"2f691b37169ab8891f8818cec9ca2e346b0af8e766dced502c089950ae7c88b1"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"2b0267d6694958fab85de4e4a289495dedeb768de50cbbbbd923b4a36d4b6864"},"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":"1542ac657294a7960a3ca68607ef7a17d9ed3d2457fb06dcd777067445c6a3cf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"8a0fbe3255e4501d16406573403272a4cdc371829dafa7bc1c5fe99f34fc905c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"23a3c153922061d8b6a12cb06526c89608d55d517be1e8a1ebe36191f905cd33"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"ba117eae09a198c168f056b4b40162d5ecb14f4a9c631f57c5a4aeb8db7f99c5"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"75a17581d2d23a15456b319e4c24b92ad5cf5581794c0e1c5bd1912bb86096e3"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"7078cf6d70985c329fee7ce257b647cceb1c853670487e83d1b2a31d17f1ca9c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-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":"60eafb8b8d2c682a0a01c0878ac4a88751d3f274c96133fc46d26f3dda9f6edc"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7947c9095bdec1e5615d7ac4e17395aaff5d453247c6994532bf7cf968af69b8"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"135122fe19eae2a629d55651d8e5b7b10a06c0fdb1bdecfafb4ced7e1108c3fc"},"taxa":[{"id":"CWE-345","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"be9c57e2fb625c43c271d051f76b97f27b6976f4ec358ef8fea1d9cb5205f460"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D31","level":"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":"becbc5502f94878197b05d70c7ef15f1353fd99a90efcb824b9c43f11ae5ce7a"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6509f9ae7e567aeb5bd9753af08953fb31dbbc35f92a3e6fabf6a748ba58f762"},"taxa":[{"id":"CWE-527","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-538","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"5ad3e3a23f86b2c2cb36f04a9469bfa78152276c64d24ca662a4bc3b8c6d06de"}},{"ruleId":"D32","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":"0c702f627bd7cbabbb8441b3941b088dc63a0fab485cdd64e8308217616fb188"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-memory-cache/src/read_through.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4447d2b6e535bdcbdeb0b3885a78ca6851fd83653672e7a5bc3b53a5fea4a5e2"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tinyufo/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf132a096b375c9148577ca648621383992a2948f1ec711cee645cafd07b1c4c"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away, so if it breaks, no one currently understands it. It does carry its own tests, so the behaviour is pinned even though the understanding is gone: schedule a read-through, using those tests as the specification, before the next change lands here."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-ketama/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"986cc40f4522cb16062f823dc34a9b7972740a676555df33ea61a80a2015d14f"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 22 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: pingora-core/src/connectors/tls/s2n/mod.rs, pingora-limits/src/rate.rs, pingora-core/src/protocols/mod.rs, pingora-timeout/src/timer.rs, pingora-core/src/modules/http/mod.rs, pingora-core/src/protocols/http/compression/zstd.rs, pingora-load-balancing/src/selection/consistent.rs, pingora-timeout/src/lib.rs (and 14 more) (25 orphaned of 158 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; 158 of the 185 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/tls/s2n/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"beddcc8012543576a440026fa033b466e622a87d3e3effc0d2186dbec6a7a9f6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-limits/src/rate.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"418a97f81229c573452c9edfdf5978dd7678b568a249767ebbea3f93d57a6a8a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/modules/http/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"014c1799bd87825f84cce3c9401a4278ed207f25f2c88a66185c765b3a0be11a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/compression/zstd.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"06568569de4d3355173c132bf122fdfeabde4d06308786598e4f1f0d7026c895"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20bed73dd94a514845e3a80d14e04798f40e19bb8b4ac9513f5088a75968fdc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-timeout/src/timer.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb4c0241ce5b78a65610acda42146aba23b312df84789d0140b2fcc22246579d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-load-balancing/src/selection/consistent.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed981907c03ab7bb144687feac3ae7f21ec0e8832964befed6d813a59b481f8"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-timeout/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bacfb7a9d081752833ffe58fadf43c7b50e0d8be7002c604af006a1b49a9da6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tinyufo/src/buckets.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc8ca265a97041e495d41086c5ad9beee19bc84ef2ec712d50974c6b1bfec97"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/listeners/connection_filter.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4fcf69b9548da25f49480d916c8a38ea3cc36599ac5e168303773278eefa68"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/virt.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"24e350743925a1cfa13e738c0b84cee8ecbda3b14abc43ac507899cb3f466a0e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/windows.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"98cc739f920e9dfbce8ab155f621880da728f3a2f78e335969d08325ea98fc74"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/lib.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8ec63fc0fb8e832df678321e51539e69f41d7de8083d2fcc8ca8588ba9c69a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/l4/listener.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1c562509c9ede4908bebcfae217761934ebc792230e8fde58522fa268fab81"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-header-serde/src/dict.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"17b04d1522f007ddbf040fe9732a4a5657a0dc6b074a4dc457d8889949c72a7e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-limits/src/inflight.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"859d523a656d1f12d35b0b6fdd8e5d7dccde73bd32ee5f43ef91181172c12600"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/utils/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4379c24acf75dd93cf682491563fffb852b2440fc08bff9bdb58e8adf9f6b51"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/modules/http/compression.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1869b5a5578fa7062334b88d2e91d0bdabefd0d75789db64963535b4dfeddb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/tls/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbd4a5e8b77827249653889be621e9950851b2a6ea133076ce60be3cdcfc5a5"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/tls/s2n/mod.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a562264f14d25941b16a891efe91fc7b51450a50d1aedea2f860dcd012df629a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/http/date.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1fec4f0f54e2e560df05a9d9d57b1ce775d4125e9cf092c428e490397f8e61"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/protocols/tls/digest.rs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdf8ccef202335622578df8e507393e2883e631e75bab7a8c69dbc1c1aad537"}},{"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":"3d9450c1e9a738f2d810b3eef41d9babb54722911a7ca830a4cd182d6263d27e"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"32764f592568a416bbcea6a42811cba30593b64edaf3820fb9a9b2f6df32e2da"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"P2","level":"note","message":{"text":"Logging is not universal: Only 10/12 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060pingora-header-serde\u0060, \u0060pingora-test-utils\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"S1","level":"error","message":{"text":"TLS certificate validation disabled: \u0060set_verify_hostname(false)\u0060 is set on a TLS client, so every peer certificate is accepted \u2014 including one an attacker presents. Chain, expiry, revocation and hostname are all skipped, so an attacker on the network path can present any certificate and read or rewrite the traffic \u2014 the connection is encrypted to the attacker, not to the intended host. Remove the override so the TLS stack verifies the peer \u2014 reqwest, native-tls, rustls and openssl\u0027s \u0060SslConnector\u0060 all check the chain and hostname when nothing is set. If the server presents a self-signed or privately-issued certificate, trust THAT issuer rather than every certificate: \u0060reqwest::ClientBuilder::add_root_certificate(Certificate::from_pem(\u2026))\u0060, a rustls \u0060RootCertStore\u0060 holding its CA, or \u0060SslConnectorBuilder::set_ca_file\u0060, which keeps the chain and hostname checks on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/tls/boringssl_openssl/mod.rs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf198ab7ddd7e19edcad6911ce5fdab0b66e08bd35bdee93d7d269f21d3b7eef"}},{"ruleId":"S1","level":"warning","message":{"text":"Obsolete TLS/SSL protocol version enabled: \u0060set_min_proto_version(SslVersion::TLS1)\u0060 explicitly admits a protocol version that is broken (SSL 3.0) or withdrawn (TLS 1.0/1.1, RFC 8996). Offering an obsolete version does not merely permit it \u2014 it is what a downgrade attack negotiates, so the weakest version on the list is the one that decides the connection\u0027s strength. Remove the pin: reqwest, native-tls and openssl negotiate the highest version both sides support, and rustls implements only TLS 1.2 and 1.3 \u2014 so naming no older version is the strongest setting. Where a floor must be named, use \u0060min_tls_version(tls::Version::TLS_1_2)\u0060 / \u0060set_min_proto_version(Some(SslVersion::TLS1_2))\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-core/src/connectors/tls/boringssl_openssl/mod.rs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"deb777a8c082133e50ec1642888f32877b7544508bc500fa9027b0b43d0935ee"}},{"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 configured \u2014 defense in depth, even when a reverse proxy could set them. This is reported because \u0060nginx.conf\u0060 is committed to this repository and declares the server that serves it, so the configuration that would carry these headers is in this repository and was read in full. (\u22122.0 on this card.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"pingora-ketama/test-data/nginx.conf"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3d1e46203b69b71b0777551769fa14b98d06c45b378869036c2554f26b22dae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!downstream_state.is_errored() \u0026\u0026 session.has_pending_downstream_tasks() \u0026\u0026 next_upstream_task.is_none()\u0060 appears character-identically in 3 files \u2014 pingora-proxy/src/proxy_custom.rs, pingora-proxy/src/proxy_h1.rs, pingora-proxy/src/proxy_h2.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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":876}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4694dc34d2de749e8a0076521b26ed1c5a44ba8ad92dfe15fce00c8763d1770"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!no_body \u0026\u0026 !header.status.is_informational() \u0026\u0026 header.headers.get(http::header::CONTENT_LENGTH).is_none()\u0060 appears character-identically in 3 files \u2014 pingora-proxy/src/proxy_cache.rs, pingora-proxy/src/proxy_custom.rs, pingora-proxy/src/proxy_h2.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":"pingora-proxy/src/proxy_cache.rs"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e2cfad898d064c3cbc2470b6aa47f8beb794fef650e3d3db8bcc57a4698b132"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!resp.status.is_informational() || self.upgraded\u0060 appears character-identically in 2 files \u2014 pingora-core/src/protocols/http/subrequest/server.rs, pingora-core/src/protocols/http/v1/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":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bdf2984f4c32e40649ce7bc8f43e12c35e4feb931ba1f011f03d984b8d60d1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!response_state.cached_done() \u0026\u0026 !downstream_state.is_errored() \u0026\u0026 serve_from_cache.is_on() \u0026\u0026 !session.has_pending_downstream_tasks()\u0060 appears character-identically in 3 files \u2014 pingora-proxy/src/proxy_custom.rs, pingora-proxy/src/proxy_h1.rs, pingora-proxy/src/proxy_h2.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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e88b83c90fb467b0cef2235c6ecdbd0df2afb56c9abcd14cb75100be8a4f20a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!response_state.upstream_delivery_done() \u0026\u0026 serve_from_cache.is_on() \u0026\u0026 next_upstream_task.is_none()\u0060 appears character-identically in 3 files \u2014 pingora-proxy/src/proxy_custom.rs, pingora-proxy/src/proxy_h1.rs, pingora-proxy/src/proxy_h2.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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":922}}}],"partialFingerprints":{"codehealthFindingId/v1":"20928260687616e48cbb0be13d3e968a306836db8ad4797438a3f2e26af175eb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!upgraded \u0026\u0026 session.was_upgraded() \u0026\u0026 downstream_state.can_poll()\u0060 appears character-identically in 2 files \u2014 pingora-proxy/src/proxy_custom.rs, pingora-proxy/src/proxy_h1.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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"9baf5829bdab82e72677dd4d1fe1987ca9a97ec0a69fd0a1d5516434cdf8822e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(!serve_from_cache.is_on() \u0026\u0026 support_cache_partial_read) || serve_from_cache.is_miss()\u0060 appears character-identically in 3 files \u2014 pingora-proxy/src/proxy_custom.rs, pingora-proxy/src/proxy_h1.rs, pingora-proxy/src/proxy_h2.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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e1f961d878ba538cdb0b74ac06d6c83784cb35618a9a55ded3a37e060f7979"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060body.is_none() \u0026\u0026 session.was_upgraded()\u0060 appears character-identically in 2 files \u2014 pingora-proxy/src/proxy_custom.rs, pingora-proxy/src/proxy_h1.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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4fb56f48b1e69644fcbebc5d63216fff4fc690d53c05eca8dab7f145ff961ae"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060contains_content_length \u0026\u0026 contains_transfer_encoding\u0060 appears character-identically in 2 files \u2014 pingora-core/src/protocols/http/v1/client.rs, pingora-core/src/protocols/http/v1/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":"pingora-core/src/protocols/http/v1/client.rs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"4184309701debb22ccc521b12ee9b0e5baf8a70a9b979bd24f1250facdf6b3ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060downstream_custom_read \u0026\u0026 !downstream_state.is_errored()\u0060 appears character-identically in 2 files \u2014 pingora-proxy/src/proxy_h1.rs, pingora-proxy/src/proxy_h2.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":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"34dde9dabfbc7ec678dc8cbae77df9bd21438cdef5b913b43d72391217be46f9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060downstream_custom_write \u0026\u0026 !session.downstream_abandoned_during_cache_fill()\u0060 appears character-identically in 2 files \u2014 pingora-proxy/src/proxy_h1.rs, pingora-proxy/src/proxy_h2.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":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"1146cbc9816637448bb03388aec3debb2adcee7335637c652faac5a9e8de0698"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060downstream_state.is_reading() \u0026\u0026 send_permit.is_err()\u0060 appears character-identically in 2 files \u2014 pingora-proxy/src/proxy_h1.rs, pingora-proxy/src/subrequest/pipe.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":"pingora-proxy/src/proxy_h1.rs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"db1583ce05db6dedf67f259eaa05fc749d72d8a7b3fbe694f184cd2c989665e1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060end_stream || self.body_writer.finished()\u0060 appears character-identically in 2 files \u2014 pingora-core/src/protocols/http/subrequest/server.rs, pingora-core/src/protocols/http/v1/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":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":832}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6221904b2889c529bcae103ea3e15621dd775b1046a7df23cc51cfef45de002"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060header.status == 101 || !header.status.is_informational()\u0060 appears character-identically in 2 files \u2014 pingora-core/src/protocols/http/subrequest/server.rs, pingora-core/src/protocols/http/v1/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":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"737bc7b5bc7f1d927c9d7fb47a25833a3307f4189940d4ec51d19be3cab06f8e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060header.status.is_informational() \u0026\u0026 header.status != StatusCode::SWITCHING_PROTOCOLS\u0060 appears character-identically in 3 files \u2014 pingora-core/src/protocols/http/subrequest/server.rs, pingora-core/src/protocols/http/v1/server.rs, pingora-proxy/src/proxy_cache.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":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"1883c1b03a323df917c7bf5804235b0808d34d9ca401dafb8fa554e17e886b97"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060response_state.cached_done() \u0026\u0026 session.cache.enabled()\u0060 appears character-identically in 3 files \u2014 pingora-proxy/src/proxy_custom.rs, pingora-proxy/src/proxy_h1.rs, pingora-proxy/src/proxy_h2.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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":857}}}],"partialFingerprints":{"codehealthFindingId/v1":"49dcec23950d4dd02afc0fb398f63b619c18e2060d9470ff6e8d8520b5f0d7a9"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060self.upgraded \u0026\u0026 !self.body_reader.body_done()\u0060 appears character-identically in 2 files \u2014 pingora-core/src/protocols/http/subrequest/server.rs, pingora-core/src/protocols/http/v1/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":"pingora-core/src/protocols/http/subrequest/server.rs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e87e4445f65980b1a6130910471247a6d45bdf4d29077dc9d10cc835c59f6a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060send_result.is_err() \u0026\u0026 PipeState::is_downstream_complete(pipe_state.load(Ordering::Acquire))\u0060 appears character-identically in 2 files \u2014 pingora-proxy/src/proxy_custom.rs, pingora-proxy/src/proxy_h2.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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1453}}}],"partialFingerprints":{"codehealthFindingId/v1":"174661ed41b3568b557f18d613311b7b91cf4e1b56dc70f454834959296e4d4d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060session.cache.enabled() || session.cache.bypassing()\u0060 appears character-identically in 3 files \u2014 pingora-proxy/src/proxy_custom.rs, pingora-proxy/src/proxy_h1.rs, pingora-proxy/src/proxy_h2.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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1060}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3d91a944661144935da28856be550376eaf993fa3193ec3b16917c0e795407"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060track_max_cache_size \u0026\u0026 task.is_end() \u0026\u0026 !matches!(task, HttpTask::Failed(_)) \u0026\u0026 !session.cache.exceeded_max_file_size()\u0060 appears character-identically in 3 files \u2014 pingora-proxy/src/proxy_custom.rs, pingora-proxy/src/proxy_h1.rs, pingora-proxy/src/proxy_h2.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":"pingora-proxy/src/proxy_custom.rs"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"358f9c8e12fec95224e9bb83be0576bc010fa49cb176c2638455ae1250552f63"}}],"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-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-200","guid":"b0ce3b1d-7a29-fe50-8aab-9aba899d2988","name":"Exposure of Sensitive Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Sensitive Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/200.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-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"Improper Certificate Validation","shortDescription":{"text":"Improper Certificate Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-312","guid":"96724ece-b0b2-a45c-83f9-0869fa3f6bea","name":"Cleartext Storage of Sensitive Information","shortDescription":{"text":"Cleartext Storage of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/312.html"},{"id":"CWE-345","guid":"d80d4b65-bbbe-b65d-958e-7ac466af18f9","name":"Insufficient Verification of Data Authenticity","shortDescription":{"text":"Insufficient Verification of Data Authenticity"},"helpUri":"https://cwe.mitre.org/data/definitions/345.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-359","guid":"b7dfe5b0-0351-645b-a311-b936102c2929","name":"Exposure of Private Personal Information to an Unauthorized Actor","shortDescription":{"text":"Exposure of Private Personal Information to an Unauthorized Actor"},"helpUri":"https://cwe.mitre.org/data/definitions/359.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-527","guid":"79b27cde-9d04-1a54-b64b-d5bb9b4a8ee7","name":"CWE-527","shortDescription":{"text":"CWE-527"},"helpUri":"https://cwe.mitre.org/data/definitions/527.html"},{"id":"CWE-538","guid":"3baa1f05-df1b-ae58-9ee0-1d790ff4a989","name":"Insertion of Sensitive Information into Externally-Accessible File or Directory","shortDescription":{"text":"Insertion of Sensitive Information into Externally-Accessible File or Directory"},"helpUri":"https://cwe.mitre.org/data/definitions/538.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":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"}]}],"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":19,"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."]}]}