{"$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":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"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":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D37","name":"Vulnerability-disclosure Policy","shortDescription":{"text":"Vulnerability-disclosure Policy"},"helpUri":"https://codehealth.canine.dev/dimensions/D37","relationships":[{"target":{"id":"CWE-1059","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1059"],"owasp":"A02:2025"}},{"id":"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":"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":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"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":"handler.defaultRequestDecoder (cyclomatic 81): handler.defaultRequestDecoder has cyclomatic complexity 81 (threshold 15). Of this number, 27 points are the body\u0027s own statements and 54 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":"controller/mvc/handler/request_decoder.go"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"32f4ac8d5ab9fd3d4739760f2d643f08e13b105089a7945f0c2b7ee25ef8b256"}},{"ruleId":"D1","level":"warning","message":{"text":"UserSchema.SetSlice (cyclomatic 62): UserSchema.SetSlice has cyclomatic complexity 62 (threshold 15). Most of this is not in the body itself: 7 of the 62 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 382, 345, 465). The decisions are inside those literals, 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 literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/identity/user_schema.go"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e92e21a0754b3d822d65fef839c17355e3e73887af6d5ce1f7bfcbe6c496a6"}},{"ruleId":"D1","level":"warning","message":{"text":"fileserver.Handler (cyclomatic 55): fileserver.Handler has cyclomatic complexity 55 (threshold 15). Most of this is not in the body itself: 8 of the 55 points are its own statements and the rest belongs to one function literal inside it that branches (line 316). 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":"controller/fileserver/fileserver.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a2320fb331a04e890634180c6c97943e888d91d69818f72ae0d13f15ed650e"}},{"ruleId":"D1","level":"warning","message":{"text":"encoding.DefaultPathFieldSetter (cyclomatic 47): encoding.DefaultPathFieldSetter has cyclomatic complexity 47 (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":"context/encoding/entries_decoder.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca6ebda69ac4f60ab2388b81f43cdabeb15ea6ffb507f0e7468ad144b700b54"}},{"ruleId":"D1","level":"warning","message":{"text":"encoding.DefaultQueryFieldSetter (cyclomatic 40): encoding.DefaultQueryFieldSetter has cyclomatic complexity 40 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"context/encoding/key_values_decoder.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e52887fed5e8affa85092c507641d141891e267d468fef7ed029e5be4eece8"}},{"ruleId":"D1","level":"warning","message":{"text":"validation.StrongPassword (cyclomatic 36): validation.StrongPassword has cyclomatic complexity 36 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rest/errors/validation/string.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d81b343b6f61f922473d7dbff7518a96ea7550505a2c193b46bf898beded5bc"}},{"ruleId":"D1","level":"warning","message":{"text":"validation.FormatPhoneNumber (cyclomatic 34): validation.FormatPhoneNumber 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":"rest/errors/validation/phone_number.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cbae147dddfc30ed6317eb3a18ef76660cb09b38ad39a633e22b6170a0478ef"}},{"ruleId":"D1","level":"warning","message":{"text":"identity.parseUserSchema (cyclomatic 30): identity.parseUserSchema 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":"auth/identity/user_schema_parser.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca95f624127ded81e886713f6072956147713534f5cd5392fe316e5b5f26de1b"}},{"ruleId":"D1","level":"warning","message":{"text":"entity.ToUser (cyclomatic 30): entity.ToUser 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":"auth/identity/entity/user.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa793e5c841e931004a6be3368d5995b3a4b0adfd27402e36544c3b74c4e372f"}},{"ruleId":"D1","level":"warning","message":{"text":"macro.convertBuilderFunc (cyclomatic 28): macro.convertBuilderFunc has cyclomatic complexity 28 (threshold 15). Most of this is not in the body itself: 6 of the 28 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 130, 111, 124). The decisions are inside those literals, 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 literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/router/macro/macro.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ed29d47ef88d6855552c8bbf8fa79307c3f07e79d3d4e2f53d515a5c9a16eb"}},{"ruleId":"D1","level":"warning","message":{"text":"trie.search (cyclomatic 26): trie.search 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":"core/router/trie.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bfec0f2d72841712b1d7a36d9bb669cbfb3ac67eb520d4a4d111fd5f089143"}},{"ruleId":"D1","level":"warning","message":{"text":"sse.Read (cyclomatic 26): sse.Read has cyclomatic complexity 26 (threshold 15). Most of this is not in the body itself: 3 of the 26 points are its own statements and the rest belongs to one function literal inside it that branches (line 84). 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":"sse/read.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"178f8bbeb8441835dedfb52ce81ce4dc0218f57620a9e4f161e77e37be420d12"}},{"ruleId":"D1","level":"warning","message":{"text":"errors.structToController (cyclomatic 25): errors.structToController has cyclomatic complexity 25 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 12 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":"rest/errors/controller.go"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"3476d6a2e222643034dae8948758a29643d140ed3d4ed8790c8d4d5670f5e0c1"}},{"ruleId":"D1","level":"warning","message":{"text":"router.controllerStructMethod (cyclomatic 23): router.controllerStructMethod has cyclomatic complexity 23 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 11 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":"core/router/router_builder_dep.go"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86f270783c8dc9bca0d4ff9077fbd2abc181589c155b198dddbf42317c55901"}},{"ruleId":"D1","level":"warning","message":{"text":"server.printIPs (cyclomatic 23): server.printIPs 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":"core/server/print_ips.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb77df27fba78834192cffa328fd5f8b040d969556846051763f250262c39ab2"}},{"ruleId":"D1","level":"warning","message":{"text":"server.newSSHTunnelListener (cyclomatic 23): server.newSSHTunnelListener has cyclomatic complexity 23 (threshold 15). Of this number, 16 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":"core/server/server.go"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"59178a9e1518a08487ba3519bfdf3cd097e888fd7a0f47f31c71581e2c8f0e85"}},{"ruleId":"D1","level":"warning","message":{"text":"AccessLog.after (cyclomatic 23): AccessLog.after 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":"middleware/accesslog/accesslog.go"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"41719ec65020eda8b44ac9b8d6a4dd738374d54dd9883dacb301e82e04d7d5a4"}},{"ruleId":"D1","level":"warning","message":{"text":"LookupFieldsOptions.canProccess (cyclomatic 22): LookupFieldsOptions.canProccess has cyclomatic complexity 22 (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":"core/pkg/reflex/struct.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"635a8829fe4ab997149541ef75695e44f2074cc0d61371b02ec4044e76a99229"}},{"ruleId":"D1","level":"warning","message":{"text":"serveMux.HandleRequest (cyclomatic 22): serveMux.HandleRequest has cyclomatic complexity 22 (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":"core/router/serve_mux.go"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a67eb41309e6a0a986fd5a7deb942e2401abddac30eb20cd2e3dd731f0384e"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.newTLSConfig (cyclomatic 22): Server.newTLSConfig has cyclomatic complexity 22 (threshold 15). Of this number, 21 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":"core/server/server.go"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"6faec192185602eb42abbf353a2d140d05dff7e325c55a1f235c39a94346b07c"}},{"ruleId":"D1","level":"warning","message":{"text":"basicauth.structUsernameAndPassword (cyclomatic 22): basicauth.structUsernameAndPassword has cyclomatic complexity 22 (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":"middleware/basicauth/user.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"af313470399b423ed018c8b2c7ecdb1732870eae41b01892fe0d695b01f1752f"}},{"ruleId":"D1","level":"warning","message":{"text":"Context.Negotiate (cyclomatic 21): Context.Negotiate 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":"context/context_response.go"},"region":{"startLine":1723}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a5a01c840144d0bdfec774e2efdcc8a5d63e0e80b79fb2d0b48eeb80b97e185"}},{"ruleId":"D1","level":"warning","message":{"text":"handler.ConvertPathParamValue (cyclomatic 21): handler.ConvertPathParamValue 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":"controller/mvc/handler/param_value.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"0502753d170d9efa6d539ca0985d7b56b120dc7acb0ce11be1a69944faea403a"}},{"ruleId":"D1","level":"warning","message":{"text":"AccessLog.setOutput (cyclomatic 21): AccessLog.setOutput 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":"middleware/accesslog/accesslog.go"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"653fb20f999a64e1f5e0b24a7f1ef2a8f358911f9be865cbd88b892653bc2c86"}},{"ruleId":"D1","level":"warning","message":{"text":"Context.ReadJSONStream (cyclomatic 20): Context.ReadJSONStream has cyclomatic complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 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":"context/context_request.go"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"183b9e45d49603fe8e8873f91824aaa7c59e30e57136b23d5dc667c91fd5d475"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.newListener (cyclomatic 20): Server.newListener 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":"core/server/server.go"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4a0468d58885f12572def016549eab7f055287abda5d6ac2b9035cd91765943"}},{"ruleId":"D1","level":"warning","message":{"text":"errors.handleErrorValue (cyclomatic 20): errors.handleErrorValue 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":"rest/errors/errors.go"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2abe8afea3497c67c33a51fa3cef35b9954bd12fa965384880b92772f01ce89"}},{"ruleId":"D1","level":"warning","message":{"text":"Response.Send (cyclomatic 19): Response.Send 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":"ai/turn.go"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e0bc16e4b072d2f3c07939e59d7d046e6ed593c1cc317e5cf480853c898311"}},{"ruleId":"D1","level":"warning","message":{"text":"Response.Close (cyclomatic 19): Response.Close 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":"ai/turn.go"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bf2a5a6841bdfd0fbab1643140cfe5caed6d51bc38ce9bb6d37e08d4bdac45b"}},{"ruleId":"D1","level":"warning","message":{"text":"oauth2.NewClient (cyclomatic 19): oauth2.NewClient 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":"auth/oauth2/client.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"26d5566bac2273618b151764dffcf305bc67648b99169e460cba6a5e963f1b54"}},{"ruleId":"D1","level":"warning","message":{"text":"router.printRoutesInfo (cyclomatic 19): router.printRoutesInfo has cyclomatic complexity 19 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 3 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":"core/router/serve_mux_debug.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"164535795c1e935385b36cd5e749d0e72a534f2d2b9de2898a992db11e47b6d3"}},{"ruleId":"D1","level":"warning","message":{"text":"RouterBuilder.Router (cyclomatic 19): RouterBuilder.Router 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":"core/router/router_builder_dep.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"975e87892fe1393b7794ef4cac4193dc95fd353adbb543b9361984468c2f40ac"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.newToken (cyclomatic 18): Server.newToken has cyclomatic complexity 18 (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":"auth/oauth2/server.go"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e390381b7b56297d70da0f016eea399827fe686fd7da7775e75eaa381b63cdf"}},{"ruleId":"D1","level":"warning","message":{"text":"encoding.unsignedValue (cyclomatic 18): encoding.unsignedValue 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":"context/encoding/entries_decoder.go"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b2c685264e0ed72580d0618bb47ee30183a78889fb39bf32f6178291a17ac3f"}},{"ruleId":"D1","level":"warning","message":{"text":"ParamParser.Parse (cyclomatic 18): ParamParser.Parse 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":"core/router/internal/parser/parser.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfd5ee0416c14664515890d438ecdda4a07b8ef5086900c8ce21ca95f8c63d2"}},{"ruleId":"D1","level":"warning","message":{"text":"AccessLog.Print (cyclomatic 18): AccessLog.Print 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":"middleware/accesslog/accesslog.go"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"563ec012d06b469fba60559274a772056ee8b9d39ed1752cba7ea45c79a8cf94"}},{"ruleId":"D1","level":"warning","message":{"text":"basicAuth.handleRequest (cyclomatic 18): basicAuth.handleRequest 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":"middleware/basicauth/basicauth.go"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb3bc459ee5cfd0839788ebbfe7a67a5c8628cdbbcc178942a5e5bf1d907c52"}},{"ruleId":"D1","level":"warning","message":{"text":"errors.handleJSONError (cyclomatic 18): errors.handleJSONError has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rest/errors/errors.go"},"region":{"startLine":2041}}}],"partialFingerprints":{"codehealthFindingId/v1":"c372c0d30fef31c239bce512723280e2f5855c8698b6824ce0389f081519bf97"}},{"ruleId":"D1","level":"warning","message":{"text":"Stream.Close (cyclomatic 18): Stream.Close has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sse/stream.go"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6ebdc22c548fcd6afea4a6adb7695fb9797676f89d4139542d7fe76c40e0770"}},{"ruleId":"D1","level":"warning","message":{"text":"UserProvider.Signup (cyclomatic 17): UserProvider.Signup has cyclomatic complexity 17 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 5 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":"auth/identity/user_provider.go"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3bb9955ead072221201dce08e48c3fb480a5a4c62b7ea864490105310067585"}},{"ruleId":"D1","level":"warning","message":{"text":"EntriesDecoder.DecodeEntries (cyclomatic 17): EntriesDecoder.DecodeEntries 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":"context/encoding/entries_decoder.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8a5ba41cfd3c0d08e1257064e136610e800dd1faf5080a0f51cc9d712d516c"}},{"ruleId":"D1","level":"warning","message":{"text":"router.CleanPath (cyclomatic 17): router.CleanPath 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":"core/router/path.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c48fe70cfb8c479feeaf39226c434f4e557907318cfef6ce893d2efc508e4f8"}},{"ruleId":"D1","level":"warning","message":{"text":"Handler.extractLocale (cyclomatic 17): Handler.extractLocale 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":"middleware/i18n/handler.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a7d5880719587898450d336c36aa76293271bed2809e27ebc7763202d55529"}},{"ruleId":"D1","level":"warning","message":{"text":"Verifier.Verify (cyclomatic 17): Verifier.Verify has cyclomatic complexity 17 (threshold 15). Most of this is not in the body itself: 8 of the 17 points are its own statements and the rest belongs to one function literal inside it that branches (line 269). 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":"middleware/jwt/verifier.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"58c622f918ca7c6bf27600d496e651f3bd25055c3f4a945d1a19d60858204d97"}},{"ruleId":"D1","level":"warning","message":{"text":"UserRepository.updateSingleUserPartialAttrs (cyclomatic 16): UserRepository.updateSingleUserPartialAttrs 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":"auth/identity/entity/user_repository.go"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb7a4b5acd571894a769c618e87ff3a79ce620f5ffa7ef522780d9edceee672"}},{"ruleId":"D1","level":"warning","message":{"text":"Context.ReadBody (cyclomatic 16): Context.ReadBody 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":"context/context_request.go"},"region":{"startLine":2112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bef0ce9d2997ec20dd75cfc8a9e1c29524c21c74501292420ed8d6276d53c9"}},{"ruleId":"D1","level":"warning","message":{"text":"encoding.signedValue (cyclomatic 16): encoding.signedValue has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function taking that case\u0027s concrete type, so the dispatch reads one line per case. These arms are selected by TYPE rather than by value, so there is no key a lookup table could be built on; where you own the matched types, giving them one shared interface method and calling that is the form a table would have taken, and where you do not, keep the cases \u2014 they stay explicit and reviewable."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"context/encoding/entries_decoder.go"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a45e97c40bdbaca03776a17aa9b3144705866a7412f10742e01d57ddd6b3819"}},{"ruleId":"D1","level":"warning","message":{"text":"mvc.UseRepository (cyclomatic 16): mvc.UseRepository has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to 7 function literals inside it that branch (lines 160, 121, 97, \u2026). The decisions are inside those literals, 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 literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/mvc/repository.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20ad1ddb3172b4df34e11f7d67405f53586d5688d4495b5b5e1db51ba5082f8"}},{"ruleId":"D1","level":"warning","message":{"text":"CSV.Format (cyclomatic 16): CSV.Format has cyclomatic complexity 16 (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":"middleware/accesslog/csv.go"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e253970edc184d3a57c79c5847ae9f4aa8eb64acb5b90bf1501df19f33bdaf5"}},{"ruleId":"D1","level":"warning","message":{"text":"i18n.load (cyclomatic 16): i18n.load has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 157). 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":"middleware/i18n/loader.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c55ca34424dc693fafb20d0eaf6b6a64042682a1918b83aa24c55123b3acd36"}},{"ruleId":"D1","level":"warning","message":{"text":"errors.Handler (cyclomatic 16): errors.Handler 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":"rest/errors/handler.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6189324b1e38606e6fd9ce4ee3969c126f375e2ca5a3b1693d0efa8ab532d496"}},{"ruleId":"D2","level":"warning","message":{"text":"handler.defaultRequestDecoder (cognitive 270): handler.defaultRequestDecoder has cognitive complexity 270 (threshold 15). Drivers by points: if/else 71 (259 pts), boolean chains 8, match/switch 2 (3 pts) (nesting depth added 189). Of this number, 85 points are the body\u0027s own statements and 185 belong to 2 function literals inside it that branch. 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":"controller/mvc/handler/request_decoder.go"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"e12f1c6273455ac9d238c103184541c90a894292fb70bd1c027bfcf692c45998"}},{"ruleId":"D2","level":"warning","message":{"text":"fileserver.Handler (cognitive 127): fileserver.Handler has cognitive complexity 127 (threshold 15). Drivers by points: if/else 43 (108 pts), loops 4 (12 pts), boolean chains 7 (nesting depth added 73). Most of this is not in the body itself: 8 of the 127 points are its own statements and the rest belongs to one function literal inside it that branches (line 316). 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":"controller/fileserver/fileserver.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"85ee7769908ff3f9d9f222cb8693273d9c622381d6e618eb806b3f11fd632713"}},{"ruleId":"D2","level":"warning","message":{"text":"UserSchema.SetSlice (cognitive 86): UserSchema.SetSlice has cognitive complexity 86 (threshold 15). Drivers by points: if/else 32 (65 pts), boolean chains 17, match/switch 2 (3 pts), loops 1 (nesting depth added 34). Most of this is not in the body itself: 5 of the 86 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 382, 345, 465). The decisions are inside those literals, 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 literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/identity/user_schema.go"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"34ec01281cfc24357baa924b05db0402f725fd83c8d2846e09b6c2ff7bc19fd1"}},{"ruleId":"D2","level":"warning","message":{"text":"validation.FormatPhoneNumber (cognitive 63): validation.FormatPhoneNumber has cognitive complexity 63 (threshold 15). Drivers by points: if/else 22 (53 pts), boolean chains 5, loops 1 (4 pts), match/switch 1 (nesting depth added 34). 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":"rest/errors/validation/phone_number.go"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5fd71570d9218874ecc78407f17a86cc3e989757ac929c25d1d139606ae66c"}},{"ruleId":"D2","level":"warning","message":{"text":"validation.StrongPassword (cognitive 62): validation.StrongPassword has cognitive complexity 62 (threshold 15). Drivers by points: if/else 21 (58 pts), match/switch 3 (4 pts) (nesting depth added 38). 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":"rest/errors/validation/string.go"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"d637b1cecfc51d2aeeb36342be0cce3cc5afeb8fd99ef50675be0bfdee863b33"}},{"ruleId":"D2","level":"warning","message":{"text":"server.printIPs (cognitive 61): server.printIPs has cognitive complexity 61 (threshold 15). Drivers by points: if/else 15 (38 pts), loops 3 (13 pts), match/switch 1 (6 pts), boolean chains 4 (nesting depth added 38). 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":"core/server/print_ips.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6595b4c7be373ad2fef9f0ec681a3387681c123ad2c65ce8054fdef6ee639dad"}},{"ruleId":"D2","level":"warning","message":{"text":"identity.parseUserSchema (cognitive 56): identity.parseUserSchema has cognitive complexity 56 (threshold 15). Drivers by points: if/else 18 (43 pts), match/switch 1 (5 pts), boolean chains 4, loops 3 (4 pts) (nesting depth added 30). 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":"auth/identity/user_schema_parser.go"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d818038afa70c18b5ea0166b307ab06a219032e34d5de5ceda7e45901125ee"}},{"ruleId":"D2","level":"warning","message":{"text":"entity.ToUser (cognitive 53): entity.ToUser has cognitive complexity 53 (threshold 15). Drivers by points: if/else 20 (50 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 31). 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":"auth/identity/entity/user.go"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc8bdacbb26135708f5d35fc4a8a8c43c3e4d223067ca96bb69723fb6fad3757"}},{"ruleId":"D2","level":"warning","message":{"text":"trie.search (cognitive 50): trie.search has cognitive complexity 50 (threshold 15). Drivers by points: if/else 20 (42 pts), boolean chains 6, loops 2 (nesting depth added 22). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/router/trie.go"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5117bd83e4936df7d1327f758ea2c2063900e7d3fb53936ec0843de20a35ed7"}},{"ruleId":"D2","level":"warning","message":{"text":"encoding.DefaultPathFieldSetter (cognitive 47): encoding.DefaultPathFieldSetter has cognitive complexity 47 (threshold 15). Drivers by points: if/else 18 (38 pts), match/switch 5 (9 pts) (nesting depth added 24). 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":"context/encoding/entries_decoder.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6e9ea8fe3f65d97728632a35b3f83eb431f1590a77c9286416b689b3d9bc55"}},{"ruleId":"D2","level":"warning","message":{"text":"basicauth.structUsernameAndPassword (cognitive 46): basicauth.structUsernameAndPassword has cognitive complexity 46 (threshold 15). Drivers by points: if/else 12 (37 pts), boolean chains 5, loops 2, match/switch 1 (2 pts) (nesting depth added 26). 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":"middleware/basicauth/user.go"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f62343d58e366c5b662f6b099732a288e6c0a56c4793a0aeb3da0344bc71eea"}},{"ruleId":"D2","level":"warning","message":{"text":"sse.Read (cognitive 45): sse.Read has cognitive complexity 45 (threshold 15). Drivers by points: if/else 17 (39 pts), match/switch 2 (3 pts), boolean chains 2, loops 1 (nesting depth added 23). Most of this is not in the body itself: 2 of the 45 points are its own statements and the rest belongs to one function literal inside it that branches (line 84). 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":"sse/read.go"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f73a98fb8d3ad7726af466a1dd2e3a49559d4289438890706d1e1e4dbd9f6664"}},{"ruleId":"D2","level":"warning","message":{"text":"EntriesDecoder.DecodeEntries (cognitive 43): EntriesDecoder.DecodeEntries has cognitive complexity 43 (threshold 15). Drivers by points: if/else 13 (35 pts), loops 3 (8 pts) (nesting depth added 27). 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":"context/encoding/entries_decoder.go"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2a3a941583a7f123d9ca981ecc1cf1d4a73f7296b5c2adf5b4be12827dc743d"}},{"ruleId":"D2","level":"warning","message":{"text":"AccessLog.after (cognitive 42): AccessLog.after has cognitive complexity 42 (threshold 15). Drivers by points: if/else 19 (39 pts), boolean chains 2, loops 1 (nesting depth added 20). 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":"middleware/accesslog/accesslog.go"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"563f08f89c113ef8fba1016e96713a0e08e313603d7ff7c656f38ceb7c9ab78a"}},{"ruleId":"D2","level":"warning","message":{"text":"encoding.DefaultQueryFieldSetter (cognitive 40): encoding.DefaultQueryFieldSetter has cognitive complexity 40 (threshold 15). Drivers by points: if/else 18 (37 pts), loops 1 (2 pts), match/switch 1 (nesting depth added 20). 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":"context/encoding/key_values_decoder.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"01875df2334fb798e710bd1eb79a8041e4657527dff06f71df94d3a6788db1d8"}},{"ruleId":"D2","level":"warning","message":{"text":"LookupFieldsOptions.canProccess (cognitive 40): LookupFieldsOptions.canProccess has cognitive complexity 40 (threshold 15). Drivers by points: if/else 16 (31 pts), boolean chains 5, loops 1 (4 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":"core/pkg/reflex/struct.go"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c4c06c4421d746da0a9b41686055dc804b9920720cc0e905c94051e7cd5bfd7"}},{"ruleId":"D2","level":"warning","message":{"text":"Context.UploadFormFiles (cognitive 38): Context.UploadFormFiles has cognitive complexity 38 (threshold 15). Drivers by points: if/else 7 (25 pts), loops 3 (12 pts), jumps 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"context/context_request.go"},"region":{"startLine":1299}}}],"partialFingerprints":{"codehealthFindingId/v1":"08ceaee059c69caee15e9b2ed9ee5826f14720cfddc939f8be1bcc3ce2c50944"}},{"ruleId":"D2","level":"warning","message":{"text":"RouterBuilder.Router (cognitive 37): RouterBuilder.Router has cognitive complexity 37 (threshold 15). Drivers by points: if/else 16 (34 pts), boolean chains 2, loops 1 (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":"core/router/router_builder_dep.go"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"26464f051c101453948a4bbb1968ebd44f04854c7fd63f3fd3a29fea53b969c4"}},{"ruleId":"D2","level":"warning","message":{"text":"RouterBuilder.UseRouter (cognitive 36): RouterBuilder.UseRouter has cognitive complexity 36 (threshold 15). Drivers by points: if/else 10 (33 pts), boolean chains 2, loops 1 (nesting depth added 23). Most of this is not in the body itself: 11 of the 36 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 231, 255). The decisions are inside those literals, 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 literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/router/router_builder.go"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f6cf1660bbacd140d532449b1e0a510fbdd89e4b36b95067a91d118418a671"}},{"ruleId":"D2","level":"warning","message":{"text":"Engine.Handler (cognitive 35): Engine.Handler has cognitive complexity 35 (threshold 15). Drivers by points: if/else 14 (34 pts), loops 1 (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":"middleware/rewrite/rewrite.go"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"796045d9912dd97f0036ab28c05a2456bf2f9961b781c7c91a762ef9c0edccee"}},{"ruleId":"D2","level":"warning","message":{"text":"serveMux.HandleRequest (cognitive 33): serveMux.HandleRequest has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (26 pts), boolean chains 4, loops 2 (3 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/router/serve_mux.go"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"428dcdecee34829cbe72172002920c003996a3313e256964031942cd3ac0226f"}},{"ruleId":"D2","level":"warning","message":{"text":"AccessLog.setOutput (cognitive 33): AccessLog.setOutput has cognitive complexity 33 (threshold 15). Drivers by points: if/else 13 (25 pts), loops 3 (5 pts), boolean chains 2, match/switch 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/accesslog/accesslog.go"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f7dfb3a70671426f08b6c4c879ff1569f5a96e2ef0287f456f83eeadfd16011"}},{"ruleId":"D2","level":"warning","message":{"text":"UserProvider.Signup (cognitive 32): UserProvider.Signup has cognitive complexity 32 (threshold 15). Drivers by points: if/else 15 (29 pts), boolean chains 3 (nesting depth added 14). Of this number, 19 points are the body\u0027s own statements and 13 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":"auth/identity/user_provider.go"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"20216e5bbda77d13e6fa1e5b0248e8f842a7dcc7a27031618fefb3ee1da740d8"}},{"ruleId":"D2","level":"warning","message":{"text":"router.printRoutesInfo (cognitive 32): router.printRoutesInfo has cognitive complexity 32 (threshold 15). Drivers by points: if/else 12 (24 pts), loops 5 (7 pts), boolean chains 1 (nesting depth added 14). Of this number, 27 points are the body\u0027s own statements and 5 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":"core/router/serve_mux_debug.go"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ebd7b008a6117decb03e35833a75eb1944c0a188170ef86de297833a511600"}},{"ruleId":"D2","level":"warning","message":{"text":"errors.handleErrorValue (cognitive 32): errors.handleErrorValue has cognitive complexity 32 (threshold 15). Drivers by points: if/else 17 (27 pts), loops 2 (5 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rest/errors/errors.go"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf8f279b8edf2aae5322dde116f15b03f57f3eaaa7d0392825bb2588d1eac22"}},{"ruleId":"D2","level":"warning","message":{"text":"Context.ReadJSONStream (cognitive 31): Context.ReadJSONStream has cognitive complexity 31 (threshold 15). Drivers by points: if/else 13 (23 pts), loops 2 (3 pts), match/switch 1 (3 pts), boolean chains 2 (nesting depth added 13). Of this number, 28 points are the body\u0027s own statements and 3 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":"context/context_request.go"},"region":{"startLine":1863}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d9cb143325b553f9c627a5baa65788bb6026b345f0f3c642c8e4767a467f6b"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.newTLSConfig (cognitive 30): Server.newTLSConfig has cognitive complexity 30 (threshold 15). Drivers by points: if/else 17 (28 pts), boolean chains 2 (nesting depth added 11). Of this number, 27 points are the body\u0027s own statements and 3 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":"core/server/server.go"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae483b5de6a2a4edbb65478a2df8369cd41ad7164d80e1338c730be3eb75eda7"}},{"ruleId":"D2","level":"warning","message":{"text":"Handler.extractLocale (cognitive 30): Handler.extractLocale has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (30 pts) (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/i18n/handler.go"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"45e8f3c3929faa34426689289cdbe146032c276dc1bd62284ca02ab149ab08ea"}},{"ruleId":"D2","level":"warning","message":{"text":"Verifier.Verify (cognitive 30): Verifier.Verify has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (30 pts) (nesting depth added 14). Most of this is not in the body itself: 14 of the 30 points are its own statements and the rest belongs to one function literal inside it that branches (line 269). 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":"middleware/jwt/verifier.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"97bee7dd168a7f91823a792754b16edb6ee3c2240f4b17fede3ebe491291de56"}},{"ruleId":"D2","level":"warning","message":{"text":"types.ParseISO8601 (cognitive 30): types.ParseISO8601 has cognitive complexity 30 (threshold 15). Drivers by points: if/else 16 (28 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rest/types/iso8601.go"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5849d2e8467a8518a999d1a991b69e1786cf3f1c255a08e2cbeeb24f3cee00b"}},{"ruleId":"D2","level":"warning","message":{"text":"dep.resolveFuncInputs (cognitive 29): dep.resolveFuncInputs has cognitive complexity 29 (threshold 15). Drivers by points: if/else 10 (26 pts), loops 2 (3 pts) (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dep/dep.go"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"b537dac5ad3bb6aaf4f0e0283268c607b3f557cd5e616790c4e8926729c18a6c"}},{"ruleId":"D2","level":"warning","message":{"text":"trie.insert (cognitive 28): trie.insert has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 1, loops 1 (nesting depth added 15). 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":"core/router/trie.go"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"65153dc79feb9e52536285f64b1129ed3b9b50553eb6e39ecca567b7be439b34"}},{"ruleId":"D2","level":"warning","message":{"text":"basicAuth.handleRequest (cognitive 28): basicAuth.handleRequest has cognitive complexity 28 (threshold 15). Drivers by points: if/else 16 (26 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":"middleware/basicauth/basicauth.go"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"dac15421b5953710dc6122cfd02f7bf1de36efd657d7fc874485bc51bbae6a9e"}},{"ruleId":"D2","level":"warning","message":{"text":"router.CleanPath (cognitive 27): router.CleanPath has cognitive complexity 27 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 4, 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":"core/router/path.go"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f4f6b75d454f4eaac9707e301e8d287a47375f9439d13e3b1f59e8dd3c73bc"}},{"ruleId":"D2","level":"warning","message":{"text":"server.newSSHTunnelListener (cognitive 27): server.newSSHTunnelListener has cognitive complexity 27 (threshold 15). Drivers by points: if/else 15 (20 pts), boolean chains 5, loops 1, match/switch 1 (nesting depth added 5). Of this number, 18 points are the body\u0027s own statements and 9 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":"core/server/server.go"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"505e1d3afdcad413970cc9e0a415f18395b50e01c10b176f7069ff21d11ba79b"}},{"ruleId":"D2","level":"warning","message":{"text":"UserRepository.updateSingleUserPartialAttrs (cognitive 26): UserRepository.updateSingleUserPartialAttrs has cognitive complexity 26 (threshold 15). Drivers by points: if/else 11 (18 pts), loops 4 (6 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":"auth/identity/entity/user_repository.go"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a713111cc0ac943493772043ed1ca6bfafd43cdf098e70732d10a7d0736f029d"}},{"ruleId":"D2","level":"warning","message":{"text":"Controller.makeSitemapHandler (cognitive 26): Controller.makeSitemapHandler has cognitive complexity 26 (threshold 15). Drivers by points: if/else 10 (21 pts), loops 3 (4 pts), boolean chains 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":"controller/sitemap/sitemap.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"692a0313b6df061d49ae2adb7f3abfb7503bc58140f2c2169718af003eaab0a3"}},{"ruleId":"D2","level":"warning","message":{"text":"internal.findVarsCount (cognitive 26): internal.findVarsCount has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (17 pts), loops 4 (8 pts), match/switch 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/i18n/internal/template.go"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03e487e1c785bd9c79e7a76f8ac778a711239dc59787415cbf0802374f4c277"}},{"ruleId":"D2","level":"warning","message":{"text":"internal.getVars (cognitive 26): internal.getVars has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (20 pts), loops 3 (6 pts) (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/i18n/internal/var.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"47bc7448cbeff900193f361e66bf5db2825b3eced69653041e06f9d5e38f21ab"}},{"ruleId":"D2","level":"warning","message":{"text":"Response.Send (cognitive 25): Response.Send has cognitive complexity 25 (threshold 15). Drivers by points: if/else 15 (22 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":"ai/turn.go"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ddfabecfc78a9fe3c98ee738fe381e31897a00123e8f3429482fc890af01b0"}},{"ruleId":"D2","level":"warning","message":{"text":"context.negotiationMatch (cognitive 25): context.negotiationMatch has cognitive complexity 25 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 3 (6 pts), boolean chains 1 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"context/accept_header.go"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d7db2a4c43a224485760c62a0937c06115207d2e8166343fa65110105a56a5d"}},{"ruleId":"D2","level":"warning","message":{"text":"KeyValuesDecoder.DecodeKeyValues (cognitive 25): KeyValuesDecoder.DecodeKeyValues has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 2 (5 pts), boolean chains 1 (nesting depth added 14). 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":"context/encoding/key_values_decoder.go"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75290c4c9ba925f742d444f74cd74d8953510eb04c9f9dd2ff11be71aba175d"}},{"ruleId":"D2","level":"warning","message":{"text":"AccessLog.Print (cognitive 25): AccessLog.Print has cognitive complexity 25 (threshold 15). Drivers by points: if/else 13 (20 pts), boolean chains 3, loops 1 (2 pts) (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/accesslog/accesslog.go"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0311ba89af23fe4ebd96f1961d2010a399b4580cb4b53631ba6c089db163874"}},{"ruleId":"D2","level":"warning","message":{"text":"i18n.load (cognitive 25): i18n.load has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (17 pts), match/switch 1 (4 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 12). None of this is in the body itself: all 25 points belong to one function literal inside it that branches (line 157). 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":"middleware/i18n/loader.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"9366d597b6412136c8b58f16963ec36df4791af0966b089d36c6d9d7f5a9ff00"}},{"ruleId":"D2","level":"warning","message":{"text":"errors.handleJSONError (cognitive 25): errors.handleJSONError has cognitive complexity 25 (threshold 15). Drivers by points: if/else 16 (21 pts), boolean chains 2, match/switch 1 (2 pts) (nesting depth added 6). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rest/errors/errors.go"},"region":{"startLine":2041}}}],"partialFingerprints":{"codehealthFindingId/v1":"33848a6f13b3389ffc67fde5fa06807623d0b9fbab220c2c3e4429a0be525316"}},{"ruleId":"D2","level":"warning","message":{"text":"oauth2.NewClient (cognitive 24): oauth2.NewClient has cognitive complexity 24 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 6 (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":"auth/oauth2/client.go"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad22aa942e348055dac8842c0aa3f97594a2a18f4fb918c27d420ebcfd398b5"}},{"ruleId":"D2","level":"warning","message":{"text":"context.parseAccept (cognitive 24): context.parseAccept has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (17 pts), jumps 4, loops 2 (3 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"context/accept_header.go"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"664a6a4055765a6972af2102bda5276376b63b2fa452e6c02828c65edad6fdd8"}},{"ruleId":"D2","level":"warning","message":{"text":"Context.AbsoluteURI (cognitive 24): Context.AbsoluteURI has cognitive complexity 24 (threshold 15). Drivers by points: if/else 10 (20 pts), boolean chains 4 (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":"context/context_request.go"},"region":{"startLine":657}}}],"partialFingerprints":{"codehealthFindingId/v1":"a11880e5dc2b08583a1dda7803f642ba64838f81ec5ef6fda7a00aba3f9ca7e8"}},{"ruleId":"D2","level":"warning","message":{"text":"ErrorCodeName.failErr (cognitive 24): ErrorCodeName.failErr has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (22 pts), loops 1, match/switch 1 (nesting depth added 14). Of this number, 15 points are the body\u0027s own statements and 9 belong 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":"rest/errors/errors.go"},"region":{"startLine":1599}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a54868cf5252f71498ad143c6bc34a8692b82847ad525a065a441229405c3d"}},{"ruleId":"D2","level":"warning","message":{"text":"Container.VisitSingletons (cognitive 23): Container.VisitSingletons has cognitive complexity 23 (threshold 15). Drivers by points: if/else 6 (18 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":"core/dep/dep.go"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"9596bdc3e3fd4d97e35ac5fa8b59424f0c75dfdc6466ddc2d324510645046eae"}},{"ruleId":"D2","level":"warning","message":{"text":"ParamParser.Parse (cognitive 23): ParamParser.Parse has cognitive complexity 23 (threshold 15). Drivers by points: if/else 7 (20 pts), match/switch 1 (2 pts), loops 1 (nesting depth added 14). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/router/internal/parser/parser.go"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"891c9f2e71ebd54660c333cfe3e7629758f323e3f08fb24bc74f7a7f05d8a906"}},{"ruleId":"D2","level":"warning","message":{"text":"UserProvider.UpdateUsersPartial (cognitive 22): UserProvider.UpdateUsersPartial has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (19 pts), boolean chains 2, 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":"auth/identity/user_provider.go"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"677c26d529c404ee4d4a97b0ce743988227a06583f897c04d5cd9a729bf07b03"}},{"ruleId":"D2","level":"warning","message":{"text":"handler.ConvertPathParamValue (cognitive 22): handler.ConvertPathParamValue has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), match/switch 2 (3 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":"controller/mvc/handler/param_value.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"750c21dc7957b2acd1ed6b8358fd4558baf2d7bcf5d778ea4ff651331cc2d8c2"}},{"ruleId":"D2","level":"warning","message":{"text":"macro.convertBuilderFunc (cognitive 22): macro.convertBuilderFunc has cognitive complexity 22 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 2, match/switch 1 (2 pts), loops 1 (nesting depth added 10). Most of this is not in the body itself: 4 of the 22 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 130, 111, 124). The decisions are inside those literals, 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 literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/router/macro/macro.go"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf29dacbf72865a98ede4e093493db2909fd55e5b3cdb464759c012ceee21863"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.newListener (cognitive 22): Server.newListener has cognitive complexity 22 (threshold 15). Drivers by points: if/else 12 (20 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/server/server.go"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"c422d41b6db255028edb6baf4890604fc8a1abfaa440fb2603495d5b422b6760"}},{"ruleId":"D2","level":"warning","message":{"text":"CORS.Handler (cognitive 22): CORS.Handler has cognitive complexity 22 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 2 (nesting depth added 9). None of this is in the body itself: all 22 points belong to one function literal inside it that branches (line 403). 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":"middleware/cors/cors.go"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"e606c1de5e6c7725a879362c050498fdfdfc3d0ae665862727890300c7ed4d08"}},{"ruleId":"D2","level":"warning","message":{"text":"errors.as (cognitive 22): errors.as has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 2 (4 pts), match/switch 1 (2 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":"rest/errors/error_code_map.go"},"region":{"startLine":536}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa9361d815b8305b2bbea4144c00b9f48009dbd2b5fcbb236fc43f9737254636"}},{"ruleId":"D2","level":"warning","message":{"text":"Auth.verify (cognitive 21): Auth.verify has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 2 (3 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/auth.go"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"018edc27abc413d5ccf4f06c310f836c8cec8d73f5dbd7634a410f7f9e141252"}},{"ruleId":"D2","level":"warning","message":{"text":"UserFilterOptions.Build (cognitive 21): UserFilterOptions.Build 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, 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":"auth/identity/entity/user_repository.go"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fa16e11293a75786d71061790c9dd35eced45c411b2e2800d5ca51994f5fac8"}},{"ruleId":"D2","level":"warning","message":{"text":"context.hasNilSortRequesterAt (cognitive 21): context.hasNilSortRequesterAt has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, loops 2, match/switch 1 (2 pts) (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"context/list_filter.go"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"33a8555d814cb3b50c20c8f849ad91d8c81c719637187fd0f8ddaa1e4be0465e"}},{"ruleId":"D2","level":"warning","message":{"text":"Context.FormFiles (cognitive 21): Context.FormFiles has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (13 pts), loops 2 (7 pts), jumps 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":"context/context_request.go"},"region":{"startLine":1463}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ae4b69be089a37c4945eb4f1ef359aead65c1ec2cfe3187085cd7e13efb776"}},{"ruleId":"D2","level":"warning","message":{"text":"buildinfo.fetchECSMetadata (cognitive 21): buildinfo.fetchECSMetadata has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (17 pts), loops 1 (4 pts) (nesting depth added 13). 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":"core/pkg/buildinfo/cloud.go"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"a40a805337041d4ba04008179e418f348d4b1b589259809078a560ffd48aa199"}},{"ruleId":"D2","level":"warning","message":{"text":"Route.Trace (cognitive 21): Route.Trace has cognitive complexity 21 (threshold 15). Drivers by points: if/else 10 (19 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":"core/router/route.go"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abd3210b5f373f267dc25bf831386b2c570eca55fefd69dec20c9958c7e2675"}},{"ruleId":"D2","level":"warning","message":{"text":"errors.Handler (cognitive 21): errors.Handler has cognitive complexity 21 (threshold 15). Drivers by points: if/else 14 (19 pts), boolean chains 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":"rest/errors/handler.go"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"56bdaaeada61220745eb6aafc5bbe0b6a37f3fb1d9a5c4557addf1c9da3abeba"}},{"ruleId":"D2","level":"warning","message":{"text":"Response.Close (cognitive 20): Response.Close has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 7, match/switch 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":"ai/turn.go"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"d05d8727b2d42fac68d1200d86ec464022f4859740349bef6ff4abb60bfd34ae"}},{"ruleId":"D2","level":"warning","message":{"text":"FilterTerm.Validate (cognitive 20): FilterTerm.Validate has cognitive complexity 20 (threshold 15). Drivers by points: if/else 13 (19 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/identity/entity/user_repository.go"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"809f67f24ea5b0717d837b6582d464c8602ebc1de44acc25b560ff0480ef9ad8"}},{"ruleId":"D2","level":"warning","message":{"text":"UserController.bulkInsertUsers (cognitive 20): UserController.bulkInsertUsers has cognitive complexity 20 (threshold 15). Drivers by points: if/else 11 (19 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":"auth/identity/user_controller.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"90373bc1137271deb10ac2cd6cd4003add0f30e5f3f75605351760e2db634972"}},{"ruleId":"D2","level":"warning","message":{"text":"Context.RemoteAddr (cognitive 20): Context.RemoteAddr has cognitive complexity 20 (threshold 15). Drivers by points: if/else 4 (11 pts), loops 3 (9 pts) (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"context/context_request.go"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f9371ab2e7c7024e587a796731be65b4d9a3e6c4675f9adb35fcbf8fc3b802"}},{"ruleId":"D2","level":"warning","message":{"text":"macro.Parse (cognitive 20): macro.Parse has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (15 pts), loops 3 (4 pts), boolean chains 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":"core/router/macro/template.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"068b5fd14f26090d1da24b86acded02af4e455787a4902d7c23444d8efe8f4ec"}},{"ruleId":"D2","level":"warning","message":{"text":"Router.handleRequest (cognitive 20): Router.handleRequest 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":"middleware/i18n/router.go"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"126839653877377b113eea2b6eb0031fb296be5a689a031e19af97bbe5013dca"}},{"ruleId":"D2","level":"warning","message":{"text":"Configuration.BindFile (cognitive 19): Configuration.BindFile has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (18 pts), match/switch 1 (nesting depth added 12). The drivers above price the dispatch low by construction \u2014 a dispatch is charged once however many cases it lists, while each branch inside an arm is charged in full \u2014 so most of this count is what the case bodies hold, and the arms are where it can be reduced. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Keep every case explicit, and make the behaviour for cases you do not list a deliberate choice rather than an accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/configuration.go"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f3e7116ea71320cbbe17411369386955c7458ab0e8070f170d71e7f84e7d9f"}},{"ruleId":"D2","level":"warning","message":{"text":"UserSchema.Validate (cognitive 19): UserSchema.Validate has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (17 pts), loops 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/identity/user_schema.go"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8590c0e93f72c8468f931d2e57ac434d7ffc325522be00706e4483f0e72ceed"}},{"ruleId":"D2","level":"warning","message":{"text":"fileserver.cacheFiles (cognitive 19): fileserver.cacheFiles has cognitive complexity 19 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, loops 2, match/switch 1 (2 pts) (nesting depth added 5). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 1251, 1331). The decisions are inside those literals, 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 literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/fileserver/fileserver.go"},"region":{"startLine":1244}}}],"partialFingerprints":{"codehealthFindingId/v1":"af09349ba355ca021502ba7cda00ca3f603440c4ec7424d2ec66f1a1d3232ca8"}},{"ruleId":"D2","level":"warning","message":{"text":"reflex.SnakeCase (cognitive 19): reflex.SnakeCase has cognitive complexity 19 (threshold 15). Drivers by points: if/else 6 (16 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/pkg/reflex/string.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"250a673ab3177b32e2695b63ebd7c2cb1ebf9143d85925c4a97f5fe6df0d7e8d"}},{"ruleId":"D2","level":"warning","message":{"text":"handler.MakeFilter (cognitive 19): handler.MakeFilter has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (16 pts), loops 2, boolean chains 1 (nesting depth added 9). Most of this is not in the body itself: 5 of the 19 points are its own statements and the rest belongs to one function literal inside it that branches (line 109). 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":"core/router/macro/handler/handler.go"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7b185a4ad58ed0b771a3a7f1bc47a4851bac4e94a355672c5af10386178ffe"}},{"ruleId":"D2","level":"warning","message":{"text":"TemplateParam.Eval (cognitive 19): TemplateParam.Eval has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 2 (4 pts), boolean chains 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":"core/router/macro/template.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a01472ccbc560518ef33d4533549308703e7b0f7ebc58f982e6fbf134dde4f2b"}},{"ruleId":"D2","level":"warning","message":{"text":"modrevision.New (cognitive 19): modrevision.New has cognitive complexity 19 (threshold 15). Drivers by points: if/else 12 (18 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/modrevision/modrevision.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9283f79efc33e36f9222d84b280fa750cea580e9bbdc0ec9f8df74bbec1416ab"}},{"ruleId":"D2","level":"warning","message":{"text":"ai.Relay (cognitive 18): ai.Relay has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (16 pts), boolean chains 1, 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":"ai/relay.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba95c07f3100cb1793018e4a4bcc2613bac8876fb13ea1d2ce8d7b27919a9a24"}},{"ruleId":"D2","level":"warning","message":{"text":"UserController.updateUsers (cognitive 18): UserController.updateUsers has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (16 pts), boolean chains 1, 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":"auth/identity/user_controller.go"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb56bd9e35bd45034a0a79fdac0d336117ea08b00cf6b5687781c7603ae68326"}},{"ruleId":"D2","level":"warning","message":{"text":"context.ParseContentType (cognitive 18): context.ParseContentType has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), match/switch 1 (2 pts), boolean chains 1, 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":"context/content_type.go"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"08c85a9b9be8c79010ed0a0136ade519a0e1ceee52635c0070feed5522b9ee08"}},{"ruleId":"D2","level":"warning","message":{"text":"context.collectUpdateColumnNames (cognitive 18): context.collectUpdateColumnNames has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (4 pts), boolean chains 2 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"context/context_bind_update.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dcc2a1da3b2b22728c87b55fcef8d99d402294d3e09dfb61a699aeecd0fefd6"}},{"ruleId":"D2","level":"warning","message":{"text":"fileserver.DirList (cognitive 18): fileserver.DirList has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (15 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":"controller/fileserver/fileserver.go"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"a44183d996e412c5aa4537f84f31526288db412b93c239577f5a88a7aed04414"}},{"ruleId":"D2","level":"warning","message":{"text":"fileserver.logCacheFS (cognitive 18): fileserver.logCacheFS has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 3 (4 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":"controller/fileserver/fileserver.go"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97287602b1d6f9d0aba4bcdf3cbee2875c4bcce2a755303fc2843f04d1ffea6"}},{"ruleId":"D2","level":"warning","message":{"text":"buildinfo.getGKEClusterName (cognitive 18): buildinfo.getGKEClusterName has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (13 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 10). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/pkg/buildinfo/cloud.go"},"region":{"startLine":797}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8024510777e7ad624ce9e55b91cffb8e087f6f6aad3b83d5561aa110bf0ddfc"}},{"ruleId":"D2","level":"warning","message":{"text":"reflex.lookupFields (cognitive 18): reflex.lookupFields has cognitive complexity 18 (threshold 15). Drivers by points: if/else 7 (15 pts), boolean chains 2, 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":"core/pkg/reflex/struct.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"adaee28870eb338272cd679e8967333fcf1b331664272445fe7bfab963d53720"}},{"ruleId":"D2","level":"warning","message":{"text":"parser.Parse (cognitive 18): parser.Parse has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (15 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":"core/router/internal/parser/parser.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a600f0941406cdf7b81f521789e01bab48f7ca79d5884647a69a40f21b75456"}},{"ruleId":"D2","level":"warning","message":{"text":"serveMux.subdomainAndPathAndMethodExists (cognitive 18): serveMux.subdomainAndPathAndMethodExists has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (14 pts), boolean chains 4 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/router/serve_mux.go"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"48229701d6f1997ad3c99f2aee7a465b33004c4c94b36674508f1858bf438346"}},{"ruleId":"D2","level":"warning","message":{"text":"cache.newHandler (cognitive 18): cache.newHandler has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3 (nesting depth added 4). None of this is in the body itself: all 18 points belong to one function literal inside it that branches (line 149). 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":"middleware/cache/cache.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab52a25f7a4210152a8e8cd3d7a499492d024c9bddd572e3d62901a6cc3035ae"}},{"ruleId":"D2","level":"warning","message":{"text":"Locale.setString (cognitive 18): Locale.setString has cognitive complexity 18 (threshold 15). Drivers by points: if/else 10 (18 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":"middleware/i18n/internal/locale.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99320e53eb16f1aa360194f04214654bf0698fe69f20adf457139c4f3de5106"}},{"ruleId":"D2","level":"warning","message":{"text":"Stream.Close (cognitive 18): Stream.Close has cognitive complexity 18 (threshold 15). Drivers by points: if/else 11 (13 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"sse/stream.go"},"region":{"startLine":430}}}],"partialFingerprints":{"codehealthFindingId/v1":"72d1e9623f1c1efc8f52dbba44e9a80474723c9db537b7fe325d4abba74d9172"}},{"ruleId":"D2","level":"warning","message":{"text":"apikey.New (cognitive 17): apikey.New has cognitive complexity 17 (threshold 15). Drivers by points: if/else 12 (15 pts), boolean chains 1, loops 1 (nesting depth added 3). Of this number, 9 points are the body\u0027s own statements and 8 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/apikey/apikey.go"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a756a323cad2a768822f6dc872bedfaf0c30dec95661ae6eb2c0956a0a3192"}},{"ruleId":"D2","level":"warning","message":{"text":"compress.handle (cognitive 17): compress.handle has cognitive complexity 17 (threshold 15). Drivers by points: if/else 11 (17 pts) (nesting depth added 6). Of this number, 11 points are the body\u0027s own statements and 6 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":"middleware/compress/limit.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"57ab73843a1a32bdbc3bbc6bfa6b0e2c58199f2108da88327a27cac6b65aea77"}},{"ruleId":"D2","level":"warning","message":{"text":"cors.MergeOriginPatterns (cognitive 17): cors.MergeOriginPatterns has cognitive complexity 17 (threshold 15). Drivers by points: if/else 5 (11 pts), loops 3 (4 pts), boolean chains 1, jumps 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":"middleware/cors/pattern.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"168d24ad8227c47f00cbd7d00423e9de05182d260d5adae3917957e66f026792"}},{"ruleId":"D2","level":"warning","message":{"text":"versioning.fetchVersionFromHeader (cognitive 17): versioning.fetchVersionFromHeader has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 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":"middleware/versioning/context.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c01187e2edf2fe079558afeacba41fa51702d76e57a0a4847d9f45439e6cde5"}},{"ruleId":"D2","level":"warning","message":{"text":"ErrorCodeMap.Filter (cognitive 17): ErrorCodeMap.Filter has cognitive complexity 17 (threshold 15). Drivers by points: if/else 3 (10 pts), loops 3 (7 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":"rest/errors/error_code_map.go"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0226e4547b0298c4df8dd3607bdc2862525153a59e76a54312effbae9aaed0"}},{"ruleId":"D2","level":"warning","message":{"text":"Auth.SignToken (cognitive 16): Auth.SignToken has cognitive complexity 16 (threshold 15). Drivers by points: if/else 12 (15 pts), loops 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":"auth/auth.go"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"82a295454d045bef88106640bfa72563386ac53274336d73ca7de4a75c2a516a"}},{"ruleId":"D2","level":"warning","message":{"text":"Auth.SigninHandler (cognitive 16): Auth.SigninHandler has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), boolean chains 2, match/switch 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":"auth/auth.go"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7f84cd9125d287e5d2ab1021866b9e0ee5c83a0c0f1a11f2978bbeefb2f0dbd"}},{"ruleId":"D2","level":"warning","message":{"text":"oauth2.checkPolicies (cognitive 16): oauth2.checkPolicies has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (13 pts), boolean chains 3 (nesting depth added 6). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 149). 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":"auth/oauth2/server_middleware.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2426c704a487e0f14e7c3f8e4ff17d4252223722fa2d24b112f967ad13c35a"}},{"ruleId":"D2","level":"warning","message":{"text":"Context.Negotiate (cognitive 16): Context.Negotiate has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (13 pts), match/switch 2 (3 pts) (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"context/context_response.go"},"region":{"startLine":1723}}}],"partialFingerprints":{"codehealthFindingId/v1":"963544db3bbe881cb639900e65c360db676e08af9f3eac142608e0fc4df9e5ab"}},{"ruleId":"D2","level":"warning","message":{"text":"encoding.setFloat (cognitive 16): encoding.setFloat has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (11 pts), boolean chains 3, match/switch 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":"context/encoding/numeric.go"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5e33c962f7c0641f27723e8c00f8db5001ca94443a8aba2e73561bf92c6c0bc"}},{"ruleId":"D2","level":"warning","message":{"text":"RouterBuilder.BuildRouter (cognitive 16): RouterBuilder.BuildRouter has cognitive complexity 16 (threshold 15). Drivers by points: if/else 13 (15 pts), boolean chains 1 (nesting depth added 2). Of this number, 13 points are the body\u0027s own statements and 3 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":"core/router/router_builder_handler.go"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"946cd78d726e015118f6ec20019b9c475b49538c936b853858f30976247fe591"}},{"ruleId":"D2","level":"warning","message":{"text":"server.ResolveHostname (cognitive 16): server.ResolveHostname has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/server/server.go"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"403ddb5591f790238c5772332e5ec5ba3705b2ef9467eb4de1dc84b61cc8f550"}},{"ruleId":"D2","level":"warning","message":{"text":"internal.findPluralCount (cognitive 16): internal.findPluralCount has cognitive complexity 16 (threshold 15). Drivers by points: if/else 7 (15 pts), match/switch 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":"middleware/i18n/internal/template.go"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e841340b29eb7f2438f2374117b28dcf3eb2930fa6834a614251a2b76013e3"}},{"ruleId":"D2","level":"warning","message":{"text":"Limiter.serveHTTP (cognitive 16): Limiter.serveHTTP has cognitive complexity 16 (threshold 15). Drivers by points: if/else 9 (15 pts), boolean chains 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/rate/rate.go"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"85e2a3f20392e8f3aa9b39922184a67bc3ada8b722735da1f22e064fc2ba7c01"}},{"ruleId":"D2","level":"warning","message":{"text":"sse.scanEventLines (cognitive 16): sse.scanEventLines has cognitive complexity 16 (threshold 15). Drivers by points: if/else 5 (12 pts), match/switch 1 (2 pts), boolean chains 1, 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":"sse/read.go"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"c964cf6ba2e5b055375524544753084fd9e4ec732201ef77ecba85a06f4d8233"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Context: TooManyMethods \u2014 193 methods, declared across 10 files: context/context_request.go (70), context/context_response.go (58), context/context.go (42), context/context_bind.go (7), \u002B6 more file(s). The bar is 30 methods; this is 163 over it, 6.43\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":"context/context.go"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"d074b7baa7c4951006c2d746304a8611a22d50b98632a848c3e1f223d7bafadb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Entry: TooManyMethods \u2014 81 methods. The bar is 30 methods; this is 51 over it, 2.70\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"context/encoding/entry.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b420ce3207b8a7b2a1484a792928be110ba7f8609bc7aa8509b5078845da9ba"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RouterBuilder: TooManyMethods \u2014 63 methods, declared across 3 files: router/router_builder.go (50), router/router_builder_handler.go (8), router/router_builder_dep.go (5). The bar is 30 methods; this is 33 over it, 2.10\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":"core/router/router_builder.go"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"575f7acbd974c28d8e15a60fba719271d1beba4e1689e73ec51cd86c88fd3e60"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Entries: TooManyMethods \u2014 62 methods. The bar is 30 methods; this is 32 over it, 2.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":"context/encoding/entries.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d8335265570ce0f4985bb5751d8c3446ce5cfe7979e657991ab44865128853"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: context/context_response.go: FileTooLong \u2014 1028 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 528 over it, 2.06\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":"context/context_response.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3aa497d7911ffe95a30fb2d8e75680fc20def761e053b6430099d7ba1e3a9a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: context/context_request.go: FileTooLong \u2014 819 significant lines (blank, comment-only and punctuation-only lines excluded), about 65% of them inside a single declaration: Context (70 blocks, 78-2197). The bar is 500 significant lines; this is 319 over it, 1.64\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"context/context_request.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f3513870970a89cc71f19831d5dc065c223a9efcf4d8068ff022f74263af50"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: buildinfo/cloud.go: FileTooLong \u2014 763 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 263 over it, 1.53\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/pkg/buildinfo/cloud.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a441229a03c93938a2fda4fcddbbfcbc0bfbe77eb553a5f95a6ef4ab3d185137"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: handler.defaultRequestDecoder: FunctionTooLong \u2014 defaultRequestDecoder runs 150 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 50 over it, 1.50\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":"controller/mvc/handler/request_decoder.go"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"39dca151a6ca1799fcc3438cce75f80ff768053e09553148d8587ff6d3d54d2e"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: fileserver.Handler: FunctionTooLong \u2014 Handler runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\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":"controller/fileserver/fileserver.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"653d59c365b09e1aa485ca5ac99942099d165c961cab9d4ea3ede65b51cc0aa8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: fileserver/fileserver.go: FileTooLong \u2014 692 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 192 over it, 1.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/fileserver/fileserver.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba6f1e18949aefc0b43a39af0650fbc46ae6dbc7444463abbfc95bb2e2a07f6f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Route: TooManyMethods \u2014 39 methods. The bar is 30 methods; this is 9 over it, 1.30\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":"core/router/route.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"25dc9e79967fa3c21eadd19399b98f6454bd1fe8d119082cf476671d9ee9daf5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RouteRegistry: TooManyMethods \u2014 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/router/route_registry.go"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"6faf97d4821a2f8c239cfdf172f5d2685c5065c8d21142a81e90f0f4532c56a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: errors/errors.go: FileTooLong \u2014 585 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 85 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rest/errors/errors.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea46bcd9a01e0c5e8d60b0d830ac9aa778509229b78eea5f9b5234f007c5160c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: List: 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":"core/pkg/funcer/list.go"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4ee0a33104b70aec4d45b6f25a20ec3028259581056c333b9a4cad9d34b24b5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: accesslog/accesslog.go: FileTooLong \u2014 517 significant lines (blank, comment-only and punctuation-only lines excluded), about 73% of them inside a single declaration: AccessLog (22 blocks, 117-1138). The bar is 500 significant lines; this is 17 over it, 1.03\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/accesslog/accesslog.go"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df78091768993e1236308aa36a2cde0f97f7a8f2ddfd41a821989bcf5e46d2b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Auth: TooManyMethods \u2014 31 methods, declared across 2 files: auth/auth.go (30), auth/user.go (1). The bar is 30 methods; this is 1 over it, 1.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":"auth/auth.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f62f939219c08c290ceca0b1f21dbb25e1adfe1a9a8ac3f65a08b3fb0af897a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (124 corresponding lines): context/encoding/entries_decoder.go:342-501 | context/encoding/key_values_decoder.go:89-212 \u2014 These two members are one piece of code written twice and then edited apart: 124 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":"context/encoding/entries_decoder.go"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"4835712e8d78fbb27a3f08d18dd41a5b1cdf32fbb3204659c79dca748debf660"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (80 corresponding lines): core/router/router_builder_dep.go:487-571 | rest/errors/controller.go:251-330 \u2014 These two members are one piece of code written twice and then edited apart: 80 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/router/router_builder_dep.go"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"76da0fa22a4044b5c0f884f96ed8b055860614f8daa75cf861faf59f1b343dd6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (46 corresponding lines): core/pkg/netutil/url.go:16-61 | core/server/url.go:144-193 \u2014 These two members are one piece of code written twice and then edited apart: 46 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/pkg/netutil/url.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"95be00438c03d27b3bfa8b7e4faec445074b137721c5399cd482662c5dc3c7fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): ai/turn.go:808-835 | sse/stream.go:263-301 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"ai/turn.go"},"region":{"startLine":808}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abfd6eab453aff5e1aa088a52a5b6a7454ccfb71a98d1e1dba6b5eec17b3255"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 35\u002B corresponding lines): controller/mvc/handler/list.go:52-86 | controller/mvc/handler/parameterized_handler.go:25-69 | controller/mvc/handler/parameterized_handler.go:77-113 \u2014 These 3 members are one piece of code written 3 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 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/mvc/handler/list.go"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8c994c48d968f30ff9346ac8b487a55109110d99f61066fed15d2dd04a97c68"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): context/encoding/numeric.go:126-148 | context/encoding/numeric.go:150-172 \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":"context/encoding/numeric.go"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"837b01ec3886ca985ede6a89f3251df071e334debf72e5a5581f8dfde6a85c71"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): context/encoding/entries.go:321-345 | context/encoding/entries.go:349-373 \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":"context/encoding/entries.go"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc387abbb6cc638914d952305ab304473712aee2ddfe72437840a3319b080de7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): rest/errors/validation/number.go:90-126 | rest/errors/validation/string.go:60-98 \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":"rest/errors/validation/number.go"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"7890f88a5c07740c5ccf3f542fddd06aa56fa6c82415c0e569827e935bce2db4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): core/pkg/funcer/list.go:472-496 | core/pkg/funcer/list.go:499-528 \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":"core/pkg/funcer/list.go"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd6c3c743fe4c2d9b310acb5e3eecad90b8157a9b279e8764d74af8632d4ce0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (26 corresponding lines): middleware/sessions/postgres_database.go:222-249 | middleware/sessions/redis_database.go:75-100 \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":"middleware/sessions/postgres_database.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afb6cd1c589905f0907f6538e8d5aae2bf78a7007eb86390e45ff9a746872e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): auth/identity/server.go:373-400 | auth/identity/server.go:423-449 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/identity/server.go"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab9f997ac2e54974977d1bed6dc31767ffa7023f7a7378346372f91632ae088"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (32 corresponding lines): auth/identity/user_schema.go:135-166 | auth/identity/user_schema.go:220-255 \u2014 These two members are one piece of code written twice and then edited apart: 32 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/identity/user_schema.go"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a531302795e48ab3181a074c97f1f6e4fd2520ec7f487370f1fb046531de6a36"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): middleware/accesslog/template.go:54-83 | middleware/accesslog/template.go:86-110 \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":"middleware/accesslog/template.go"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83fad4107985697b93e199ba3ca6c471a02da07374f9c39d19c8e59fd778315"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 15\u002B corresponding lines): auth/oauth2/auth_code_store_postgres.go:111-135 | auth/oauth2/device_code_store_postgres.go:85-99 | auth/oauth2/device_code_store_postgres.go:112-126 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 15 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/oauth2/auth_code_store_postgres.go"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"e38e6e06a9e9e3054303abcc387400be704f0103bf2c404715b7c18126770964"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (40 corresponding lines): core/router/serve_mux.go:350-389 | core/router/serve_mux.go:522-562 \u2014 These two members are one piece of code written twice and then edited apart: 40 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/router/serve_mux.go"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1587eb6b5212d89e2f33ebd506b17d7e6c506084378aecb6b7a7dde3b33f8bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): auth/oauth2/auth_code.go:37-59 | auth/oauth2/device_code.go:36-64 \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":"auth/oauth2/auth_code.go"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2b59fa4c3e5202dd9f346ac40d8afbe39fd268a3160d8f639788b71b3c8ca9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): auth/identity/entity/user_group_repository.go:113-139 | auth/identity/entity/user_repository.go:738-760 | auth/identity/entity/user_repository.go:763-785 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/identity/entity/user_group_repository.go"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97ecb06f25f01e3f7af0c6eeb9aa356799179ec76a881956a1dfd50a7dc6874"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 23\u002B corresponding lines): rest/types/day_time.go:80-102 | rest/types/iso8601.go:400-422 | rest/types/simple_date.go:199-221 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rest/types/day_time.go"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0e04a6e043c1645ce8ad422370ac9b6f0f5f818e65112dc1eac9519fad5ed86"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 23\u002B corresponding lines): auth/identity/user_schema.go:105-132 | auth/identity/user_schema.go:169-191 | auth/identity/user_schema.go:194-216 | auth/identity/user_schema.go:258-283 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 23 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 4 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/identity/user_schema.go"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"7008ef8803ab89de6eb40172ed16124aa777e372634335e78e77519826e7cd52"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): ai/turn.go:516-544 | sse/coalescer.go:186-210 \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":"ai/turn.go"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1534f38427b8be1b5663c9bef6abb0364dcc8729051096e15477736c5661683"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): context/context_request.go:1640-1653 | context/context_request.go:1663-1684 \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":"context/context_request.go"},"region":{"startLine":1640}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d74370709844c1d59ca910be8cb22241d1031b02c9ad51fc48073114a9e3d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): auth/auth.go:619-643 | auth/auth.go:791-810 \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":"auth/auth.go"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"de3e3f94c579acda1269bc40295c45e9238429033884b6a943dfec53ad7506f9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (22 corresponding lines): core/pkg/reflex/caller.go:89-125 | core/pkg/reflex/caller.go:128-149 \u2014 These two members are one piece of code written twice and then edited apart: 22 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/pkg/reflex/caller.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3e753ad3a500ac10efe47b983372950a605e68a6eecf33b7c6e774f41c7d1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 17\u002B corresponding lines): controller/mvc/handler/controller.go:25-45 | controller/mvc/handler/controller.go:50-70 | controller/mvc/handler/controller.go:85-101 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 17 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/mvc/handler/controller.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3565f10e02b4270b2de7a4e708d2f73f051bc112a7c7fbac18660eedb0f4f5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (4 members, 22\u002B corresponding lines): auth/oauth2/auth_code_store_postgres.go:27-49 | auth/oauth2/client_store_postgres.go:36-57 | auth/oauth2/device_code_store_postgres.go:24-46 | middleware/sessions/postgres_database.go:59-85 \u2014 These 4 members are one piece of code written 4 times and then edited apart: every two of them correspond over at least 22 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":"auth/oauth2/auth_code_store_postgres.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"406beb9fb11b2cc824bcb3bce77a6abb0892e0c82f3abd00951eaf7d513b868c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): auth/auth.go:302-328 | auth/auth.go:693-716 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/auth.go"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"a620fe12b409da4f6eca118f913ce3513e63a7b96d225bf375d9d9d8c6571004"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (18 corresponding lines): context/encoding/entry.go:518-535 | core/router/macro/macros.go:518-535 \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":"context/encoding/entry.go"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b5dd0f39f7f185c96a8e0b1ebedc4902aff6cc5465c1423e22a281322f373a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (20 corresponding lines): rest/types/duration.go:29-48 | rest/types/time_notation.go:77-100 \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":"rest/types/duration.go"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3afc4efc2c24576e8abd704ac10adb324cb641ae68e8b9b27dcd13b74f54fff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): controller/fileserver/fileserver.go:930-942 | middleware/accesslog/log.go:97-113 \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":"controller/fileserver/fileserver.go"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a709fbddb0cb7459378d39eba6964f15358e7d04a8bd844b770e6af1aca0104"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): auth/oauth2/server.go:840-853 | auth/oauth2/server.go:869-884 \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":"auth/oauth2/server.go"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26de3140cb58f519ed2fedf86f8a58ed3aae3e142e5bd14bfd322409dbb4483"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 18\u002B corresponding lines): controller/mvc/handler/handler.go:140-163 | controller/mvc/handler/handler.go:172-190 | controller/mvc/handler/handler.go:193-210 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 18 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/mvc/handler/handler.go"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"73f3e4e4e8cc2338ea11fd0a95393fef581936535c04ac3e9ae951a0e64dced6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): core/pkg/funcer/list.go:432-448 | core/pkg/funcer/list.go:453-469 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/pkg/funcer/list.go"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"3788c4d3be04708958e5383335100657d26c29b62f8d9445adb688410dabc815"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): core/pkg/reflex/struct.go:10-25 | core/pkg/reflex/struct.go:28-43 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/pkg/reflex/struct.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36423e4b6cda744e2b2306ce26aab16c78d2424532464e322c05df6617d9ec5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): core/dep/dep.go:432-490 | core/dep/dep.go:493-509 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/dep/dep.go"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"263d26da43de1b39b34c003a1d86060fc6b0d9ecf12bf1bca8d248d3b857c5b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): middleware/compress/compress.go:58-74 | middleware/compress/compress.go:81-97 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/compress/compress.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"42776b33d80c51bac474353f7cdd2ed0b45497f074834d04c18e84c152623527"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): auth/oauth2/client_store_postgres.go:108-137 | auth/oauth2/device_code_store_postgres.go:50-73 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/oauth2/client_store_postgres.go"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0fcf624e1216e9f96184bc9313b606795e432af625fcbc782387ea80a8bb1e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): auth/oauth2/server.go:496-509 | auth/oauth2/server.go:740-754 \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":"auth/oauth2/server.go"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c986ed1ec94667e7891e9e8c2f67c943418000a71e29ae1adc7f12c83f8661c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): controller/fileserver/fileserver.go:1167-1188 | controller/fileserver/fileserver.go:1203-1219 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/fileserver/fileserver.go"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37c2d3361daac5f6be85e81d5e4792d6c54c257857e612a88c355591b6ae620"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): controller/mvc/handler/handler.go:212-228 | controller/mvc/handler/handler.go:230-246 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/mvc/handler/handler.go"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"67462ae6be3b35ffa60d3da0cdef21126684bd03156813dc78d7c5c881010860"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): core/pkg/buildinfo/cloud.go:397-411 | core/pkg/buildinfo/cloud.go:414-424 \u2014 These two members are one piece of code written twice and then edited apart: 11 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/pkg/buildinfo/cloud.go"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"801bc4fcca798544c3906963ce57c3bffc71c6a373ca8aa6e18215f57ee66233"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): core/pkg/netutil/url.go:64-80 | core/server/url.go:196-216 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/pkg/netutil/url.go"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"ace307c793cd8baeccc752c3a560ae426a5824c2e07a5da8e0c4a6f53d342638"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): auth/identity/attr_access.go:97-116 | auth/identity/attr_access.go:130-146 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/identity/attr_access.go"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14c1d88cc41a684de6c4f85b78299b6e2c9aea64ae87e6fe2823e0780862ac5"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): middleware/accesslog/accesslog.go:680-694 | middleware/accesslog/accesslog.go:719-736 \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":"middleware/accesslog/accesslog.go"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfe12330e5279a4074c551228eaea7ee3ede4c0e7f1e729ec82ec579666d09c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): middleware/sessions/postgres_database.go:260-272 | middleware/sessions/redis_database.go:112-128 \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":"middleware/sessions/postgres_database.go"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"55ce7826753e9d08b53c1d5fbb3d4a6bd6438c738a38ffa4c6c90055b173c891"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): auth/identity/user_identifier.go:78-90 | auth/identity/user_identifier.go:101-112 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/identity/user_identifier.go"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"d60d3f4d333e8bc8ec5de1d27ef446d1c89683c13f27065ad50610edeef43adb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (23 corresponding lines): middleware/counter/counter.go:146-170 | middleware/counter/counter.go:178-200 \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":"middleware/counter/counter.go"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"845f7decf9fd7ff215d0621f6d3c9966b715dfba5120cf184ac6e6c81eeae83b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): auth/identity/sdk/client_admin.go:59-70 | auth/identity/sdk/client_admin.go:83-94 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/identity/sdk/client_admin.go"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"17510cc97a8fcc0824cec569659679c4e37b43ee47c770f3cf9ee82629f4bd01"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): auth/identity/sdk/sdk.go:328-340 | auth/identity/sdk/sdk.go:366-378 \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":"auth/identity/sdk/sdk.go"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"311b6e7964182c769ac8c8190981c1055587515d4576bd08a87a48c18d56bcac"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 12\u002B corresponding lines): context/context_request.go:618-629 | context/context_request.go:891-904 | context/context_request.go:914-927 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 12 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"context/context_request.go"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd0a68b5e463f1a1feb42586aceacc74e156daaaf2f3882d2a7be08fe7cae67"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 16\u002B corresponding lines): core/server/url.go:15-30 | core/server/url.go:93-112 | core/server/url.go:115-141 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 16 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/server/url.go"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf9d70895c1d5b19c731e25b01cc9587f17459b1a5200eda092171d4ce02809"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): context/context_request.go:579-594 | context/context_request.go:970-984 \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":"context/context_request.go"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"2adb7235a416b2987956d224e6e4d4a1763feace971e9b8d75922ddf8419447f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): middleware/compress/response_writer.go:209-223 | middleware/recorder/response.go:249-263 \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":"middleware/compress/response_writer.go"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"10672a05b04bb3d37ad8a65d511588a686585cd645250c75263895016cce62e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): middleware/hcaptcha/hcaptcha.go:83-99 | middleware/recaptcha/recaptcha.go:78-94 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/hcaptcha/hcaptcha.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"817ed301a65f91427fbc26cb53a9105db1f5ac1d88c5c1ab01ffbd81f08c1837"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 13\u002B corresponding lines): context/context_request.go:1127-1139 | middleware/i18n/i18n.go:360-372 | middleware/i18n/internal/var.go:107-120 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 13 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"context/context_request.go"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd336d34c0d37b30030792e49f2c8bf406157af962eb6f9f57dfdc0a7bcf186"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): context/context.go:432-446 | context/context_request.go:523-537 \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":"context/context.go"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"4796f3a0298d284b2d9cfddd5488aaa71061e6b61a17d8201029875d95cf49e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): auth/identity/sdk/client_admin.go:35-46 | auth/identity/sdk/sdk.go:432-439 \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":"auth/identity/sdk/client_admin.go"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a08bf6985102399291430f20a2ef30a80cd6c7d524f0c4767d4b19e5a5a2256"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): rest/types/number.go:88-105 | rest/types/weekday.go:130-142 \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":"rest/types/number.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"67794200f06eac96aaedf4dc6cf44792d15761c5f31347ca5b237a722fe5f6ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): auth/identity/user_provider.go:45-54 | auth/identity/user_group_service.go:20-29 \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":"auth/identity/user_provider.go"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"57379dea6e28445cae43b4081822eee5feb7855879c5f77c2e7dd9059633865a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): auth/identity/sdk/client_admin.go:23-30 | auth/identity/sdk/sdk.go:278-285 \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":"auth/identity/sdk/client_admin.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b583c6ebfc08e844879a8d4454d87c1fd1f419928a561384af4029df4e606b4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): context/handler.go:223-234 | core/router/router_builder_dep.go:97-108 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"context/handler.go"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a1abc988d4400be78247030c923ae1cbc68e8b2609360c689ee8041f89c4e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): context/handler.go:322-333 | controller/mvc/handler/options.go:46-57 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"context/handler.go"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5db38e1f580cdcd2efe968878972c454d13d30cc0907807bbac577a9d5a105"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/switch_hosts.go:60-71 | auth/oauth2/policy.go:52-58 \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":"apps/switch_hosts.go"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"55249caf2009de39d8259d899ba29aed6178af11b10f31951b259853944c7eb9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): auth/identity/entity/origin_repository.go:101-112 | auth/identity/entity/user_repository.go:198-205 \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":"auth/identity/entity/origin_repository.go"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c8388e4c48939f132089382c7faf6c25d527fbb050e0b2a787ad77225bc392"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): auth/identity/entity/origin_repository.go:92-99 | auth/identity/entity/user_repository.go:208-215 \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":"auth/identity/entity/origin_repository.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"290620bc74e6cdc989041464bdb5f660bb9d4a76f03e2c071a0bbe1c12ab5562"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): auth/identity/cors_service.go:67-75 | context/user.go:301-309 \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":"auth/identity/cors_service.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e1cb50ed8f1eb0bb7028dad1a7ab1c2e16e045990952c47b23ae59850dba4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): rest/errors/handler.go:270-278 | rest/errors/stream.go:125-137 \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":"rest/errors/handler.go"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"e008319eaa64f124a0bdc146f570ceadc9fdec82bce40ab0ed7f966f969551ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): middleware/jwt/signer.go:58-66 | middleware/jwt/verifier.go:147-155 \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":"middleware/jwt/signer.go"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d55efbd31a8286ad4afa811024b33af80da68b2ce2febbd1c49b437ba1471f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): rest/errors/map_error_as.go:31-38 | rest/errors/options.go:376-387 \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":"rest/errors/map_error_as.go"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5ce27f01dde7e7b332b6180c0a77cff0f02454b2c225b1c3637bd39426c3d80"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201330 lines \u00D7 2): controller/mvc/handler/parameterized_handler.go:26-55 | controller/mvc/handler/parameterized_handler.go:78-101 \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 \u0060controller/mvc/handler/parameterized_handler.go:26\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":"controller/mvc/handler/parameterized_handler.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"53627ecdbda8e448ce5edaf44c17079c00bbe5b76f7b9b05af78128ffcbb5497"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): core/pkg/netutil/url.go:34-61 | core/server/url.go:166-193 \u2014 before extracting anything, compare \u0060core/pkg/netutil/url.go\u0060 and \u0060core/server/url.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/pkg/netutil/url.go:34\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":"core/pkg/netutil/url.go"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f36890a1ea53a2827b4bfa7923303f16a860526ed67264eac3ef35e02a021aa5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): context/context_bind_update.go:83-104 | controller/mvc/handler/update_columns.go:27-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060context/context_bind_update.go:83\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":"context/context_bind_update.go"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"b355388b07219b8e92e994c977d24a494ab42c22177ed5ae4d075be2b84ce470"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201320 lines \u00D7 2): middleware/accesslog/template.go:55-74 | middleware/accesslog/template.go:87-102 \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 \u0060middleware/accesslog/template.go:55\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/accesslog/template.go"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d89ae5d0e1f5fbed07868556a719b3d403aea6d87119433d2cbe639bcf5d4c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201319 lines \u00D7 2): ai/turn.go:813-825 | sse/stream.go:264-282 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060sse/stream.go:259\u0060 calls \u0060commitLocked\u0060 and \u0060ai/turn.go:811\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":"ai/turn.go"},"region":{"startLine":813}}}],"partialFingerprints":{"codehealthFindingId/v1":"015e84efeccb1c0519c5197812e72f572b4a7883c5f1bb6969f13a4c17ee6a3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): middleware/hcaptcha/hcaptcha.go:158-176 | middleware/recaptcha/recaptcha.go:123-140 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060middleware/recaptcha/recaptcha.go:123\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. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/hcaptcha/hcaptcha.go"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc620b0ffa3ccba6b121d0e3c56e515de1397b14ad96f33aff3eb9f621fcbde0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): core/pkg/funcer/list.go:473-489 | core/pkg/funcer/list.go:500-516 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/pkg/funcer/list.go:473\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/pkg/funcer/list.go"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6709ef0be98ee1edd30e86d91c1f01912e3360d43252b3674b342c2266b6b22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): middleware/cache/httpcache/cache.go:349-364 | middleware/cache/httpcache/cache.go:381-396 \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 \u0060middleware/cache/httpcache/cache.go:349\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":"middleware/cache/httpcache/cache.go"},"region":{"startLine":349}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb9e7b0677a4f955cbd57224f6f8f525e95637a65955aae033fd5ce97de5ffc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): auth/identity/user_schema.go:170-183 | auth/identity/user_schema.go:195-208 | auth/identity/user_schema.go:259-272 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060auth/identity/user_schema.go:170\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":"auth/identity/user_schema.go"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a83cf646fcb9539c81a89ae9f76527ac874d8a5ccaef891ab07ce344fe45a09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): auth/identity/user_schema.go:106-119 | auth/identity/user_schema.go:136-149 \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 \u0060auth/identity/user_schema.go:106\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":"auth/identity/user_schema.go"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ab2c167e85798a7f0869e2327695685229af795467515a9b69b21e1eb5d046"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): context/context_request.go:1394-1407 | context/context_request.go:1421-1433 \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 after the matched lines, \u0060context/context_request.go:1413\u0060 calls \u0060ParseMultipartForm\u0060 and \u0060context/context_request.go:1435\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":"context/context_request.go"},"region":{"startLine":1394}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a758d6af5d44c11522a9d3bbd6266e6300f73e130440f7a00bee4be9205ebb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): controller/fileserver/fileserver.go:790-803 | controller/fileserver/fileserver.go:874-887 \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 \u0060controller/fileserver/fileserver.go:790\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":"controller/fileserver/fileserver.go"},"region":{"startLine":790}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e16dae6cb25d2405e1fd4b43d4c635e04a514756ca6fd6345f60fcfc4e894bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/pkg/netutil/tcp_soreuse_control_unix.go:14-27 | core/server/tcp_soreuse_control_unix.go:14-27 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/pkg/netutil/tcp_soreuse_control_unix.go"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f2d0ef32eb4002a6ef9569a290533479d8e13435394cf860d429fc372ccfe87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): core/pkg/netutil/url.go:67-80 | core/server/url.go:203-216 \u2014 before extracting anything, compare \u0060core/pkg/netutil/url.go\u0060 and \u0060core/server/url.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/pkg/netutil/url.go:67\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":"core/pkg/netutil/url.go"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79202233d750853123f7f4ab12148dac14223506fc99fd409977bbf7c780e5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): auth/identity/password/password.go:41-53 | auth/identity/sdk/password.go:21-33 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"auth/identity/password/password.go"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f0900f22e41c299d7bdce8a584523430b1b62de2f62d8b7cfe08ea4cea125b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): core/pkg/netutil/url.go:18-30 | core/server/url.go:146-158 \u2014 before extracting anything, compare \u0060core/pkg/netutil/url.go\u0060 and \u0060core/server/url.go\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 55 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/pkg/netutil/url.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"080275b398667cc49609ee3f5fb94110fb9300313507dbd0be6885b2d601b044"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): auth/oauth2/auth_code_store_postgres.go:38-49 | auth/oauth2/client_store_postgres.go:46-57 | auth/oauth2/device_code_store_postgres.go:35-46 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 3 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060auth/oauth2/auth_code_store_postgres.go:38\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 \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. 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":"auth/oauth2/auth_code_store_postgres.go"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50bd816465b70b61b96cb0450958d2ba99a73f26125f8f82f4aa0865bbaf7a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): controller/mvc/handler/handler.go:144-154 | controller/mvc/handler/parameterized_handler.go:33-44 | controller/mvc/handler/parameterized_handler.go:85-96 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controller/mvc/handler/handler.go:144\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":"controller/mvc/handler/handler.go"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"27c6ffe81771c773aed7f64fd02d049654c4914e635506e9dff08eadca1400eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/pkg/reflex/caller.go:92-102 | core/pkg/reflex/caller.go:129-139 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/pkg/reflex/caller.go:92\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/pkg/reflex/caller.go"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"70cf6e3c678572c1f0a21bbd17421be5f0d5d3adf13cdafb4137a63aac1dbc88"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): core/router/serve_mux.go:370-380 | core/router/serve_mux.go:545-555 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/router/serve_mux.go"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"37c3086758a349780a284a5e7599d3b20e81af3090da0183aa3d93b3fe8af693"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): controller/fileserver/fileserver.go:931-940 | middleware/accesslog/log.go:102-111 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060controller/fileserver/fileserver.go:931\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":"controller/fileserver/fileserver.go"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"b216267112370a0131ae64eb036ea4cea6237473b9bed912625b541d2b1027c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): auth/oauth2/device_code_store_postgres.go:87-99 | auth/oauth2/device_code_store_postgres.go:114-126 \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 \u0060auth/oauth2/device_code_store_postgres.go:87\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":"auth/oauth2/device_code_store_postgres.go"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"81026381178aa46cc7dda65ba9e47a823aaee6af0e349e5360daeafaa3bd4a78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): controller/mvc/handler/list.go:42-49 | controller/mvc/handler/list.go:79-86 \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 \u0060controller/mvc/handler/list.go:42\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":"controller/mvc/handler/list.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6218a9a4d94f5fc5d7573ae95580651b7401d6062c62bbfe48b3c5172b793f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): auth/oauth2/server.go:552-556 | auth/oauth2/server.go:685-689 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/oauth2/server.go"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"7698009a13da8b70682860d3f62e17bc882d9e70b2b17a8e5764eff3d8377652"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (60 lines \u00D7 2): core/pkg/netutil/ip.go:16-75 | core/server/ip.go:16-75 \u2014 before extracting anything, compare \u0060core/pkg/netutil/ip.go\u0060 and \u0060core/server/ip.go\u0060 as WHOLE FILES: 98% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/pkg/netutil/ip.go"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1d9fa201446ed051c310b18dee670e3dc7b81ed27f0db21e0f940bcfac9e856"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): auth/identity/password/password.go:143-151 | auth/oauth2/crypto.go:72-80 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/identity/password/password.go"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"17713c123565a94d0b1591b21882b986b1be51f0fed0c9d501531699881b3c01"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): auth/oauth2/policy.go:202-214 | auth/oauth2/server.go:952-964 \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":"auth/oauth2/policy.go"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65d322576bb7cbfe542d35e78f9aefe68503993f7768df25751bae0f8e8d3bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): context/context_request.go:758-767 | context/encoding/entry.go:721-730 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"context/context_request.go"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"c114084a6c6609856d74136a66eebaaab70bbdee9bae281e393f160a4de2e036"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): core/pkg/netutil/tcp_soreuse_control_windows.go:10-14 | core/server/tcp_soreuse_control_windows.go:10-14 \u2014 before extracting anything, compare \u0060core/pkg/netutil/tcp_soreuse_control_windows.go\u0060 and \u0060core/server/tcp_soreuse_control_windows.go\u0060 as WHOLE FILES: 87% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/pkg/netutil/tcp_soreuse_control_windows.go"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"44393360410bfe3566efe6fa37448ca3ad18b4ac87b834689c397805167c57f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): rest/types/day_time.go:49-56 | rest/types/iso8601.go:289-296 \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":"rest/types/day_time.go"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b1f2348c7aa5f693893a77ae43dc7930866e975827223e192ed4bef33cb35e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): rest/types/kitchen_time.go:77-84 | rest/types/simple_date.go:82-89 \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":"rest/types/kitchen_time.go"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"83959943a70232421d909365ab50c3db6fac1866163a2c307b72d8e984b6780e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): auth/identity/entity/client_repository.go:24-33 | auth/identity/entity/client_webhook_repository.go:22-31 | auth/identity/entity/metric_repository.go:25-34 | auth/identity/entity/origin_repository.go:28-37 | auth/identity/entity/user_group_repository.go:25-34 | auth/identity/entity/user_repository.go:32-41 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 6 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/identity/entity/client_repository.go"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"20b813e033e1428fa59bb0813ca63f3c62bfbfb66728b706d6ac6a20ea6294e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): context/context.go:645-652 | middleware/i18n/handler.go:53-60 | middleware/i18n/handler.go:72-79 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"context/context.go"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"b526d2cb7b9dc3a467cb23ffbceb71ef0b602efd75484b0107ee962769c3b374"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): middleware/i18n/handler.go:82-88 | middleware/i18n/router.go:21-27 \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":"middleware/i18n/handler.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"04ac80488e857018264cfdc24df376e5838e82fd52d0afaae60b0862dbeca752"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): rest/errors/options.go:442-449 | rest/errors/zz_generic_methods.go:57-64 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"rest/errors/options.go"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"a576cc0ff9c5c7e0ac7d6cfd702754e5c809209e02cdb436a572b49a8f81b2c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): rest/types/day_time.go:33-46 | rest/types/iso8601.go:273-286 \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":"rest/types/day_time.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"da2d404f51d6fab1320374bf30b31fbfe00913165fbe74d559909e395ec26395"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): rest/errors/validation/string.go:247-264 | rest/errors/validation/string.go:268-285 \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 \u0060rest/errors/validation/string.go:247\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":"rest/errors/validation/string.go"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"e881e2105864fa074565b7d34d26b07df549de99278859fb18135afcb590a7da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): auth/identity/sdk/sdk.go:368-378 | auth/identity/sdk/sdk.go:417-427 \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 \u0060auth/identity/sdk/sdk.go:368\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. 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":"auth/identity/sdk/sdk.go"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"3611c13709e8d5a8777fa53158fae0f7a5b3c453fcca04896a2a494243184e3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): auth/oauth2/client_store_postgres.go:128-137 | auth/oauth2/device_code_store_postgres.go:64-73 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060auth/oauth2/client_store_postgres.go:128\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"auth/oauth2/client_store_postgres.go"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32281eef9ef2e7f10001e48e1ac62c64edc621a1394ffbac5c5631980abdbe1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): core/pkg/buildinfo/cloud.go:403-411 | core/pkg/buildinfo/cloud.go:416-424 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060core/pkg/buildinfo/cloud.go:403\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. 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":"core/pkg/buildinfo/cloud.go"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"228bf7e1fc4ae218e8bad3f3f952c544b4e149e29722017e19e4ca0a6ecda448"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): auth/oauth2/server.go:817-825 | auth/oauth2/server.go:842-850 \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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/oauth2/server.go"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"0699272701aa02afb2334723eaa8a8ee5cfdc2fda4fac55bbb7a369faa233a2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): rest/errors/validation/phone_number.go:222-226 | rest/errors/validation/phone_number.go:303-307 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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 after the matched lines, \u0060rest/errors/validation/phone_number.go:310\u0060 calls \u0060formatWithSpaces\u0060 and \u0060rest/errors/validation/phone_number.go:227\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":"rest/errors/validation/phone_number.go"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"753bd784feee64a49692e2a96fe7012e3a123f5aee3a5502ec12029237c509e4"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: UserPartial (LCOM4 10): UserPartial\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":"context/user.go"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"988932203d53a0af23466a21808f78078a60bc79c199192dd18583412ce40e96"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Route (LCOM4 7): Route\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/router/route.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbab37d7dac4aa91824f542e04ffff638925c7b86315fdaad434d4adb99e5d3d"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Session (LCOM4 5): Session\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":"middleware/sessions/session.go"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"23cf2f734bc385266f9f8d7d11a561e332ed8ce481b62cec73f8f16a901b1586"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SDK (LCOM4 4): SDK\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/identity/sdk/sdk.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8fbf3d9cb6a60028436b1500559178b9631fd26f478e577da154ce2be2429f1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TimeoutOptions (LCOM4 4): TimeoutOptions\u0027s methods fall into 4 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 4 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/server/timeout.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"842728e7f1c8cd117b6271ce71b06e35441916ecdd99e53b699e53084e7871e1"}},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"45d5c0c90253e2d3523ba1c26c4cf3b560b2809cfe5b3a1485ad30c99620f600"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c2b1b5d82543b8013f5805fc844bd0e33fcb4b1c1cc42fc139dbcb6768a8058e"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9286dadcc98065707392663654fc0f7f4eaf964dc6af1fe77fa7135d601763bc"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3168d13033b79174285d34cf391344e03312f9a90d814af45c01a608ddbd6701"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"13c027c9348a8fecf25105226d013081138aef7c83d6c4a32127d9de76f3a300"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9b18c4bba4bbc25adf39b08a4171f551908b3ecc10105e41a060e3d8167dfc4a"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"68f5c36958a106ff79e8dc421e6201eb3101220c4202d8f38a25daa2d0a74fb2"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"475005b6501017fffba25cbe85de0b188b61cf4c66443c69d86d7876407b2fe6"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fa89129794683169d40127177db2835abafbce172768eb26464e63b073771e4e"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d68c7c59c478a5521d1824f1f14873dafb4e3b094c34e159fe11f4cffb21191"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D13","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a8151c96b491090da86e051d4f18e332ae004ec5adf4f73283fdd9ffc260b999"},"taxa":[{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: controller/fileserver/fileserver.go: controller/fileserver/fileserver.go changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in fileserver.Handler at line 273. 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 03:27:05 \u002B02:00\u0027 --until=\u00272026-11-13 03:27:05 \u002B02:00\u0027 --full-history --no-merges -- controller/fileserver/fileserver.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":"controller/fileserver/fileserver.go"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"2834c4b6df028362edaae1407c90581de5a5e72468738f305d1cb4ee59c10d2a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: middleware/i18n/loader.go: middleware/i18n/loader.go changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in i18n.load at line 156. 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 03:27:05 \u002B02:00\u0027 --until=\u00272026-11-13 03:27:05 \u002B02:00\u0027 --full-history --no-merges -- middleware/i18n/loader.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":"middleware/i18n/loader.go"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"668a57d846de41ec9cbc66dcfac7707e36a4f61928b78f702108af3c4d7b980d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: think if child then only ship middlewares to child\u0027s routes (so MatchedRoutes always), otherwise use this pattern and default to all endpoints. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/requestid/requestid_test.go"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a60ddd1970f09a84c8a5cb2d41277778b54a5a0b15102a639efab36ddf62ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // if router.Handlers().FuncExists(handler) { // TODO: this is wrong. Think of it, in that state the rate middleware was not existed and this should be prepended right before the rate middleware in the chain..hmm. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/rate/rate.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"518ef7ad4ff952794b6a3ce4a04b1c7275d711f50c023b3c1b8b761ab6f539a8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: add an option to get the actual last modified or option to set. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/cache/cache.go"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"b561f1fd1da6db853125f45f4badd589cc35524a55442fc1a8f311978b0051aa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: when customize the last modified option: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/cache/cache_test.go"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1128df060003e01cb4855061e475d46e08c16fc5660a2850d73574650e450f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // 28 June 2024: Remove this check, let the router handle the error. TODO: Check if tests already exist for this. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/accesslog/accesslog.go"},"region":{"startLine":837}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f0114edeb6ddd68d19a36aa7cf679936ac3e5c0162b282261d295f590320ef"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Fields []string // field name, position? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"middleware/accesslog/csv.go"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dedfce79cfbe2afc9d48303e0f764d263bc6a2895b65f1a5e4c2aa2c1999b01"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // useful for dependencies with StopWithStatus(XXX) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/router/route_registry.go"},"region":{"startLine":661}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee0d87278023dd3d6b2d7bdfcc1df73d4d4955b28983b49e94890d7d109020d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: fix when recover (plain 500 or we can 503) this won\u0027t execute, even with \u0022defer\u0022, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/router/router_builder.go"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd453581497af8b6b3871aa632c7aab5a21a6553faad5606473ba9f284b2228"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // the docs better. Or TODO: add a link here in order to help new users. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/router/serve_mux.go"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60721af8372c42c8a922aee36885e7e055e49db9a0769399d4aeb5a57a9ed98"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // ctx.Do(h.handlers) // TODO: here MAYBE BUT MAYBE NOT NEED TEST AFTER FIXING COM ERRORS: ctx.Next() and defer operations may not work as HandleRequest re-sets the handlers, maybe we have to append there? see switch_hosts_test.go#131."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"core/router/serve_mux_middleware.go"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"97dece0f9b664011f07e2225bd288f2bdee8105740ef4291cdb0139929a85a96"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Register it on the iris.rest.response.handler and make it run after response is got from funcs, but before the response is sent. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/mvc/handler/options.go"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2b114a16862ac6695f2e26ea0e14653b3ff518f4cea9c9ef457bfbb74c0bdac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: can be improved by checking the slice/map element value type and its fields and then decide what to do. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/mvc/handler/request_decoder.go"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbcca2c54d5bd6058081a6089afbca37af46133cd2f36b09c5635de7490caf74"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"controller/mvc/handler/response_encoder.go"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edb6dfb14dd933a77381510f33e8fd59cddc7a141e4fb0850a475b04a0316c5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we should catch it, and filter out if it\u0027s an error from client not exist (if we allow on status codes, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/identity/cost.go"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"030fdacfb369ce8d5f8bc3cbccad790feedbb81c505579f9b741426306ec4d03"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: here idea: add a webhook on password reset, so the server-side can send a customized email or SMS or anything \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/identity/user_controller.go"},"region":{"startLine":587}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb7011de7bac1630bbc871b4d95ac5488561d09b1ff536c44b6c2cbd1af24eaf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // s.cache.InvalidateUser(u.ID, u.Username, false) // TODO: it may contain both or only one and that\u0027s causing problems.Maybe think the identifier as a return the uuid if it\u0027s a username, instead of having both to manage in cache too. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/identity/user_provider.go"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"010dd8fb3797c86106b96aaeb17fc001894f137a3a6394bb290aefd48ad28965"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: generic T of any User, the only thing is that we must document the Username and Password fields are required for signup. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"auth/identity/sdk/sdk.go"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"701f9681ce376aed777385b077fa5e06b37dd2ceaa1a5b8e0ed853041c1595a4"}},{"ruleId":"D20","level":"note","message":{"text":"No ADRs found: No ADRs found. No recognised ADR directory (\u0060docs/adr/\u0060, \u0060docs/decisions/\u0060, \u0060adr/\u0060, \u0060docs/rfcs/\u0060, an \u0060ADR0001/\u0060 folder, or their siblings) exists anywhere in this tree. What was searched, so you can tell an empty log from a search that missed one: every directory under the tree (build output, dependencies and VCS metadata excepted), for a document that is either any non-index page inside a recognised ADR directory, whatever its name and however deeply nested (\u0060docs/adr/use-postgres.md\u0060, \u0060docs/adr/2024/0001-x.md\u0060); or a file anywhere whose name is ADR-shaped (\u00600001-use-postgres.md\u0060, \u0060adr-012-caching.md\u0060); or, when neither turned anything up, a document carrying the decision-record signature (an \u0022Architecture Decision Record\u0022 heading, or Status / Context / Decision / Consequences as section headings). A decision log that clears none of these \u2014 unnumbered files outside any recognised directory, without those headings \u2014 is not seen by this check and this row is then wrong. If that is your case, say so rather than renaming anything; otherwise, consider recording architectural decisions in \u0060docs/adr/\u0060. ADRs are expected here because \u0060doc.go\u0060 makes this repository a deployable product (line 26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"doc.go"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0db8dbdfe7ff5e8140d6c7b2a969c92e093cc26bac84c751e84cddcb161e0b2"}},{"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":"1bba0956054964dc710ef9efbb1a271d7560ea2e9cad8d38dc7f1a9e5f6621cc"},"properties":{"commitSha":"52a893cdf56597d0892581ef3a1d152c01853b35"}},{"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":"5959aa5dd6acd936d7bd84d029888eeb746c677cbb01ac47e3637e51ea6e8f77"},"properties":{"commitSha":"52a893cdf56597d0892581ef3a1d152c01853b35"}},{"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":"f3f455347604e670aa0dcdaa045a5f5ebc0abb0278aaca8ac96ac0b62503b6ba"},"properties":{"commitSha":"52a893cdf56597d0892581ef3a1d152c01853b35"}},{"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":"54cb1ba76ac14ff3ee0adec1d71a8e44340ab447da085b1892c0b4bdfcf5b811"},"properties":{"commitSha":"52a893cdf56597d0892581ef3a1d152c01853b35"}},{"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":"cc61e0b8f15bf1c482541e3479ba510a361dda4f35d1d7efe36ec65f14f558a0"},"properties":{"commitSha":"a30b6278a9f46066014fc86d6389450ec4109001"}},{"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":"d9505bc5514925b29ba45e901cfa17e08c1379b4fe00baf0f57f40922cb25dc9"},"properties":{"commitSha":"52a893cdf56597d0892581ef3a1d152c01853b35"}},{"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":"395aafa70acbd7e68ca317ec50e20de95ebc41db0727c25d69d40d0aa986d1b0"},"properties":{"commitSha":"52a893cdf56597d0892581ef3a1d152c01853b35"}},{"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":"8b490c5143333e8913e8f5dc1f63afa49a8abf4ce3c4abd7de98cb17afc87538"},"properties":{"commitSha":"c4f5fae561b9268e43411bd05d8f33866360a075"}},{"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":"703b990f6d9a60db46de372b4bc3713bc769740b61be7dfed2b23b523664ac12"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"228717293663adf6814e4ed3902d35ae57e0fb1ae37165ea4de4f676848a2612"},"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":"bc26593caf509b487cb3dff9d1a587737a02c72fc5e13e59c1a151f7d6412ad4"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f922c7255994f5959364b9c3250dce73177cf5bdea64983fea86dca2fed1d22b"},"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":"4026f2ae5829c9ee6016d2289476bc6b9d069f22ca6e7b51c1f2cca18e7e1f59"},"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":"6bc3b539f953f180f304780b633bbb65e6d2911ce57503f2f0e4a05dfd504060"},"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":"d4a59e5ebdd54602107746841fd10b7252c68b34b02e02c73ed80377e8c2ca39"},"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":"28fb95c74cf7e51a3f6e58d6d5d9aaba698bdc10ef21fbd45c72dc90736c26c6"},"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":"01608f9a8ad34b096aee2a7b8db3a283f5966bf882150c4bddd506a1a310911c"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"482e3b19efd040fb2215efbc5e65f5b9996234817368c5a9198eb89910e46231"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"dd2ab60f0744f0fa3ded8d666143bf909ab8a2e8348ad2ddd8a93156d3adc94a"},"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":"f0f22509858ea2b8ad690f37045b26808534ca9de0cb980077ad81d572190886"},"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":"7a29df3c4b73b38337ac0c48c825ef6aace52faedb76536737648711426349e1"},"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":"7edfd8f4f5bf8e12eaa030a7c42ab1e660cfefd97a58fe598164ecb96a02e3c9"},"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":"fbae55df5f85e32ca32b5237b845c7388ab1f1cff2e732654830f8f06acc6881"},"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":"b838b7806d0898cfe1a4a22a66e472f1cc62ad0b9c671957c8cae4c42d81689c"},"taxa":[{"id":"CWE-295","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07: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":"2e85d2c27df8b8a3d9ead9e7d777fa0ccb0e39dcf2c03e3493899f735b6c69bd"},"taxa":[{"id":"CWE-330","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8a6489a6f45a75d7f255045d5ffcb0115a7aa00cf8c71aa55275bb73b09c7cfc"},"taxa":[{"id":"CWE-252","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-391","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A10: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":"ebed549985b62f64bc16af073d68ef5d188ecdd704a9191000ad8575c3d10b6d"},"taxa":[{"id":"CWE-400","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"79203a3c85ef2b845c88ccbab8465bdad664a709e430677b5c4b989a0a2083d6"},"taxa":[{"id":"CWE-614","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"8d79cf61faaffd385df1ad4b91ab24e81e0c392e9a9c150ecbb9931f5bd3ff94"},"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":"c4de9aac6f46bc617629280bec6d14c14bdb87aa0963263e1be08a576cc52847"},"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":"a1a6f52704f6bb924050a117e1759f70734acbdac78289ea569fa282dc2916a2"},"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":"da052e9934e02e18670ff5cf525c0d8a4fd3ceffd4b2b697b1981d292fc4d8ff"},"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":"cd802ce9b311503aaf0557ce78635ddd809b8a9a2d25c0f65b12cb4f173728a7"},"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":"1488afdee2a9d5418e548ce0a126f08674867d226932a450db8a12161a198a67"},"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":"1f8e748b18d11650baaa0fb48796cd9c8a7a52cb6fd6f242da460fb36b19d8a0"},"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":"be3480c248bdd714266ef5c08a6372646fda09507a670b7be47f378b45c9a5fe"},"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":"f0bd0a420e27467ec622168f5e40b877749f53a24b8eb2af2c2b10c5dd0c9ead"},"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":"5946881c575c9e68bcafea178f1cf8460911c3d8a61c89ee7c7c68f7d5422cf1"},"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":"94a0d91fec8bcc59be7037cd2dd409653a7f6cf5f1f70048cdb553e0b64d9c77"},"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":"bdee3c81a233e6ea9dec0fee62fad25c8f001d5ff9639cac31df029c62f97724"},"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":"4866ddc9549d7852f8d2f3133fbbfda14ac83327944093562734aee607e05b32"},"taxa":[{"id":"CWE-913","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":"a7a169d3ae2d2b6b3df160b0411b5f044f9cbd5fa4064548814145051857beac"},"taxa":[{"id":"CWE-913","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":"1736f359b4ddfef6b0730257b60c3e9bfc5defb68be75f32126c4c48f24ded1e"},"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":"2d976b15dd90db08e42ed60d2692cc5817153ef5df450304db21403f067132b0"},"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":"a0c7ff54f7c0ca3e3f6d569b5e865d19ded62752bee497288e8817f133152049"},"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":"0f84b78145466db4235339774523cbb7a0c976d456840e3a269b0e1c54a2f3a2"},"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":"fb56091f78ebca045ccfa78486063598d4d400be67ad4e9c982f701c3766038e"},"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":"72e8daaca486020352bfc7037dec24ad2e2dedd7c10d650709a08da04e976ffd"},"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":"e3a19bc0a0d69aafe480cf71812330b1c0bf0eadceaf84565d010beafcd4d57a"},"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":"5db381551cb8ca1cdace7c7ae860a003711aa6ba98cc33dc5dd265bc1730fde2"},"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":"be8b4ede8bdca43566dba395ad81e6e3ff20f21d26c9ce1d8c970f993f2b4832"},"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":"0626e50557def1dcd8457e87ebed8af8ccd8536d92200a437453b8fbbf54bfe5"},"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":"7a385da87df594d1e23ec59677d8c475645782ffdb3d1861e2ebddfa62eaff08"},"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":"13fdd394a829781cfb17e4ace613f310852a6ca8948f54ddcbf31c145439e1d0"},"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":"7c8658463cd81c90010cc32fada8a4c55f175c243934cc8b71851cd93283814f"},"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":"5301bfbb9856e23ac784d32d5ea16340121d997f94b14ddd204f4d932d95ab53"},"taxa":[{"id":"CWE-913","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":"a19dfb2c66d4b2b4c77caf685f3d04ded7ec145b449f69e585323b9d5bcf3a7d"},"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":"088e9f0b9844aeb7cb8a078569cc4f5fab39b5ea747f0daf4b7a2d909dfbce9a"},"taxa":[{"id":"CWE-1004","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02: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":"09e09dc2e529ef2207400f74decaeafff929c6fc08909677d65f9e3fe00df537"},"taxa":[{"id":"CWE-614","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c593d4dbd23724f337bfb8d2c1653812f143ae255bd9b59d4b3e9c37779fa6f4"},"taxa":[{"id":"CICD-SEC-3","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":"P12","level":"warning","message":{"text":"Coverage collected but not gated: CI collects a coverage report but no step enforces a minimum \u2014 coverage could halve and CI stays green. Add a step that fails the build when coverage drops below a floor (your coverage tool\u0027s minimum-threshold flag, or a coverage-gate action) so the number guards something. What was searched, so you can tell an absence from a miss: this repository\u0027s CI files AND its coverage configuration \u2014 the well-known coverage and test-runner config files, read at the repository root and inside workspace package directories two levels down, so a floor declared beside the tests rather than in the pipeline is credited \u2014 matched against the threshold settings this check knows by name. A floor set in your coverage service\u0027s web UI rather than in a committed file, or under a setting whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7f63c06044cf998d9a0698692df30d8873e29bc9b0c98ee829255017c1193d33"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!realIP.IsGlobalUnicast() || IPIsPrivateSubnet(realIP, privateRanges)\u0060 appears character-identically in 2 files \u2014 core/pkg/netutil/ip.go, core/server/ip.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":"core/pkg/netutil/ip.go"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf698ce1d836dc8ed1cc4f0166aacfb14c700afa2b97b640ae54587b1acb1c33"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(scheme == \u0022https\u0022 \u0026\u0026 port == 443) || (scheme == \u0022http\u0022 \u0026\u0026 port == 80)\u0060 appears character-identically in 2 files \u2014 core/pkg/netutil/url.go, core/server/url.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":"core/pkg/netutil/url.go"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"bed184307bbb42590bb200ddfc803423f45c84809cf9061c5de1a39da33df81e"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bytes.Compare(ipAddress, net.ParseIP(r.Start)) \u003E= 0 \u0026\u0026 bytes.Compare(ipAddress, net.ParseIP(r.End)) \u003C= 0\u0060 appears character-identically in 2 files \u2014 core/pkg/netutil/ip.go, core/server/ip.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":"core/pkg/netutil/ip.go"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a006e5d9ad80fb0d45a051f90ef8fb0b062a2ea434eff1f98bf88d85ed37f29"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060column == \u0022\u0022 || slices.Contains(columns, column)\u0060 appears character-identically in 2 files \u2014 context/context_bind_update.go, controller/mvc/handler/update_columns.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":"context/context_bind_update.go"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1df598c35df2348afd0b4ddcefe4349e6ddc3ab8ec1d889eefacd5b95fe2697"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060err != nil \u0026\u0026 !errors.Is(err, ErrNotFound)\u0060 appears character-identically in 3 files \u2014 auth/identity/entity/origin_repository.go, auth/identity/entity/user_group_repository.go, auth/identity/entity/user_repository.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":"auth/identity/entity/origin_repository.go"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e53d6ce04a99b5ddfb76a0886c1715e43bc91a48d03284b0bbe3217d744f8cb"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(authHeaderParts) != 2 || strings.ToLower(authHeaderParts[0]) != \u0022bearer\u0022\u0060 appears character-identically in 2 files \u2014 auth/auth.go, middleware/jwt/extractor.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":"auth/auth.go"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcec4b54d9c48630f1c662c53f91dd1b05f7d1560f70d04331bd4baa8fb6a445"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060len(update.Set) == 0 \u0026\u0026 len(update.Remove) == 0\u0060 appears character-identically in 2 files \u2014 auth/identity/user_controller.go, auth/identity/user_provider.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":"auth/identity/user_controller.go"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"67efe6f9540e92053fa44880d3edfe95480f52ac39c1f99f5ef6d22cc7363885"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060strings.HasPrefix(inputURL, \u0022localhost\u0022) || strings.HasPrefix(inputURL, \u0022127.0.0.1\u0022) || strings.HasPrefix(inputURL, \u00220.0.0.0\u0022) || strings.Co\u2026\u0060 appears character-identically in 2 files \u2014 core/pkg/netutil/url.go, core/server/url.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":"core/pkg/netutil/url.go"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0aa275f8ca32e3f0bdf3a3479b961d9a74cc0364da87f3e97b5647ca0c1a9761"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060update.ID == \u0022\u0022 \u0026\u0026 update.Username == \u0022\u0022\u0060 appears character-identically in 2 files \u2014 auth/identity/user_controller.go, auth/identity/user_provider.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":"auth/identity/user_controller.go"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"839329efc1ae551caa781d1e518791bb42fd4c9eea2afe98c0fe35a9fda546c8"}},{"ruleId":"X2","level":"note","message":{"text":"Not all functions that make a request accept a context.Context: Only 2/3 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: getGCPMetadataValue: \u0060getGCPMetadataValue\u0060 calls \u0060http.NewRequest(\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":"core/pkg/buildinfo/cloud.go"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b1d591dacd1ba5b949fc49061dfc32bf2aa433d913562553e369928a6de7f50"}},{"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":"iris_configuration.go"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4b405fb8f50efd4abd8b3f3765501c07f13c9b78548206e936884b16f637f4d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if writeErr != 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":"rest/errors/options.go"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b4c81c2e0639114a7c0b9477f196bec6e651dc00922b38fdd1b4151ad7841d5"}},{"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":"middleware/versioning/matcher.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fee774f5165bbf930d48830ea8c5bb4e9a74fd883c5624d39d5d141755acf1f8"}},{"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":"middleware/requestid/requestid.go"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"5349f9e7cb0623f4fbab7f3d6798a0ea82b11e24ba2f9e06393c2b54aaaf1c95"}},{"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":"middleware/recorder/response.go"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a6d90c29838c3d73c2917a883cc671c76756458095b8e9cb09c80194c66927"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err := ctx.ReadJSON(\u0026m); 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":"middleware/jwt/extractor.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"37189710bb887432fa0ed59a4956bbb6d1f4ad16fd6f03ff74bb7dd895f7d60c"}},{"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":"middleware/i18n/i18n.go"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"04f4e8474763658ad790fb5fb17c6d732fc7c0550491eb2b54fdf84e0906b5aa"}},{"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":"middleware/i18n/i18n.go"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"340005349d88e239bfb9fde02fb6800553c4064ddc687227b43036f6734f65a6"}},{"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":"middleware/i18n/internal/plural.go"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fbe508b7d75d70f4ad28175df0467d3c12cc16534037abb44a6a60ce7ad933"}},{"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":"middleware/i18n/internal/template.go"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaad59e32cc68565121bbd918cfcf07425b206472929958ed74829902e66e550"}},{"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":"core/server/server.go"},"region":{"startLine":905}}}],"partialFingerprints":{"codehealthFindingId/v1":"294557d5ba14d608d2b060af1116e9a684c4263436de4a040175f061d489eea7"}},{"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":"controller/mvc/handler/param_value.go"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5df8374a1bcf213cd8d20b72b5b808d38e9938b26defbc26e59fa8f22bf59140"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err = pusher.Push(indexAsset, pushOpts); 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":"controller/fileserver/fileserver.go"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5315abd9c02893cd1638a9c93033362f38b6a7da2f9b652e435a7906dbfa34d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if err = pusher.Push(path.Join(prefixURL, indexAsset), pushOpts); 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":"controller/fileserver/fileserver.go"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7fb02413baaf0bd0ce1b4e51192a5432ae8cc74220ddc839fa7909d9215e92e"}},{"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":"controller/fileserver/fileserver.go"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc795b6862e14536b7ec5cf83ffa58578a6aa2804168cebe29d49993bd56a36e"}},{"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":"context/context_request.go"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"875d5a7a506079e5d870bfc2a4797ca7df1db061790eb5c3822033caa05ced85"}},{"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":"context/context_request.go"},"region":{"startLine":763}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8cb14d44efb1506bf452ea450d358648ee1b49c11773c903451989677a765fc"}},{"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":"context/context_request.go"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"82b15c6dec8663ab2f22b54fbee8f22cf02f5cffc12fa730d0a482d787250403"}},{"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":"context/context_request.go"},"region":{"startLine":1519}}}],"partialFingerprints":{"codehealthFindingId/v1":"6429f5b03b5193a4cf1852bb5bd046a098f2bd0169c73255bce3656b5d0f7f8a"}},{"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":"context/context_response.go"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"7892c34155e6a7979b269f79c28cfd28c685620c649c5d01aa64f9e260791191"}},{"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":"context/context_response.go"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"898726a2dbc1611993d26b4588afb734d0c2793475928332060954f5b410a388"}},{"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":"context/encoding/entry.go"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"50282fc914e71e3c9c9284dd3d6ea69e1e916a4dbff596be0a67f83503cff42a"}},{"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":"context/encoding/entry.go"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"e97b67ff9493e6074568a966575afda39fabcc4c35539cf2455a16eba2765519"}},{"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":"context/encoding/entry.go"},"region":{"startLine":726}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ff86b4b39bc08491df3846342fb19d32301cffc7054a59fbe680a0bd926aa7"}},{"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":"context/encoding/entry.go"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc982173192c485158b35864ab7dfbf9327f6d5c1bcfac3b88297a9afafb0175"}},{"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":"context/encoding/numeric.go"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8add321f9f2c3f667cfe2f1a1850fb78223b20e3a8d192d6b314d9bcf190f513"}},{"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":"context/encoding/numeric.go"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"be24c6da3d62ccab46afb80ec9b7f1d8dda5704be8fa79f64df7476adb15aa38"}},{"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":"context/encoding/numeric.go"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6b4ee5febf17049e6f4ea9152524a282a7a738ca81bc6141a43a3fd120fe065"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if _, err := io.ReadFull(rand.Reader, k); 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":"auth/configuration.go"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d72262b189774ffabc97eceede4c0335e4d7b14dfe52bcab917f07ffc938f47"}},{"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":"auth/oauth2/opa/policy.go"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"308704e9fe1c3a8d158acef09b737d1df1b3eb11219d6bafbf37d8c591ecdf3e"}},{"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":"auth/identity/user_controller.go"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"a510daf444dca5b5bcce3a5838144ed431dc37437c9d08c04fad2a8fdcfe1c4f"}},{"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":"auth/identity/entity/user_repository.go"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ad9037760fcb6b2e991e2b3baaf8dc552dc44b7ddf61e3db42005c52e49e77b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060if reqErr := r.ctx.Request().Context().Err(); reqErr != 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":"ai/turn.go"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"4071ac6703bd791b9e8878cde3def0db37ac756bc3d9e7540994338a1bca4f99"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060getIP\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\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":"context/context_request.go"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3fcd5889befe9ef399a3889c708841e4e6341652aa6ed59edf1eb28d9a4548"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060Weekday\u0060 turns a non-nil \u0060err\u0060 into \u0060return -1\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":"context/encoding/entry.go"},"region":{"startLine":549}}}],"partialFingerprints":{"codehealthFindingId/v1":"6741be238a2d2041a3a50f4e34257f091d0b66d88e979ff463797425fcdd34a2"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060FromJSON\u0060 turns a non-nil \u0060err\u0060 into \u0060return \u0022\u0022\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":"middleware/jwt/extractor.go"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"38891877f719256f41cb086c57c966b92dc4687074741cb6882856bbfa175d21"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on error: \u0060parseContentLength\u0060 turns a non-nil \u0060err\u0060 into \u0060return -1\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":"middleware/recorder/response.go"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"52862eb6577289c9be6157b8b8def732648fdaed0e973e2cefb22620121abd77"}}],"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-1004","guid":"872195c9-bb07-cf51-8a32-865f4bb753ca","name":"Sensitive Cookie Without \u0027HttpOnly\u0027 Flag","shortDescription":{"text":"Sensitive Cookie Without \u0027HttpOnly\u0027 Flag"},"helpUri":"https://cwe.mitre.org/data/definitions/1004.html"},{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-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-252","guid":"78915dc5-e486-f858-bc3c-aa570ad9010d","name":"Unchecked Return Value","shortDescription":{"text":"Unchecked Return Value"},"helpUri":"https://cwe.mitre.org/data/definitions/252.html"},{"id":"CWE-259","guid":"ae9ad959-fbb6-9d5e-892d-3dca66da0b69","name":"Use of Hard-coded Password","shortDescription":{"text":"Use of Hard-coded Password"},"helpUri":"https://cwe.mitre.org/data/definitions/259.html"},{"id":"CWE-295","guid":"a706c4e2-1232-8859-ae2e-17aa2d41f8e2","name":"Improper Certificate Validation","shortDescription":{"text":"Improper Certificate Validation"},"helpUri":"https://cwe.mitre.org/data/definitions/295.html"},{"id":"CWE-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-330","guid":"f811ddf9-2e54-865b-9c76-f97905849790","name":"Use of Insufficiently Random Values","shortDescription":{"text":"Use of Insufficiently Random Values"},"helpUri":"https://cwe.mitre.org/data/definitions/330.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-391","guid":"d9ef5687-8d79-9b51-b509-b83411fbcdc3","name":"Unchecked Error Condition","shortDescription":{"text":"Unchecked Error Condition"},"helpUri":"https://cwe.mitre.org/data/definitions/391.html"},{"id":"CWE-400","guid":"ca529a89-676d-8857-aac1-84359c77bb6c","name":"CWE-400","shortDescription":{"text":"CWE-400"},"helpUri":"https://cwe.mitre.org/data/definitions/400.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-614","guid":"faa8a6a5-7e9d-5d5e-afc9-020ff49d250a","name":"Sensitive Cookie in HTTPS Session Without \u0027Secure\u0027 Attribute","shortDescription":{"text":"Sensitive Cookie in HTTPS Session Without \u0027Secure\u0027 Attribute"},"helpUri":"https://cwe.mitre.org/data/definitions/614.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-913","guid":"062167e8-5db3-0857-a865-a1fc4aad34bc","name":"CWE-913","shortDescription":{"text":"CWE-913"},"helpUri":"https://cwe.mitre.org/data/definitions/913.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/"},{"id":"A10:2025","guid":"9ca3ab55-ca61-fd5e-b9ab-3dad2efa59d0","name":"Mishandling of Exceptional Conditions","shortDescription":{"text":"Mishandling of Exceptional Conditions"},"helpUri":"https://top10.owasp.org/2025/A10_2025-Mishandling_of_Exceptional_Conditions/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"}]}],"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":73,"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."]}]}