{"$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":"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":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"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":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"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":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"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":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Server.serveConnCounted (cyclomatic 161): Server.serveConnCounted has cyclomatic complexity 161 (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":"server.go"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"218ba86f2d523d7f6154b76a4f47a572ba45989059007b140e7d533c390fb942"}},{"ruleId":"D1","level":"warning","message":{"text":"fsHandler.handleRequest (cyclomatic 52): fsHandler.handleRequest has cyclomatic complexity 52 (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":"fs.go"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a96996cea9cf344518b9479e2198196cee22b9a6305482cae24fe85a2626bb"}},{"ruleId":"D1","level":"warning","message":{"text":"fasthttpadaptor.ConvertNetHTTPRequestToFastHTTPRequest (cyclomatic 51): fasthttpadaptor.ConvertNetHTTPRequestToFastHTTPRequest has cyclomatic complexity 51 (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":"fasthttpadaptor/request.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"437dec1a522f65a26c0f09ac9b6ba5028f7660a826b47c90e94b11dfced318fe"}},{"ruleId":"D1","level":"warning","message":{"text":"Cookie.ParseBytes (cyclomatic 42): Cookie.ParseBytes has cyclomatic complexity 42 (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":"cookie.go"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23cc4ccce52f316d41573fe7a5ff4655e0077034db239552169c2ec914b2244"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestHeader.parseHeaders (cyclomatic 42): RequestHeader.parseHeaders has cyclomatic complexity 42 (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":"header.go"},"region":{"startLine":3811}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b27cd3b61d609a1ffff2b49d4c2602e805720d5ea1fc8b69792ce74ed2e1af"}},{"ruleId":"D1","level":"warning","message":{"text":"fasthttpadaptor.NewFastHTTPHandler (cyclomatic 37): fasthttpadaptor.NewFastHTTPHandler has cyclomatic complexity 37 (threshold 15). Most of this is not in the body itself: 1 of the 37 points is its own statement and the rest belongs to one function literal inside it that branches (line 64). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fasthttpadaptor/adaptor.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"f72757a658f51abc1469f81a2770d9a7c19afed46abc3e9242ec4a36b28db293"}},{"ruleId":"D1","level":"warning","message":{"text":"transport.RoundTrip (cyclomatic 35): transport.RoundTrip has cyclomatic complexity 35 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client.go"},"region":{"startLine":3598}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2bdb6ed02dfd58b4df49645a381873cc2a4e8790eb3e9006fc2304283b535f"}},{"ruleId":"D1","level":"warning","message":{"text":"headerScanner.next (cyclomatic 35): headerScanner.next 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":"headerscanner.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"988c216b37c048157e1fe90e7502eaef0be757a5d8311c565bb16bff362bdc43"}},{"ruleId":"D1","level":"warning","message":{"text":"websocket.handshake (cyclomatic 35): websocket.handshake has cyclomatic complexity 35 (threshold 15). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"websocket/dial.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f2a3f5a6c32aa159cb586a3b685ad818618fc055748a8d4d8cd4fdd409fea1f"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponseHeader.parseHeaders (cyclomatic 34): ResponseHeader.parseHeaders has cyclomatic complexity 34 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":3663}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed798aaf5799ab4091334619a4ed2898afccfbe84625e8566cbc368781fefee7"}},{"ruleId":"D1","level":"warning","message":{"text":"Conn.nextFrame (cyclomatic 31): Conn.nextFrame has cyclomatic complexity 31 (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":"websocket/read.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"d53a84da6814138a9e675be97dcdfdb74abd19e8c0936b5a48a6634c9ce36e73"}},{"ruleId":"D1","level":"warning","message":{"text":"fasthttp.isBadTrailer (cyclomatic 30): fasthttp.isBadTrailer has cyclomatic complexity 30 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":3430}}}],"partialFingerprints":{"codehealthFindingId/v1":"8320bc005a4a363f477e1b60b5be61c6bbc39a544c9396a7900379e5b4dd7007"}},{"ruleId":"D1","level":"warning","message":{"text":"Request.Write (cyclomatic 30): Request.Write 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":"http.go"},"region":{"startLine":2023}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbe81d0ed09b63de51e5204a02b6fb0ebf516f95ebf8dfcc42b4bd4cce3c0fe"}},{"ruleId":"D1","level":"warning","message":{"text":"URI.parse (cyclomatic 29): URI.parse 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":"uri.go"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8ee5b90450014be48016babdad695ba245a5513353f3a4bb6221e3730d58617"}},{"ruleId":"D1","level":"warning","message":{"text":"fasthttp.parseRFC1123DateGMT (cyclomatic 28): fasthttp.parseRFC1123DateGMT has cyclomatic complexity 28 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bytesconv.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ba9eefebd17046db63025d4cc8272e0e0a2ab82cbd73be4e7bcbaf54fcee11c"}},{"ruleId":"D1","level":"warning","message":{"text":"fasthttp.VisitHeaderParams (cyclomatic 27): fasthttp.VisitHeaderParams has cyclomatic complexity 27 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6d2dfc423bcc80beb9106f4ed4f627400a5352ce523eceade14f10fdaf55e7"}},{"ruleId":"D1","level":"warning","message":{"text":"fasthttp.validateIPv6Literal (cyclomatic 27): fasthttp.validateIPv6Literal 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":"ipv6.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f17d3dfdfb033b7e1571e7e2bed6857ce2d1cf29f246f7ad51cfa8e1a9c3c8f"}},{"ruleId":"D1","level":"warning","message":{"text":"requestStream.read (cyclomatic 26): requestStream.read 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":"streaming.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9c6f3342729e169d66b9aa381a7681cf702474c6899ec70b10b58c3a110b67"}},{"ruleId":"D1","level":"warning","message":{"text":"pipelineConnClient.writer (cyclomatic 25): pipelineConnClient.writer has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client.go"},"region":{"startLine":3325}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ebbc09b0b6595aa5a637672c8859dc75229d4aee8cc738b517bb21a0576fd23"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestHeader.MultipartFormBoundary (cyclomatic 25): RequestHeader.MultipartFormBoundary has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"14f40dc101ec7263379958182532d75b42b3d8b864527f4d80081066b763ae6d"}},{"ruleId":"D1","level":"warning","message":{"text":"Request.MultipartFormWithLimit (cyclomatic 25): Request.MultipartFormWithLimit has cyclomatic complexity 25 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function literal 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":"http.go"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb422f4821dbd501a0c18cea278f1b66865e72a3161f4f6274dab9d519fccb39"}},{"ruleId":"D1","level":"warning","message":{"text":"Prefork.prefork (cyclomatic 24): Prefork.prefork has cyclomatic complexity 24 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"prefork/prefork.go"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1415956ae56f5e17d18f010e2b6dc6d42cc9d5f1bfc9d0d208222ae29a69c64"}},{"ruleId":"D1","level":"warning","message":{"text":"pipelineConnClient.DoDeadline (cyclomatic 23): pipelineConnClient.DoDeadline 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":"client.go"},"region":{"startLine":2907}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bbfc99b93c8787379a89937656f446a2085fd6a0796afd1ef9d3743438a690"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponseHeader.AppendBytes (cyclomatic 21): ResponseHeader.AppendBytes has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":3149}}}],"partialFingerprints":{"codehealthFindingId/v1":"83eb035df65d522ad89e137473c2b828c80f6a01330111fb484adc49957d4ddc"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestHeader.parseFirstLine (cyclomatic 21): RequestHeader.parseFirstLine 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":"header.go"},"region":{"startLine":3563}}}],"partialFingerprints":{"codehealthFindingId/v1":"560d4a7b54285a730d7a59a6a888fda0c1907c3057764eaa1ddbf9405948b58d"}},{"ruleId":"D1","level":"warning","message":{"text":"websocket.Accept (cyclomatic 21): websocket.Accept has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"websocket/accept.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e235c0cd90284ca8e7df989983ba3057c551b95b665059245e8d83c35d0b7a1"}},{"ruleId":"D1","level":"warning","message":{"text":"fasthttp.parseIPv6Hextets (cyclomatic 20): fasthttp.parseIPv6Hextets 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":"ipv6.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"681a39f869259e5736255d8cae98dd6d96e972da935e59548b3b4ecc91dc409f"}},{"ruleId":"D1","level":"warning","message":{"text":"fasthttp.unescape (cyclomatic 20): fasthttp.unescape 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":"uri.go"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d2203b9cdbacbe9bed8c3f4fc2db8274cb08bd6891f7bbec8999d6873f67f5"}},{"ruleId":"D1","level":"warning","message":{"text":"fasthttpadaptor.ConvertRequest (cyclomatic 20): fasthttpadaptor.ConvertRequest 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":"fasthttpadaptor/request.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"a54d852d1d24f00f4239153e05a69f308fb28fb7939e94409c6b4481a91645da"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponseHeader.setSpecialHeader (cyclomatic 20): ResponseHeader.setSpecialHeader 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":"header.go"},"region":{"startLine":1899}}}],"partialFingerprints":{"codehealthFindingId/v1":"821ba382c299cbba146ff4a33c630f086bb80bc573c5f3d36e89a0737037290f"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestHeader.setSpecialHeader (cyclomatic 20): RequestHeader.setSpecialHeader 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":"header.go"},"region":{"startLine":1999}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf6c1339cced164d90a61688583cedb425da54bc56a0e247346c6a88958faf4"}},{"ruleId":"D1","level":"warning","message":{"text":"fasthttp.doRequestFollowRedirects (cyclomatic 19): fasthttp.doRequestFollowRedirects 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":"client.go"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"875898fc431d915ee9232a234e0eea73a94aed826e0e0ff3f140045992aaa842"}},{"ruleId":"D1","level":"warning","message":{"text":"HostClient.Do (cyclomatic 19): HostClient.Do 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":"client.go"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"02fbcb4e18cd3f8eedbf3d005a8c911a29624ce472a205c975b72650bd6acb52"}},{"ruleId":"D1","level":"warning","message":{"text":"Dialer.getDialFunc (cyclomatic 19): Dialer.getDialFunc has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to one function literal 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":"fasthttpproxy/dialer.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"97c5c0daf0bcacdc70b67d5406b946a270a1e5836d1fac6be3c2cd85c3ce6338"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestHeader.All (cyclomatic 19): RequestHeader.All has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to one function literal inside it that branches (line 1716). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"2654150e38d163b5baa1e98ba3ba2774112bf760268a440fb9e2ea96836f7a67"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestHeader.peekAll (cyclomatic 19): RequestHeader.peekAll 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":"header.go"},"region":{"startLine":2564}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dafc6fae38cc2e8644b78dfe70904a43cb8db2b98db35eca0b2bbdca1f38fdf"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestHeader.AppendBytes (cyclomatic 19): RequestHeader.AppendBytes has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":3298}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6666a4db96d33ce86a21fe12b7140e4104d7162d2f58dcb11dc1cdc3d6ea24d"}},{"ruleId":"D1","level":"warning","message":{"text":"HostClient.AcquireConn (cyclomatic 18): HostClient.AcquireConn has cyclomatic complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal 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":"client.go"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e3e2283c5a3319e155dee7c7b9bea2e73b8b648b5c4e4d7cfa3d23e15aac05"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponseHeader.All (cyclomatic 18): ResponseHeader.All has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 1 of the 18 points is its own statement and the rest belongs to one function literal inside it that branches (line 1560). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26e24dd0f84447302172f02ca72947e063ee73aeb697715de28c6e84bd61f7b"}},{"ruleId":"D1","level":"warning","message":{"text":"URI.updateBytes (cyclomatic 18): URI.updateBytes 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":"uri.go"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b85d4e8eba66f981312b3afb0bcb4f31bada45e511c606dd15e98665e4c7cbb"}},{"ruleId":"D1","level":"warning","message":{"text":"websocket.Dial (cyclomatic 18): websocket.Dial 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":"websocket/dial.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"967d42e0aa950691696005ea059788fe1d1802b4c71c9c01f6f1036272062d65"}},{"ruleId":"D1","level":"warning","message":{"text":"fasthttp.parseHost (cyclomatic 17): fasthttp.parseHost 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":"uri.go"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"1493a4f2fd7519496e489dc8a6286e85e44c48282652baffac5f676acb71bd44"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponseHeader.peekAll (cyclomatic 17): ResponseHeader.peekAll 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":"header.go"},"region":{"startLine":2621}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe8ee01779227c224cebdf741576573555a2970464bf3f98abd5b2edd06a88d"}},{"ruleId":"D1","level":"warning","message":{"text":"Response.writeBodyStream (cyclomatic 17): Response.writeBodyStream has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal 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":"http.go"},"region":{"startLine":2677}}}],"partialFingerprints":{"codehealthFindingId/v1":"05d0ce74955f5009dcb62cf82e08a665f83773e1873b5569c9ddc4c72d59311f"}},{"ruleId":"D1","level":"warning","message":{"text":"ResponseHeader.parseFirstLine (cyclomatic 16): ResponseHeader.parseFirstLine 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":"header.go"},"region":{"startLine":3495}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eaf8449c2aa5770d81b9ad7ac3fed27b3926178c2b9fe79541661dbe18c6633"}},{"ruleId":"D1","level":"warning","message":{"text":"RequestHeader.setRawBodyFraming (cyclomatic 16): RequestHeader.setRawBodyFraming 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":"header.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"93c1e3046172ee220bc1786838c6a1574a8841d37ff6d545816b8f6124dc72e4"}},{"ruleId":"D1","level":"warning","message":{"text":"Response.write (cyclomatic 16): Response.write 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":"http.go"},"region":{"startLine":2550}}}],"partialFingerprints":{"codehealthFindingId/v1":"478eb50849cb87464fac0c9ac1d031eebb9bfbbdfe416fe7ab9fc3ff605a68dd"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.serveConnCounted (cognitive 363): Server.serveConnCounted has cognitive complexity 363 (threshold 15). Drivers by points: if/else 117 (324 pts), boolean chains 30, match/switch 2 (8 pts), loops 1 (nesting depth added 213). 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":"server.go"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4c3d64e8a96d9d1bb984c0d6fcf9aa6385ef54802eea626f5ad402180a7f683"}},{"ruleId":"D2","level":"warning","message":{"text":"Cookie.ParseBytes (cognitive 116): Cookie.ParseBytes has cognitive complexity 116 (threshold 15). Drivers by points: if/else 26 (101 pts), match/switch 3 (12 pts), boolean chains 2, loops 1 (nesting depth added 84). 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":"cookie.go"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d75dc51524fda66d4b098f9687babd5816560f3ef979bd3055c9643d8c57b9"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestHeader.parseHeaders (cognitive 104): RequestHeader.parseHeaders has cognitive complexity 104 (threshold 15). Drivers by points: if/else 31 (95 pts), boolean chains 4, match/switch 2 (4 pts), loops 1 (nesting depth added 66). 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":"header.go"},"region":{"startLine":3811}}}],"partialFingerprints":{"codehealthFindingId/v1":"83b93708ea06139df5caa2ae086dac7bf34803935e72907e6f1331dcc386f7fb"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseHeader.parseHeaders (cognitive 87): ResponseHeader.parseHeaders has cognitive complexity 87 (threshold 15). Drivers by points: if/else 27 (82 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 56). 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":"header.go"},"region":{"startLine":3663}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c20e06160ce7c1c771de984c92650fa1f721fc1e1f1e55ae3a73a2a25319c9a"}},{"ruleId":"D2","level":"warning","message":{"text":"fsHandler.handleRequest (cognitive 75): fsHandler.handleRequest has cognitive complexity 75 (threshold 15). Drivers by points: if/else 36 (59 pts), boolean chains 12, match/switch 2 (4 pts) (nesting depth added 25). 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":"fs.go"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e741e95c105a0317ef15b52e6e543ba2a43152f331cedfa912519f647adb611"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttpadaptor.ConvertNetHTTPRequestToFastHTTPRequest (cognitive 62): fasthttpadaptor.ConvertNetHTTPRequestToFastHTTPRequest has cognitive complexity 62 (threshold 15). Drivers by points: if/else 28 (43 pts), boolean chains 12, loops 3 (5 pts), match/switch 1 (2 pts) (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":"fasthttpadaptor/request.go"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d745ad69a657bc063086fb7f558d2f64da897fd5c8c968bf59f8f1993f535c1"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttpadaptor.NewFastHTTPHandler (cognitive 61): fasthttpadaptor.NewFastHTTPHandler has cognitive complexity 61 (threshold 15). Drivers by points: if/else 19 (41 pts), loops 4 (10 pts), boolean chains 5, match/switch 3 (5 pts) (nesting depth added 30). None of this is in the body itself: all 61 points belong to one function literal inside it that branches (line 64). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fasthttpadaptor/adaptor.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"74cd0dfd8330453876053463cb1f0ade85123d632ecc38031c56f78bf0c8775e"}},{"ruleId":"D2","level":"warning","message":{"text":"Conn.nextFrame (cognitive 58): Conn.nextFrame has cognitive complexity 58 (threshold 15). Drivers by points: if/else 16 (45 pts), match/switch 3 (7 pts), boolean chains 5, loops 1 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"websocket/read.go"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"409ee8f2c094f1ace135056223b0398e43d2ca824bb90d3ca1f73047db8ac092"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttp.VisitHeaderParams (cognitive 46): fasthttp.VisitHeaderParams has cognitive complexity 46 (threshold 15). Drivers by points: if/else 8 (21 pts), loops 6 (13 pts), boolean chains 10, match/switch 1 (2 pts) (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":"header.go"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcc654dc9e5caedd3a73e16bca8485336398b7e31d00712a33a410be15b2314"}},{"ruleId":"D2","level":"warning","message":{"text":"pipelineConnClient.writer (cognitive 46): pipelineConnClient.writer has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (29 pts), match/switch 4 (10 pts), boolean chains 3, jumps 3, loops 1 (nesting depth added 23). 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":"client.go"},"region":{"startLine":3325}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fbb39eb526f1cb091d61daafcc01bc4e41110dae6117290bede84d7cac018ff"}},{"ruleId":"D2","level":"warning","message":{"text":"headerScanner.next (cognitive 45): headerScanner.next has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (31 pts), boolean chains 10, loops 3, match/switch 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":"headerscanner.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f304a2d4d0d638ff9a297440beba11a7ba2f0eb4ecdc5743dcc4301fccd2832e"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestHeader.MultipartFormBoundary (cognitive 44): RequestHeader.MultipartFormBoundary has cognitive complexity 44 (threshold 15). Drivers by points: if/else 9 (23 pts), loops 5 (12 pts), boolean chains 9 (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":"header.go"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c1bc96fe6932a2d5bb301f871eb79a75ee4419dc7cf7a8ef3430a21db561b0"}},{"ruleId":"D2","level":"warning","message":{"text":"requestStream.read (cognitive 43): requestStream.read has cognitive complexity 43 (threshold 15). Drivers by points: if/else 20 (40 pts), boolean chains 3 (nesting depth added 20). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"streaming.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbdb6ea93aba7ca3eda09e4069fc7d81a0cb50de1ad8e71bac906877c069a4f4"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttp.parseIPv6Hextets (cognitive 41): fasthttp.parseIPv6Hextets has cognitive complexity 41 (threshold 15). Drivers by points: if/else 12 (34 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 23). 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":"ipv6.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"bacca0d5748a93de517288682053a8aee5641c3287c6909124f047d0622374be"}},{"ruleId":"D2","level":"warning","message":{"text":"Request.MultipartFormWithLimit (cognitive 40): Request.MultipartFormWithLimit has cognitive complexity 40 (threshold 15). Drivers by points: if/else 20 (36 pts), boolean chains 4 (nesting depth added 16). Of this number, 38 points are the body\u0027s own statements and 2 belong to one function literal 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":"http.go"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f14b6be657f5fb36b7a7575db4c1a8307c62c47a8c2859d6e56edcd114e355a"}},{"ruleId":"D2","level":"warning","message":{"text":"Prefork.prefork (cognitive 40): Prefork.prefork has cognitive complexity 40 (threshold 15). Drivers by points: if/else 17 (33 pts), loops 3 (4 pts), match/switch 2 (3 pts) (nesting depth added 18). Of this number, 31 points are the body\u0027s own statements and 9 belong to 2 function literals inside it that branch. 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":"prefork/prefork.go"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0a552722b8bb4e6f5d8cbea87ea6b0cb1f81545cd6aed35495d6b7cdb6d0f7"}},{"ruleId":"D2","level":"warning","message":{"text":"Request.Write (cognitive 39): Request.Write has cognitive complexity 39 (threshold 15). Drivers by points: if/else 22 (34 pts), boolean chains 5 (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":"http.go"},"region":{"startLine":2023}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dfe5a4a48e9e2021e599bb41fce31cd0da7d908dd0dd5d5a44e70fb90bb7c2d"}},{"ruleId":"D2","level":"warning","message":{"text":"transport.RoundTrip (cognitive 38): transport.RoundTrip has cognitive complexity 38 (threshold 15). Drivers by points: if/else 23 (28 pts), boolean chains 10 (nesting depth added 5). Of this number, 34 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client.go"},"region":{"startLine":3598}}}],"partialFingerprints":{"codehealthFindingId/v1":"b983dd7fdd0905981f9c14183a3f7311f93ce9abcc04a44d5243de04c07cdac1"}},{"ruleId":"D2","level":"warning","message":{"text":"URI.parse (cognitive 36): URI.parse has cognitive complexity 36 (threshold 15). Drivers by points: if/else 20 (28 pts), boolean chains 8 (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":"uri.go"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d65e80cf2a4704c1c7c8d83f9c1ce61b59afb9c313d64136afe9098ca93d5f4"}},{"ruleId":"D2","level":"warning","message":{"text":"websocket.handshake (cognitive 36): websocket.handshake has cognitive complexity 36 (threshold 15). Drivers by points: if/else 24 (28 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 5). Of this number, 35 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"websocket/dial.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a96cfa6a3c0ac2d8afb3fc48e53245a577489e9cd62f22c7cb24021173b35d3"}},{"ruleId":"D2","level":"warning","message":{"text":"pipelineConnClient.DoDeadline (cognitive 35): pipelineConnClient.DoDeadline has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (26 pts), boolean chains 5, match/switch 3 (4 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":"client.go"},"region":{"startLine":2907}}}],"partialFingerprints":{"codehealthFindingId/v1":"6671bc150c4dfef114ee17072e3d58f2d447ae2f03fefdc5412f0751dbbd4393"}},{"ruleId":"D2","level":"warning","message":{"text":"Response.writeBodyStream (cognitive 35): Response.writeBodyStream has cognitive complexity 35 (threshold 15). Drivers by points: if/else 15 (33 pts), boolean chains 2 (nesting depth added 18). Of this number, 34 points are the body\u0027s own statements and 1 belongs to one function literal 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":"http.go"},"region":{"startLine":2677}}}],"partialFingerprints":{"codehealthFindingId/v1":"791ab745e05c59ae27c1c4b38ee02745b16741c75df29af15e363b5ddb0fdcfc"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttp.parseHost (cognitive 34): fasthttp.parseHost has cognitive complexity 34 (threshold 15). Drivers by points: if/else 15 (32 pts), boolean chains 2 (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":"uri.go"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7edbd5184a239636a02f7abec6dcbb7ae998cc9ef0b6eea1533f85a350156e2"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttp.validateIPv6Literal (cognitive 33): fasthttp.validateIPv6Literal has cognitive complexity 33 (threshold 15). Drivers by points: if/else 14 (21 pts), boolean chains 12 (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":"ipv6.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1265a0bcb6a17720a197ee3a61e1660d8ace508e35ce640a6257c7647b502d1"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttp.acceptConn (cognitive 33): fasthttp.acceptConn has cognitive complexity 33 (threshold 15). Drivers by points: if/else 10 (29 pts), boolean chains 3, 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":"server.go"},"region":{"startLine":2256}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b241f4ffb9355d44665332f7584264f65b613ebba2daa3a78a2bbf93896c39"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttp.unescape (cognitive 32): fasthttp.unescape has cognitive complexity 32 (threshold 15). Drivers by points: if/else 7 (21 pts), boolean chains 5, match/switch 2 (4 pts), loops 2 (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":"uri.go"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1725b96bd4529c735230339868dd1e2e5b75f358b97318170325c79a40612b"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttp.doRequestFollowRedirects (cognitive 29): fasthttp.doRequestFollowRedirects has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 4, match/switch 1 (2 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client.go"},"region":{"startLine":1317}}}],"partialFingerprints":{"codehealthFindingId/v1":"763a290200b6ebf5f0e19d009f59c610dfca4675e47d5274ba62b7d25b85fe58"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseHeader.setSpecialHeader (cognitive 29): ResponseHeader.setSpecialHeader has cognitive complexity 29 (threshold 15). Drivers by points: if/else 13 (25 pts), match/switch 2 (3 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":"header.go"},"region":{"startLine":1899}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c9183d31f6dffab722923d3c39de36d496b4787bef48ba8d1e282f098ad9452"}},{"ruleId":"D2","level":"warning","message":{"text":"HostClient.Do (cognitive 28): HostClient.Do has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 3, match/switch 1 (2 pts), 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":"client.go"},"region":{"startLine":1674}}}],"partialFingerprints":{"codehealthFindingId/v1":"766ab77f94f36e9d33a7570ebdc9320b538bc9cd8c6f2ae2f121bdbc7e374359"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestHeader.setSpecialHeader (cognitive 28): RequestHeader.setSpecialHeader has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (24 pts), match/switch 2 (3 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":"header.go"},"region":{"startLine":1999}}}],"partialFingerprints":{"codehealthFindingId/v1":"590f5d763b11f9c4408afd3b477ffdba2ed8ee7e7b5fe66332f09790f274ddf5"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestHeader.parseFirstLine (cognitive 28): RequestHeader.parseFirstLine has cognitive complexity 28 (threshold 15). Drivers by points: if/else 12 (22 pts), boolean chains 4, loops 1, match/switch 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":"header.go"},"region":{"startLine":3563}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1326c396295813bb4399b8ff98a5acbbf6edbd5f45d9f995078a6f3f5e3a8a4"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestCtx.EarlyHints (cognitive 28): RequestCtx.EarlyHints has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (26 pts), loops 1 (2 pts) (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":"server.go"},"region":{"startLine":713}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca2cabe0ff8372c28170d05f8a77cde8b08dc9b5da356dbfaaa4217cb49cad3c"}},{"ruleId":"D2","level":"warning","message":{"text":"HostClient.AcquireConn (cognitive 26): HostClient.AcquireConn has cognitive complexity 26 (threshold 15). Drivers by points: if/else 12 (20 pts), match/switch 2 (4 pts), boolean chains 2 (nesting depth added 10). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function literal 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":"client.go"},"region":{"startLine":1919}}}],"partialFingerprints":{"codehealthFindingId/v1":"3757c98f8a34502c26cbfbc399842942a9f005f5ac41904fc00bd25b1368c11a"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttpadaptor.ConvertRequest (cognitive 26): fasthttpadaptor.ConvertRequest has cognitive complexity 26 (threshold 15). Drivers by points: if/else 9 (15 pts), loops 4 (7 pts), match/switch 2 (3 pts), boolean chains 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":"fasthttpadaptor/request.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"9634127b5c6d4a4e9bc09e5890980292b3b1a2144fda24b59b832af28b6cf559"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttp.readHexInt (cognitive 25): fasthttp.readHexInt has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (22 pts), loops 2, 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":"bytesconv.go"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5295bc2d1e51556f5834c5fc9729350ff166d8791a2680a366cd473147bd5ea"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttp.validIPv4 (cognitive 25): fasthttp.validIPv4 has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 3, loops 2 (3 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":"ipv6.go"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7ac6fe445e81382b5274a142977adedf394a9d493e0ef7aee162b636524ccd"}},{"ruleId":"D2","level":"warning","message":{"text":"fsHandler.pathToFilePath (cognitive 25): fsHandler.pathToFilePath has cognitive complexity 25 (threshold 15). Drivers by points: if/else 12 (21 pts), boolean chains 4 (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":"fs.go"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a18e7e472b35bbd0153b2795d1385241562c0796e65dc3382b6c82ed60eef4"}},{"ruleId":"D2","level":"warning","message":{"text":"Request.ContinueReadBody (cognitive 25): Request.ContinueReadBody has cognitive complexity 25 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 3 (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":"http.go"},"region":{"startLine":1678}}}],"partialFingerprints":{"codehealthFindingId/v1":"239d2c6384e0c506d830948adb8176876b634b9571e356c8ea2a14ea663179e0"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttp.fsETagMatch (cognitive 24): fasthttp.fsETagMatch has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (19 pts), loops 2 (3 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":"fs.go"},"region":{"startLine":1659}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e9eebaf9dfbd4438421542afee9a116925f06145a105c1db21c13b12e9c0e1"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttp.WriteMultipartForm (cognitive 24): fasthttp.WriteMultipartForm has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (18 pts), loops 4 (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":"http.go"},"region":{"startLine":1424}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dba2716b7ec2d2e99f5c4fa451aa691524f0d4d7060a92244ad065ceaa4bbf2"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttp.writeBodyChunked (cognitive 24): fasthttp.writeBodyChunked has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 1, loops 1, match/switch 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http.go"},"region":{"startLine":2910}}}],"partialFingerprints":{"codehealthFindingId/v1":"3112ecce84d857dbbcfbd9a4a21651c0dc4efe70446a3b033ae3c94bf168b07e"}},{"ruleId":"D2","level":"warning","message":{"text":"streamPipe.WriteTo (cognitive 24): streamPipe.WriteTo has cognitive complexity 24 (threshold 15). Drivers by points: if/else 9 (21 pts), boolean chains 2, loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bounded_stream.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"71af2209a1083fa285621514195fba3e35b60649d2aa78b45646bb1fba184031"}},{"ruleId":"D2","level":"warning","message":{"text":"Dialer.getDialFunc (cognitive 24): Dialer.getDialFunc has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (19 pts), match/switch 2 (3 pts), boolean chains 2 (nesting depth added 8). Of this number, 16 points are the body\u0027s own statements and 8 belong to one function literal 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":"fasthttpproxy/dialer.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"140091ad1f34c185b607a532fcf756152b104da47926229008945c29ada6ed67"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseHeader.AppendBytes (cognitive 24): ResponseHeader.AppendBytes has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 6, loops 2 (3 pts) (nesting depth added 4). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":3149}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd31a66c743491a4a8e9c7ead6a3fa1e4f0fab736eb15645ce56d37fecd3e7c"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttp.copyBuffer (cognitive 22): fasthttp.copyBuffer has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (20 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":"http.go"},"region":{"startLine":3166}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f0ab93163df2cbfd194af64b3928d032d5cebe3d51aa05cac5325066aa17f8"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestHeader.peekAll (cognitive 22): RequestHeader.peekAll has cognitive complexity 22 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 3, 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":"header.go"},"region":{"startLine":2564}}}],"partialFingerprints":{"codehealthFindingId/v1":"87df830d215e1c98a52659e38877f24b07467ff25900bba5d26a57c6c75f855a"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestHeader.tryRead (cognitive 22): RequestHeader.tryRead has cognitive complexity 22 (threshold 15). Drivers by points: if/else 13 (21 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":"header.go"},"region":{"startLine":2934}}}],"partialFingerprints":{"codehealthFindingId/v1":"d10599117f6152b90af34c9df414cf5964800915798c9626f3f8ffef9a31471a"}},{"ruleId":"D2","level":"warning","message":{"text":"URI.updateBytes (cognitive 22): URI.updateBytes has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 3, match/switch 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":"uri.go"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"81c79a997fddd0a5e743071e097ce271df80af9e3d7c078614d750948737b6d5"}},{"ruleId":"D2","level":"warning","message":{"text":"websocket.Dial (cognitive 22): websocket.Dial has cognitive complexity 22 (threshold 15). Drivers by points: if/else 14 (19 pts), loops 1 (2 pts), match/switch 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":"websocket/dial.go"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"531e9867daf89adea48e023c0f29f6d8a30198123a28cef881a4608dea700a5f"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttp.parseChunkSize (cognitive 21): fasthttp.parseChunkSize has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 1 (2 pts), boolean chains 1, loops 1 (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":"http.go"},"region":{"startLine":3402}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e41d3bdba17e70cb28c6a5b8d127d0192cadaf7dc940002ea0a3c89957d813"}},{"ruleId":"D2","level":"warning","message":{"text":"HostClient.releaseConn (cognitive 21): HostClient.releaseConn has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (17 pts), loops 1 (3 pts), boolean chains 1 (nesting depth added 11). 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":"client.go"},"region":{"startLine":2227}}}],"partialFingerprints":{"codehealthFindingId/v1":"bac8ffba3c2498a68e0f70494e6151cf46102eb97dfa02e42fb100812d650e70"}},{"ruleId":"D2","level":"warning","message":{"text":"fsHandler.openFSFile (cognitive 21): fsHandler.openFSFile has cognitive complexity 21 (threshold 15). Drivers by points: if/else 11 (18 pts), boolean chains 3 (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":"fs.go"},"region":{"startLine":2157}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa18e714f7fdf24487fbb1332d0438b2c9b33b315ff20c2cb5f3ce8b5bab2ff"}},{"ruleId":"D2","level":"warning","message":{"text":"Request.writeBodyStream (cognitive 21): Request.writeBodyStream has cognitive complexity 21 (threshold 15). Drivers by points: if/else 12 (19 pts), boolean chains 2 (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":"http.go"},"region":{"startLine":2626}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36e56e253645238b258d39d24f1b0ef219df6e184c9d484c66c291926e03aa4"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttp.scanValueLine (cognitive 20): fasthttp.scanValueLine has cognitive complexity 20 (threshold 15). Drivers by points: if/else 3 (9 pts), match/switch 2 (5 pts), loops 3 (4 pts), boolean chains 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":"headerscanner.go"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"97b3bb198904d5dd4c7e0709ffb73a689ced3972007b83978375e1a8446feb91"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseHeader.parseFirstLine (cognitive 20): ResponseHeader.parseFirstLine has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 2, loops 2 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":3495}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3cc910fe47143c8adf4cea6eb1385b89b1cef7bae263a1d2f097bf146e5f53"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestHeader.setRawBodyFraming (cognitive 20): RequestHeader.setRawBodyFraming has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (13 pts), boolean chains 4, match/switch 1 (2 pts), loops 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":"header.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85d273677f5719cda65f9c9536a24acde9df167da1b16bc72298f216f7bdfc1"}},{"ruleId":"D2","level":"warning","message":{"text":"Request.ContinueReadBodyStream (cognitive 20): Request.ContinueReadBodyStream has cognitive complexity 20 (threshold 15). Drivers by points: if/else 9 (18 pts), boolean chains 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":"http.go"},"region":{"startLine":1764}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60f93d191215e67e8c7e698a171012a6d3dce3d0dd9bd729d7a3d6af8519567"}},{"ruleId":"D2","level":"warning","message":{"text":"tcplisten.getSockaddr (cognitive 20): tcplisten.getSockaddr has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (19 pts), match/switch 1 (nesting depth added 11). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tcplisten/tcplisten.go"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b4d692e9f74d52d45f8fb897077e892f7b5b29c8e6f0291ae8912c9c5570bb"}},{"ruleId":"D2","level":"warning","message":{"text":"Conn.Read (cognitive 20): Conn.Read has cognitive complexity 20 (threshold 15). Drivers by points: if/else 10 (17 pts), loops 2 (3 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":"websocket/read.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b8ba926b112d933d10b20d31f7de2c45c7940e8db29e34de20aee13d618624"}},{"ruleId":"D2","level":"warning","message":{"text":"Conn.discardMessage (cognitive 20): Conn.discardMessage has cognitive complexity 20 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 2 (3 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"websocket/read.go"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5eed31b9134356dcd8244565246d17437b43ea807482464bb76841d20dfac05"}},{"ruleId":"D2","level":"warning","message":{"text":"pipelineConnClient.reader (cognitive 19): pipelineConnClient.reader has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (12 pts), match/switch 2 (5 pts), boolean chains 1, loops 1 (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":"client.go"},"region":{"startLine":3442}}}],"partialFingerprints":{"codehealthFindingId/v1":"95323d579d90b9e07ae499faa1b4816cb810c27f257da0b0981d3e41f38357ad"}},{"ruleId":"D2","level":"warning","message":{"text":"fsHandler.createDirIndex (cognitive 19): fsHandler.createDirIndex has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (11 pts), loops 3 (4 pts), jumps 2, match/switch 1 (2 pts) (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":"fs.go"},"region":{"startLine":1843}}}],"partialFingerprints":{"codehealthFindingId/v1":"35fc3f3a175b2ddd05ff1ff329711eb1ef6382f163f419f96fb632e8703fd0bb"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseHeader.tryRead (cognitive 19): ResponseHeader.tryRead has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 3 (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":"header.go"},"region":{"startLine":2772}}}],"partialFingerprints":{"codehealthFindingId/v1":"830ea3173b7c6a159099f6adb399d80fc064745b646b6a604800cfa615764676"}},{"ruleId":"D2","level":"warning","message":{"text":"headerScanner.readContinuedLineSlice (cognitive 19): headerScanner.readContinuedLineSlice has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 2, loops 1 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"headerscanner.go"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a2d4567d518bf24e5fed80ed24b8cb127eec07251c1daeef5a7c85654ceedf6"}},{"ruleId":"D2","level":"warning","message":{"text":"Response.ReadLimitBody (cognitive 19): Response.ReadLimitBody has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http.go"},"region":{"startLine":1857}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec1a35383de74c60acc2688ea5b594d11f0b6e721b6d74c2665bc846dbad4f1a"}},{"ruleId":"D2","level":"warning","message":{"text":"websocket.validExtensions (cognitive 19): websocket.validExtensions has cognitive complexity 19 (threshold 15). Drivers by points: if/else 3 (11 pts), loops 3 (6 pts), boolean chains 2 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"websocket/accept.go"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"426f55c6aee327ac4ffdcdd8235186ee79fe58a43beaca75b62a12dfbb2cfbf9"}},{"ruleId":"D2","level":"warning","message":{"text":"msgReader.Read (cognitive 19): msgReader.Read has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"websocket/read.go"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"d258ccc61ae1b347fc182a33b52adf7c2a2d1a297d881f1731094fdb7b0e70d5"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttp.parseRFC1123DateGMT (cognitive 18): fasthttp.parseRFC1123DateGMT has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11, boolean chains 7. 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":"bytesconv.go"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeab9d445c736a2ed6097ec1afaadaf55a56e1615b92395181594b4996d454d3"}},{"ruleId":"D2","level":"warning","message":{"text":"argsScanner.next (cognitive 18): argsScanner.next has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 pts), match/switch 1 (2 pts), loops 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":"args.go"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"719d8b177354ec79fbcc423800acd3ccc21901b26a483b1606b3a48fe6df8af8"}},{"ruleId":"D2","level":"warning","message":{"text":"HostClient.connsCleaner (cognitive 18): HostClient.connsCleaner has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (9 pts), loops 4 (8 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":"client.go"},"region":{"startLine":2100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c922db1132396ab4ee7a345e6f485575f1eb260adbaa0953d4049ad912bdf022"}},{"ruleId":"D2","level":"warning","message":{"text":"FS.normalizeRoot (cognitive 18): FS.normalizeRoot has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 4, loops 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":"fs.go"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"c56a21408f614bd5b1002f494b608b3b0cc0560c2a3d2fe4689f7c07838d216a"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseHeader.All (cognitive 18): ResponseHeader.All has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 6, loops 2 (nesting depth added 2). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 1560). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":1559}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fd5b7f5c226b5d5187f03d7b1fa29825b1b3d1b504dad82a7e3be95bb5da5c"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestHeader.All (cognitive 18): RequestHeader.All has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (11 pts), boolean chains 6, loops 1 (nesting depth added 2). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 1716). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":1715}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d33983d19b24ed3d0d3a3ced6fc61a48474a6e193b6498fe16047d9e456399"}},{"ruleId":"D2","level":"warning","message":{"text":"Conn.inflate (cognitive 18): Conn.inflate has cognitive complexity 18 (threshold 15). Drivers by points: if/else 5 (12 pts), boolean chains 3, match/switch 1 (2 pts), loops 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":"websocket/compress.go"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"c02556cc732fc7de537ac5e6bbb0d4ecb73cf20d8adfeb1ad87c7d967f9c8265"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttp.ParseByteRange (cognitive 17): fasthttp.ParseByteRange has cognitive complexity 17 (threshold 15). Drivers by points: if/else 13 (16 pts), boolean chains 1 (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fs.go"},"region":{"startLine":1751}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c6cf84fefd9f6d1912da9982a5c4847c6273b83a30e28e5b89a1a58f055e07c"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttpadaptor.frameOf (cognitive 17): fasthttpadaptor.frameOf has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), boolean chains 3, loops 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":"fasthttpadaptor/adaptor.go"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"6707b3ff619bb06f6d91dedc6632156ffc1290fb998373edbdfa17f58f025f60"}},{"ruleId":"D2","level":"warning","message":{"text":"ResponseHeader.peekAll (cognitive 17): ResponseHeader.peekAll has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), boolean chains 2, match/switch 1 (nesting depth added 7). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":2621}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4c5f4afbd7649285cb700c493bb1e2b2e60ac94eda919ee7b9bbd74695ffe0"}},{"ruleId":"D2","level":"warning","message":{"text":"Response.write (cognitive 17): Response.write has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 3 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http.go"},"region":{"startLine":2550}}}],"partialFingerprints":{"codehealthFindingId/v1":"418a7af0bb6cfd4b0c669706c742cb42435a5ffea71fee34e1057fe3eceb5a9a"}},{"ruleId":"D2","level":"warning","message":{"text":"fixedSizeBodyWriter.ReadFrom (cognitive 17): fixedSizeBodyWriter.ReadFrom has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (14 pts), boolean chains 2, loops 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http.go"},"region":{"startLine":3004}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e83cdc06818a6e65d6d4688057f43d5c1fe018e1db0dbb27ab4d4ae56191f0"}},{"ruleId":"D2","level":"warning","message":{"text":"utf8State.feed (cognitive 17): utf8State.feed has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (14 pts), loops 2, 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":"websocket/read.go"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39451187b75a5a49069104ccd9f2b58b855f61efe6e9d50a230fbb4df7f2f83"}},{"ruleId":"D2","level":"warning","message":{"text":"fasthttp.readBodyIdentity (cognitive 16): fasthttp.readBodyIdentity has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), match/switch 1 (3 pts), boolean chains 2, loops 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http.go"},"region":{"startLine":3298}}}],"partialFingerprints":{"codehealthFindingId/v1":"43e64d934bea2029c7b3b85347c0e598fa3657eb7af81d24f45ad9bb6d5f9ddb"}},{"ruleId":"D2","level":"warning","message":{"text":"header.setTrailerBytes (cognitive 16): header.setTrailerBytes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (10 pts), loops 3 (4 pts), boolean chains 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":"header.go"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"033b756826ca3e4ed9fb4ce86e59b092e18c9111348e5b6f064b35e16b61e7b7"}},{"ruleId":"D2","level":"warning","message":{"text":"RequestHeader.AppendBytes (cognitive 16): RequestHeader.AppendBytes has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8, boolean chains 7, loops 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":3298}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7643b44343bda4b65b5bf304ea17b4607473cbbc40b73c7913fe500c70cbd7"}},{"ruleId":"D2","level":"warning","message":{"text":"Config.fdSetup (cognitive 16): Config.fdSetup has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (16 pts) (nesting depth added 4). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tcplisten/tcplisten.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"2080301e27ba8f88a142153c10c227b390636c9d34f50eed000795d69294b961"}},{"ruleId":"D2","level":"warning","message":{"text":"websocket.Accept (cognitive 16): websocket.Accept has cognitive complexity 16 (threshold 15). Drivers by points: if/else 10, boolean chains 5, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"websocket/accept.go"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"aed45282864ae5503e67d8e2c8ba8554f7efe497e0ce689815c13e5d14fe203b"}},{"ruleId":"D2","level":"warning","message":{"text":"workerPool.workerFunc (cognitive 16): workerPool.workerFunc has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), boolean chains 3, loops 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":"workerpool.go"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"104cea476213024e2b528a23a10711030e787897b58807d3973bd959f4bf0501"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ./header.go: FileTooLong \u2014 2197 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1697 over it, 4.39\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":"header.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aec80074b56d4d6c730368bd3d75390114ac0029e30f08cec98cfa04a5f82603"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Server.serveConnCounted: MethodTooLong \u2014 serveConnCounted runs 351 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 251 over it, 3.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":"server.go"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"f31b8e4b0f435758f59f13d3cb61c98021fcafbecbfff5cce2e197b12280f970"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ./client.go: FileTooLong \u2014 1718 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1218 over it, 3.44\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":"client.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71b306da47d4f62376e057d23d8d1023408a02b7fb4aaa0a583a0c3bf0c3951"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RequestHeader: TooManyMethods \u2014 102 methods. The bar is 30 methods; this is 72 over it, 3.40\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":"header.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"04940f8ca9870a4fae3a110272a5a1c18b0a30745eee2dcdb064dcb234f12dad"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ./http.go: FileTooLong \u2014 1678 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1178 over it, 3.36\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":"http.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7b5965501a521ded2aeab5eccb5833c36dcde38da03c72a8a026dda7b7096e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ./server.go: FileTooLong \u2014 1559 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1059 over it, 3.12\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":"server.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d85f57bec37267373e020a2ef4d9c3de9d27f3f7ef92f401350eb870c93509dd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RequestCtx: TooManyMethods \u2014 91 methods, declared across 2 files: ./server.go (90), ./http.go (1). The bar is 30 methods; this is 61 over it, 3.03\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":"server.go"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"e764bdd12dd05e0dd9b4567d80e5a84dcde3d9c55f1a334eb1abebb2c4bba272"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ./fs.go: FileTooLong \u2014 1463 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 963 over it, 2.93\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":"fs.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dee871668213aa291acde0ad98b13992159e3b48a175742d57f3ef3ac98b3fe"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ResponseHeader: TooManyMethods \u2014 79 methods. The bar is 30 methods; this is 49 over it, 2.63\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":"header.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"65923033a9ad1acb15a8167b103b9fa9bdac1ebbcb828e414dfd2a5c24d582ba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Request: TooManyMethods \u2014 74 methods. The bar is 30 methods; this is 44 over it, 2.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c0808d2628f5b2bacbcc5704f35f0e73c49c4837d78251feb67c4c1f97547c"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RequestHeader: ClassTooLong \u2014 859 significant lines (blank, comment-only and punctuation-only lines excluded), 102 methods, 103 blocks, lines 103-4001. The bar is 400 significant lines; this is 459 over it, 2.15\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":"header.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"39ea28c4053bb4dbea61e25efdf07dd2b56dc07c557c7c5d111cea061bfb784d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Response: TooManyMethods \u2014 59 methods. The bar is 30 methods; this is 29 over it, 1.97\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":"http.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"641ed4938229c59f10082cd1b45a41075d34cc8924d3754dc8c64e14105966c3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Server: TooManyFields \u2014 58 stored fields beside 40 methods. The bar is 30 stored fields; this is 28 over it, 1.93\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":"server.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bdf72ddb8177322c0ec17dded49adc64b4f6ea40d6fb3cbe525a9c0bf9eb9eb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ResponseHeader: ClassTooLong \u2014 650 significant lines (blank, comment-only and punctuation-only lines excluded), 79 methods, 80 blocks, lines 76-3809. The bar is 400 significant lines; this is 250 over it, 1.63\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":"header.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1caffe3912490cd3b38edbf8b99a6f6031848b1936650e41565c1d97acb4f44"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Server: ClassTooLong \u2014 629 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods, 35 blocks, lines 1861-3576. The bar is 400 significant lines; this is 229 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd8ab2b91c5a4ccdea3e847cfc721f7121e138d8aa324c1edb08d4165e5e21c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Conn: TooManyMethods \u2014 46 methods, declared across 4 files: websocket/read.go (16), websocket/conn.go (15), websocket/write.go (10), websocket/compress.go (5). 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":"websocket/conn.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01d32f8489661e7433597403ebb5e53c2a2d0cee9fe8ef1d4c34cc361969c59"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: HostClient: TooManyFields \u2014 45 stored fields beside 34 methods. The bar is 30 stored fields; this is 15 over it, 1.50\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":"client.go"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"808690547beb07b48e3b2f3ea56292102f15f82179be5544f84040ee0868ad9e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: fsHandler.handleRequest: MethodTooLong \u2014 handleRequest runs 145 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 45 over it, 1.45\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":"fs.go"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c46fb00067b14cc353a084d2299987aa1d9e90a9c1bf91b02c1cf7abc3db3d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Request: ClassTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded), 74 methods, 75 blocks, lines 39-3494. The bar is 400 significant lines; this is 160 over it, 1.40\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":"http.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddd27d0c68bcba5880aad0ca1df993d4bdc2812c8fb3f40217c0e0512c358a6c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: URI: TooManyMethods \u2014 42 methods. The bar is 30 methods; this is 12 over it, 1.40\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":"uri.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b9bd297620d503a9e35b05563fffe712caf063745dc94dd048fe67ad8fd4ffd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Args: 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":"args.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"673c6373727ac4fdc9e5f6499f9e939daa0440be05283f2bb5b39d9a1b7f660b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Server: 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":"server.go"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ea0368633224ae9d0c125b377efc220e200423fe59bcdba94fbd7ab1ac3aca5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: fsHandler: ClassTooLong \u2014 509 significant lines (blank, comment-only and punctuation-only lines excluded), 12 methods, 13 blocks, lines 685-2285. The bar is 400 significant lines; this is 109 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fs.go"},"region":{"startLine":685}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a17e6a1942ffba1c379c33a9b4c675b31b508cbf86bf0a59e1f98489437ee3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: header: TooManyMethods \u2014 35 methods. The bar is 30 methods; this is 5 over it, 1.17\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":"header.go"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace01b9d3e01b24643d6af286a7bb5ee86e9c7fbc824ca7a1f4d83483d4d39ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RequestHeader.parseHeaders: MethodTooLong \u2014 parseHeaders runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) 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":"header.go"},"region":{"startLine":3811}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50e7a31bf179b26b2b3d2869fd5830c1cb8a067dd735393b6e27f1441864c27"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HostClient: 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":"client.go"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a6ace9f2173dc45b371ff23725449ae902cbab65577d76bfcbfa26f9dfba4e8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ./uri.go: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 47 over it, 1.09\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":"uri.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4623e04cca6dfbfcae69052c023e97a2059568340ba8b6f7ff511c61e729dec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Conn: TooManyFields \u2014 32 stored fields beside 46 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":"websocket/conn.go"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bfe6fdd2d13e18005470ed8b68a191f7baadf6029a35682e52a62d33d3ba89b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Cookie: 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":"cookie.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3190513a0a3f394b7b7d6da824ee4a4db28397741602bcba686d6800ef19820"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Response: ClassTooLong \u2014 419 significant lines (blank, comment-only and punctuation-only lines excluded), 59 methods, 60 blocks, lines 127-2773. The bar is 400 significant lines; this is 19 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":"http.go"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c47a47c64c8d7f045f9e03a5a219e41a5e57c054c57584e60ea40f8004f05ece"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFields: Client: TooManyFields \u2014 31 stored fields beside 13 methods. The bar is 30 stored fields; this is 1 over it, 1.03\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":"client.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02bc248887a73baf91c361f8be12f3ad8d2953b4b71b157e0154aa79bbd655d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): fs.go:2005-2064 | fs.go:2067-2135 \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":"fs.go"},"region":{"startLine":2005}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d45949da00ed506a5b3e4276ad54007964ad6104f138389daa8ad9c253976d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): header.go:2564-2608 | header.go:2621-2661 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":2564}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ca9582047632b156b0103ef6d35c3e2fd228c04631da271e4a2463f223f278"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (64 corresponding lines): header.go:1899-1967 | header.go:1999-2062 \u2014 These two members are one piece of code written twice and then edited apart: 64 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":1899}}}],"partialFingerprints":{"codehealthFindingId/v1":"5914af89a2ab831de6537652d6acf8ede2cedc44d7c59d2f2b3b1b21a0e48602"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): header.go:2772-2818 | header.go:2837-2877 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":2772}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e489a5e7238d22fcd3dcef3e212e382e5009bce9544d31f355d7993facfe826"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): cookie.go:601-637 | cookie.go:639-675 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"cookie.go"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee1b5f086c601159fdfc1c7f2c6bfda9c38ee749568b23a3b38c3511604a90e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (31 corresponding lines): args.go:632-665 | args.go:672-702 \u2014 These two members are one piece of code written twice and then edited apart: 31 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"args.go"},"region":{"startLine":632}}}],"partialFingerprints":{"codehealthFindingId/v1":"f85815929d471dd12d5bc381a9b5074b0458d3ce743ea5a776694a456802ec9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 35\u002B corresponding lines): http.go:2173-2214 | http.go:2216-2257 | http.go:2259-2300 | http.go:2302-2336 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 35 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http.go"},"region":{"startLine":2173}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96e2b750b1fa634188aa65c5a6a932964200891cf6d411a8ed78ee1fc6f760c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): header.go:1828-1852 | header.go:1867-1894 \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":"header.go"},"region":{"startLine":1828}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f91930cff0e8b410cb2bed07c8f34f1c859d212bc41b46bbbdf2b15b5e1a521"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): header.go:1447-1469 | header.go:1479-1503 \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":"header.go"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53c86eef3568b5c5d2f149b3b3209b63da52c6cdf7ecc966ff6af8c53653e75"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): uri.go:704-719 | uri.go:729-748 \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":"uri.go"},"region":{"startLine":704}}}],"partialFingerprints":{"codehealthFindingId/v1":"15db87e4d819820c2bb682211a34468b39c58965a542ef4e797cdc772ce6c0be"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): header.go:2496-2521 | header.go:2523-2551 \u2014 These two members are one piece of code written twice and then edited apart: 26 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":2496}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c75042a6b39e712ced54858775e02d52b1142809d4aca859631170ac4aad9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): server.go:1987-2006 | server.go:2014-2033 \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":"server.go"},"region":{"startLine":1987}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b8cf793354488047d53f50ce33562db030a53da8ef42914217264cb139b667"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): http.go:793-810 | http.go:831-848 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http.go"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"e789e21d76c4b9f8d52cf00db4aab29074d63d1bdd077c08b05008a3b25d79f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): http.go:2397-2417 | http.go:2492-2506 \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":"http.go"},"region":{"startLine":2397}}}],"partialFingerprints":{"codehealthFindingId/v1":"14dbc4acca8f4c254935112edd6447aa923b1520c6f4d465b4344138c22b6272"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 20\u002B corresponding lines): brotli.go:116-135 | compress.go:159-178 | compress.go:266-285 | zstd.go:150-169 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 20 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brotli.go"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cded76ae504afb6365a7936b19a56f4814a5c8426571bbf2964eb32539408d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): bounded_stream.go:36-53 | stream.go:29-52 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"bounded_stream.go"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"f949d4eca2ebd4aadcf52c0660fdcf04de2df2133eef20d041b094c85c461bac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): server.go:587-599 | server.go:619-633 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server.go"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f78733295c77d605a4c48df573ad6c7188735e46826215fdb2810d6a090ae3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (19 corresponding lines): http.go:978-996 | http.go:1003-1021 \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":"http.go"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"69817da217b6ba7f3b012fb1529ab97b6a3c852e42eeb6a77d6c89904bb5ad1d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): args.go:167-183 | cookie.go:554-567 \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":"args.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d38f36f1b7660d6105fe9054525d30a3bff2587acb62b1cecc221de7d916b31"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): compress.go:218-231 | compress.go:331-344 \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":"compress.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"124afa64bcdedf8a3a6622066b30a1de33e5794f5e76fce1016bd367d69186a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): header.go:288-303 | header.go:339-348 \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":"header.go"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"23bd9eaeeaf55f6f68d07faa67980f6f2a67c04ff79fd18d01837bd2896b032b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): header.go:125-137 | header.go:143-159 \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":"header.go"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"faf483918ae4d6cd16e8deb46f5531cb68779b1627dd4082a9d203ccd5ba839f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 13\u002B corresponding lines): brotli.go:44-56 | compress.go:77-89 | compress.go:389-401 | zstd.go:100-112 \u2014 These 4 members are one piece of code written 4 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 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brotli.go"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"277e9d43e731e6073ec31feb1e9e4f182f8d4e2244f84431d404c8752e69281a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): server.go:950-965 | server.go:968-983 \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":"server.go"},"region":{"startLine":950}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bd76f4eac8d68f318e88ee2ceb0e1742fa79ed7e5a6d7828225d7eff18e335"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): http.go:1503-1517 | http.go:1542-1555 \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":"http.go"},"region":{"startLine":1503}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a2e503dfb336dbdd0614a1aaec81f9d43933ed0e9245dc0752bfba373b9bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): header.go:2120-2127 | header.go:2352-2359 \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":"header.go"},"region":{"startLine":2120}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f03a862430cfd8f6676b2adee27d5405df01cae0e709faf228f087b05f7931c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): fs.go:1069-1086 | fs.go:1145-1163 \u2014 These two members are one piece of code written twice and then edited apart: 18 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fs.go"},"region":{"startLine":1069}}}],"partialFingerprints":{"codehealthFindingId/v1":"03f0f7d658f4714a7d359c7380f92bbc80b9426cc6ffa0d6656069ac06f1e08a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): server.go:2052-2062 | server.go:2078-2089 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server.go"},"region":{"startLine":2052}}}],"partialFingerprints":{"codehealthFindingId/v1":"060dbffdcfb12785db18abaf8463a4a88d363f8683d2c85574ac76a06a566b64"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): compress.go:26-36 | zstd.go:41-51 \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":"compress.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"78525fae0335d836747b506966e1c4d4d22ce380eeb65f4f6024bb53a94335a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): header.go:490-498 | header.go:1150-1157 \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":"header.go"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b1dc361510f86d66f0daa28aef105a610176e4958f5d8851161e368510625b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): cookie.go:571-580 | header.go:4243-4251 \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":"cookie.go"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bd876037c9d83efc0d0dae8ec965eee6f4ecbe18c374e63a1e6411a08711d16"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): fasthttpproxy/http.go:58-65 | fasthttpproxy/socks5.go:30-34 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fasthttpproxy/http.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"60e740d4cd9af4188e02dae76db45175b2d36d2c92a80418778cdee89ad700f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): bounded_stream.go:306-312 | http.go:2897-2906 \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":"bounded_stream.go"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf10c9efe202a962057e2d8f93949cbcf63d4f6bb53a8bfd8f00486164679e82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): fs.go:2025-2047 | fs.go:2073-2095 \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":"fs.go"},"region":{"startLine":2025}}}],"partialFingerprints":{"codehealthFindingId/v1":"4164fa87c7ccaeeedcc8b45eafcfba9baac1f20d1ba50b42e4cf99fd2302bb40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): http.go:1691-1711 | http.go:1773-1794 \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 \u0060http.go:1691\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":"http.go"},"region":{"startLine":1691}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba3d63e35a67a6df8b6ad9acda32b5fc83b179ac9d41d80853d858002013ee25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): client.go:2912-2932 | client.go:3052-3072 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client.go"},"region":{"startLine":2912}}}],"partialFingerprints":{"codehealthFindingId/v1":"19c15a3f4825855310f90f9976fe964dc5eda25f07f6928bf4045f3c56c84305"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): header.go:3721-3738 | header.go:3912-3929 \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 \u0060header.go:3721\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":"header.go"},"region":{"startLine":3721}}}],"partialFingerprints":{"codehealthFindingId/v1":"380165500555d1f817801c8aab2717d109c46d02f2d933e9d4b329ee4277b647"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): http.go:795-810 | http.go:833-848 \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":"http.go"},"region":{"startLine":795}}}],"partialFingerprints":{"codehealthFindingId/v1":"233e3c258fdd31efaa68d47734eea0c4a1faf88380b0658f77c4bd45de3ee981"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): header.go:1903-1917 | header.go:2003-2017 \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 \u0060header.go:1903\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":"header.go"},"region":{"startLine":1903}}}],"partialFingerprints":{"codehealthFindingId/v1":"48b7ee609d86acb0cac4ab99501dc547b47cc2f3385022cfd3c856401cc96818"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): header.go:2774-2788 | header.go:2838-2852 \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 \u0060header.go:2774\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":2774}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b234bb71bbd48ba1a9cf94fec89ab1939ba117efd87be1df49014d10373930"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): header.go:1920-1933 | header.go:2017-2030 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060header.go:1918\u0060 calls \u0060caseInsensitiveCompare\u0060, \u0060SetContentEncodingBytes\u0060 and \u0060header.go:2016\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":"header.go"},"region":{"startLine":1920}}}],"partialFingerprints":{"codehealthFindingId/v1":"890e5cd5168d36f1b85ca2af41f6964a1abb54ca599d5409085ce966c4ba8c6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): server.go:1993-2006 | server.go:2020-2033 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server.go:1993\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server.go"},"region":{"startLine":1993}}}],"partialFingerprints":{"codehealthFindingId/v1":"de18cff295f0eac9d51d053767c5ca0b4db73c7c420befc8947401890d1ab238"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): websocket/read.go:30-43 | websocket/read.go:111-124 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"websocket/read.go"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"04edcf28a09499bb85e16c5d6c6257c673e62c857c8fc3d00481f65436556294"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): args.go:645-657 | args.go:684-696 \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":"args.go"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca660a218cd8ae8282b44272399187cd7dbd8f685a786968c7b8a019bab7659"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): client.go:1936-1948 | client.go:2020-2032 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060client.go:1936\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client.go"},"region":{"startLine":1936}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ce06f93be8c8f241815c5cfa6d2d6af9490824afa73d865348b615a6c32f21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): cookie.go:622-633 | cookie.go:660-671 \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 \u0060cookie.go:622\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":"cookie.go"},"region":{"startLine":622}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2163d3d46dd23b250c5f61e26201eb151336de0f6c8383bcab41cbfad8ec5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): header.go:2579-2590 | header.go:2636-2647 \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":"header.go"},"region":{"startLine":2579}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83bcf8aab5b6702032ee00ad09a62295e4edcfa8a09c248b7722d1c716790e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): headerscanner.go:367-378 | headerscanner.go:381-392 \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 \u0060headerscanner.go:367\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":"headerscanner.go"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea20f9756c04e0036d92244c69b5f052c75b6d62ebe0b301b2db80a8c7f9c93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): tcplisten/tcplisten.go:154-165 | tcplisten/tcplisten.go:172-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060tcplisten/tcplisten.go:170\u0060 calls \u0060IPv4\u0060 and \u0060tcplisten/tcplisten.go:153\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":"tcplisten/tcplisten.go"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8a75ebadde24dba9c5091b63dc238c5c2291a734dfbd22c0ce7316b9aec096"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): fasthttpadaptor/adaptor.go:114-124 | fasthttpadaptor/adaptor.go:166-175 \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 \u0060fasthttpadaptor/adaptor.go:114\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fasthttpadaptor/adaptor.go"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf54cb7b9294cb6962a63de22d412df60b1cb5c6d281a9c4ee84e7ac5bf8c1db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): header.go:1586-1596 | header.go:1745-1754 \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 \u0060header.go:1586\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":"header.go"},"region":{"startLine":1586}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a486da96c531ecfa0e173d3b1a05daa65c7ab0d68afd63a123921c5577cfab7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): client.go:1827-1836 | client.go:2923-2932 | client.go:3063-3072 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client.go"},"region":{"startLine":1827}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed11b6451a7e17267f91211a446505d28cd75697f4ff747f7b84aae0b202377"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): header.go:528-537 | header.go:543-552 \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":"header.go"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cbde914e367bbd3d5e9de15cd28811743073905bc29064c1b6efc4528fb9eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): header.go:2599-2608 | header.go:2652-2661 \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 \u0060header.go:2599\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":2599}}}],"partialFingerprints":{"codehealthFindingId/v1":"232be0de1e23124a79a891408650e81db35ee7835843e10e11f4892adfaa4324"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): server.go:1371-1380 | server.go:1390-1399 \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":"server.go"},"region":{"startLine":1371}}}],"partialFingerprints":{"codehealthFindingId/v1":"9324822423f3b6b35f0e6d0e491db87710ebd666ae13c75149501eacab090841"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): server.go:591-599 | server.go:625-633 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060server.go:591\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060server.go:623\u0060 calls \u0060HasAcceptEncodingBytes\u0060, \u0060brotliBody\u0060 and \u0060server.go:590\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server.go"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"893fda69e26adca1fe5d3ae01221b3e09837ae03be9f0f3319694249c535e383"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): uri.go:705-714 | uri.go:730-739 \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 \u0060uri.go:705\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":"uri.go"},"region":{"startLine":705}}}],"partialFingerprints":{"codehealthFindingId/v1":"148ed7d4784486a50ddc83e910b0ecd402b1416ec5de5e849f7677054d7df12b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): header.go:642-648 | header.go:827-834 \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 \u0060header.go:642\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":"header.go"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc5c92c4e65725fdaa22d04b3b102c99f9b46608f41456e5b592489772050e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): uri.go:786-792 | uri.go:818-824 \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":"uri.go"},"region":{"startLine":786}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c57917de6528cb75d3a7d8c1f1759f15fa381119dd75cd5a86c5c4e52836bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): header.go:2122-2127 | header.go:2354-2359 \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 \u0060header.go:2122\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":"header.go"},"region":{"startLine":2122}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b053b0c266328e35b583d07bd8b02eccdcaeba9fecdf1deacb12de8faf21c9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): args.go:75-83 | header.go:1648-1656 \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":"args.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"93971f66688a57185d6b1ce49e4d91ffa8105c09f36d07fd07e41cee87a8a7cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): bounded_stream.go:286-292 | http.go:2358-2364 \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":"bounded_stream.go"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d2481f2d5232df2375036975c3f3312d27672c1aa34276613e6b07b9f8de4db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): brotli.go:149-156 | compress.go:192-199 | compress.go:299-306 | zstd.go:183-188 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"brotli.go"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"9135543387eb87d866820b15e28bd168e32b44d24aa9220aa9e1845f00dc825c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): fasthttputil/inmemory_listener.go:113-122 | fasthttputil/pipeconns.go:236-245 | fasthttputil/pipeconns.go:247-256 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. The matched lines also register a scope-exit action (a \u0060defer\u0060-style statement) that runs when the function holding them returns: moved into a called unit it would run when THAT unit returns instead \u2014 before the caller uses what it releases \u2014 so keep the registration at the call site and extract only the work around it, or have the extracted unit hand the resource back for the caller to register."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fasthttputil/inmemory_listener.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"c29d4ef5e96d8b680bf897ef7225c8dcb82110baeeda6886dfb551b82b2322e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): header.go:2799-2807 | header.go:2972-2980 \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 \u0060header.go:2799\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":2799}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4c08d4bf136f24317202134049cdafa8dc357eba76d2743b49774a237ef5f4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RequestHeader (LCOM4 10): RequestHeader\u0027s methods fall into 10 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 10 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":"header.go"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c22e187e5cd89176908b39b3c8ad48f4ec4f74bcf123adf1263fedd87b7a9ad"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: ResponseHeader (LCOM4 5): ResponseHeader\u0027s methods fall into 5 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 5 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":"header.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"13c4dff0ca85e9914517ad0d27a4e865821d97e0ede9a901eee8a18838074b0f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: server.go: server.go changed 25 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 161 in Server.serveConnCounted at line 2488. 13 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:36:26 \u002B09:00\u0027 --until=\u00272026-11-13 14:36:26 \u002B09:00\u0027 --full-history --no-merges -- server.go\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server.go"},"region":{"startLine":2488}}}],"partialFingerprints":{"codehealthFindingId/v1":"46aa5b885287c844bd1f996fa86f8f9030920edfa81ee82598b45fe28f6795b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: header.go: header.go changed 31 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in RequestHeader.parseHeaders at line 3811. 10 of those changes were fix/bug commits, and the other 21 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:36:26 \u002B09:00\u0027 --until=\u00272026-11-13 14:36:26 \u002B09:00\u0027 --full-history --no-merges -- header.go\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":"header.go"},"region":{"startLine":3811}}}],"partialFingerprints":{"codehealthFindingId/v1":"4892f16aeae6b79d26e73dd06145517f7c1d90ec8adce71dd87c0f1f4f9c47d2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: http.go: http.go changed 29 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in Request.Write at line 2023. 11 of those changes were fix/bug commits, and the other 18 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:36:26 \u002B09:00\u0027 --until=\u00272026-11-13 14:36:26 \u002B09:00\u0027 --full-history --no-merges -- http.go\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":"http.go"},"region":{"startLine":2023}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c95d1335089ac99781926d102871469b49e29106cbccc4a99961eef823d231e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: fs.go: fs.go changed 14 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 52 in fsHandler.handleRequest at line 1406. 9 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:36:26 \u002B09:00\u0027 --until=\u00272026-11-13 14:36:26 \u002B09:00\u0027 --full-history --no-merges -- fs.go\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":"fs.go"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"b68d33ba32b81596ef06cf29fdc4a91d86cf1f483c41e2ff57864463e5eb9de4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: client.go: client.go changed 16 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in transport.RoundTrip at line 3598. 6 of those changes were fix/bug commits, and the other 10 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:36:26 \u002B09:00\u0027 --until=\u00272026-11-13 14:36:26 \u002B09:00\u0027 --full-history --no-merges -- client.go\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":"client.go"},"region":{"startLine":3598}}}],"partialFingerprints":{"codehealthFindingId/v1":"7395a22d5855647c13091262fadc62789f0a10eca810f000c382ae0130aea775"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: cookie.go: cookie.go changed 11 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 42 in Cookie.ParseBytes at line 395. 11 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:36:26 \u002B09:00\u0027 --until=\u00272026-11-13 14:36:26 \u002B09:00\u0027 --full-history --no-merges -- cookie.go\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":"cookie.go"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d54ec516130072d26457a1555c3030e265a082d80ce0985bc29a0b215c890e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: uri.go: uri.go changed 15 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in URI.parse at line 299. 7 of those changes were fix/bug commits, and the other 8 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:36:26 \u002B09:00\u0027 --until=\u00272026-11-13 14:36:26 \u002B09:00\u0027 --full-history --no-merges -- uri.go\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":"uri.go"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6c921ca8a49c8b35f9e71629c5964e69108f009fc1776e728e61beffbbbde37"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: streaming.go: streaming.go changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in requestStream.read at line 51. 2 of those changes were fix/bug commits, and the other 5 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:36:26 \u002B09:00\u0027 --until=\u00272026-11-13 14:36:26 \u002B09:00\u0027 --full-history --no-merges -- streaming.go\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":"streaming.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"955c1999dad5a89e06029412128f6837fee73c9d0e902eba0ceb98d0bcbccfa2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: fasthttpadaptor/adaptor.go: fasthttpadaptor/adaptor.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 37 in fasthttpadaptor.NewFastHTTPHandler at line 63. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:36:26 \u002B09:00\u0027 --until=\u00272026-11-13 14:36:26 \u002B09:00\u0027 --full-history --no-merges -- fasthttpadaptor/adaptor.go\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":"fasthttpadaptor/adaptor.go"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"607d1be193e4c117e06805d76aa028c5299f09afca7d10a4a54a5750995e0672"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: fasthttpadaptor/request.go: fasthttpadaptor/request.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in fasthttpadaptor.ConvertRequest at line 27. 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-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 14:36:26 \u002B09:00\u0027 --until=\u00272026-11-13 14:36:26 \u002B09:00\u0027 --full-history --no-merges -- fasthttpadaptor/request.go\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":"fasthttpadaptor/request.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb44f4ed88379ea66d6a912e64d9e2e6d97a59b98e44d0352f3f6c749d76f862"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 1 significant file(s) lose their only recent owner: bytesconv_table_gen.go. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"03087fa069ada21c8b7f52416bf3bdf7c24bac59a160d6c2edce5bd2419f2627"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: swap resp.body with w. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http.go"},"region":{"startLine":2205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a403066411dc84e45729da7d4aee8c90ad2c1dbaa4421ea85b760329088708e9"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: swap resp.body with w. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http.go"},"region":{"startLine":2248}}}],"partialFingerprints":{"codehealthFindingId/v1":"07710110cdf4f665310f1746f24ad786eca3a3b216ccc44961c3c0d2cdbe90fb"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: // Hack: swap resp.body with w. \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http.go"},"region":{"startLine":2291}}}],"partialFingerprints":{"codehealthFindingId/v1":"77130f4bff3129732eb1618ba4a4c1ce99c5503166ec55a8e3b75943311713d8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement SO_ACCEPTFILTER:dataready 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":"tcplisten/tcplisten_other.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f15cf869d9de1406d2020ae8689609aac087b4627f8fcf24ee8339f43f76e87"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: implement TCP_FASTOPEN when it will be ready \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tcplisten/tcplisten_other.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cab71ae0eaeb6a188e68d03d12ddc6027be28a4e2687d277e265ab884c06be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: properly implement 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":"tcplisten/tcplisten_other.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"43183c245525ac2a69a6d7540826259d3cabd8e3058573cf4df0c1d03b633fc6"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9a63dd4d0df773f2f26888773f5b95cebe9f653ece7b88f6dbfb71071bb51759"},"properties":{"commitSha":"8b2cc86299300c893830f8c771a1521ae52e5448"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d1996c63735f25f2d24e7afe2cacca75270f3ca4454a05b8797ce4bb089e8287"},"properties":{"commitSha":"61b0c5e95fefc23299e90330667625326fc6a3a7"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"6b7ccaba8bb579f12c965817d1cfc7f10e98a4d2a636f7527d86aa6cfdcf95b6"},"properties":{"commitSha":"2cb5ae6a34dade682a0edd139b9bdb55ea2a5ee2"}},{"ruleId":"D28","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3cdfd7beb31b791ae18dcb425e21eb157c842e7bbcd522cc330573c1a6538db1"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2359f98cfcadac15c58bfed499bf7d3aa8e7cb50d272a0b28252d929992c323b"},"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":"0e596e2c40adb2533fa161175c0dededbb15c78b61ee4cc806c3f3418b2c395a"},"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":"f95715db8c7901f02235b5c84ba98e4ad9048ac3505669670942194a57f180e2"},"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":"12104b6bbe331eb564da74c0323616747ebd241a161ddd6b13fa7d99473470c7"},"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":"ff669fd43c3da71d53bc1e8d1283a691baa16f3ad6261508b60caa7496e48348"},"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":"7911efc161e40ebc071905658b8df2a06ec38d2eaa9e6f042a228dddbe434e01"},"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":"b923d2a6d4bf9f3d17a069114b8d29dce8e6bc49ce4ae2931de0efd9a515de40"},"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":"b7fe49295fbe4ba5f66ee9fa7356a56ae1729371fad8e7557fc8bdce3853710f"},"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":"aaac50fc45baaa5ec38afaa6e9bb52f6b259511d7733bcc8919c9631140ed71b"},"taxa":[{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"ccb6d22279382cf7bd1d426eacf6ca12e24bd6dc4da477e94f084e4bc2c50bc0"},"taxa":[{"id":"CWE-200","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"ed17e53c813d1623c493b40de349101f55984c92d8b77345fbed8355a3b8f37e"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"6cfd9f544d252aa017f8a4ec14c98dd4bd228bbe48c50c526b33dda75f739ec1"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"943389e648eb6a69f31883b8d970cad631a34785f6eced794d98e579be9a5675"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"8a2775a97ede287c662f670110a2c986fec1a918fc70e00aff2cd889cbc0ab19"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"5a0aa2dc3a073043036c0ce058f2328603c73d48e000656ff2bc1e1f300a7702"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"e383215f1f5ba430e2fdfdfd0b3f229f8a9eae5e94b2cd488aeb60213376d075"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"9bb6cab4c78d05a4703b8c2db2a946974b215830c7c608729bfad8647b4d236c"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"254d5238d3ec4b29dad993a7687448f20100e22931dfd38115934af8516ca7f4"},"taxa":[{"id":"CWE-242","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","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":"7da0b5f3eeef9a2149ddea9a47fa521919a167f934ed3534c2b9d2e88af7a21f"},"taxa":[{"id":"CWE-327","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1c9c7154a9d80981a2f1da0fd0aa2e12a4e104a4411624a7aabc5ce2dd45d848"},"properties":{"dependency":{"package":"golang.org/x/crypto","version":"0.58.0","advisory":"GO-2026-5932","reachability":{"kind":"not-imported"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 39 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 39 of the 84 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: stackless/writer.go. 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":"stackless/writer.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"306808e0401a490e7fffd16e3305c559c0370cce5f747baad0f6674776b8d06c"}},{"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":"7dddc223f46fbcc4411df5724014908fac72ece495d6364aa46e3ab340bbb75c"},"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":"6b1273c81a1ca9b5eb097489b2567416912a145951451afeec807249ffa5e5b8"},"taxa":[{"id":"CICD-SEC-4","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":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060statusCode == StatusMovedPermanently || statusCode == StatusFound || statusCode == StatusSeeOther || statusCode == StatusTemporaryRedirect |\u2026\u0060 appears character-identically in 2 files \u2014 client.go, server.go. It is one line, so the duplication detector\u0027s token window never sees it; the copies drift when only one is corrected. Give the condition a name and one home."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client.go"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"97476c060a8b82d355fb8200094225c73dfe244857f249866e0fdb4ad4919e5b"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context: Only 1/2 functions that make a cancellable request (net/http, net.Dial) accept a context.Context or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a cancelled request, a shutdown, an expired deadline. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it (\u0060http.NewRequestWithContext\u0060, \u0060DialContext\u0060); where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"faab330444baf00d50193f250b5c9b514f84cdca16c24014ef3776329847910c"}},{"ruleId":"X2","level":"warning","message":{"text":"Function without context.Context: tryDial: \u0060tryDial\u0060 calls \u0060dialer.DialContext(\u2026)\u0060 but takes no context.Context and reaches none its caller controls, so its caller cannot cancel the request once it has started. Take \u0060ctx context.Context\u0060 as the first parameter and build the request with it: \u0060http.NewRequestWithContext(ctx, \u2026)\u0060, \u0060(\u0026net.Dialer{}).DialContext(ctx, \u2026)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tcpdialer.go"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"97304343469afa33c23fc538617e48ec744a416e5c5537ae664a74bf573a7dbd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"args.go"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"90dba3f4d0558711104a300c52e332d92ebb13efaf34b5617eeb2f70250a7d13"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"args.go"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c368be6f96afada7031c01d23f2bd35a71f7c79ba1081961ad9837291b6e095"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err = c.Do(req, resp); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client.go"},"region":{"startLine":1337}}}],"partialFingerprints":{"codehealthFindingId/v1":"895481500ccab2feec55494d8f3bf3f385ef1c24ae78c3e6ec6905322e920471"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"client.go"},"region":{"startLine":2397}}}],"partialFingerprints":{"codehealthFindingId/v1":"12760272fc8e106aa249fd8afd942e55a796c685a2381039a6980e16c9c08f8c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"compress.go"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"53a0118c2cfae82e86e23f3e7e41a0dbaedb91d38583accb95c0a3159c72a59b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"fs.go"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd7be7dec2f0643ee236986a35b1cbfd85933a2049d03de63488cc4d470b635"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err = writeChunkNoFlush(w, nil); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"http.go"},"region":{"startLine":2947}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d226645e2d7b5252fc0a971d55b5bb5e91cc7ebe98e7733da2ae816d54f6b69"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server.go"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1008027b8058610f54da9817228204e238fb268668ff14fe7f76e6672220f98"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err = c.SetReadDeadline(time.Now().Add(d)); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server.go"},"region":{"startLine":2580}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb4e5278c040333aec9f662e1e8a39986d978a86a9911ba7221a34be5b5efde"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server.go"},"region":{"startLine":2657}}}],"partialFingerprints":{"codehealthFindingId/v1":"411c00d084f9e1540878aa42bd64948e08bfbc546fbe59c904edffbec1758abe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server.go"},"region":{"startLine":2775}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc0089603bfcd132c1981d49d2b20f1485dfb2b4bcdfea5a1e048e830f40cef8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server.go"},"region":{"startLine":2779}}}],"partialFingerprints":{"codehealthFindingId/v1":"db28465792e753b96558e3973108eefc8876239a6422e27cae4825b69a94d208"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err = writeResponse(ctx, bw); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server.go"},"region":{"startLine":2953}}}],"partialFingerprints":{"codehealthFindingId/v1":"7707efb47d8e1cf93e15c76ce987dbc0507b222ae4d4bed17179ea69a0969656"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server.go"},"region":{"startLine":2971}}}],"partialFingerprints":{"codehealthFindingId/v1":"857ee0dbc6108b17e66761eab6a4db4210998014f4dc7dacfc5e62e8f3367a7e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server.go"},"region":{"startLine":3004}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ca13f776700b16dc2b7ed3d4525c30e340fbe69044f2678c8a5444213054d0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"server.go"},"region":{"startLine":3011}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bb8224a49ab75e85118d151760e6108f817935bb7a040280ba6afa15a4f61de"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := header.Decode(p); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"zstd.go"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f30e2072d444a03c52d53d0d9498e91d367c158224af189c0dd53989691a491"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := unix.Uname(\u0026uname); err != nil\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"tcplisten/tcplisten_linux.go"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f014ded96a15eeb59fa63309c6a0fe237fe81c952191bef95e310abdc85547f6"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060ContentLength\u0060 turns a non-nil \u0060err\u0060 into \u0060return -2\u0060 \u2014 a failure becomes a plausible value and a silent behavior change with no trail. Log the error or return it. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the \u0060if\u0060 or in the doc comment, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"header.go"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb4144cbec3d11ed76cb9b96b1fcba318cbadc0372fb120f93d80dd021cf7c23"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-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-242","guid":"5c147e5c-be37-b051-9928-764ef5a8f3d3","name":"CWE-242","shortDescription":{"text":"CWE-242"},"helpUri":"https://cwe.mitre.org/data/definitions/242.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-327","guid":"e51910ff-67b5-3c51-aa3d-92837d9eab90","name":"Use of a Broken or Risky Cryptographic Algorithm","shortDescription":{"text":"Use of a Broken or Risky Cryptographic Algorithm"},"helpUri":"https://cwe.mitre.org/data/definitions/327.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"}]}],"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":27,"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."]}]}