{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D8","name":"Code Coverage","shortDescription":{"text":"Code Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/D8"},{"id":"D9","name":"Test Distribution","shortDescription":{"text":"Test Distribution"},"helpUri":"https://codehealth.canine.dev/dimensions/D9"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D18","name":"Solution Shape","shortDescription":{"text":"Solution Shape"},"helpUri":"https://codehealth.canine.dev/dimensions/D18"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D20","name":"ADR Quality","shortDescription":{"text":"ADR Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D20"},{"id":"D21","name":"Naming Consistency","shortDescription":{"text":"Naming Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D21"},{"id":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"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":"D40","name":"Network Egress Confinement","shortDescription":{"text":"Network Egress Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D40"},{"id":"D41","name":"Kernel \u0026 Syscall Confinement","shortDescription":{"text":"Kernel \u0026 Syscall Confinement"},"helpUri":"https://codehealth.canine.dev/dimensions/D41"},{"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":"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":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"id":"AX8","name":"Test isolation","shortDescription":{"text":"Test isolation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX8"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"C1","name":"Data Protection","shortDescription":{"text":"Data Protection"},"helpUri":"https://codehealth.canine.dev/dimensions/C1"},{"id":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"C4","name":"Data Retention","shortDescription":{"text":"Data Retention"},"helpUri":"https://codehealth.canine.dev/dimensions/C4"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"GD1","name":"Unfinished \u0026 placeholder code","shortDescription":{"text":"Unfinished \u0026 placeholder code"},"helpUri":"https://codehealth.canine.dev/dimensions/GD1"},{"id":"IC1","name":"Incompleteness \u0026 stubs","shortDescription":{"text":"Incompleteness \u0026 stubs"},"helpUri":"https://codehealth.canine.dev/dimensions/IC1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P5","name":"DR \u0026 Backup","shortDescription":{"text":"DR \u0026 Backup"},"helpUri":"https://codehealth.canine.dev/dimensions/P5"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"PF2","name":"Allocation hygiene","shortDescription":{"text":"Allocation hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF2"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"S1","name":"Cryptographic Hygiene","shortDescription":{"text":"Cryptographic Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/S1"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"ReqGen.WriteOp (cyclomatic 143): ReqGen.WriteOp has cyclomatic complexity 143 (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":"benchmark/Resp.benchmark/OfflineBench/ReqGenUtils.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2620aa04f16f7e6c7dc981d5829c59131a628f3029adfe010d0b203b54e862a7"}},{"ruleId":"D1","level":"warning","message":{"text":"MainSessionFunctions.InPlaceUpdaterWorker (cyclomatic 107): MainSessionFunctions.InPlaceUpdaterWorker has cyclomatic complexity 107 (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":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c7244086653f3cdd2edfcb31bfdd0a86334140499c7ba12721360ccad7b37f"}},{"ruleId":"D1","level":"warning","message":{"text":"MainSessionFunctions.CopyUpdater (cyclomatic 88): MainSessionFunctions.CopyUpdater has cyclomatic complexity 88 (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":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"45d3460306c4ee0edbf09d2fc6ad32697de7901c2a89c8beb55d118fc5a02b43"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkVADD (cyclomatic 87): RespServerSession.NetworkVADD has cyclomatic complexity 87 (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":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8bf0da7ced42ffd22c953a5f23a9717a3d86b332ae75a24e7bf09f6a93420a"}},{"ruleId":"D1","level":"warning","message":{"text":"LuaRunner.ProcessSingleRespTerm (cyclomatic 86): LuaRunner.ProcessSingleRespTerm has cyclomatic complexity 86 (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":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"711dae1357eb96566c4061fe92e4e192ccda6100dc940fea75cc9e65d15a14da"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkVSIM (cyclomatic 77): RespServerSession.NetworkVSIM has cyclomatic complexity 77 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (RespServerSession.NetworkVSIM::WriteRESP3Result, RespServerSession.NetworkVSIM::WriteRESP2Result) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bb835aac0efe0b430e3e8747f34eaad7532fad0abe575adbb2af5db1fb6e694"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionParseStateExtensions.TryGetGeoSearchOptions (cyclomatic 69): SessionParseStateExtensions.TryGetGeoSearchOptions has cyclomatic complexity 69 (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":"libs/server/SessionParseStateExtensions.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ae3235698d56e3d069cef42173cc1cb0372f7832ff05f38f49718a5ff0a67c"}},{"ruleId":"D1","level":"warning","message":{"text":"ReqGen.OnResponse (cyclomatic 65): ReqGen.OnResponse has cyclomatic complexity 65 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/ReqGen.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"2624824d530a6ac5d77a529a4eef304052115f2b19540525849806a8361b4e0a"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterSession.NetworkTryMIGRATE (cyclomatic 63): ClusterSession.NetworkTryMIGRATE has cyclomatic complexity 63 (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":"libs/cluster/Session/MigrateCommand.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"742bb9fa05f4ddc777ec1f46234e74b5dff5434e337f6b623fed6aaf7937adcc"}},{"ruleId":"D1","level":"warning","message":{"text":"TsavoriteKV.CreateNewRecordRMW (cyclomatic 63): TsavoriteKV.CreateNewRecordRMW has cyclomatic complexity 63 (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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fe2324d9c3ce42ac423e3c17879979f66bfb329f1ebb183b3bc0c8e2cdcf4a4"}},{"ruleId":"D1","level":"warning","message":{"text":"MainSessionFunctions.CopyRespToWithInput (cyclomatic 61): MainSessionFunctions.CopyRespToWithInput has cyclomatic complexity 61 (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":"libs/server/Storage/Functions/MainStore/PrivateMethods.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"addac25f2393509130357d4713b299c8eff0fbf9b93846a04f9bde3f3254307c"}},{"ruleId":"D1","level":"warning","message":{"text":"MainSessionFunctions.InitialUpdater (cyclomatic 57): MainSessionFunctions.InitialUpdater has cyclomatic complexity 57 (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":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd263968700c10c18d25f81920177dfd0278f185189236a2aef78e10e3df8bd9"}},{"ruleId":"D1","level":"warning","message":{"text":"LuaRunner.StructUnpack (cyclomatic 53): LuaRunner.StructUnpack has cyclomatic complexity 53 (threshold 15). Of this number, 35 points are the body\u0027s own statements and 18 belong to 5 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.Struct.cs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8503b4fe9a279a721948bc00fefa88d3116bfba217c15b60d083aea9516b8ce"}},{"ruleId":"D1","level":"warning","message":{"text":"Options.GetServerOptions (cyclomatic 51): Options.GetServerOptions has cyclomatic complexity 51 (threshold 15). Of this number, 50 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":"libs/host/Configuration/Options.cs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e861fa53980eead534d73724e6d4b16e3a966f795b0ed8f75367d55fd72a3e7"}},{"ruleId":"D1","level":"warning","message":{"text":"MainSessionFunctions.GetRMWModifiedFieldInfo (cyclomatic 51): MainSessionFunctions.GetRMWModifiedFieldInfo has cyclomatic complexity 51 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/VarLenInputMethods.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8eed570b22cef24ec2032efe2b249bc6b8978462d45e2647c0fb4ec2841b8bb"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkXVCREATE (cyclomatic 50): RespServerSession.NetworkXVCREATE has cyclomatic complexity 50 (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":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1ea19dda91d5caffd72162053a067a05e31c65e0a7522416bfe76e18fb3266b"}},{"ruleId":"D1","level":"warning","message":{"text":"LuaRunner.CMsgPackPack (cyclomatic 49): LuaRunner.CMsgPackPack has cyclomatic complexity 49 (threshold 15). Most of this is not in the body itself: 5 of the 49 points are its own statements and the rest belongs to 8 function items inside it that branch (TryEncode, TryEncodeInteger, TryEncodeTable, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"b144305c46cd45eb8c096399ca3dc1eb06588e04fc44fb23a36d610ae9b1e439"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkCLIENTKILL (cyclomatic 48): RespServerSession.NetworkCLIENTKILL has cyclomatic complexity 48 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 12 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/ClientCommands.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f2f585c3d411ae8a3b9b7a1adba340b764e6c4da6a5104843cbb646e7bb2e4"}},{"ruleId":"D1","level":"warning","message":{"text":"ExprCompiler.TryCompile (cyclomatic 45): ExprCompiler.TryCompile has cyclomatic complexity 45 (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":"libs/server/Resp/Vector/ExprCompiler.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"892bc581fa6c64422116998db634dfbd5a11c7e3b9856629c5e8602df1947de9"}},{"ruleId":"D1","level":"warning","message":{"text":"Options.Resolve (cyclomatic 45): Options.Resolve has cyclomatic complexity 45 (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":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/Options.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"98a5ae513473df8e2e2d1284adacd9eb2ba731cfe3fae232bce64e43774ba8ef"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.FastParseCommand (cyclomatic 44): RespServerSession.FastParseCommand has cyclomatic complexity 44 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller, it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Parser/RespCommand.cs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc32988532580b35858bcae7e06271d3c74e1f11c8691c650eafab21a944b0f6"}},{"ruleId":"D1","level":"warning","message":{"text":"AllocatorBase.AllocatorBase.ctor (cyclomatic 44): AllocatorBase.AllocatorBase.ctor has cyclomatic complexity 44 (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":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"95fab34a3e69ff6a0275ce206312a55cafbb860785e90f47b6ccd9e426a6bd05"}},{"ruleId":"D1","level":"warning","message":{"text":"LuaRunner.WriteResponse::TryWriteSingleItem (cyclomatic 43): LuaRunner.WriteResponse::TryWriteSingleItem has cyclomatic complexity 43 (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":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5de6ced175183accfedf294c2b81066436152c9324f334bb41156e174d7e9c6"}},{"ruleId":"D1","level":"warning","message":{"text":"GarnetServerOptions.GetSettings (cyclomatic 43): GarnetServerOptions.GetSettings has cyclomatic complexity 43 (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":"libs/server/Servers/GarnetServerOptions.cs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"386f7325427a73cc07d68df6e9421cdd4b9264c4480d1624c327884ef9faa5c1"}},{"ruleId":"D1","level":"warning","message":{"text":"ACLParser.ApplyACLOpToUser (cyclomatic 41): ACLParser.ApplyACLOpToUser has cyclomatic complexity 41 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 15 belong to 3 function items inside it that branch. 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":"libs/server/ACL/ACLParser.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a5d684fb274ecae74f105801f6434dad70467b84fe80dfe56e4c64f4016d1bf"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterSession.SingleKeySlotVerify (cyclomatic 40): ClusterSession.SingleKeySlotVerify has cyclomatic complexity 40 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/SlotVerification/ClusterSlotVerify.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc2cd7974cc3b0b549541b15be4a172fee519fd34b7a9c4ea9ec0903d41d0df"}},{"ruleId":"D1","level":"warning","message":{"text":"RespCommandArgumentParser.TryReadFromResp (cyclomatic 39): RespCommandArgumentParser.TryReadFromResp has cyclomatic complexity 39 (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":"playground/CommandInfoUpdater/RespCommandDocsParser.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"01af0a6e0b3ad5256d6d64f6155aa03596e0ed6ef0517d09cee36a216b7a5065"}},{"ruleId":"D1","level":"warning","message":{"text":"LuaRunner.CJsonEncode (cyclomatic 38): LuaRunner.CJsonEncode has cyclomatic complexity 38 (threshold 15). Most of this is not in the body itself: 4 of the 38 points are its own statements and the rest belongs to 7 function items inside it that branch (Encode, EncodeObject, EncodeTable, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e0e54ee6c4795e1dd2187bd9b62e33f7f431f6108db19923445c327fe9df8e"}},{"ruleId":"D1","level":"warning","message":{"text":"ObjectAllocatorImpl.WriteAsync (cyclomatic 38): ObjectAllocatorImpl.WriteAsync has cyclomatic complexity 38 (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":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb71ad6684e3fe111b84bba7dd68d0bbfffcb5b5305032f2ae1425d4522be473"}},{"ruleId":"D1","level":"warning","message":{"text":"TsavoriteKV.ContinuePendingRead (cyclomatic 37): TsavoriteKV.ContinuePendingRead has cyclomatic complexity 37 (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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/ContinuePending.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf8bef662688b85f44829e4bc09312e3efa9b7b3d1ba21386c84bd2517b1cb6"}},{"ruleId":"D1","level":"warning","message":{"text":"LuaRunner.AclCheckCommand (cyclomatic 36): LuaRunner.AclCheckCommand has cyclomatic complexity 36 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 5 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":2808}}}],"partialFingerprints":{"codehealthFindingId/v1":"2baa4b4658d1a40faf44cc95a2c5f2b90c76a601acb2f8782d93710639cca058"}},{"ruleId":"D1","level":"warning","message":{"text":"ExprRunner.ExecuteInstruction (cyclomatic 36): ExprRunner.ExecuteInstruction 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":"libs/server/Resp/Vector/ExprRunner.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e835067695caddcaf85492d1c6344fce878c9c61c58b45fd20ec187b955d36a"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterSession.NetworkClusterMigrate (cyclomatic 35): ClusterSession.NetworkClusterMigrate has cyclomatic complexity 35 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/RespClusterMigrateCommands.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0958f5ab85fdf5b52853f89042bf3b2b74b0c153e5e52030ab282c9bf81e79e"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkRICREATE (cyclomatic 35): RespServerSession.NetworkRICREATE has cyclomatic complexity 35 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RangeIndex/RespServerSessionRangeIndex.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c1ae11826fbdc154622bc21244f4268ac6ef01333d850416a0b89f2a93f583c"}},{"ruleId":"D1","level":"warning","message":{"text":"GarnetClient.ProcessReplies (cyclomatic 34): GarnetClient.ProcessReplies 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":"libs/client/GarnetClientProcessReplies.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"128ee449e46e9f4a2c079a9803d4adcb197d73213f12692a27a6de0d10d21331"}},{"ruleId":"D1","level":"warning","message":{"text":"SortedSetObject.SortedSetRange (cyclomatic 34): SortedSetObject.SortedSetRange 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":"libs/server/Objects/SortedSet/SortedSetObjectImpl.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ff068eab8c123feb659133d77a72016f1358a68150af158108400fa04c5aca"}},{"ruleId":"D1","level":"warning","message":{"text":"TsavoriteKV.InternalRMW (cyclomatic 34): TsavoriteKV.InternalRMW 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e1b816bcacb719e4d35fe00bf6974c004d6bd12e0855a75f3bbf611881d8f2d"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonPath.ParsePath (cyclomatic 34): JsonPath.ParsePath 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":"modules/GarnetJSON/JSONPath/JsonPath.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaaf1b1c2eb71068c9da0d8c0bcbbfbe76f93b7a5e4e898e4c9fc926862df80f"}},{"ruleId":"D1","level":"warning","message":{"text":"RespOnlineBench.OpRunnerGarnetClientSession (cyclomatic 33): RespOnlineBench.OpRunnerGarnetClientSession has cyclomatic complexity 33 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"35119db35b9a8d2539b1008d92f566849db47254397577b6cae0ac5fa19ae5d0"}},{"ruleId":"D1","level":"warning","message":{"text":"LuaRunner.Bitop (cyclomatic 33): LuaRunner.Bitop has cyclomatic complexity 33 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da89ede039db6cbd75126d7a1f1957fb9abadca0ee9e50f7a0152b6b355a8da"}},{"ruleId":"D1","level":"warning","message":{"text":"GarnetServer.InitializeServer (cyclomatic 32): GarnetServer.InitializeServer has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/GarnetServer.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"6047bd3db06c8ad21d74691dbb2b7526645d95194e37942bd34b0affa5662570"}},{"ruleId":"D1","level":"warning","message":{"text":"AofProcessor.ProcessAofRecordInternal (cyclomatic 32): AofProcessor.ProcessAofRecordInternal has cyclomatic complexity 32 (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":"libs/server/AOF/AofProcessor.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"98aa7a34a895582545ba12f0ea3ad6677ff37199af9406224a798a83d1ef4788"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkRegisterCs (cyclomatic 32): RespServerSession.NetworkRegisterCs has cyclomatic complexity 32 (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. This is NOT this file\u0027s highest cyclomatic complexity: RespServerSession.ProcessAdminCommands (cyclomatic 39) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/AdminCommands.cs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca36e9f49d547197496fc9720c60dfd5c52ff378e7cc6ab673696302ae6d470"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkROLE (cyclomatic 32): RespServerSession.NetworkROLE has cyclomatic complexity 32 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This is NOT this file\u0027s highest cyclomatic complexity: RespServerSession.ProcessAdminCommands (cyclomatic 39) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/AdminCommands.cs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8cf100722772619a92738c633a9bcd46b6e6a61fdb65e5fc83c7344b512f7e"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.ProcessMessages (cyclomatic 32): RespServerSession.ProcessMessages has cyclomatic complexity 32 (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. This is NOT this file\u0027s highest cyclomatic complexity: RespServerSession.ProcessArrayCommands (cyclomatic 161) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespServerSession.cs"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba169271336fa9e12760704f66ea733ceba67881b84fecff74732e27e807bf13"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorManager.PrepareVectorData (cyclomatic 32): VectorManager.PrepareVectorData has cyclomatic complexity 32 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 11 belong to 7 function items inside it that branch. To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.ElementData.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ad44867dcb4f90bc2b7147f411c504c80301f8c6834285c9c83b5c3c9831242"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeStorageDevice.EnsureNativeDeviceCreated (cyclomatic 32): NativeStorageDevice.EnsureNativeDeviceCreated has cyclomatic complexity 32 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"99489a7b1562913ed5502f1f69c96ac1c2093a895975e11c30efe1f83a04f634"}},{"ruleId":"D1","level":"warning","message":{"text":"SortedSetObject.GeoSearch (cyclomatic 31): SortedSetObject.GeoSearch has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/SortedSetGeo/SortedSetGeoObjectImpl.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"91aa8b6b0e0a67cb401fbb77987ea7f41f92ebec47f33fe00b671608b7c7ac13"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkSETEXNX (cyclomatic 31): RespServerSession.NetworkSETEXNX has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e01f3565e0b6700aa71e2ce89468fccd7680f785cc61b53a650a7a4f69845d9"}},{"ruleId":"D1","level":"warning","message":{"text":"ScanArraySliceFilter.ExecuteFilter (cyclomatic 31): ScanArraySliceFilter.ExecuteFilter has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ScanArraySliceFilter.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"261d303c5417dffe133e426e2c04c569d7b9e70cde05712327f1b0a9a9ef7115"}},{"ruleId":"D1","level":"warning","message":{"text":"RespCommandInfoParser.TryReadFromResp (cyclomatic 31): RespCommandInfoParser.TryReadFromResp has cyclomatic complexity 31 (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":"playground/CommandInfoUpdater/RespCommandInfoParser.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e80a08253c76061a383913a508e1f3f2215857161eb77a5f2523cd7ba50adad5"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientRequestProvider.RunOfflineGarnetClientSession (cyclomatic 30): ClientRequestProvider.RunOfflineGarnetClientSession 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":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fd2d93834ab8a518f4a7e7eb041da8fceb20bf6f75b3cc58312961bb11e9f4"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkVEMB (cyclomatic 30): RespServerSession.NetworkVEMB 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":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":1543}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b96a38828b19f64d219066a58ae15385d230fca5a7e8044fafb5731148a5ed"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorManager.ReadVectorIndexCore (cyclomatic 30): VectorManager.ReadVectorIndexCore 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":"libs/server/Resp/Vector/VectorManager.Locking.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"371a93669f6a9a0e160356e3c5d73e71d9e088366ff3f7c2e9b02edc96894027"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkCONFIG_SET (cyclomatic 30): RespServerSession.NetworkCONFIG_SET 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":"libs/server/ServerConfig.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"965197c8717dab38aa5162083b8d52b5a86f25ef506baeed9e311957c6d85b9c"}},{"ruleId":"D1","level":"warning","message":{"text":"TsavoriteKV.RecoveryLoadObjectsPass2 (cyclomatic 30): TsavoriteKV.RecoveryLoadObjectsPass2 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":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/Recovery.cs"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc5e9b0ae6b10977317ba90630878ba40fa8dc1cf2aa03adeb18cc6b1bc65f7"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientRequestProvider.RunOfflineGarnetClient (cyclomatic 29): ClientRequestProvider.RunOfflineGarnetClient has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da5e907f5c3805d5a65ee0bf1bece498955faacc4b6ec31498db41289b4c551"}},{"ruleId":"D1","level":"warning","message":{"text":"RespCommandArgumentConverter.Read (cyclomatic 29): RespCommandArgumentConverter.Read has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespCommandArgument.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd6b56e09d8283425b4ac61da7aa766211f8b34df2c470bc758e663b7459953"}},{"ruleId":"D1","level":"warning","message":{"text":"KeySpecConverter.Read (cyclomatic 29): KeySpecConverter.Read has cyclomatic complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespCommandKeySpecification.cs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"9196679dab6df4062ee39871268f3d16c42bee9d2b4eebcd8cf471cf3ee97b5e"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorManager.ReconcileRecoveredState (cyclomatic 29): VectorManager.ReconcileRecoveredState has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"419bde0cb01a1c91e54b79ffc9b3b1cb8f1f42d54853f2586291589f206b3c35"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkSKIP (cyclomatic 29): RespServerSession.NetworkSKIP has cyclomatic complexity 29 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Transaction/TxnRespCommands.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5e60fa195a275a6fa77ca7fa5abcfb996f48360ef9ce039a99442d07b902d8"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonPath.ParseArrayIndexer (cyclomatic 29): JsonPath.ParseArrayIndexer has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/JsonPath.cs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e74316bd957d45750c3cad683267a5642fcf99e9c6589db2515cdb2a734c6e"}},{"ruleId":"D1","level":"warning","message":{"text":"BenchmarkDotNetTestsApp.Main (cyclomatic 29): BenchmarkDotNetTestsApp.Main has cyclomatic complexity 29 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/BDN-Tsavorite.Benchmark/BenchmarkDotNetTestsApp.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9807498306e33ee07ce0718aefeb495fdf7dd54a512b5424163813bab03ec6ff"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.DisabledFeatures (cyclomatic 28): Program.DisabledFeatures has cyclomatic complexity 28 (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":"benchmark/Resp.benchmark/Program.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0e9afe442df7602c34a78fa32162d00726902f462e5edaf3fe5da73c4bdb2c3"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterSession.TryFAILOVER (cyclomatic 28): ClusterSession.TryFAILOVER has cyclomatic complexity 28 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/FailoverCommand.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eb0192443f65257e87d46863485dd9b4b9032eafa989f736397e7af8fbb3feb"}},{"ruleId":"D1","level":"warning","message":{"text":"LuaRunner.CJsonDecode (cyclomatic 28): LuaRunner.CJsonDecode 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 4 function items inside it that branch (DecodeValue, Decode, DecodeArray, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest. This is NOT this file\u0027s highest cyclomatic complexity: LuaRunner.CMsgPackUnpack::TryDecode (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f7c21432856314f75831d84b28da2df0e874404005949ff610d85d9415d6ba"}},{"ruleId":"D1","level":"warning","message":{"text":"RespCommandDocsParser.TryReadFromResp (cyclomatic 28): RespCommandDocsParser.TryReadFromResp has cyclomatic complexity 28 (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":"playground/CommandInfoUpdater/RespCommandDocsParser.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c46952a75eed151f9386c7e1f6a089f4767f29410ffc97a55332b756fe6115b"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientRequestProvider.RunOfflineSERedis (cyclomatic 27): ClientRequestProvider.RunOfflineSERedis has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9da1ef2464a0b76866d3e394662ab8c1dda4af05456bcfe0c9483053a57f15"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterManager.GossipMainAsync (cyclomatic 27): ClusterManager.GossipMainAsync has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Gossip/Gossip.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"26c2554f176a9495625d3a68e50a89931b222bfd3cabc40df8fdd0f6c0f48cbd"}},{"ruleId":"D1","level":"warning","message":{"text":"LuaRunner.ProcessCommandFromScripting (cyclomatic 27): LuaRunner.ProcessCommandFromScripting has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: LuaRunner.CMsgPackUnpack::TryDecode (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":3150}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d976aefe93d5b77d3c66ccd68fdc87fd2340f20474fc591e94ee1d7b1121bfa"}},{"ruleId":"D1","level":"warning","message":{"text":"LuaRunner.StructPack (cyclomatic 27): LuaRunner.StructPack has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: one other method here (LuaRunner.StructPack::TryEncodeInteger) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.Struct.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"940fd24b6163e0b9a640ce4881a7b071d0a95abbf93dc835a7d7247dc3f1658b"}},{"ruleId":"D1","level":"warning","message":{"text":"SortedSetObject.GetElementsInRangeByLex (cyclomatic 27): SortedSetObject.GetElementsInRangeByLex has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/SortedSet/SortedSetObjectImpl.cs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"d06ff849a0e636df16f63d62b8a0f9b939f7cb3381b45f23bf6df611ab828417"}},{"ruleId":"D1","level":"warning","message":{"text":"TsavoriteLogScanIterator.GetNextInternal (cyclomatic 27): TsavoriteLogScanIterator.GetNextInternal has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"257be1c0f3bfde722bea083bd49b19ae6474094707e1689a34213ba617a6ef99"}},{"ruleId":"D1","level":"warning","message":{"text":"ListObject.ListPosition (cyclomatic 26): ListObject.ListPosition 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":"libs/server/Objects/List/ListObjectImpl.cs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"c331579d8c93333a5f9a8b0e6f7ee6e598056880208b53e031341e22e4c288bf"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.SortedSetIntersect (cyclomatic 26): RespServerSession.SortedSetIntersect 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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8bf1bd67ded5e3cecee06b3f220884d3664b69e94a9ca707b1dd13d79d03d0"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.SortedSetUnion (cyclomatic 26): RespServerSession.SortedSetUnion 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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e847eb4563426a339963851191d48432d6ee69f3e13eedb4e826ef12840d1c1"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorManager.ReadOrCreateVectorIndex (cyclomatic 26): VectorManager.ReadOrCreateVectorIndex 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":"libs/server/Resp/Vector/VectorManager.Locking.cs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fea4ae2b2740b73de4e04a132259ce02a1e7ee3617ab1e31210d5ca8f60e96e"}},{"ruleId":"D1","level":"warning","message":{"text":"StorageSession.ProcessResp3ArrayOutput (cyclomatic 26): StorageSession.ProcessResp3ArrayOutput 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":"libs/server/Storage/Session/ObjectStore/Common.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"e712205dd181b6b984414003d2194079646814be466b9161e50d532b67b07651"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandInfoUpdater.TryUpdateCommandInfo (cyclomatic 26): CommandInfoUpdater.TryUpdateCommandInfo has cyclomatic complexity 26 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, 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":"playground/CommandInfoUpdater/CommandInfoUpdater.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"90038ce38aeb43218341688646d2faaafe97320166ffbb413885b9f4ca4b5777"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.TryParse (cyclomatic 26): Program.TryParse 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":"playground/LightEpochLitmus/Program.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"012bc6c7cff234a6f8b292c1e5da2104db367d72298498d8e3f7f1513730d062"}},{"ruleId":"D1","level":"warning","message":{"text":"TestLoader.TestLoader.ctor (cyclomatic 26): TestLoader.TestLoader.ctor has cyclomatic complexity 26 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 2 belong to one function item 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":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/TestLoader.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdf264b6759ca53101e90efe2e726a16d4ea96e905bc2aca9241ece666f4c598"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientRequestProvider.InitializeConnections (cyclomatic 25): ClientRequestProvider.InitializeConnections has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"252c203d88ae8df56fb1f772488a52dc31be291f00fc5736e6060649badd5838"}},{"ruleId":"D1","level":"warning","message":{"text":"RespOnlineBench.OpRunnerGarnetClientSync (cyclomatic 25): RespOnlineBench.OpRunnerGarnetClientSync has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"81cb3692d5a63dd82fe797ad017b07f6df3de79f393ce7fcda8dc41352c24c39"}},{"ruleId":"D1","level":"warning","message":{"text":"ReplicationSyncManager.MainStreamingSnapshotDriverAsync (cyclomatic 25): ReplicationSyncManager.MainStreamingSnapshotDriverAsync has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/DisklessReplication/ReplicationSyncManager.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8e49a42d29d3fee7c0460b2e852b326e0dcde255f43fe3b350d52877cf45dad"}},{"ruleId":"D1","level":"warning","message":{"text":"GarnetInfoMetrics.PopulateStatsInfo (cyclomatic 25): GarnetInfoMetrics.PopulateStatsInfo has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Metrics/Info/GarnetInfoMetrics.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96fa1b3d41b92b04ee0e1211fe936f35f2bfbe68da61961728103d088de179b"}},{"ruleId":"D1","level":"warning","message":{"text":"BitOp.__bitop_simdX128_and (cyclomatic 25): BitOp.__bitop_simdX128_and has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free. This shape REPEATS in the file: 2 other methods here (BitOp.__bitop_simdX128_and_long, BitOp.__bitop_simdX256_and) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"55080a077a816f157c197994b77d32bc742ecb605988f603c58d9c9d5b52d744"}},{"ruleId":"D1","level":"warning","message":{"text":"BitOp.__bitop_simdX128_and_long (cyclomatic 25): BitOp.__bitop_simdX128_and_long has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free. This shape REPEATS in the file: 2 other methods here (BitOp.__bitop_simdX128_and, BitOp.__bitop_simdX256_and) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bd7e9477e295175f415b23fced5ca800ec5f01b7facf0106c4602941f0f27a"}},{"ruleId":"D1","level":"warning","message":{"text":"BitOp.__bitop_simdX256_and (cyclomatic 25): BitOp.__bitop_simdX256_and has cyclomatic complexity 25 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free. This shape REPEATS in the file: 2 other methods here (BitOp.__bitop_simdX128_and, BitOp.__bitop_simdX128_and_long) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e0b3056e3dde8ace6cacb9102bab22091ee6477d9e0c737ead81302d82c85b"}},{"ruleId":"D1","level":"warning","message":{"text":"EntryPoint.Run (cyclomatic 25): EntryPoint.Run has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/EntryPoint.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99c3a00b0e00f279550d2ab9965e743869410ab9dd8dd0a007182017ad66415"}},{"ruleId":"D1","level":"warning","message":{"text":"CollectionItemBroker.TryGetNextListResult (cyclomatic 24): CollectionItemBroker.TryGetNextListResult has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/ItemBroker/CollectionItemBroker.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d83b9adce769df9bdd2b09a12bc40871c0f8ce5b7147430d0b94aa22d42ce55"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkCLIENTLIST (cyclomatic 24): RespServerSession.NetworkCLIENTLIST has cyclomatic complexity 24 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 4 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":"libs/server/Resp/ClientCommands.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a16a6a573c1d5ffd2986fa5009ee849654c3114453723d0bf864f58dc3ab7f9"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.TryConsumeMessages (cyclomatic 24): RespServerSession.TryConsumeMessages has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: RespServerSession.ProcessArrayCommands (cyclomatic 161) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespServerSession.cs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e5b42f6c56431e8712027ff4715d3e8d03ee8ecca9a885bed257f6b8b22008d"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkXVIMPORT (cyclomatic 24): RespServerSession.NetworkXVIMPORT has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"a915865e59b722cf469c7bf118e7ce788bc84cda9366aa10fe0e47bcc5a383a5"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkVSIM::WriteRESP2Result (cyclomatic 24): RespServerSession.NetworkVSIM::WriteRESP2Result has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This shape REPEATS in the file: 2 other methods here (RespServerSession.NetworkVSIM, RespServerSession.NetworkVSIM::WriteRESP3Result) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"23890c1eec118cf152d9e2a58f32556efd0a084d610b25b0e5fc874ccf70e8eb"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkVINFO (cyclomatic 24): RespServerSession.NetworkVINFO has cyclomatic complexity 24 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":1875}}}],"partialFingerprints":{"codehealthFindingId/v1":"860172a33970b398ac2e9d3c4529808c871c29f73cc052cfbb20a64295068945"}},{"ruleId":"D1","level":"warning","message":{"text":"LogRecord.TrySetContentLengthsAndPrepareOptionals (cyclomatic 24): LogRecord.TrySetContentLengthsAndPrepareOptionals has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/LogRecord.cs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7e05bc3585aa92b6302bd2ef777f17f026bff65397e88a85b6f9b8d5cc66514"}},{"ruleId":"D1","level":"warning","message":{"text":"TsavoriteKV.InternalUpsert (cyclomatic 24): TsavoriteKV.InternalUpsert has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9884584791b8d62f54c083177886800ec3d46736d7a408a44e15948be05e966"}},{"ruleId":"D1","level":"warning","message":{"text":"TsavoriteKV.DumpDistributionInternal (cyclomatic 24): TsavoriteKV.DumpDistributionInternal has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"40536f577f0f4c71418441939fbf3195468f0593f59e80a6e3899f33cd7f6162"}},{"ruleId":"D1","level":"warning","message":{"text":"TsavoriteLogScanIterator.ExpandGetNextInternal (cyclomatic 24): TsavoriteLogScanIterator.ExpandGetNextInternal has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a153f05e0e57cb6281429237bfb00e7e7f7a042054440c21ad82750e7d836b2"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonPath.TryParseValue (cyclomatic 24): JsonPath.TryParseValue has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/JsonPath.cs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"865a528dd19979d43d2d20bb46aaf583c849a3004d7ed9b1bf6ac5f6f81d825f"}},{"ruleId":"D1","level":"warning","message":{"text":"CommandDocsUpdater.TryUpdateCommandDocs (cyclomatic 24): CommandDocsUpdater.TryUpdateCommandDocs has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 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":"playground/CommandInfoUpdater/CommandDocsUpdater.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6caa2d1f85c17ac2a7eaeffc0a6a80f00a25fb54a4b66c958c1a07216d9fcd49"}},{"ruleId":"D1","level":"warning","message":{"text":"TestLoader.LoadDataFromFile (cyclomatic 24): TestLoader.LoadDataFromFile has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/TestLoader.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"d046114ea070ca4cbdd1ebcee8127004da2927ccf1a6ec472d62236024fe4efc"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterConfig.GetNodeInfo (cyclomatic 23): ClusterConfig.GetNodeInfo 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":"libs/cluster/Server/ClusterConfig.cs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70bd2d37476a0cb71d686f7af3e89115036905114e7833e94476324ebbf8a33"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterSession.NetworkClusterSetSlot (cyclomatic 23): ClusterSession.NetworkClusterSetSlot has cyclomatic complexity 23 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/RespClusterSlotManagementCommands.cs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"f16a893d615bfbf30cbadf5a4d722cf53e058799789c35c08405f91defc01856"}},{"ruleId":"D1","level":"warning","message":{"text":"GlobUtils.MatchByte (cyclomatic 23): GlobUtils.MatchByte 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":"libs/server/GlobUtils.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"e102bd6d85d0fc8af726cd038a30cf991c91ec8a0def314a0e8c87a16bad9de7"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkGETEX (cyclomatic 23): RespServerSession.NetworkGETEX 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":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"e998f47220bf3bc9770e17e666e8557779f07301fb89bbae7c7b723fa60f72e2"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkEXPIRE (cyclomatic 23): RespServerSession.NetworkEXPIRE 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":"libs/server/Resp/KeyAdminCommands.cs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"9caac24783546af8001e99ceab3f38aba2d6958f82ccf9f499ba2bd70a203624"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.SortedSetMPop (cyclomatic 23): RespServerSession.SortedSetMPop 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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"63cae918029eb04739b18ff35fe9f44ebed70e3d5d77401d0dae14ed9f470124"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.SortedSetBlockingMPop (cyclomatic 23): RespServerSession.SortedSetBlockingMPop has cyclomatic complexity 23 (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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d408d76fff67de71a461c14cd48e6649ab87c448a3ea1c835a73c2d8b11c3f6"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.SimdFastParse (cyclomatic 23): RespServerSession.SimdFastParse has cyclomatic complexity 23 (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. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Parser/RespCommand.cs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc31a25c170de1f7208d3f714650253ad79b660aa7eafd7fe2ada50b1fbf88ac"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkVSIM::WriteRESP3Result (cyclomatic 23): RespServerSession.NetworkVSIM::WriteRESP3Result 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. This shape REPEATS in the file: 2 other methods here (RespServerSession.NetworkVSIM, RespServerSession.NetworkVSIM::WriteRESP2Result) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"e14b67a6bb20f3e688887d9487c3098ec44e5691b57461b26f04b9717d52d78d"}},{"ruleId":"D1","level":"warning","message":{"text":"RespOnlineBench.OpRunnerSERedisParallel (cyclomatic 22): RespOnlineBench.OpRunnerSERedisParallel has cyclomatic complexity 22 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 2 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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0678349bdac9e3242e8940d10bdf032dce5986b7912b62e49f167d6c7596540"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterSession.NetworkClusterGossip (cyclomatic 22): ClusterSession.NetworkClusterGossip 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":"libs/cluster/Session/RespClusterBasicCommands.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e6df8736f96b45af3a8037442fa117c948ff68858bedc8ea6b57ffa46b46e9"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerSettingsManager.TryParseCommandLineArguments (cyclomatic 22): ServerSettingsManager.TryParseCommandLineArguments 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":"libs/host/ServerSettingsManager.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"135d864d9cfce6298899b6f9bef537215c2941df078f5c0da275786d49b52a18"}},{"ruleId":"D1","level":"warning","message":{"text":"AofReplayCoordinator.AddOrReplayTransactionOperation (cyclomatic 22): AofReplayCoordinator.AddOrReplayTransactionOperation has cyclomatic complexity 22 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/AOF/ReplayCoordinator/AofReplayCoordinator.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"38af4c740fe6a7a5688a9ac66f14a8f2cc3d47e4e04589fb80e95bf67ddd7d28"}},{"ruleId":"D1","level":"warning","message":{"text":"LuaRunner.LuaRunner.ctor (cyclomatic 22): LuaRunner.LuaRunner.ctor has cyclomatic complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function item 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":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01d0b83675b5be44dcb6a36affc0e7adb8ff09fabcc707da1f855df012902a9"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkUNSUBSCRIBE (cyclomatic 22): RespServerSession.NetworkUNSUBSCRIBE has cyclomatic complexity 22 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: one other method here (RespServerSession.NetworkPUNSUBSCRIBE) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/PubSubCommands.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"6509e7ce36ea2430a089e9671960a45e78a16d54b8448f0e2dc33935f1af7f86"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkPUNSUBSCRIBE (cyclomatic 22): RespServerSession.NetworkPUNSUBSCRIBE has cyclomatic complexity 22 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: one other method here (RespServerSession.NetworkUNSUBSCRIBE) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/PubSubCommands.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"d95f02e372bcccc34350ebca47261dad7c497534a3348b284e5b57dca404f224"}},{"ruleId":"D1","level":"warning","message":{"text":"RangeIndexChunkedDeserializer.ProcessChunk (cyclomatic 22): RangeIndexChunkedDeserializer.ProcessChunk 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":"libs/server/Resp/RangeIndex/RangeIndexChunkedDeserializer.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f881c7d18a0fcfbfbf2cf8136f4e35a6fa5e924f4198d81a228e1895d28cb783"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorManager.StartQuantizationAndImportTasks (cyclomatic 22): VectorManager.StartQuantizationAndImportTasks has cyclomatic complexity 22 (threshold 15). Most of this is not in the body itself: 2 of the 22 points are its own statements and the rest belongs to 2 function items inside it that branch (TryProcessQuantizationOrImportRequest, QuantizationTaskAsync). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Quantization.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e3c3c44aede3fc686f669a967fe0586c391e43fec2f54ec89148423f17cf39"}},{"ruleId":"D1","level":"warning","message":{"text":"StorageSession.ListMove (cyclomatic 22): StorageSession.ListMove has cyclomatic complexity 22 (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":"libs/server/Storage/Session/ObjectStore/ListOps.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed2a95e6169ef83caaf0ff45c4a6ed847dc725e0094f3a4d2957228ede8dceb5"}},{"ruleId":"D1","level":"warning","message":{"text":"NumUtils.NumDigitsInLong (cyclomatic 21): NumUtils.NumDigitsInLong 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":"benchmark/Resp.benchmark/Common/NumUtils.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d3e6d159103554f45f81c3461ec11f5af25a7ca3fb12806e97204ef4951194"}},{"ruleId":"D1","level":"warning","message":{"text":"RespOnlineBench.OpRunnerGarnetClientSessionParallel (cyclomatic 21): RespOnlineBench.OpRunnerGarnetClientSessionParallel 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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4935541f8bdb5915b580a7c4dd5e7310d911acfb04ff449b60238cc718c7d39"}},{"ruleId":"D1","level":"warning","message":{"text":"RespOnlineBench.OpRunnerGarnetClientParallel (cyclomatic 21): RespOnlineBench.OpRunnerGarnetClientParallel 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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"26442286db59bedea7660a26551a7bd79cc75a0c57d82994c86160b24bb1ddd5"}},{"ruleId":"D1","level":"warning","message":{"text":"RespOnlineBench.OpRunnerSERedis (cyclomatic 21): RespOnlineBench.OpRunnerSERedis 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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"1936d8257f30f3dfba0afafd09295a22ab2913fa7509a104b73519e441b8fa4c"}},{"ruleId":"D1","level":"warning","message":{"text":"TxnPerfBench.Run (cyclomatic 21): TxnPerfBench.Run has cyclomatic complexity 21 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 2 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":"benchmark/Resp.benchmark/TxnPerfBench.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f35956d8ff70648522b61310515f2bd723093d5a4ee31704bb76b612ec2cb792"}},{"ruleId":"D1","level":"warning","message":{"text":"TxnPerfBench.OpRunnerSERedis (cyclomatic 21): TxnPerfBench.OpRunnerSERedis 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":"benchmark/Resp.benchmark/TxnPerfBench.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6f3ffa952eefdfb278097d23fcc67867f624eb56f66fce6f7279d95c4d9afb8"}},{"ruleId":"D1","level":"warning","message":{"text":"NumUtils.CountDigits (cyclomatic 21): NumUtils.CountDigits 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":"libs/common/NumUtils.cs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd64a1be79651e3a1a9a40c0d87c07a48e9d4709eb0fc8caa8ec1faa2d643ffd"}},{"ruleId":"D1","level":"warning","message":{"text":"NumUtils.CountDigits (cyclomatic 21): NumUtils.CountDigits has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/NumUtils.cs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"df11bd2ac0bc90883ffbb6944c639be1a236596bfe074aa1f388b582fc987c27"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeServerConfig.TrySet (cyclomatic 21): RuntimeServerConfig.TrySet has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Config/RuntimeServerConfig.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa8610b9098e6ea227ddee969c1721ebd725627e5faf1d7d4203dcfed795d947"}},{"ruleId":"D1","level":"warning","message":{"text":"CollectionItemBroker.TryGetResult (cyclomatic 21): CollectionItemBroker.TryGetResult 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":"libs/server/Objects/ItemBroker/CollectionItemBroker.cs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f5ebcf72c395baebf074d5c96cb4b29e58ccff3974a50befe1dc0c4cd7ae77"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkSCAN (cyclomatic 21): RespServerSession.NetworkSCAN 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":"libs/server/Resp/ArrayCommands.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7591271ed7f2145c0445415581cb81cc804f5e9e3e510bac7eaa7c76b37ee4"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.StringBitFieldAction (cyclomatic 21): RespServerSession.StringBitFieldAction has cyclomatic complexity 21 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 9 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapCommands.cs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d945bde7960c5cfb8ea1d991fed12f754725001970bdc744ba17445848c314"}},{"ruleId":"D1","level":"warning","message":{"text":"BitmapManager.CheckBitfieldOverflow::CheckSignedBitfieldOverflow (cyclomatic 21): BitmapManager.CheckBitfieldOverflow::CheckSignedBitfieldOverflow 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":"libs/server/Resp/Bitmap/BitmapManagerBitfield.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dadecc97f82c64b72a73bd5184aa752908517b48c93e48a53ba37e069154305"}},{"ruleId":"D1","level":"warning","message":{"text":"BitmapManager.InvokeNaryBitwiseOperation (cyclomatic 21): BitmapManager.InvokeNaryBitwiseOperation has cyclomatic complexity 21 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 6 belong to 3 function items inside it that branch. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapManagerBitOp.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b03f54e4419ad0e58cd3468e537b319a46b88b322011c710f2121e7b5e22457"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.ListBlockingPopMultiple (cyclomatic 21): RespServerSession.ListBlockingPopMultiple has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/ListCommands.cs"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"b95fa79e43fef831ebd07018752ab7695c0a5bd39479095fe38bbb59a6367424"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.ObjectScan (cyclomatic 21): RespServerSession.ObjectScan has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SharedObjectCommands.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"7403ba95bdc55cffcd8224d86b12be13034709001d30e554d306517a70f3962e"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.SortedSetDifference (cyclomatic 21): RespServerSession.SortedSetDifference 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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"6606e2891e1e8dba3345c71cb20d095127931b9c5cba553f70fc72a20507b80b"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkRICONFIG (cyclomatic 21): RespServerSession.NetworkRICONFIG has cyclomatic complexity 21 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RangeIndex/RespServerSessionRangeIndex.cs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba753ae141fb119ef3d50302a924e179cff123bc29d25f76dbeca15aac0eaacd"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorManager.QueueVectorReplay (cyclomatic 21): VectorManager.QueueVectorReplay has cyclomatic complexity 21 (threshold 15). Most of this is not in the body itself: 7 of the 21 points are its own statements and the rest belongs to 3 function items inside it that branch (StartReplicaTaskAsync, ApplyVectorSetReplay, StartReplicationReplayTasks). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Replication.cs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"f558a3719227122fef780ad757b594ff0a5f3110818fae6f35ceb0b82f083934"}},{"ruleId":"D1","level":"warning","message":{"text":"MainSessionFunctions.NeedCopyUpdate (cyclomatic 21): MainSessionFunctions.NeedCopyUpdate has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeecc536998afc531499e1b270bd24ed0e4e183662d7a74051681d37885c7e8b"}},{"ruleId":"D1","level":"warning","message":{"text":"StorageSession.SortedSetIntersection (cyclomatic 21): StorageSession.SortedSetIntersection 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":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df1ee3a60e9d59c4fc463bcef14d6eb22d5ecdb45a7d1c9c0cd85a441591581"}},{"ruleId":"D1","level":"warning","message":{"text":"TsavoriteKV.InternalRead (cyclomatic 21): TsavoriteKV.InternalRead 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRead.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed92980925008c18f3b9cc6c533201126043ddaf7d7291518f20788b3f67a028"}},{"ruleId":"D1","level":"warning","message":{"text":"TsavoriteLog.CommitInternal (cyclomatic 21): TsavoriteLog.CommitInternal has cyclomatic complexity 21 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":3359}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7323efba0d0ab68dad7b446136462751c3a48756496eb88d732fa5f1f3b3e4"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonGET.Reader (cyclomatic 21): JsonGET.Reader 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":"modules/GarnetJSON/JsonCommands.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b0d64477790560cb1c6347f0814b71fd88a2862e2869e9d9849e651321ca14"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonPath.ParseExpression (cyclomatic 21): JsonPath.ParseExpression 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":"modules/GarnetJSON/JSONPath/JsonPath.cs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3c17d10ee17b0513b7ed3b319c0b9bb8111e7f227e7a9cb4a16eb324aa14938"}},{"ruleId":"D1","level":"warning","message":{"text":"BooleanQueryExpression.CompareTo (cyclomatic 21): BooleanQueryExpression.CompareTo 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":"modules/GarnetJSON/JSONPath/QueryExpression.cs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b595e2a11902671ec16ae46965f4a78f807561a950a9277a19d376bc0651084"}},{"ruleId":"D1","level":"warning","message":{"text":"ReqGen.Generate (cyclomatic 20): ReqGen.Generate 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. This is NOT this file\u0027s highest cyclomatic complexity: ReqGen.GenerateBatch (cyclomatic 73) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/ReqGenLoadBuffers.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"11013a82701e85b034cd731a5cd9d568a8c381f979e86fa883ca101551bc9c87"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.RunBasicCommandsBenchmark (cyclomatic 20): Program.RunBasicCommandsBenchmark 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":"benchmark/Resp.benchmark/Program.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b012450b2e141ba41b9f09e0989edb375943935ed11c9ac275e2c459aa8a8eb"}},{"ruleId":"D1","level":"warning","message":{"text":"GarnetClientSession.ProcessReplies (cyclomatic 20): GarnetClientSession.ProcessReplies 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":"libs/client/ClientSession/GarnetClientSession.cs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a8676906f1c88603a5fabe6be6be501bce783e79f445ca313da9a75a69d41c0"}},{"ruleId":"D1","level":"warning","message":{"text":"GarnetClient.AwaitPreviousTaskAsync (cyclomatic 20): GarnetClient.AwaitPreviousTaskAsync 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":"libs/client/GarnetClient.cs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8adbfef9bd898955dc059d271d6529ca22aedbec2f8eb7b61121da2224fbce1"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterProvider.GetReplicationInfo (cyclomatic 20): ClusterProvider.GetReplicationInfo has cyclomatic complexity 20 (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":"libs/cluster/Server/ClusterProvider.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"4450d434e58765e79e1683ee6037bce3644f955db515266d9e7219f97b1e291d"}},{"ruleId":"D1","level":"warning","message":{"text":"MigrateSession.MigrateKeysFromStoreAsync (cyclomatic 20): MigrateSession.MigrateKeysFromStoreAsync 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":"libs/cluster/Server/Migration/MigrateSessionKeys.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9051cc303e7985708cc5adb26b72caed2c119d16da6a2c1836fecb4002111fe8"}},{"ruleId":"D1","level":"warning","message":{"text":"FileUtils.TryGetFiles (cyclomatic 20): FileUtils.TryGetFiles 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":"libs/common/FileUtils.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c8f665e600f8c75674a718b25d57721c156ebc53a5a99332c730664a432766c"}},{"ruleId":"D1","level":"warning","message":{"text":"GarnetKeyComparer.StaticEquals (cyclomatic 20): GarnetKeyComparer.StaticEquals 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/GarnetKeyComparer.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"85df380ca9700ae25359bc687b86c8e147988626c1292a2567be134db419564c"}},{"ruleId":"D1","level":"warning","message":{"text":"ServerSettingsManager.ConsolidateFlagArguments (cyclomatic 20): ServerSettingsManager.ConsolidateFlagArguments has cyclomatic complexity 20 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. 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":"libs/host/ServerSettingsManager.cs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce3b566caa519a20bb647ac263321e7cd3d954cbddafd9f78bbde45cfb129d64"}},{"ruleId":"D1","level":"warning","message":{"text":"LuaRunner.Log (cyclomatic 20): LuaRunner.Log 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. This is NOT this file\u0027s highest cyclomatic complexity: LuaRunner.CMsgPackUnpack::TryDecode (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"d66b82f86f42b93662ce689617ea1c06b6bd457c467f768ad262b65faa475361"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkSlowLogGet (cyclomatic 20): RespServerSession.NetworkSlowLogGet has cyclomatic complexity 20 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Metrics/Slowlog/RespSlowlogCommands.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"1926ba27a33b8ed0861ae5a10378652c3f117d211bb3dcbc38ed1a3885b365b5"}},{"ruleId":"D1","level":"warning","message":{"text":"SortedSetObject.SortedSetAdd (cyclomatic 20): SortedSetObject.SortedSetAdd 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":"libs/server/Objects/SortedSet/SortedSetObjectImpl.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2452d9c33fe11a931681f358223afc5f5e40977492911427bf51289b7b30b3b"}},{"ruleId":"D1","level":"warning","message":{"text":"SortedSetObject.GetElementsInRangeByScore (cyclomatic 20): SortedSetObject.GetElementsInRangeByScore 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":"libs/server/Objects/SortedSet/SortedSetObjectImpl.cs"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"c92ab87a716129bbd2a71de3e0e4f11800e34a4aae11321c371ecf1200543abd"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkAclSetUser (cyclomatic 20): RespServerSession.NetworkAclSetUser has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/ACLCommands.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1a6f4885568faedc0f3377b659e985827a16f6d135955879f73d4bc762f7726"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkDebug (cyclomatic 20): RespServerSession.NetworkDebug 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. This is NOT this file\u0027s highest cyclomatic complexity: RespServerSession.ProcessAdminCommands (cyclomatic 39) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/AdminCommands.cs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"efc10245206f8e6e3803d1c51c285847f6faa50aabc7ccc9dc508b68a78417a1"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.ProcessHelloCommand (cyclomatic 20): RespServerSession.ProcessHelloCommand 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":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"565a562c2561fe64b9e1cc0cbc1064aadd4a3f8c6bc1b5d52dbad88a5bafca38"}},{"ruleId":"D1","level":"warning","message":{"text":"BitmapManager.BitCountDriver (cyclomatic 20): BitmapManager.BitCountDriver 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. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapManagerBitCount.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"29593ba74ed33517ae60630e4e4af66341f388d726236ac7527995c48469c6fc"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.ListPopMultiple (cyclomatic 20): RespServerSession.ListPopMultiple has cyclomatic complexity 20 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/ListCommands.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"04990692ab0be2a7b290e615ff2258215a7c6ce0802004fe5e8a69cd358f5e76"}},{"ruleId":"D1","level":"warning","message":{"text":"AttributeExtractor.ExtractFields (cyclomatic 20): AttributeExtractor.ExtractFields 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":"libs/server/Resp/Vector/AttributeExtractor.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5ba626dd0661b2dfcf7df8a025fa44b318343768b8678cd9a023a2ef8f401f8"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionFunctionsUtils.EvaluateExpire (cyclomatic 20): SessionFunctionsUtils.EvaluateExpire has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/SessionFunctionsUtils.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6807026e358e566c16c55aeaf3f1bc5aadb86b9fa68d58522c2f87e8621316"}},{"ruleId":"D1","level":"warning","message":{"text":"LogSizeTracker.DetermineEvictionRange (cyclomatic 20): LogSizeTracker.DetermineEvictionRange 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":"libs/storage/Tsavorite/cs/src/core/Index/Common/LogSizeTracker.cs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbe0ac220fb291e8f68f91c9a20ce3e6d1271f6296acedd25c9f66e1e4c8918b"}},{"ruleId":"D1","level":"warning","message":{"text":"BitOp.__bitop_scalar_and (cyclomatic 20): BitOp.__bitop_scalar_and 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":"playground/Bitmap/BitOp.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae5ea5fc072f982d7565aa36b7c7ceca72c5c88f184cf84b9499a2c1ff196060"}},{"ruleId":"D1","level":"warning","message":{"text":"CommonUtils.GetCommandsToAddAndRemove (cyclomatic 20): CommonUtils.GetCommandsToAddAndRemove has cyclomatic complexity 20 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 4 belong to 3 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":"playground/CommandInfoUpdater/CommonUtils.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe890209465dda23e36aa5474eca5a43cdc2787ce2aeecb37f351b237956aaf4"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientRequestProvider.OnResponse (cyclomatic 19): ClientRequestProvider.OnResponse 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.cs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"442ef4a714ae97f74d394bb5c86a94fd3fe4f9b3a52b873612cc480c89558280"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientRequestProvider.RunOnlineGarnetClientParallel (cyclomatic 19): ClientRequestProvider.RunOnlineGarnetClientParallel 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":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a89fa929d3452a4ef7777e5ab9fcff14a8e768c6326ad5ae875d528b5ed2489"}},{"ruleId":"D1","level":"warning","message":{"text":"RespPerfBench.LightOperate (cyclomatic 19): RespPerfBench.LightOperate 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":"benchmark/Resp.benchmark/OfflineBench/RespPerfBench.cs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"927e30c629a768bb523cb81f235c219b2ce9a146b2f962f5690283e44ae712e3"}},{"ruleId":"D1","level":"warning","message":{"text":"RespOnlineBench.OpRunnerGarnetClient (cyclomatic 19): RespOnlineBench.OpRunnerGarnetClient 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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7b29de08e011daf42363064301983f582d04ad6b16595682669ea08094d4a74"}},{"ruleId":"D1","level":"warning","message":{"text":"MigrateSession.WriteOrSendAccumulatedRecordAsync (cyclomatic 19): MigrateSession.WriteOrSendAccumulatedRecordAsync 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":"libs/cluster/Server/Migration/MigrateSessionCommonUtils.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b9b83e823027d85e88014d6df88877f9f3312b056e1570c215c7506dbc77e36"}},{"ruleId":"D1","level":"warning","message":{"text":"MigrateSession.MigrateSlotsDriverInlineAsync (cyclomatic 19): MigrateSession.MigrateSlotsDriverInlineAsync 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":"libs/cluster/Server/Migration/MigrateSessionSlots.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"335a2e95b10ea13dd7c617a1326aa8f1d9748f26fd9f6d282d66be89e971f7e9"}},{"ruleId":"D1","level":"warning","message":{"text":"AofSyncDriverStore.TryAddReplicationDrivers (cyclomatic 19): AofSyncDriverStore.TryAddReplicationDrivers 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":"libs/cluster/Server/Replication/PrimaryOps/AofOperations/AofSyncDriverStore.cs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e13d9c8e2cfc6c9f68626476405314551245057f60b333e5cf9917b460ca42b"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterSession.ProcessPrimaryStream (cyclomatic 19): ClusterSession.ProcessPrimaryStream has cyclomatic complexity 19 (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":"libs/cluster/Server/Replication/ReplicaOps/AOFReplay/ReplicaReplaySession.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f76e1de52ccdf90605b9b899fba9176c44015fc9789335930cea6cf3078bdb4d"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterSession.NetworkClusterFailover (cyclomatic 19): ClusterSession.NetworkClusterFailover 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":"libs/cluster/Session/RespClusterFailoverCommands.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b148c144f66694a81fd2df66e2f27d912e76b6990fd8b0e04475d1bc2318f0"}},{"ruleId":"D1","level":"warning","message":{"text":"LuaRunner.StructPack::TryEncodeInteger (cyclomatic 19): LuaRunner.StructPack::TryEncodeInteger 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. This shape REPEATS in the file: one other method here (LuaRunner.StructPack) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.Struct.cs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"f13248d24beb5dbc25653a92e9b6136db7aa32e24816f06b85978ad180758675"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.TryRegisterCustomCommands (cyclomatic 19): RespServerSession.TryRegisterCustomCommands 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. This is NOT this file\u0027s highest cyclomatic complexity: RespServerSession.ProcessAdminCommands (cyclomatic 39) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/AdminCommands.cs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dfbedf79e353d946643f5038602dd1fc9cd429636246854838846d6f3d0b0db"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkStringBitPosition (cyclomatic 19): RespServerSession.NetworkStringBitPosition 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":"libs/server/Resp/Bitmap/BitmapCommands.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbf56beb62fae548fafb7da0cd04c3d8a98439d7e142f22fb886aec7eda1cc4a"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.HashExpire (cyclomatic 19): RespServerSession.HashExpire has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d61a513462240baf3c164efe1d42e6ac94f83832d57b3b02ac1144bdf7d1565"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.SortedSetExpire (cyclomatic 19): RespServerSession.SortedSetExpire has cyclomatic complexity 19 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a77e53cdb65115015bda67fd4ad84f6db8b817d90c73041ad65deca12619a6f"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkRIMETRICS (cyclomatic 19): RespServerSession.NetworkRIMETRICS has cyclomatic complexity 19 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RangeIndex/RespServerSessionRangeIndex.cs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4ad6571c718cfaae9bc86d2b149b97d5e5458ed2d740d22f76a62e1ad68323"}},{"ruleId":"D1","level":"warning","message":{"text":"MainSessionFunctions.Reader (cyclomatic 19): MainSessionFunctions.Reader 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":"libs/server/Storage/Functions/MainStore/ReadMethods.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ceed53375fa055a8fa9de8ff107e7a883048fd4275a3dd35aed61f9c40c825e"}},{"ruleId":"D1","level":"warning","message":{"text":"TsavoriteKV.InternalDelete (cyclomatic 19): TsavoriteKV.InternalDelete 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"2048eb49f0e18095c4e3a3ee13cfff158d4b5c0d5a6926c7251dd38bbd8504e4"}},{"ruleId":"D1","level":"warning","message":{"text":"KvBenchmark.RunWorkload (cyclomatic 19): KvBenchmark.RunWorkload 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":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.Worker.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"577f3cc73d9efb0134b632f6479077a1e11cf9230284b990a46ed1d343542a09"}},{"ruleId":"D1","level":"warning","message":{"text":"FixedLenYcsbBenchmark.Run (cyclomatic 19): FixedLenYcsbBenchmark.Run has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/FixedLenYcsbBenchmark.cs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"669ca704c12faf4792b56fc924b8bd7bb430dbc4e5baf6840c73b4a7d00e4bb4"}},{"ruleId":"D1","level":"warning","message":{"text":"ObjectYcsbBenchmark.Run (cyclomatic 19): ObjectYcsbBenchmark.Run has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ObjectYcsbBenchmark.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"332cdd0df8e5931fbde160c849f45ea86e7dc1d6a1358b3e110a15ad89a90dbf"}},{"ruleId":"D1","level":"warning","message":{"text":"SpanByteYcsbBenchmark.Run (cyclomatic 19): SpanByteYcsbBenchmark.Run has cyclomatic complexity 19 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SpanByteYcsbBenchmark.cs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"b93414494fb4218b54aaa6e216044bf627a6bf8eef9288b3fe582dca57d33a58"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientRequestProvider.RunOnlineGarnetClientSessionParallel (cyclomatic 18): ClientRequestProvider.RunOnlineGarnetClientSessionParallel 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":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d18090961aff461213dba6269a26ece8d5f5ef15c67a4fb6fc73edd2a27880d"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientRequestProvider.RunOnlineGarnetClient (cyclomatic 18): ClientRequestProvider.RunOnlineGarnetClient 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":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"4082b19d37977826452b7f860c159d5c9a3aa6804e37c016daca424d731a6d9f"}},{"ruleId":"D1","level":"warning","message":{"text":"RespOnlineBench.InitializeThreadWorkers (cyclomatic 18): RespOnlineBench.InitializeThreadWorkers 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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2dbe55f83eed3037c27e29b4ca1596b9e91b3caccb78b95336fe9e75afe781a"}},{"ruleId":"D1","level":"warning","message":{"text":"ReplicationManager.TryReplicateDisklessSyncAsync (cyclomatic 18): ReplicationManager.TryReplicateDisklessSyncAsync 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":"libs/cluster/Server/Replication/ReplicaOps/ReplicaDisklessSync.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"462fe45fc02f2dc2a7fa318631f64f5ffbd43db5ca8dcc434bd6fc1dbf9d9953"}},{"ruleId":"D1","level":"warning","message":{"text":"FilePathValidationAttribute.IsValid (cyclomatic 18): FilePathValidationAttribute.IsValid has cyclomatic complexity 18 (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":"libs/host/Configuration/OptionsValidators.cs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fba2f285b2f614ae632054ef6aaeccc5b3db3f8d071e198e68b456ab90e916"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkINFO (cyclomatic 18): RespServerSession.NetworkINFO 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":"libs/server/Metrics/Info/InfoCommand.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbaf7bd3da38c3cc6798a831c37601b4c53d29a453803de7099fa4bcb588c1e4"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkGET_SG (cyclomatic 18): RespServerSession.NetworkGET_SG 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":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad0dd82b2c70c446ef72bc381bae6a19873156b28d97105026cdd72db7fe0d37"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkSUBSCRIBE (cyclomatic 18): RespServerSession.NetworkSUBSCRIBE has cyclomatic complexity 18 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/PubSubCommands.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"5882d594bb8df1b6b22d8cb7f42ac5d1f168332c0b405d97e8e29c37e6016c3d"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkRISCAN (cyclomatic 18): RespServerSession.NetworkRISCAN 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":"libs/server/Resp/RangeIndex/RespServerSessionRangeIndex.cs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5f55ce97c4130e83a26a1d302ddf69420d22b1b6b61c96be616cd0d6a41a9a0"}},{"ruleId":"D1","level":"warning","message":{"text":"StorageSession.SortedSetUnion (cyclomatic 18): StorageSession.SortedSetUnion 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":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3f3c590f56236cda3dd3715194186ca8ae50f131df8ee004d6f532a27fc608"}},{"ruleId":"D1","level":"warning","message":{"text":"AllocatorBase.ScanLookup (cyclomatic 18): AllocatorBase.ScanLookup 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":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorScan.cs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"661987cf993183a5b6296b36db09f0fd349c3f50d112222a4d5b06392280202f"}},{"ruleId":"D1","level":"warning","message":{"text":"ObjectScanIterator.GetNext (cyclomatic 18): ObjectScanIterator.GetNext 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":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d1f550479a23a875be26c6f43fc41b593c285eaf4e1fe77f2f15841c747566"}},{"ruleId":"D1","level":"warning","message":{"text":"SpanByteScanIterator.GetNext (cyclomatic 18): SpanByteScanIterator.GetNext 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":"libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d348adfcadb73108899be7f4ce2fa0e0aef7033ef6405eca43023928d15ba96"}},{"ruleId":"D1","level":"warning","message":{"text":"TsavoriteBase.BeginMainIndexCheckpoint (cyclomatic 18): TsavoriteBase.BeginMainIndexCheckpoint 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":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/IndexCheckpoint.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f877cff3ccc7f5b22b97ca35f9fe0679ba4fb9c11cec1341eb62111862e087"}},{"ruleId":"D1","level":"warning","message":{"text":"TsavoriteKV.TryAllocateRecord (cyclomatic 18): TsavoriteKV.TryAllocateRecord 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/BlockAllocate.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c81a97087838a374185890c4ffa2091556b4e0fbcd91f6b7717252dfd98b346"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.Main (cyclomatic 18): Program.Main 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":"playground/LightEpochLitmus/Program.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce9aa6ac38d09dbeba2eae3e04964b95b0f59a09f0506cff1da17b57937fb6b7"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientRequestProvider.RunOnlineGarnetClientSession (cyclomatic 17): ClientRequestProvider.RunOnlineGarnetClientSession 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":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"11a59848ded53f2e0ec9c970325173231e17dd431234a77965896f0dedee2eaf"}},{"ruleId":"D1","level":"warning","message":{"text":"HashUtils.MurmurHash3x128 (cyclomatic 17): HashUtils.MurmurHash3x128 has cyclomatic complexity 17 (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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/HashUtils.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c31d9be794a6ea1f6fc69345ddcec4e07d90ec677aa271adada6ed7e7e7faa11"}},{"ruleId":"D1","level":"warning","message":{"text":"LightClientRequest.LightReceive (cyclomatic 17): LightClientRequest.LightReceive 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":"libs/common/LightClientRequest.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"281ca7202838754ddef3d407b08cdb9e031ea784daa26cf770700b61eb9efd83"}},{"ruleId":"D1","level":"warning","message":{"text":"RespReadUtils.TryReadSignedLengthHeader (cyclomatic 17): RespReadUtils.TryReadSignedLengthHeader has cyclomatic complexity 17 (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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/RespReadUtils.cs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bd630ef49a1992a102c86340a418b2af436bd1496a32d35b2c1962513192de7"}},{"ruleId":"D1","level":"warning","message":{"text":"AofReplayCoordinator.ProcessTransactionGroup (cyclomatic 17): AofReplayCoordinator.ProcessTransactionGroup 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 4 function items inside it that branch (RequiresOrderedReplay, IsVectorRename, SaveTransactionGroupKeysToLock, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/AOF/ReplayCoordinator/AofReplayCoordinator.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c00c8893602557738c06aab3e50d4a10af3d7615f16f7e5c7171a5148b7b7dd"}},{"ruleId":"D1","level":"warning","message":{"text":"LuaLimitedManagedAllocator.ResizeAllocation (cyclomatic 17): LuaLimitedManagedAllocator.ResizeAllocation 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":"libs/server/Lua/LuaLimitedManagedAllocator.cs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfdbd72bc36ae21b8d21f961624ddef4d265e7da3568e73efbb72f12a3e1e800"}},{"ruleId":"D1","level":"warning","message":{"text":"LuaRunner.RunForRunner (cyclomatic 17): LuaRunner.RunForRunner has cyclomatic complexity 17 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"02d9dbd7a8bbfe2cad72d6035e11431734dc0f0487676761b5c7e45c60a0ea4b"}},{"ruleId":"D1","level":"warning","message":{"text":"LuaRunner.UnsafeRunPreambleForRunner (cyclomatic 17): LuaRunner.UnsafeRunPreambleForRunner has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top. This is NOT this file\u0027s highest cyclomatic complexity: LuaRunner.CMsgPackUnpack::TryDecode (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac26f8d20be33f719dbaae131ddd5622cad37ba510642c10854276839ac1b07"}},{"ruleId":"D1","level":"warning","message":{"text":"LuaRunner.UnsafeRunPreambleForSession (cyclomatic 17): LuaRunner.UnsafeRunPreambleForSession 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. This is NOT this file\u0027s highest cyclomatic complexity: LuaRunner.CMsgPackUnpack::TryDecode (cyclomatic 29) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3eb3744941353999509477a641e8384d3d2480eccd327b03578f123f54170f"}},{"ruleId":"D1","level":"warning","message":{"text":"GarnetInfoMetrics.PopulateCommandStatsInfo (cyclomatic 17): GarnetInfoMetrics.PopulateCommandStatsInfo 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. This is NOT this file\u0027s highest cyclomatic complexity: GarnetInfoMetrics.GetSectionHeader (cyclomatic 18) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded method is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Metrics/Info/GarnetInfoMetrics.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"a75415a80410cb12ad35d77b903dca99ee425f1e7528b33a8274928ec5701244"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkRESTORE (cyclomatic 17): RespServerSession.NetworkRESTORE has cyclomatic complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/KeyAdminCommands.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd486e8cf8fa936587f71fa51a916c8af7e14eaf1d2d056be0cf7d6e83bc69f6"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.SortedSetRandomMember (cyclomatic 17): RespServerSession.SortedSetRandomMember 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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96fb15ff0b87d205077b3590b8299574ce018cdb53493b5aff00ac16f0735f7"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.GeoCommands (cyclomatic 17): RespServerSession.GeoCommands has cyclomatic complexity 17 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SortedSetGeoCommands.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3537948c4b86a68bd098dd776b0d2062df8806933b4753fcadd66b5ebb44aec"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.GeoSearchCommands (cyclomatic 17): RespServerSession.GeoSearchCommands 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":"libs/server/Resp/Objects/SortedSetGeoCommands.cs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"1be9823462bae56ebf3207b47dd5b660981aad13fc0633798921e190736bc0ca"}},{"ruleId":"D1","level":"warning","message":{"text":"RespCommandsInfo.ToRespFormat (cyclomatic 17): RespCommandsInfo.ToRespFormat has cyclomatic complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespCommandsInfo.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"58ba1131f18eb125d8acda4bd8b9c9e8de988317f67a6cfaecd97bc765559c69"}},{"ruleId":"D1","level":"warning","message":{"text":"ExprCompiler.ProcessOperator (cyclomatic 17): ExprCompiler.ProcessOperator 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":"libs/server/Resp/Vector/ExprCompiler.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d56a988989f1112bbdc3eb47fce8ec3b5cfd479e05eca472e6ba43b939cc066e"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionParseStateExtensions.TryGetInfoMetricsType (cyclomatic 17): SessionParseStateExtensions.TryGetInfoMetricsType has cyclomatic complexity 17 (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":"libs/server/SessionParseStateExtensions.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec88278e764f152895ec8905ed91240448fdf63f5c4363152c48fa77ce03b3ab"}},{"ruleId":"D1","level":"warning","message":{"text":"SessionParseStateExtensions.TryGetKeySearchArgsFromSimpleKeySpec (cyclomatic 17): SessionParseStateExtensions.TryGetKeySearchArgsFromSimpleKeySpec 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":"libs/server/SessionParseStateExtensions.cs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca092390a5d4084f8e929dbc8bb5870e35dd2afa9e88de086626c9238427a6aa"}},{"ruleId":"D1","level":"warning","message":{"text":"MainSessionFunctions.NormalizeRange (cyclomatic 17): MainSessionFunctions.NormalizeRange 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":"libs/server/Storage/Functions/MainStore/PrivateMethods.cs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cbf013cb1e00f6599ec59684f866d289d15acad36137ed6c67a6208b6c51ff4"}},{"ruleId":"D1","level":"warning","message":{"text":"StorageSession.DbScan (cyclomatic 17): StorageSession.DbScan has cyclomatic complexity 17 (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":"libs/server/Storage/Session/Common/ArrayKeyIterationFunctions.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d7348f7ca743733b4e888388fa4cb7ffcf6416bfcdf2c1e668c4032a85b07e1"}},{"ruleId":"D1","level":"warning","message":{"text":"StorageSession.RENAME (cyclomatic 17): StorageSession.RENAME has cyclomatic complexity 17 (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":"libs/server/Storage/Session/UnifiedStore/UnifiedStoreOps.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc09262565a45f92bf49db373121df48a118fc39a8af4fff80337274b2f822c"}},{"ruleId":"D1","level":"warning","message":{"text":"StoreWrapper.StoreWrapper.ctor (cyclomatic 17): StoreWrapper.StoreWrapper.ctor 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":"libs/server/StoreWrapper.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1462d9d2737216ca4b26c37dc509667c13b6a088f092b69dc6c9ce89eabf6aa"}},{"ruleId":"D1","level":"warning","message":{"text":"NativeStorageDevice.CompletionWorker (cyclomatic 17): NativeStorageDevice.CompletionWorker 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":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":2266}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5cbf8481847fb6b09023a3ba38c5e31c6d3b34458f5426a36e0bbf0675488a"}},{"ruleId":"D1","level":"warning","message":{"text":"TsavoriteLog.WriteOneRecord (cyclomatic 17): TsavoriteLog.WriteOneRecord 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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.Chunked.cs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"072d837c9dfdfc0e1c918ea3e3bd407763e604d8ab56bf716da3b1cd32aa63b0"}},{"ruleId":"D1","level":"warning","message":{"text":"TsavoriteLog.RestoreSpecificCommitAsync (cyclomatic 17): TsavoriteLog.RestoreSpecificCommitAsync 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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":3050}}}],"partialFingerprints":{"codehealthFindingId/v1":"78b71af32a89094c9c0f2fa518aaf2dba2f6754260e72150dcebeb6baceaa960"}},{"ruleId":"D1","level":"warning","message":{"text":"GarnetJsonObject.TryGet (cyclomatic 17): GarnetJsonObject.TryGet 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":"modules/GarnetJSON/GarnetJsonObject.cs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"228469ebbf4309c8e5ffe9def888ac2e6cc278d806e059785b50744afa206281"}},{"ruleId":"D1","level":"warning","message":{"text":"ScanArrayIndexFilter.ExecuteFilter (cyclomatic 17): ScanArrayIndexFilter.ExecuteFilter 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":"modules/GarnetJSON/JSONPath/ScanArrayIndexFilter.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2cebf2913ed4c41285a337786738e7464b537b6a1ac77c1335607239a50740"}},{"ruleId":"D1","level":"warning","message":{"text":"KvOutput.EmitFinalSummary (cyclomatic 17): KvOutput.EmitFinalSummary has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvOutput.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"80c8035160fd3a3436b135e77ae807f6b2cdc96eb4c30b0613b504c6afd1cf21"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientRequestProvider.RunOfflineLightClient (cyclomatic 16): ClientRequestProvider.RunOfflineLightClient 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":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0f99f65e1733a00fb48a2b48d4a3d2cb7493342d28f8418dcdaae789d564d8a"}},{"ruleId":"D1","level":"warning","message":{"text":"RespOnlineBench.Run (cyclomatic 16): RespOnlineBench.Run 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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b91266ec466b230c95aeb4c9188355592285e54a02bea457f6a63657e28b2a"}},{"ruleId":"D1","level":"warning","message":{"text":"ReplicaSyncSession.SendCheckpointAsync (cyclomatic 16): ReplicaSyncSession.SendCheckpointAsync 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":"libs/cluster/Server/Replication/PrimaryOps/DiskbasedReplication/ReplicaSyncSession.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"dda79122c5cf487df2bea9ca5dd3e56db7c6b0eb502b393a31c6a708ab3779ba"}},{"ruleId":"D1","level":"warning","message":{"text":"ReplicaReplayTask.FullPageBasedBackgroundReplayAsync (cyclomatic 16): ReplicaReplayTask.FullPageBasedBackgroundReplayAsync 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":"libs/cluster/Server/Replication/ReplicaOps/AOFReplay/ReplicaReplayTask.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"92cd52d1f6f05e35822d1ca713ecb1befebd8fb631e4a3852caffd7822fd7f74"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterSession.NetworkTryREPLICAOF (cyclomatic 16): ClusterSession.NetworkTryREPLICAOF 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":"libs/cluster/Session/ReplicaOfCommand.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0488bf3daeb014b47dfe3157d820cde13eb5b557b358053a00d464136bc2b5"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterSession.NetworkClusterSetSlotsRange (cyclomatic 16): ClusterSession.NetworkClusterSetSlotsRange has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/RespClusterSlotManagementCommands.cs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c1f28dc429a7484b09106b3c5f94948f6e1b92e51eb39ba56513342461e14bc"}},{"ruleId":"D1","level":"warning","message":{"text":"AofProcessor.StoreRMW (cyclomatic 16): AofProcessor.StoreRMW has cyclomatic complexity 16 (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":"libs/server/AOF/AofProcessor.cs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"9403f408dda6eebb5983d0527baae4f3fd5705eb32757745623556d3b5753c2e"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.FlushDb (cyclomatic 16): RespServerSession.FlushDb 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":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":1864}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1a9eed8f0550696ab6180cf9fe843e6f51a47e5a74472469f0f1615018efc6"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.StringBitField (cyclomatic 16): RespServerSession.StringBitField 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":"libs/server/Resp/Bitmap/BitmapCommands.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"764801e05e162f1900f6e9baa1af023da6e4ecf86dc3679c5e41d193452b5bb9"}},{"ruleId":"D1","level":"warning","message":{"text":"BitmapManager.__simd_popcX128 (cyclomatic 16): BitmapManager.__simd_popcX128 has cyclomatic complexity 16 (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. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free. This shape REPEATS in the file: one other method here (BitmapManager.__simd_popcX256) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapManagerBitCount.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"59a6c08286608709847f1d6d354aac5fef620abbc571d5df77b2669b3de293a1"}},{"ruleId":"D1","level":"warning","message":{"text":"BitmapManager.__simd_popcX256 (cyclomatic 16): BitmapManager.__simd_popcX256 has cyclomatic complexity 16 (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. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free. This shape REPEATS in the file: one other method here (BitmapManager.__simd_popcX128) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapManagerBitCount.cs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd508ffc3a20a6a9c51acc8164c189a8433b10a04ae26f0bcacb81cbc5c95427"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.NetworkCLIENTUNBLOCK (cyclomatic 16): RespServerSession.NetworkCLIENTUNBLOCK 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":"libs/server/Resp/ClientCommands.cs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f09f6b77826ccab6cad1270f29fc8029eef2848071378551d8ea15e808c600"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.HashSet (cyclomatic 16): RespServerSession.HashSet has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d4af2dfedfb331b6b57c3404341f2b2e96c45a59b443249db82fe078e0a317"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.HashRandomField (cyclomatic 16): RespServerSession.HashRandomField 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":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"e750c52021bbdaa9101f1fa918f143f2416f7d5dbb35391058359fc0cefa5a33"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.SortedSetIntersectStore (cyclomatic 16): RespServerSession.SortedSetIntersectStore 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. This shape REPEATS in the file: one other method here (RespServerSession.SortedSetUnionStore) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"bba8b08a79a6d77e5e622ef773d4d922d6a74eb8483827761a6c52d5e7c11c52"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.SortedSetUnionStore (cyclomatic 16): RespServerSession.SortedSetUnionStore 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. This shape REPEATS in the file: one other method here (RespServerSession.SortedSetIntersectStore) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd80856e83b9b8849e8f14d925f9d0d48723b2e83050c4ccec841ba2e6ca29c"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.SortedSetTimeToLive (cyclomatic 16): RespServerSession.SortedSetTimeToLive has cyclomatic complexity 16 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1843}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bd7199a3c858e69570dfa4eb6166a7104aa26d30faf95fbdd8810d222be9122"}},{"ruleId":"D1","level":"warning","message":{"text":"RespServerSession.ParseCommand (cyclomatic 16): RespServerSession.ParseCommand 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller, and it works in explicit hardware vector and instruction-set types. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Parser/RespCommand.cs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"633e92301c3f71f3b29ab7832e0f6c4bac21a9ad1504b365a1c6bb807fea6893"}},{"ruleId":"D1","level":"warning","message":{"text":"RespCommandDocs.ToRespFormat (cyclomatic 16): RespCommandDocs.ToRespFormat has cyclomatic complexity 16 (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":"libs/server/Resp/RespCommandDocs.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"70d2e5315307870d78714d7ddd3fc5d2739899de78ea2146c3bdbaeaf0c4105c"}},{"ruleId":"D1","level":"warning","message":{"text":"RespCommandsInfo.TryInitializeRespCommandsInfo (cyclomatic 16): RespCommandsInfo.TryInitializeRespCommandsInfo has cyclomatic complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespCommandsInfo.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"79dfc52ada7a39423a6aec23b20ad1e294b81d584b71b86d2e31456b6f55de21"}},{"ruleId":"D1","level":"warning","message":{"text":"AttributeExtractor.ExtractField (cyclomatic 16): AttributeExtractor.ExtractField 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":"libs/server/Resp/Vector/AttributeExtractor.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"cca92006b163a32fe2123bbf64ffec46fa25564794a0d51865b6c90c3e530fdc"}},{"ruleId":"D1","level":"warning","message":{"text":"VectorManager.RandomMembers (cyclomatic 16): VectorManager.RandomMembers has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":1696}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a168555fb5d6aa4b290c62c6d361c3f6add361112f9d5a24fd1e088a122790b"}},{"ruleId":"D1","level":"warning","message":{"text":"ScanIteratorBase.BufferAndLoad (cyclomatic 16): ScanIteratorBase.BufferAndLoad 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":"libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"3173c21d790585184644f404f96192ebd4001fa11ed4996ae972346a480e13f0"}},{"ruleId":"D1","level":"warning","message":{"text":"TsavoriteKV.CreateNewRecordDelete (cyclomatic 16): TsavoriteKV.CreateNewRecordDelete 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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0c9f24201cba50ef894ba395c16cb55ed63ccd784cff92df1ceff9a5aea631"}},{"ruleId":"D1","level":"warning","message":{"text":"ArraySliceFilter.ExecuteFilter (cyclomatic 16): ArraySliceFilter.ExecuteFilter 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":"modules/GarnetJSON/JSONPath/ArraySliceFilter.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e61b793bbe1c5906146f6766e694d1e77eddaeeace8786923acb20a283b52b1"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonPath.TryParseArrayLiteral (cyclomatic 16): JsonPath.TryParseArrayLiteral 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":"modules/GarnetJSON/JSONPath/JsonPath.cs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f05aa6ef7e7df7e6f87ff767bf31331b65504947d215b479fcc25dd0796003a"}},{"ruleId":"D1","level":"warning","message":{"text":"JsonPath.ReadQuotedString (cyclomatic 16): JsonPath.ReadQuotedString has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/JsonPath.cs"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"87e4bc5b92706def6ac8151b749b0f24f15f344f7d377c5a294db47adfa584e5"}},{"ruleId":"D1","level":"warning","message":{"text":"BitCount.__simd_popcX128 (cyclomatic 16): BitCount.__simd_popcX128 has cyclomatic complexity 16 (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. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free. This shape REPEATS in the file: 2 other methods here (BitCount.__simd_popcX256, BitCount.__simd_popcX256_aligned) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitCount.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e56daed6ff58662bdbcb55fe5c8284e4920394ead3a5ce9348850768595c11"}},{"ruleId":"D1","level":"warning","message":{"text":"BitCount.__simd_popcX256 (cyclomatic 16): BitCount.__simd_popcX256 has cyclomatic complexity 16 (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. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free. This shape REPEATS in the file: 2 other methods here (BitCount.__simd_popcX128, BitCount.__simd_popcX256_aligned) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitCount.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"59aad469adfe7af9d4c3f412ff1d852b366847823cc5d9d0b5be5372243cc3d5"}},{"ruleId":"D1","level":"warning","message":{"text":"BitCount.__simd_popcX256_aligned (cyclomatic 16): BitCount.__simd_popcX256_aligned has cyclomatic complexity 16 (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. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free. This shape REPEATS in the file: 2 other methods here (BitCount.__simd_popcX128, BitCount.__simd_popcX256) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitCount.cs"},"region":{"startLine":384}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5f5e81b3d3a376a0587629a47758f264d3417e83916cb6910e8130e86a36a56"}},{"ruleId":"D1","level":"warning","message":{"text":"BitOp.__bitop_multikey_simdX256_and (cyclomatic 16): BitOp.__bitop_multikey_simdX256_and has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6bf269476d173231e3fa7b93db6c90d16caf611d178d872e0b249b5de6c8b5d"}},{"ruleId":"D1","level":"warning","message":{"text":"Program.SetupDeviceBenchmark (cyclomatic 16): Program.SetupDeviceBenchmark has cyclomatic complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/Device.benchmark/Program.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"9365917ce94f29ee8d8405a75873f706ea86953861d97359af00a6dd8238569b"}},{"ruleId":"D1","level":"warning","message":{"text":"KvBenchmark.RunWorkers (cyclomatic 16): KvBenchmark.RunWorkers has cyclomatic complexity 16 (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":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"6afa1778237b8a42616a07afe7581b6edfd24fd942b10256f119129c4055bd08"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.WriteResponse::TryWriteSingleItem (cognitive 247): LuaRunner.WriteResponse::TryWriteSingleItem has cognitive complexity 247 (threshold 15). Drivers by points: if/else 46 (239 pts), ternaries 1 (6 pts), boolean chains 2 (nesting depth added 198). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This shape REPEATS in the file: 3 other methods here (LuaRunner.WriteResponse::TryWriteString, LuaRunner.WriteResponse::TryWriteMap, LuaRunner.WriteResponse::TryWriteMapToArray) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":1669}}}],"partialFingerprints":{"codehealthFindingId/v1":"63776705e91f93a63dc27d06f259d9e6b57d8dc4e165f508ca5adf2d56b24c79"}},{"ruleId":"D2","level":"warning","message":{"text":"MainSessionFunctions.InPlaceUpdaterWorker (cognitive 204): MainSessionFunctions.InPlaceUpdaterWorker has cognitive complexity 204 (threshold 15). 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":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7887f6924b5b56e3cc33337abc2ab1a5ec3f5bd029d3caa135c514d74a486b6"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.ProcessSingleRespTerm (cognitive 184): LuaRunner.ProcessSingleRespTerm has cognitive complexity 184 (threshold 15). 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":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf6cbe371e054879275b0e94358b45057096246bab4d880a85b6ff3c8b66358"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkVADD (cognitive 175): RespServerSession.NetworkVADD has cognitive complexity 175 (threshold 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":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f2ada54b421021fc70048cd7ef3cf67656c7c60e32bbfdb7ce7b8713c88afc"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkVSIM (cognitive 166): RespServerSession.NetworkVSIM has cognitive complexity 166 (threshold 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. This shape REPEATS in the file: 2 other methods here (RespServerSession.NetworkVSIM::WriteRESP3Result, RespServerSession.NetworkVSIM::WriteRESP2Result) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"986f9dc11da94d476218e304cebe39f4120f23d7a4a8077887286e8fe55fe6d9"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionParseStateExtensions.TryGetGeoSearchOptions (cognitive 161): SessionParseStateExtensions.TryGetGeoSearchOptions has cognitive complexity 161 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/SessionParseStateExtensions.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a3e681b26c5ada6931c20de716a79557308d2cddf74ca99844e64df87dc46c2"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKV.CreateNewRecordRMW (cognitive 158): TsavoriteKV.CreateNewRecordRMW has cognitive complexity 158 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a6d64937a3645edbefb9d8525fc399a3196b2c3697b7dd359c6dcc4ac6d6fd"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterSession.NetworkTryMIGRATE (cognitive 156): ClusterSession.NetworkTryMIGRATE has cognitive complexity 156 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/MigrateCommand.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"b89f78cd5555f5bdb4460dcc15d8f3e55a3bf829a7f69955d28b248ee26d0949"}},{"ruleId":"D2","level":"warning","message":{"text":"MainSessionFunctions.CopyUpdater (cognitive 150): MainSessionFunctions.CopyUpdater has cognitive complexity 150 (threshold 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":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7e701131e5f84a04b748817120839f661812b1d3eb85bcee37c6c5bc9a74dd"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkCLIENTKILL (cognitive 127): RespServerSession.NetworkCLIENTKILL has cognitive complexity 127 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. This shape REPEATS in the file: one other method here (RespServerSession.NetworkCLIENTKILL::IsMatch) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/ClientCommands.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"a745843fb4ac8849652fd4de53db3f14a58d55d2e6c5c78fde699fd1ac287463"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkXVCREATE (cognitive 123): RespServerSession.NetworkXVCREATE has cognitive complexity 123 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7dda867c7d8673a27563096843182d5e9d914102e0a72755440934cea04314c"}},{"ruleId":"D2","level":"warning","message":{"text":"ReqGen.WriteOp (cognitive 120): ReqGen.WriteOp has cognitive complexity 120 (threshold 15). 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":"benchmark/Resp.benchmark/OfflineBench/ReqGenUtils.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"e740a63d682231914add99afb238c0f2bd323316fadd88c35c064234f698fc27"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectAllocatorImpl.WriteAsync (cognitive 101): ObjectAllocatorImpl.WriteAsync has cognitive complexity 101 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"8251ef098d68cca390ca00637f6c8ee762cac141e49c91d83af2d632a34ea5ed"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkROLE (cognitive 99): RespServerSession.NetworkROLE has cognitive complexity 99 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/AdminCommands.cs"},"region":{"startLine":860}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ec2d4ae75fcf466272cf171c5c632651dfb0b7d2585965645c7e45a7f589ef"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterSession.NetworkClusterMigrate (cognitive 94): ClusterSession.NetworkClusterMigrate has cognitive complexity 94 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/RespClusterMigrateCommands.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf9512055044a613aa3533283290c1136cce8d2c6cbe51d14f809a5501a3bbb"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorManager.ReadVectorIndexCore (cognitive 86): VectorManager.ReadVectorIndexCore has cognitive complexity 86 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Locking.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba39c1287108230f2c373e00967689453cbe068e89615a3a27814079a0e89d1"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanArraySliceFilter.ExecuteFilter (cognitive 86): ScanArraySliceFilter.ExecuteFilter has cognitive complexity 86 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ScanArraySliceFilter.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f7d5f0056bdee81c1cb30c90d38f4086f2c90d2dede2b0836e63c670c50f6d9"}},{"ruleId":"D2","level":"warning","message":{"text":"NumUtils.NumDigitsInLong (cognitive 84): NumUtils.NumDigitsInLong has cognitive complexity 84 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/Common/NumUtils.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"157b93877db1bf776f0d5be45c1247b1e36a6179f05140774c7891505f431504"}},{"ruleId":"D2","level":"warning","message":{"text":"NumUtils.CountDigits (cognitive 84): NumUtils.CountDigits has cognitive complexity 84 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/NumUtils.cs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"95a800ca5ecd8affcbf04c70102959bc83925fd195682669acb4d2d001db1e29"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonPath.ParseArrayIndexer (cognitive 84): JsonPath.ParseArrayIndexer has cognitive complexity 84 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/JsonPath.cs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"e325c00e53614d1bcad4346e2a7b917e0ca8e6e208dba99ec8042c01ee606965"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.ProcessMessages (cognitive 83): RespServerSession.ProcessMessages has cognitive complexity 83 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespServerSession.cs"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccda95d34975507e2f1ac82bbe1f1b2ba3c26f23a3d65e7952983da98f4fbc55"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkVEMB (cognitive 82): RespServerSession.NetworkVEMB has cognitive complexity 82 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":1543}}}],"partialFingerprints":{"codehealthFindingId/v1":"f79e09e79bad8836ca18fb33ea7f0751502b80414803c34a5f89acff8dff87a1"}},{"ruleId":"D2","level":"warning","message":{"text":"ExprCompiler.TryCompile (cognitive 79): ExprCompiler.TryCompile has cognitive complexity 79 (threshold 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":"libs/server/Resp/Vector/ExprCompiler.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59aba26dacd6eea24c7422b6ab16227c667cc2565987542e1b53e1c4195282b"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkRICREATE (cognitive 77): RespServerSession.NetworkRICREATE has cognitive complexity 77 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RangeIndex/RespServerSessionRangeIndex.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"907a6fa0908d346458c9454f36f1a605e5405ecb90af9fa82ea249e728388212"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKV.ContinuePendingRead (cognitive 77): TsavoriteKV.ContinuePendingRead has cognitive complexity 77 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/ContinuePending.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e13f1fb86201fcb98a80657abcdd938e2362a54c32715cd35aeee1bccaac6f80"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkCLIENTLIST (cognitive 76): RespServerSession.NetworkCLIENTLIST has cognitive complexity 76 (threshold 15). Of this number, 59 points are the body\u0027s own statements and 17 belong to one function literal inside it that branches. To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/ClientCommands.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9501cc9539e61ed6d4e22c40f78b54a70a137295d397509e0b0832e5e2bd6f7"}},{"ruleId":"D2","level":"warning","message":{"text":"GarnetClient.ProcessReplies (cognitive 75): GarnetClient.ProcessReplies has cognitive complexity 75 (threshold 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":"libs/client/GarnetClientProcessReplies.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"75f41dc0e8de1831266c4ad88daac06927e97927fe6b8a7c621ac711ebd817a9"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.StructUnpack (cognitive 74): LuaRunner.StructUnpack has cognitive complexity 74 (threshold 15). Of this number, 39 points are the body\u0027s own statements and 35 belong to 5 function items 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":"libs/server/Lua/LuaRunner.Functions.Struct.cs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd322fdacb921c3706d36e00dc280297b3556b6f638958c72c53d47d06ae2f88"}},{"ruleId":"D2","level":"warning","message":{"text":"SortedSetObject.SortedSetRange (cognitive 68): SortedSetObject.SortedSetRange has cognitive complexity 68 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/SortedSet/SortedSetObjectImpl.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca70b98db3a95da59e9249bfaf711924c828a030769a1f8fd80dc76dd976aa93"}},{"ruleId":"D2","level":"warning","message":{"text":"RespCommandArgumentParser.TryReadFromResp (cognitive 68): RespCommandArgumentParser.TryReadFromResp has cognitive complexity 68 (threshold 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":"playground/CommandInfoUpdater/RespCommandDocsParser.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b788568264ecd4f8c08c3a96efd2a026d667cadad9366d87f945eab9f45ea6b"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.AclCheckCommand (cognitive 67): LuaRunner.AclCheckCommand has cognitive complexity 67 (threshold 15). Of this number, 57 points are the body\u0027s own statements and 10 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":2808}}}],"partialFingerprints":{"codehealthFindingId/v1":"7521f0d99b240a21fcf6fc413dd1f8f853570a7857aecd4c37bcfa3b4719a142"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorManager.ReadOrCreateVectorIndex (cognitive 67): VectorManager.ReadOrCreateVectorIndex has cognitive complexity 67 (threshold 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":"libs/server/Resp/Vector/VectorManager.Locking.cs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc55fa8d9d7f52070ff8150fe0e710bfd994ecb5484c7825d879c1cb1b26f1a"}},{"ruleId":"D2","level":"warning","message":{"text":"MainSessionFunctions.InitialUpdater (cognitive 67): MainSessionFunctions.InitialUpdater has cognitive complexity 67 (threshold 15). 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":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"21991389e28e14c7bb81f72e9d0c1b9a719aa80fab16c77ec05ed2eb0f37ac4b"}},{"ruleId":"D2","level":"warning","message":{"text":"GarnetServerOptions.GetSettings (cognitive 65): GarnetServerOptions.GetSettings has cognitive complexity 65 (threshold 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":"libs/server/Servers/GarnetServerOptions.cs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"987397b7dcd2d83447f194b971411ec47b035f55e73b274e5fa380d09be9b575"}},{"ruleId":"D2","level":"warning","message":{"text":"Options.GetServerOptions (cognitive 64): Options.GetServerOptions has cognitive complexity 64 (threshold 15). Of this number, 63 points are the body\u0027s own statements and 1 belongs 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":"libs/host/Configuration/Options.cs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"df2e3e406a88da33e7f21308634b7b3bc1a5fd94f097082b074aeceeeabff530"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteLogScanIterator.GetNextInternal (cognitive 64): TsavoriteLogScanIterator.GetNextInternal has cognitive complexity 64 (threshold 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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"db859f343f89675ee01657034280daaa15bdc97ecea809ae32d9a8e6fe82e235"}},{"ruleId":"D2","level":"warning","message":{"text":"MainSessionFunctions.CopyRespToWithInput (cognitive 62): MainSessionFunctions.CopyRespToWithInput has cognitive complexity 62 (threshold 15). 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":"libs/server/Storage/Functions/MainStore/PrivateMethods.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e1209223083f6eb33d1a2d00e235646aeb3da58e2de3bf140d2a0d1c3ef1c4"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.CMsgPackUnpack (cognitive 61): LuaRunner.CMsgPackUnpack has cognitive complexity 61 (threshold 15). Most of this is not in the body itself: 11 of the 61 points are its own statements and the rest belongs to 11 function items inside it that branch (TryDecodeLargeMap, TryDecode, TryDecodeSmallMap, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":2159}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d0e683d02be45c6b19f28b22979d9f10cb04063940e337bcc7511d594eb233"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKV.RecoveryLoadObjectsPass2 (cognitive 59): TsavoriteKV.RecoveryLoadObjectsPass2 has cognitive complexity 59 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/Recovery.cs"},"region":{"startLine":1066}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9901836f42cc8932b654f6e2b200b4a9962c347751b0a3a0c25b9db392f3ae1"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKV.InternalRMW (cognitive 58): TsavoriteKV.InternalRMW has cognitive complexity 58 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6b9c29b5a1d6d71bb4feb739c2ebea6718be37084e934ceb9948c94334242e"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKV.DumpDistributionInternal (cognitive 58): TsavoriteKV.DumpDistributionInternal has cognitive complexity 58 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs"},"region":{"startLine":916}}}],"partialFingerprints":{"codehealthFindingId/v1":"db298df6a2903290967c1a27355b2a145271adf0873dc3adf450dbd999cc7634"}},{"ruleId":"D2","level":"warning","message":{"text":"RespCommandDocsParser.TryReadFromResp (cognitive 58): RespCommandDocsParser.TryReadFromResp has cognitive complexity 58 (threshold 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":"playground/CommandInfoUpdater/RespCommandDocsParser.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ab4b15f29b07a5d6db050f3a2d5104f89d66b4bd4faf4919b55a0b1bef2ec90"}},{"ruleId":"D2","level":"warning","message":{"text":"TestLoader.LoadDataFromFile (cognitive 58): TestLoader.LoadDataFromFile has cognitive complexity 58 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/TestLoader.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f5adb5d4e392ede901032a2cd8981dd13fe8eb0f5941c9350fc9a077c783cd5"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientRequestProvider.RunOfflineGarnetClientSession (cognitive 57): ClientRequestProvider.RunOfflineGarnetClientSession has cognitive complexity 57 (threshold 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":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a282e8e0c46074a1fb759089ecf7a01da387c259b4ff02cacd141278cfe7a87"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkCONFIG_SET (cognitive 57): RespServerSession.NetworkCONFIG_SET has cognitive complexity 57 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/ServerConfig.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e3257b8c665df6dd28ad32425ed5243b7f8360d80c5f0f078da93fe72b0980"}},{"ruleId":"D2","level":"warning","message":{"text":"ReqGen.OnResponse (cognitive 56): ReqGen.OnResponse has cognitive complexity 56 (threshold 15). 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":"benchmark/Resp.benchmark/OfflineBench/ReqGen.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef07459b91a0d61f7c7c19258bc1b5f27d70e54b110765d8e8a911e0715f6e5c"}},{"ruleId":"D2","level":"warning","message":{"text":"ACLParser.ApplyACLOpToUser (cognitive 56): ACLParser.ApplyACLOpToUser has cognitive complexity 56 (threshold 15). Of this number, 40 points are the body\u0027s own statements and 16 belong to 3 function items inside it that branch. 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":"libs/server/ACL/ACLParser.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"93eaac9c234f00757ffa047e244c5906e1102f5dca2e9371d37a6825809a3830"}},{"ruleId":"D2","level":"warning","message":{"text":"Options.Resolve (cognitive 56): Options.Resolve has cognitive complexity 56 (threshold 15). 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":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/Options.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"905a8ab808171883faf647dc3baa9f5274716930297162f3425c5ad7c81e9e2e"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientRequestProvider.RunOfflineGarnetClient (cognitive 55): ClientRequestProvider.RunOfflineGarnetClient has cognitive complexity 55 (threshold 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":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":614}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b567abe3c629ef1df1958d6e93833dd1c450dac7d266c26d966fba03bae6138"}},{"ruleId":"D2","level":"warning","message":{"text":"SortedSetObject.GeoSearch (cognitive 55): SortedSetObject.GeoSearch has cognitive complexity 55 (threshold 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":"libs/server/Objects/SortedSetGeo/SortedSetGeoObjectImpl.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"23900f7439e7579c9e0acadd79b5b8d782a8ec66f0ee7a018dc87e724fa75a96"}},{"ruleId":"D2","level":"warning","message":{"text":"AllocatorBase.AllocatorBase.ctor (cognitive 55): AllocatorBase.AllocatorBase.ctor has cognitive complexity 55 (threshold 15). 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":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"977e613371d681a2275c19e47817331ad894c81c946cfbbfe079df4227573e52"}},{"ruleId":"D2","level":"warning","message":{"text":"AofProcessor.ProcessAofRecordInternal (cognitive 53): AofProcessor.ProcessAofRecordInternal has cognitive complexity 53 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/AOF/AofProcessor.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"366632cb573f3ae7730bd325095bca25f41378b0beed58fe5b71a470d66898be"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkRegisterCs (cognitive 53): RespServerSession.NetworkRegisterCs has cognitive complexity 53 (threshold 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":"libs/server/Resp/AdminCommands.cs"},"region":{"startLine":402}}}],"partialFingerprints":{"codehealthFindingId/v1":"804a4a82bf7b1eef1d681864a82642c29a26bbf2c3ce81589ef2ca6f814f58f0"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.SortedSetUnion (cognitive 53): RespServerSession.SortedSetUnion has cognitive complexity 53 (threshold 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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1342}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea278791dd6376d3a130ca3c165803a894e7347a0fc399b61b253399e688a3a"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorManager.ReconcileRecoveredState (cognitive 53): VectorManager.ReconcileRecoveredState has cognitive complexity 53 (threshold 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":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"636de99e750fd829f1b2c386f54e32ac157c499374acbe9605b9c489155674a7"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandInfoUpdater.TryUpdateCommandInfo (cognitive 53): CommandInfoUpdater.TryUpdateCommandInfo has cognitive complexity 53 (threshold 15). Of this number, 51 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/CommandInfoUpdater/CommandInfoUpdater.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aefc94a3291d20ad3cb15bc1285c318af339fcc30ab122db868040d62c1f542"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientRequestProvider.RunOfflineSERedis (cognitive 52): ClientRequestProvider.RunOfflineSERedis has cognitive complexity 52 (threshold 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":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb0af17be880c823f07ea1f33a448fe7add3d64d0f92137ab1cae9ef7b700fc3"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.CMsgPackPack (cognitive 52): LuaRunner.CMsgPackPack has cognitive complexity 52 (threshold 15). Most of this is not in the body itself: 5 of the 52 points are its own statements and the rest belongs to 8 function items inside it that branch (TryEncodeTable, TryEncodeInteger, TryEncodeMap, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fbb4f8f579c969039ac0d4fb4ec379813305cdb5db7528bea416e4c1d5d6b18"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.SortedSetDifference (cognitive 52): RespServerSession.SortedSetDifference has cognitive complexity 52 (threshold 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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":909}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a996236677acd1fe30b3e5ec80bc2d9e720108657a47c485317822ec7bde2c7"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteLogScanIterator.ExpandGetNextInternal (cognitive 52): TsavoriteLogScanIterator.ExpandGetNextInternal has cognitive complexity 52 (threshold 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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"114d3a6e895fee84630f9842b59cf9fc188fa0c9b6b758be15bc9f343351bea0"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.SortedSetIntersect (cognitive 51): RespServerSession.SortedSetIntersect has cognitive complexity 51 (threshold 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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"01715958d3cb126cc832e324034b19dc4488595e3b57dbc6ae8c67abe30c4dbe"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageSession.ProcessResp3ArrayOutput (cognitive 51): StorageSession.ProcessResp3ArrayOutput has cognitive complexity 51 (threshold 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":"libs/server/Storage/Session/ObjectStore/Common.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d0d42432b1ebd59beefdbc0745e6c5eddf0a8b00efd23eed7749ee0565038e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterSession.TryFAILOVER (cognitive 50): ClusterSession.TryFAILOVER has cognitive complexity 50 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/FailoverCommand.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf93729df9bfe594bb95abc71f454e084a88fbd5a0e129897171f1669c97c68"}},{"ruleId":"D2","level":"warning","message":{"text":"ListObject.ListPosition (cognitive 50): ListObject.ListPosition has cognitive complexity 50 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/List/ListObjectImpl.cs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"584137ca0cf7d10d38aeda8ec78a68c867beb168a9981c6b5a74b088087d7484"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkSETEXNX (cognitive 50): RespServerSession.NetworkSETEXNX has cognitive complexity 50 (threshold 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":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a22ed569f91d0e7dd5f30bb0a503003aa48886e9ceacaa3da16f03882448d9"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonPath.ParsePath (cognitive 50): JsonPath.ParsePath has cognitive complexity 50 (threshold 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":"modules/GarnetJSON/JSONPath/JsonPath.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"484327dc89606c1305315878aec91515be4e57b4ae3bb197b3503db166789fb3"}},{"ruleId":"D2","level":"warning","message":{"text":"SortedSetObject.SortedSetAdd (cognitive 49): SortedSetObject.SortedSetAdd has cognitive complexity 49 (threshold 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":"libs/server/Objects/SortedSet/SortedSetObjectImpl.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b79e7bee27445aa21cdce06666d512b925c7498a9815db8582e2b7c0520a632"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkUNSUBSCRIBE (cognitive 49): RespServerSession.NetworkUNSUBSCRIBE has cognitive complexity 49 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: one other method here (RespServerSession.NetworkPUNSUBSCRIBE) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/PubSubCommands.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e119985a40b739d2a8a2ef20254db60fbf4880ce9e455f80261354a886c59c2"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkPUNSUBSCRIBE (cognitive 49): RespServerSession.NetworkPUNSUBSCRIBE has cognitive complexity 49 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. This shape REPEATS in the file: one other method here (RespServerSession.NetworkUNSUBSCRIBE) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/PubSubCommands.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"742cb69eb7b70eb88d979038ec8bd98c361d45231d2a78e970013f25bb97c45d"}},{"ruleId":"D2","level":"warning","message":{"text":"TxnPerfBench.Run (cognitive 48): TxnPerfBench.Run has cognitive complexity 48 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 4 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":"benchmark/Resp.benchmark/TxnPerfBench.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e425fc1c0a70eea93c177d50f0987caefd0740f6005534e9c504afc3fbcf8fe"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.ProcessCommandFromScripting (cognitive 48): LuaRunner.ProcessCommandFromScripting has cognitive complexity 48 (threshold 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":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":3150}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f8b5699f6e821caad318fb959d5f0e9e17ea95363872c2aa327d880208ba98f"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKV.SplitChunk (cognitive 48): TsavoriteKV.SplitChunk has cognitive complexity 48 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/SplitIndex.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"b858ccf0e4738ba865a51927da8e914839e0340550edb9a47d0f5debaa2bddec"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandDocsUpdater.TryUpdateCommandDocs (cognitive 48): CommandDocsUpdater.TryUpdateCommandDocs has cognitive complexity 48 (threshold 15). Of this number, 46 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/CommandInfoUpdater/CommandDocsUpdater.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d2962d6b6404aeb869e4306946d9fb3fdd646c1e45df70a0f79eca6f89d5eb"}},{"ruleId":"D2","level":"warning","message":{"text":"BenchmarkDotNetTestsApp.Main (cognitive 48): BenchmarkDotNetTestsApp.Main has cognitive complexity 48 (threshold 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":"libs/storage/Tsavorite/cs/benchmark/BDN-Tsavorite.Benchmark/BenchmarkDotNetTestsApp.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c0efb93415c2b8418d479a1efff0faf1e346ae864cf164b650013fd2681383"}},{"ruleId":"D2","level":"warning","message":{"text":"RespOnlineBench.InitializeThreadWorkers (cognitive 47): RespOnlineBench.InitializeThreadWorkers has cognitive complexity 47 (threshold 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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e96e0faced1cbbe5de6eee5084fd4f82054b08f1cb0c660933a488579fb381"}},{"ruleId":"D2","level":"warning","message":{"text":"ReqGen.Generate (cognitive 46): ReqGen.Generate has cognitive complexity 46 (threshold 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":"benchmark/Resp.benchmark/OfflineBench/ReqGenLoadBuffers.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"856f45d570f8ccf47206fb348dd6c211eadaad3f3b67f295af175d8417a1f3df"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkGET_SG (cognitive 46): RespServerSession.NetworkGET_SG has cognitive complexity 46 (threshold 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":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"526b7d7f5be9f6b79c716b667e7ef5fd099cf509f49187d85c3c08b76eeb47c5"}},{"ruleId":"D2","level":"warning","message":{"text":"RespCommandArgumentConverter.Read (cognitive 46): RespCommandArgumentConverter.Read has cognitive complexity 46 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. 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":"libs/server/Resp/RespCommandArgument.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"5595fbcfba5f7a55e68df4420bacc2a95bb2c6b317e1bf9386f69c9e8f1378df"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkXVIMPORT (cognitive 46): RespServerSession.NetworkXVIMPORT has cognitive complexity 46 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"da91712c3718be96710eb33a772603360e4a0a3f3e2028037b373a80c487347b"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkVSIM::WriteRESP2Result (cognitive 46): RespServerSession.NetworkVSIM::WriteRESP2Result has cognitive complexity 46 (threshold 15). Drivers by points: if/else 18 (35 pts), loops 4 (7 pts), boolean chains 2, ternaries 2 (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. This shape REPEATS in the file: 2 other methods here (RespServerSession.NetworkVSIM, RespServerSession.NetworkVSIM::WriteRESP3Result) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":1411}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a63489f69d95a4c4eeff5f6538846560caefd315aa527febe8760279cda141a"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientRequestProvider.InitializeConnections (cognitive 45): ClientRequestProvider.InitializeConnections has cognitive complexity 45 (threshold 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":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"d22f201eec26b1810baf67298822b074e0759e5c272c0d0e91ff2abbd3689890"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkVSIM::WriteRESP3Result (cognitive 45): RespServerSession.NetworkVSIM::WriteRESP3Result has cognitive complexity 45 (threshold 15). Drivers by points: if/else 18 (36 pts), boolean chains 4, loops 2 (3 pts), ternaries 2 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 2 other methods here (RespServerSession.NetworkVSIM, RespServerSession.NetworkVSIM::WriteRESP2Result) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7406d48220c69809c40427d0bee4d8fdba69b079e3f962fc36dacb6a33af48a"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanIteratorBase.BufferAndLoad (cognitive 45): ScanIteratorBase.BufferAndLoad has cognitive complexity 45 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"db750e76ae6170d66a9c2c88d02fb7164aca02c08bb256c45079f1f99bd219e4"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.DisabledFeatures (cognitive 44): Program.DisabledFeatures has cognitive complexity 44 (threshold 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":"benchmark/Resp.benchmark/Program.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc595efb0e4ef6e8c6df1fdaa9e5b527478d7095a2e5ed35259a74c66487c18f"}},{"ruleId":"D2","level":"warning","message":{"text":"GarnetClientSession.ProcessReplies (cognitive 44): GarnetClientSession.ProcessReplies has cognitive complexity 44 (threshold 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":"libs/client/ClientSession/GarnetClientSession.cs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"10e8ae89951460904baa087b66788fb4a9c1a624e23fd11c6f2a5c76886166d4"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterManager.GossipMainAsync (cognitive 44): ClusterManager.GossipMainAsync has cognitive complexity 44 (threshold 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":"libs/cluster/Server/Gossip/Gossip.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c09fe1043ae7c26bacc1a829e1b47b43475a431c460cbc5bb553a8c20ab36d"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.CJsonEncode (cognitive 44): LuaRunner.CJsonEncode has cognitive complexity 44 (threshold 15). Most of this is not in the body itself: 4 of the 44 points are its own statements and the rest belongs to 7 function items inside it that branch (EncodeObject, EncodeTable, EncodeArray, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"53fa25d87bf1e6879fc465edecc21381244a48b84d9a0bed88bc066aeec24102"}},{"ruleId":"D2","level":"warning","message":{"text":"MainSessionFunctions.GetRMWModifiedFieldInfo (cognitive 44): MainSessionFunctions.GetRMWModifiedFieldInfo has cognitive complexity 44 (threshold 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":"libs/server/Storage/Functions/MainStore/VarLenInputMethods.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3b32025b4ce6a43c9dd2bd844a965cfca8c3f8b060bc7022b0d364fd2b5a1e4"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanArrayIndexFilter.ExecuteFilter (cognitive 44): ScanArrayIndexFilter.ExecuteFilter has cognitive complexity 44 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ScanArrayIndexFilter.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"499ecec91667ee4babac3934b674271e04004642ca74409b45d66df714af079d"}},{"ruleId":"D2","level":"warning","message":{"text":"TxnPerfBench.OpRunnerSERedis (cognitive 43): TxnPerfBench.OpRunnerSERedis has cognitive complexity 43 (threshold 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":"benchmark/Resp.benchmark/TxnPerfBench.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"44e2ac82c74004471a402ff35eb6233d329bfd537bd62a288a50622d93f8ce32"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterSession.NetworkClusterFailover (cognitive 43): ClusterSession.NetworkClusterFailover has cognitive complexity 43 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/RespClusterFailoverCommands.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf931f66a8a074201e0b5e96fff403ce089e2b20b59fc9bb9b91f75ab854eb7e"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.SortedSetMPop (cognitive 43): RespServerSession.SortedSetMPop has cognitive complexity 43 (threshold 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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"c608e4f762367e5b0cb1fddb6547ac5d73678def34964543582437cd51bb7ecc"}},{"ruleId":"D2","level":"warning","message":{"text":"RespOnlineBench.OpRunnerGarnetClientSync (cognitive 42): RespOnlineBench.OpRunnerGarnetClientSync has cognitive complexity 42 (threshold 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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9521af5e9c32f57b258c3dafab46e92f16445eed4ed1afda9674059f0a21daf"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplicaReplayTask.FullPageBasedBackgroundReplayAsync (cognitive 42): ReplicaReplayTask.FullPageBasedBackgroundReplayAsync has cognitive complexity 42 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/ReplicaOps/AOFReplay/ReplicaReplayTask.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"420bf61beb50015b5581786dd790765f390d65ae78477127111290a2eaf7621e"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterSession.NetworkClusterGossip (cognitive 42): ClusterSession.NetworkClusterGossip has cognitive complexity 42 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/RespClusterBasicCommands.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7c52f12be0c8bc188e1621923cdece5db64f7d65a4a47208afc388d4f795b9"}},{"ruleId":"D2","level":"warning","message":{"text":"ArraySliceFilter.ExecuteFilter (cognitive 42): ArraySliceFilter.ExecuteFilter has cognitive complexity 42 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ArraySliceFilter.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c43e8781ad745f7f1a7e30c793ab15f46b086c6673957c4db69124ae6edaf73"}},{"ruleId":"D2","level":"warning","message":{"text":"KvOutput.EmitFinalSummary (cognitive 42): KvOutput.EmitFinalSummary has cognitive complexity 42 (threshold 15). Of this number, 36 points are the body\u0027s own statements and 6 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvOutput.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"9882960cbdfe358330e1c6aa84b2689dbb75985db6def90097a9f936fb64fd80"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkGETEX (cognitive 41): RespServerSession.NetworkGETEX has cognitive complexity 41 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"c260d79298ad908bdf7347803a6f611bc7001736bb38b38ae8fb33079a6a4663"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKV.ContextReadWithPrefetch (cognitive 41): TsavoriteKV.ContextReadWithPrefetch has cognitive complexity 41 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller, it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c2b86cd3d0bf22ec2509d4dc10786011c44ba9923c576af54711314d91320e1"}},{"ruleId":"D2","level":"warning","message":{"text":"GarnetServer.InitializeServer (cognitive 40): GarnetServer.InitializeServer has cognitive complexity 40 (threshold 15). 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":"libs/host/GarnetServer.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c8163265d174594bb86d41dad31b018e904335ffaf944b739b956f47015113"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkSKIP (cognitive 40): RespServerSession.NetworkSKIP has cognitive complexity 40 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Transaction/TxnRespCommands.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"476a8bebfb1cde3db1df6b58c95ea59fd79233e3b112b619e085caa09f06902a"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeStorageDevice.EnsureNativeDeviceCreated (cognitive 40): NativeStorageDevice.EnsureNativeDeviceCreated has cognitive complexity 40 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b48522ff108620a76e317d48a3e1f7480f7c3fddd8a40e2ab5b72dc99001d9"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.TryConsumeMessages (cognitive 39): RespServerSession.TryConsumeMessages has cognitive complexity 39 (threshold 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":"libs/server/Resp/RespServerSession.cs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"d353de35dc2a0578e4e99efd2c8816217016bd5e61057452fce18a7b2ba21482"}},{"ruleId":"D2","level":"warning","message":{"text":"LogSizeTracker.DetermineEvictionRange (cognitive 39): LogSizeTracker.DetermineEvictionRange has cognitive complexity 39 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Index/Common/LogSizeTracker.cs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"618f00335b65536fd17ea509a8ad86a583a1c7c2c56ff81cb0e577548d86c0b7"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteBase.BeginMainIndexCheckpoint (cognitive 39): TsavoriteBase.BeginMainIndexCheckpoint has cognitive complexity 39 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/IndexCheckpoint.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2064f8de36d6786b7588a10935150ecdd22316160ab80e56cc0ac5d941758e3"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.SetupDeviceBenchmark (cognitive 39): Program.SetupDeviceBenchmark has cognitive complexity 39 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/Device.benchmark/Program.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae36448853ce8222092f82c5d5adb2ba1bd6e09e0a4293b3ba706548243925b"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrateSession.MigrateKeysFromStoreAsync (cognitive 38): MigrateSession.MigrateKeysFromStoreAsync has cognitive complexity 38 (threshold 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":"libs/cluster/Server/Migration/MigrateSessionKeys.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9126384ab2cb5f9cabcc56fb77872d65710022446ccc7baf10390e412d7d614e"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkSlowLogGet (cognitive 38): RespServerSession.NetworkSlowLogGet has cognitive complexity 38 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Metrics/Slowlog/RespSlowlogCommands.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"01ac6f8b87436f67e228a8e59a7035b13d287df3e85a8549ce4ff931ca1cc469"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkSCAN (cognitive 38): RespServerSession.NetworkSCAN has cognitive complexity 38 (threshold 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":"libs/server/Resp/ArrayCommands.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a8e6f64d6c3f8a8e5842bae313b074dc34185b62eac8ea3a9ddabbcfb5aa17"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.StringBitFieldAction (cognitive 38): RespServerSession.StringBitFieldAction has cognitive complexity 38 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 14 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapCommands.cs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"48ef161ba731218b7ee707ae91acd344d5aa9ee70ac42348c7a92d438dbe2a2d"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageSession.StringBitField (cognitive 38): StorageSession.StringBitField has cognitive complexity 38 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/MainStore/BitmapOps.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"284c4e915a934957bf78237d329294a9d2a9ffbd980958bb7313957919d3d66a"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKV.InternalUpsert (cognitive 38): TsavoriteKV.InternalUpsert has cognitive complexity 38 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dcda215a2f1d3c1927d77761295e72f4bb4e136ab030d6d9cb06f781be94698"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.RunBasicCommandsBenchmark (cognitive 37): Program.RunBasicCommandsBenchmark has cognitive complexity 37 (threshold 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":"benchmark/Resp.benchmark/Program.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b37d7889cd5c1b7ceba6c3e0069dbc6422816be9e506a0d968947b1e3a720e"}},{"ruleId":"D2","level":"warning","message":{"text":"SortedSetObject.GetElementsInRangeByLex (cognitive 37): SortedSetObject.GetElementsInRangeByLex has cognitive complexity 37 (threshold 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":"libs/server/Objects/SortedSet/SortedSetObjectImpl.cs"},"region":{"startLine":983}}}],"partialFingerprints":{"codehealthFindingId/v1":"82e3a6c2ab56d26385cb6b39e17ae5261091e477debdab78398220bc731643a1"}},{"ruleId":"D2","level":"warning","message":{"text":"AttributeExtractor.ExtractFields (cognitive 37): AttributeExtractor.ExtractFields has cognitive complexity 37 (threshold 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":"libs/server/Resp/Vector/AttributeExtractor.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1a1bda4252a81386213e15fb66f656f2d2a61462a615cd1ff327ab4086043b"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonPath.TryParseValue (cognitive 37): JsonPath.TryParseValue has cognitive complexity 37 (threshold 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":"modules/GarnetJSON/JSONPath/JsonPath.cs"},"region":{"startLine":814}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b9cd0f00c5c62ac2a79211a9317eca923b187e2bf4f30f45afa70e08b6c0c65"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterConfig.GetNodeInfo (cognitive 36): ClusterConfig.GetNodeInfo has cognitive complexity 36 (threshold 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":"libs/cluster/Server/ClusterConfig.cs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f257f4cc3b361b47f135f3c3fe3e3adc5ee1fea72d5633588c550e233c975cf"}},{"ruleId":"D2","level":"warning","message":{"text":"GlobUtils.MatchByte (cognitive 36): GlobUtils.MatchByte has cognitive complexity 36 (threshold 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":"libs/server/GlobUtils.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e7f173b8d1869b152d48467a4c4cf724abb78468a2d58dd1b18fd58bbcf7770"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkCLIENTUNBLOCK (cognitive 36): RespServerSession.NetworkCLIENTUNBLOCK has cognitive complexity 36 (threshold 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":"libs/server/Resp/ClientCommands.cs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d19ff24980a244e1a9c8ed1a8fa6115c752202fdd6babd00e9c43aeb40e2650"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectScanIterator.GetNext (cognitive 36): ObjectScanIterator.GetNext has cognitive complexity 36 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"dceb6da898f2248ca2b0133bce33a1e067a4c452dc07eb06babf9ccb99c1dc93"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanByteScanIterator.GetNext (cognitive 36): SpanByteScanIterator.GetNext has cognitive complexity 36 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"2340e679429c839844ad064286199e5ee8931fbf021e00efad837d54052524e7"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteBase.FindTagOrFreeInternal (cognitive 36): TsavoriteBase.FindTagOrFreeInternal has cognitive complexity 36 (threshold 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/TsavoriteBase.cs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"123a79c682b571ced120e125898b8bbf6cc227a69911c32539f3debc8cd10383"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonPath.ParseExpression (cognitive 36): JsonPath.ParseExpression has cognitive complexity 36 (threshold 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":"modules/GarnetJSON/JSONPath/JsonPath.cs"},"region":{"startLine":701}}}],"partialFingerprints":{"codehealthFindingId/v1":"3845a74b09f24f3ea6d1f71ea9270c37f7c2a7cc40e11d3c9bedbb39df9b86ce"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanArrayMultipleIndexFilter.ExecuteFilter (cognitive 36): ScanArrayMultipleIndexFilter.ExecuteFilter has cognitive complexity 36 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ScanArrayMultipleIndexFilter.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b5ee0d121777ff3437aacca27b40c5cc31ca7ad6185fbf490e4abeec4565fe"}},{"ruleId":"D2","level":"warning","message":{"text":"RespCommandInfoParser.TryReadFromResp (cognitive 36): RespCommandInfoParser.TryReadFromResp has cognitive complexity 36 (threshold 15). 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":"playground/CommandInfoUpdater/RespCommandInfoParser.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a29d2c78f189f5b67be27889e3b3c574086ab9548f1d1c70ac73ca11d0b92fc9"}},{"ruleId":"D2","level":"warning","message":{"text":"KvBenchmark.RunWorkload (cognitive 35): KvBenchmark.RunWorkload has cognitive complexity 35 (threshold 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":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.Worker.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2e814e0134fa9c119a24f0c58e7fe5c923638a7dc4556ef1ddfe8d2922f418"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrateSession.MigrateSlotsDriverInlineAsync (cognitive 34): MigrateSession.MigrateSlotsDriverInlineAsync has cognitive complexity 34 (threshold 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":"libs/cluster/Server/Migration/MigrateSessionSlots.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c2138b02f1b50c44d7f644ee06a029e00003208a447bd6d83f98f387aac210"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplicationSyncManager.MainStreamingSnapshotDriverAsync (cognitive 34): ReplicationSyncManager.MainStreamingSnapshotDriverAsync has cognitive complexity 34 (threshold 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":"libs/cluster/Server/Replication/PrimaryOps/DisklessReplication/ReplicationSyncManager.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9739547ad1a29f85b58a3bbae3efacfb90eacffbdd4a01d2ad9d3423f3222c"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadOptimizedLock.TryPromoteSharedLock (cognitive 34): ReadOptimizedLock.TryPromoteSharedLock has cognitive complexity 34 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Synchronization/ReadOptimizedLock.cs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1df418a5a3d97585ea336921e6fd8bf6bd6f24fe818756191db8982148ad2c6"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.RunCommon (cognitive 34): LuaRunner.RunCommon has cognitive complexity 34 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"c36a95873c3c6b22911eda104ebce381277ede7e7b56a85a28e7864c09526687"}},{"ruleId":"D2","level":"warning","message":{"text":"RoaringBitmap.BitPos (cognitive 34): RoaringBitmap.BitPos has cognitive complexity 34 (threshold 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":"modules/RoaringBitmap/RoaringBitmap.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"6bd2f93e2be59219a1f49045ab6e802b7f888e027a5ad5d34e40dd6b1fc0fcd9"}},{"ruleId":"D2","level":"warning","message":{"text":"KvBenchmark.Validate (cognitive 34): KvBenchmark.Validate has cognitive complexity 34 (threshold 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":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.Validate.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d0543fbff84ff931af64048a783839efadf4c6fad6e134062c929d173d8c479"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterSession.NetworkTryREPLICAOF (cognitive 33): ClusterSession.NetworkTryREPLICAOF has cognitive complexity 33 (threshold 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":"libs/cluster/Session/ReplicaOfCommand.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f420cfc4f9ae0ba2dee2c1903f47f93ac4bad7639b62e09f39fb422c845c76b2"}},{"ruleId":"D2","level":"warning","message":{"text":"AofReplayCoordinator.ProcessTransactionGroup (cognitive 33): AofReplayCoordinator.ProcessTransactionGroup has cognitive complexity 33 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 14 belong to 4 function items 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":"libs/server/AOF/ReplayCoordinator/AofReplayCoordinator.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"6739b828cabec6ef49ecfe8aeae93b9510e7c6a8a1702e4cf15c4cb492e80003"}},{"ruleId":"D2","level":"warning","message":{"text":"ListObject.ListTrim (cognitive 33): ListObject.ListTrim has cognitive complexity 33 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/List/ListObjectImpl.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4217cf3c2828d34061977ec518061c60d4798a741646608758f047d63db048b"}},{"ruleId":"D2","level":"warning","message":{"text":"LogRecord.TrySetContentLengthsAndPrepareOptionals (cognitive 33): LogRecord.TrySetContentLengthsAndPrepareOptionals has cognitive complexity 33 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Allocator/LogRecord.cs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb8464538f09e62319c9182f0dff9970802f41c0ced23e55ea7eb54679510ec9"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonGET.Reader (cognitive 33): JsonGET.Reader has cognitive complexity 33 (threshold 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":"modules/GarnetJSON/JsonCommands.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7b9232609f1131f64ca37658c8bb05b0fa58c2756d4ba511b96e6de3b89c65"}},{"ruleId":"D2","level":"warning","message":{"text":"BitOp.__bitop_simdX128_and (cognitive 33): BitOp.__bitop_simdX128_and has cognitive complexity 33 (threshold 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. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free. This shape REPEATS in the file: 2 other methods here (BitOp.__bitop_simdX128_and_long, BitOp.__bitop_simdX256_and) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6104e540b1f8e37a5e6219e87d622b473478cfb87c59b9547ffeac9250ecb7a2"}},{"ruleId":"D2","level":"warning","message":{"text":"BitOp.__bitop_simdX128_and_long (cognitive 33): BitOp.__bitop_simdX128_and_long has cognitive complexity 33 (threshold 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. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free. This shape REPEATS in the file: 2 other methods here (BitOp.__bitop_simdX128_and, BitOp.__bitop_simdX256_and) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dc5b07a6e52d2e94a3ad7e70d40f62881bdf73300555265129ca668c5dfacd4"}},{"ruleId":"D2","level":"warning","message":{"text":"BitOp.__bitop_simdX256_and (cognitive 33): BitOp.__bitop_simdX256_and has cognitive complexity 33 (threshold 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. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free. This shape REPEATS in the file: 2 other methods here (BitOp.__bitop_simdX128_and, BitOp.__bitop_simdX128_and_long) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 3 times rather than 3 independent problems. Splitting this body alone leaves the other 2 exactly as they are. Where these are variations on one operation, the change that clears all 3 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":581}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f3be7026230ce99516ad3463622bfb863e40d77f145b2f1c114bdb71c826838"}},{"ruleId":"D2","level":"warning","message":{"text":"FixedLenYcsbBenchmark.Run (cognitive 33): FixedLenYcsbBenchmark.Run has cognitive complexity 33 (threshold 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":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/FixedLenYcsbBenchmark.cs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"deae5919ed0a5648f7c857b9778be8f7e1a9de85e4cf60d510d445d1b0b9bdac"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectYcsbBenchmark.Run (cognitive 33): ObjectYcsbBenchmark.Run has cognitive complexity 33 (threshold 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":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ObjectYcsbBenchmark.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"51cdd99e9c4449b139dafc144f13fa6c428fa6e99c9c89d1b68ec1a5e0035b22"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanByteYcsbBenchmark.Run (cognitive 33): SpanByteYcsbBenchmark.Run has cognitive complexity 33 (threshold 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":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SpanByteYcsbBenchmark.cs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b93c15b27dc500078c925be405dcaa224aa1e452153d63be4f28f99a9d8644e"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterManager.ParseClusterConfig (cognitive 32): ClusterManager.ParseClusterConfig has cognitive complexity 32 (threshold 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":"benchmark/Resp.benchmark/ClusterBench/ClusterManager.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1be46456276fcbf78b49ce3a6c18fad8da4ad4eb4664c6efc384767f901d88b"}},{"ruleId":"D2","level":"warning","message":{"text":"FileUtils.TryGetFiles (cognitive 32): FileUtils.TryGetFiles has cognitive complexity 32 (threshold 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":"libs/common/FileUtils.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a7001aa0021ec90beeee7a95b2ed50fc9a47841c0c7fe43b539da288554c6e"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.TryCustomObjectCommand (cognitive 32): RespServerSession.TryCustomObjectCommand has cognitive complexity 32 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Custom/CustomRespCommands.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7e677c074921fd36f457d1bfdfea2092b73a9956794ff20294ce93cdc65d3d"}},{"ruleId":"D2","level":"warning","message":{"text":"CollectionItemBroker.TryGetNextListResult (cognitive 32): CollectionItemBroker.TryGetNextListResult has cognitive complexity 32 (threshold 15). 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":"libs/server/Objects/ItemBroker/CollectionItemBroker.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a7a99b950c32f20c9fc98887d1398477365511aff29ef82278495da6010a8e"}},{"ruleId":"D2","level":"warning","message":{"text":"BitmapManager.BitCountDriver (cognitive 32): BitmapManager.BitCountDriver has cognitive complexity 32 (threshold 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. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapManagerBitCount.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"a174496a6bbe1e7e9062bd98ff0fe1cbe540cc5ad024833b1309f363b69380d9"}},{"ruleId":"D2","level":"warning","message":{"text":"RespCommandsInfo.ToRespFormat (cognitive 32): RespCommandsInfo.ToRespFormat has cognitive complexity 32 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespCommandsInfo.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e3e9fd87c1b50cc7b3e1fc54676dfd05decaff91114dda5bd5b3e19d536e402"}},{"ruleId":"D2","level":"warning","message":{"text":"GarnetServerTcp.HandleNewConnection (cognitive 32): GarnetServerTcp.HandleNewConnection has cognitive complexity 32 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Servers/GarnetServerTcp.cs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a771624354ab5b887ae9d601a9ddf730a9dd03b11c79d4fcb2615820651de58"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectYcsbBenchmark.RunYcsbSafeContext (cognitive 32): ObjectYcsbBenchmark.RunYcsbSafeContext has cognitive complexity 32 (threshold 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":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ObjectYcsbBenchmark.cs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb7bb7c02c0ffc5fb60427dd616680e9a29a8e9e7fcde27336dccc6aa9c89cd"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanByteYcsbBenchmark.RunYcsbSafeContext (cognitive 32): SpanByteYcsbBenchmark.RunYcsbSafeContext has cognitive complexity 32 (threshold 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":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SpanByteYcsbBenchmark.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"abddbf0a5a950925f987db341bc0d0058e91959b00d97749500ad5037ef6dc0d"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientRequestProvider.OnResponse (cognitive 31): ClientRequestProvider.OnResponse has cognitive complexity 31 (threshold 15). 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.cs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2915f297a6a3f142d9e05139401f89df5b2941980cb6f0f9d9962cbc06c6ec9"}},{"ruleId":"D2","level":"warning","message":{"text":"RespOnlineBench.Run (cognitive 31): RespOnlineBench.Run has cognitive complexity 31 (threshold 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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"51209880072de5014a1fb20b69545ed9c7980b0c12476539c72cf956e3cf3a98"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrateSession.WriteOrSendAccumulatedRecordAsync (cognitive 31): MigrateSession.WriteOrSendAccumulatedRecordAsync has cognitive complexity 31 (threshold 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":"libs/cluster/Server/Migration/MigrateSessionCommonUtils.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1692091fffc76372c89417986e247865e80da3f21640cf2557bdaf3703659f68"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkAclSetUser (cognitive 31): RespServerSession.NetworkAclSetUser has cognitive complexity 31 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/ACLCommands.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d2db4b79d573d4d841fec12d4201729f52b7e0fcaefdc71c58d00df510dc5f7"}},{"ruleId":"D2","level":"warning","message":{"text":"ExprCompiler.ProcessOperator (cognitive 31): ExprCompiler.ProcessOperator has cognitive complexity 31 (threshold 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":"libs/server/Resp/Vector/ExprCompiler.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"0034361ea1f80ad69d568d9571f09f4971443ce8ebbd49ac5d69ffa2366701fe"}},{"ruleId":"D2","level":"warning","message":{"text":"ExprRunner.ExecuteInstruction (cognitive 31): ExprRunner.ExecuteInstruction has cognitive complexity 31 (threshold 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":"libs/server/Resp/Vector/ExprRunner.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a5176bef533112556218de0d50a5ec52e851a695ea3d0207ecdefdca2f187a"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeStorageDevice.CompletionWorker (cognitive 31): NativeStorageDevice.CompletionWorker has cognitive complexity 31 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":2266}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0a3473dadc4806fc9fae135ae2ace0b5dfc3b4b5f1571764f29bc8fe74eb8b3"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteLog.WriteOneRecord (cognitive 31): TsavoriteLog.WriteOneRecord has cognitive complexity 31 (threshold 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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.Chunked.cs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b33197387706c43fd0d1dd012349f74d5add9a273dbf5d7747bbad36635b77"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanFilter.ExecuteFilter (cognitive 31): ScanFilter.ExecuteFilter has cognitive complexity 31 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ScanFilter.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"50128ea7e2d922509ca0aaae116a0cf9947c3accf8f6de11d4f45ab62340bb17"}},{"ruleId":"D2","level":"warning","message":{"text":"EntryPoint.Run (cognitive 31): EntryPoint.Run has cognitive complexity 31 (threshold 15). 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":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/EntryPoint.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"be621600f2f88bd48edb8e9b9d730c4e8e6e135073915314ba100d696345549c"}},{"ruleId":"D2","level":"warning","message":{"text":"SlotKeyGenerator.FindTagForShard (cognitive 30): SlotKeyGenerator.FindTagForShard has cognitive complexity 30 (threshold 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":"benchmark/Resp.benchmark/ClusterBench/SlotKeyGenerator.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59aebcd786888c61586d3afcf14d922cf59d24d6314f0f8ea4f64ecf7876f43"}},{"ruleId":"D2","level":"warning","message":{"text":"RespOnlineBench.OpRunnerGarnetClientSession (cognitive 30): RespOnlineBench.OpRunnerGarnetClientSession has cognitive complexity 30 (threshold 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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccec335f491b8d4751d332ad27263db6b3b767c46733f93b94d9cd38eb7b74ea"}},{"ruleId":"D2","level":"warning","message":{"text":"AofSyncDriverStore.TryAddReplicationDrivers (cognitive 30): AofSyncDriverStore.TryAddReplicationDrivers has cognitive complexity 30 (threshold 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":"libs/cluster/Server/Replication/PrimaryOps/AofOperations/AofSyncDriverStore.cs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"54267c4e2b5a279c0ea0a33d546279bd586c09e407f65c09ae149602befecef4"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterSession.NetworkClusterSetSlot (cognitive 30): ClusterSession.NetworkClusterSetSlot has cognitive complexity 30 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/RespClusterSlotManagementCommands.cs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"00a0ef43c7fde811f01a7c67a47332c8438a503e5b12824e2b0335823400488b"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkINFO (cognitive 30): RespServerSession.NetworkINFO has cognitive complexity 30 (threshold 15). 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":"libs/server/Metrics/Info/InfoCommand.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"264fb8f30be62cc1b3bf8536c1ac308f69d9d9ce859d2514d3375c755c05784e"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkStringBitPosition (cognitive 30): RespServerSession.NetworkStringBitPosition has cognitive complexity 30 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapCommands.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca46ced9e5d215ffb8045f173cc861b5d530084d7fc9f1662870ba0a34cb9ed1"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.SortedSetIntersectStore (cognitive 30): RespServerSession.SortedSetIntersectStore has cognitive complexity 30 (threshold 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. This shape REPEATS in the file: one other method here (RespServerSession.SortedSetUnionStore) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1243}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1134999ff466790da91b30738fbd10a50df2cace4a12a47395e3e3dab37c725"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.SortedSetUnionStore (cognitive 30): RespServerSession.SortedSetUnionStore has cognitive complexity 30 (threshold 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. This shape REPEATS in the file: one other method here (RespServerSession.SortedSetIntersectStore) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1471}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2a5cda2021a8f5131c23353f945c36496cd49660ae8c66d4eeb8531f0b06c4"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageSession.SortedSetUnion (cognitive 30): StorageSession.SortedSetUnion has cognitive complexity 30 (threshold 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":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":1185}}}],"partialFingerprints":{"codehealthFindingId/v1":"20859fa302d6047825a8dc35b7495363ce6645df6fb269fe180c4f7dbf6d58d9"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageSession.SortedSetIntersection (cognitive 30): StorageSession.SortedSetIntersection has cognitive complexity 30 (threshold 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":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":1501}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cf57a4a26b79337def1a084b2381efdedf183e5d6ce19a8051c63721ba70fc"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKV.InternalRead (cognitive 30): TsavoriteKV.InternalRead has cognitive complexity 30 (threshold 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRead.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"34dca9bc0567651701879e8c464aae6cd1eebb85915cd7577ec7e204f53ab031"}},{"ruleId":"D2","level":"warning","message":{"text":"ArraySliceFilter.ExecuteFilter (cognitive 30): ArraySliceFilter.ExecuteFilter has cognitive complexity 30 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ArraySliceFilter.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5edf5210d6e390c1a33d7e648fd53c516e609de9e9b78a0b872a8efc76bef8c9"}},{"ruleId":"D2","level":"warning","message":{"text":"CommonUtils.GetCommandsToAddAndRemove (cognitive 30): CommonUtils.GetCommandsToAddAndRemove has cognitive complexity 30 (threshold 15). Of this number, 26 points are the body\u0027s own statements and 4 belong to 3 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":"playground/CommandInfoUpdater/CommonUtils.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"317d370685220cec993dd266284f425b3dda4f81ff87404ede938d925dfffc98"}},{"ruleId":"D2","level":"warning","message":{"text":"RespKeySpecificationParser.TryReadFromResp (cognitive 30): RespKeySpecificationParser.TryReadFromResp has cognitive complexity 30 (threshold 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":"playground/CommandInfoUpdater/RespCommandInfoParser.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d83237bbeff4c1c30ac7318b9ad8db534702c46e27574c0f6079b26fec6c1d7"}},{"ruleId":"D2","level":"warning","message":{"text":"KvBenchmark.WorkerProc (cognitive 30): KvBenchmark.WorkerProc has cognitive complexity 30 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.Worker.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"1182181cd77735c1079bf5bed95bc458900ac03767b90c679c08e8a34d3a6cbb"}},{"ruleId":"D2","level":"warning","message":{"text":"RespOnlineBench.OpRunnerSERedisParallel (cognitive 29): RespOnlineBench.OpRunnerSERedisParallel has cognitive complexity 29 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 6 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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ebcd260f735dd79acaa676f6cda0ee501d9e55b2d385be1ed0f3fd6d7d3313"}},{"ruleId":"D2","level":"warning","message":{"text":"GarnetClient.AwaitPreviousTaskAsync (cognitive 29): GarnetClient.AwaitPreviousTaskAsync has cognitive complexity 29 (threshold 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":"libs/client/GarnetClient.cs"},"region":{"startLine":627}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6b1d68deb338063f715ef006d2ca1e28380246c12905924ff2ee6656b0368b"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerSettingsManager.TryParseCommandLineArguments (cognitive 29): ServerSettingsManager.TryParseCommandLineArguments has cognitive complexity 29 (threshold 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":"libs/host/ServerSettingsManager.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e16c8cafe6c54389160a02beab97d9b243e8a904522879f0c949f9dcde0e3144"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerSettingsManager.TryParseArguments (cognitive 29): ServerSettingsManager.TryParseArguments has cognitive complexity 29 (threshold 15). None of this is in the body itself: all 29 points belong to one function literal inside it that branches (line 232). 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":"libs/host/ServerSettingsManager.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0dd93b5f898b00dbef4640da06fc438f86df042830f5e9fb6c99ef3db4f65b6"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.Log (cognitive 29): LuaRunner.Log has cognitive complexity 29 (threshold 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":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e37941fa6cb00f4b8b2c2191db6c4db114bcdd8b8cf6514472cd5dc23de68fd"}},{"ruleId":"D2","level":"warning","message":{"text":"GarnetInfoMetrics.PopulateCommandStatsInfo (cognitive 29): GarnetInfoMetrics.PopulateCommandStatsInfo has cognitive complexity 29 (threshold 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":"libs/server/Metrics/Info/GarnetInfoMetrics.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f8d6e514330c67017bbced5e1c6607da43d5a64426e23ef8dd40e91d06abd6e"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.ProcessHelloCommand (cognitive 29): RespServerSession.ProcessHelloCommand has cognitive complexity 29 (threshold 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":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":1783}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a741c749e8186b7a23a774c2850dff9be00d3c49cb0c8408a4944e528f9d07f"}},{"ruleId":"D2","level":"warning","message":{"text":"BitmapManager.BitPosByteSearch (cognitive 29): BitmapManager.BitPosByteSearch has cognitive complexity 29 (threshold 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":"libs/server/Resp/Bitmap/BitmapManagerBitPos.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"45a0c451d08fbfa1e9d630d12b78d655e6378ae4b7483884d239efe81548f011"}},{"ruleId":"D2","level":"warning","message":{"text":"KeySpecConverter.Read (cognitive 29): KeySpecConverter.Read has cognitive complexity 29 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. 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":"libs/server/Resp/RespCommandKeySpecification.cs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"79772b47bf77f39cf8200c84086a111147d47b5caef9bf49f07e3a0c9003ab80"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionParseStateExtensions.TryGetKeySearchArgsFromSimpleKeySpec (cognitive 29): SessionParseStateExtensions.TryGetKeySearchArgsFromSimpleKeySpec has cognitive complexity 29 (threshold 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":"libs/server/SessionParseStateExtensions.cs"},"region":{"startLine":930}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d36814ba40b4bdef33956b7ae749d3e51cced10a0acbdae07d409e5217ecf9f"}},{"ruleId":"D2","level":"warning","message":{"text":"AllocatorBase.OnPagesClosedWorkerCore (cognitive 29): AllocatorBase.OnPagesClosedWorkerCore has cognitive complexity 29 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":1894}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ccb88a38e67ef64e54bffde7800bc57dc5f53a5bb52660da0a97b9491bc1b4"}},{"ruleId":"D2","level":"warning","message":{"text":"AllocatorBase.AsyncFlushPagesForSnapshot (cognitive 29): AllocatorBase.AsyncFlushPagesForSnapshot has cognitive complexity 29 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":2374}}}],"partialFingerprints":{"codehealthFindingId/v1":"4960f2f72596e9aa2215babfdb834af05ee54cc66d86732ee408262120d3d3d0"}},{"ruleId":"D2","level":"warning","message":{"text":"AllocatorBase.VerifyRecordFromDiskCallback (cognitive 29): AllocatorBase.VerifyRecordFromDiskCallback has cognitive complexity 29 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":2655}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45c7b97e9e843230802a098db1e5444cea4cd5862a95a877d1c067df61339ae"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKV.TryAllocateRecord (cognitive 29): TsavoriteKV.TryAllocateRecord has cognitive complexity 29 (threshold 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/BlockAllocate.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"773b5be90c4288f85aa43881a397a72065b62ad701d0b036b000b71b6c8677e4"}},{"ruleId":"D2","level":"warning","message":{"text":"FieldFilter.ExecuteFilterMultiple (cognitive 29): FieldFilter.ExecuteFilterMultiple has cognitive complexity 29 (threshold 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":"modules/GarnetJSON/JSONPath/FieldFilter.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12f794ff8548881be7b08b140fac7ca7241d2db4e824cfbeac20d4520410b22"}},{"ruleId":"D2","level":"warning","message":{"text":"GarnetKeyComparer.StaticEquals (cognitive 28): GarnetKeyComparer.StaticEquals has cognitive complexity 28 (threshold 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/GarnetKeyComparer.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e016dc987766da095b4c456079572032a4960eb38f647f551fc571c07ad9bae"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.TryCustomRawStringCommand (cognitive 28): RespServerSession.TryCustomRawStringCommand has cognitive complexity 28 (threshold 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":"libs/server/Custom/CustomRespCommands.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"745c4a22682e725ddc77f568fe060a8d4c915b4d4ead61ca6728883f1036e662"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkHELLO (cognitive 28): RespServerSession.NetworkHELLO has cognitive complexity 28 (threshold 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":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":1447}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6099d65b2453eeaa7dd8b6826be9542ab43aff1dee8c8fe632082d4f0979fac"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.StringBitField (cognitive 28): RespServerSession.StringBitField has cognitive complexity 28 (threshold 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":"libs/server/Resp/Bitmap/BitmapCommands.cs"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0a4bb327f12dc27dd2f17532c47d71e9ce63a0555a38a028cc38bade8ffd216"}},{"ruleId":"D2","level":"warning","message":{"text":"BitmapManager.InvokeNaryBitwiseOperation (cognitive 28): BitmapManager.InvokeNaryBitwiseOperation has cognitive complexity 28 (threshold 15). Of this number, 19 points are the body\u0027s own statements and 9 belong to 3 function items inside it that branch. To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapManagerBitOp.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"eac5c54f62d9cf142a19aa32002fa68d46d85afab14548b184cd702ba022cabc"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.SortedSetBlockingMPop (cognitive 28): RespServerSession.SortedSetBlockingMPop has cognitive complexity 28 (threshold 15). 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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1620}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a4d80c2041406f414b269d113a77e756498bade98e93a49d7ef82b5cf2fd609"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorManager.ValueSimilarity (cognitive 28): VectorManager.ValueSimilarity has cognitive complexity 28 (threshold 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":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"23d3493a5d009f5ef0811e14ede3385bd63d832a9b6fbc7bdf2502ed1e8ed3f1"}},{"ruleId":"D2","level":"warning","message":{"text":"MainSessionFunctions.NormalizeRange (cognitive 28): MainSessionFunctions.NormalizeRange has cognitive complexity 28 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/PrivateMethods.cs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e65a2dc7bb3981c66d04ce7535a70d299be4e29964a713056f03700d8f64ad9"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKV.InternalDelete (cognitive 28): TsavoriteKV.InternalDelete has cognitive complexity 28 (threshold 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"03146324f3b6c39e8d9401f2476eb4ec68743193802f53065c16eac077dc2174"}},{"ruleId":"D2","level":"warning","message":{"text":"BitOp.__bitop_scalar_and (cognitive 28): BitOp.__bitop_scalar_and has cognitive complexity 28 (threshold 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":"playground/Bitmap/BitOp.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5c7aa5eb8c920367c12028b598844cfb20260def09b45fd80c15e8fd412d8d"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandDocsUpdater.GetUpdatedCommandsDocs (cognitive 28): CommandDocsUpdater.GetUpdatedCommandsDocs has cognitive complexity 28 (threshold 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":"playground/CommandInfoUpdater/CommandDocsUpdater.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e88e6d081925cda1bf659fdce2e963d8420c53c2979c169017b2e6cb9df3f90"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.TryParse (cognitive 28): Program.TryParse has cognitive complexity 28 (threshold 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":"playground/LightEpochLitmus/Program.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"9df915e6acd5919ed10abe2b1643721a3fee85193b2dce60c9351edca14e1b8b"}},{"ruleId":"D2","level":"warning","message":{"text":"FixedLenYcsbBenchmark.RunYcsbUnsafeContext (cognitive 28): FixedLenYcsbBenchmark.RunYcsbUnsafeContext has cognitive complexity 28 (threshold 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. This shape REPEATS in the file: one other method here (FixedLenYcsbBenchmark.RunYcsbSafeContext) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/FixedLenYcsbBenchmark.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"03599a8f2429766fc501006b6901a7fac646ed6e7faf92f28cc63532d24e9dbb"}},{"ruleId":"D2","level":"warning","message":{"text":"FixedLenYcsbBenchmark.RunYcsbSafeContext (cognitive 28): FixedLenYcsbBenchmark.RunYcsbSafeContext has cognitive complexity 28 (threshold 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. This shape REPEATS in the file: one other method here (FixedLenYcsbBenchmark.RunYcsbUnsafeContext) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/FixedLenYcsbBenchmark.cs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"50dfbd57b0f4dac5db385962b907e1689de4f17631e74ea48c63a30011e1406d"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectYcsbBenchmark.RunYcsbUnsafeContext (cognitive 28): ObjectYcsbBenchmark.RunYcsbUnsafeContext has cognitive complexity 28 (threshold 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":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ObjectYcsbBenchmark.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"8cb80c5983d4760ea624f7e8973b548edf8898f3039b35ed232eef98e2c201a5"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanByteYcsbBenchmark.RunYcsbUnsafeContext (cognitive 28): SpanByteYcsbBenchmark.RunYcsbUnsafeContext has cognitive complexity 28 (threshold 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":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SpanByteYcsbBenchmark.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8364d06eae98e7b1a9fabb5ebdfc5cc61a68807d4ed93a647390ca893fbf152"}},{"ruleId":"D2","level":"warning","message":{"text":"RespOnlineBench.OpRunnerGarnetClient (cognitive 27): RespOnlineBench.OpRunnerGarnetClient has cognitive complexity 27 (threshold 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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"7768fd7692729869bb41016b24b77477907104533c9aa1903113f714e58b3760"}},{"ruleId":"D2","level":"warning","message":{"text":"RespOnlineBench.OpRunnerSERedis (cognitive 27): RespOnlineBench.OpRunnerSERedis has cognitive complexity 27 (threshold 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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe2a30f9a1e4a06bac3a237ac2dd8e5ee5dd372944b36f7ccc666b9350abb5b3"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterProvider.GetReplicationInfo (cognitive 27): ClusterProvider.GetReplicationInfo has cognitive complexity 27 (threshold 15). 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":"libs/cluster/Server/ClusterProvider.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5028e4d0089ae0715a40ed19eb6f8077415cbb11086b162a4bcb83a8ba0b85"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterSession.SingleKeySlotVerify (cognitive 27): ClusterSession.SingleKeySlotVerify has cognitive complexity 27 (threshold 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":"libs/cluster/Session/SlotVerification/ClusterSlotVerify.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55c24deb6ae728c789b290d91732bf125ffd1863ec87501cbf8a8aef0438ead"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaLimitedManagedAllocator.ResizeAllocation (cognitive 27): LuaLimitedManagedAllocator.ResizeAllocation has cognitive complexity 27 (threshold 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":"libs/server/Lua/LuaLimitedManagedAllocator.cs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a91a2666729d99b6dc7545d2d59710e0243c7473c6a634774910489610ad2e1"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.CJsonDecode (cognitive 27): LuaRunner.CJsonDecode has cognitive complexity 27 (threshold 15). Most of this is not in the body itself: 6 of the 27 points are its own statements and the rest belongs to 4 function items inside it that branch (DecodeObject, Decode, DecodeArray, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a750a7edae115ea9e0aa79413e17bc211f85369ea168d5b59950ba1e2e29fef"}},{"ruleId":"D2","level":"warning","message":{"text":"SortedSetObject.GetElementsInRangeByScore (cognitive 27): SortedSetObject.GetElementsInRangeByScore has cognitive complexity 27 (threshold 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":"libs/server/Objects/SortedSet/SortedSetObjectImpl.cs"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf552d6038e079275b884c5f949cf12d49af813a8d98a93d7a35476bac741c44"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.TryRegisterCustomCommands (cognitive 27): RespServerSession.TryRegisterCustomCommands has cognitive complexity 27 (threshold 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":"libs/server/Resp/AdminCommands.cs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"b623a62809654e1e65d431908ed90258a167d6779cd39288bf9613c71aad7eb6"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkSET_Conditional (cognitive 27): RespServerSession.NetworkSET_Conditional has cognitive complexity 27 (threshold 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":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"84907f1f2bde1502a07c4de3629b9d15c441af6021bd7dd42db7e02823553a8d"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkEXPIRE (cognitive 27): RespServerSession.NetworkEXPIRE has cognitive complexity 27 (threshold 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":"libs/server/Resp/KeyAdminCommands.cs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"0586285abf7f4433e7594fcb472f4e1fa5d1565016cf481dc27faa628baa0b30"}},{"ruleId":"D2","level":"warning","message":{"text":"MGetReadArgBatch_SG.CompletePending (cognitive 27): MGetReadArgBatch_SG.CompletePending has cognitive complexity 27 (threshold 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":"libs/server/Resp/MGetReadArgBatch.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"b385cbeae406a9076b7d5df081a854b0ba2bb0af64ebde448d8102a313c6691e"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.SetIsMember (cognitive 27): RespServerSession.SetIsMember has cognitive complexity 27 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SetCommands.cs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"5292edee0b21abf315e50177cdb1009b0fb29adcdf2463065bbb542878b9cd3e"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeIndexChunkedDeserializer.ProcessChunk (cognitive 27): RangeIndexChunkedDeserializer.ProcessChunk has cognitive complexity 27 (threshold 15). 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":"libs/server/Resp/RangeIndex/RangeIndexChunkedDeserializer.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"80e840f2675810b58ed9f7677fdaa7f5229b7c958151753a20df10c01f892f7a"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageSession.ProcessResp2ArrayOutput (cognitive 27): StorageSession.ProcessResp2ArrayOutput has cognitive complexity 27 (threshold 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":"libs/server/Storage/Session/ObjectStore/Common.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"59607db38733e3c7fdd72c587314b77025916b65ceb04d66812b38e464c8634a"}},{"ruleId":"D2","level":"warning","message":{"text":"AllocatorBase.ScanLookup (cognitive 27): AllocatorBase.ScanLookup has cognitive complexity 27 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorScan.cs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d4340abe2b88eb03e9cbde729b91f2bf939b9c5b4b40046bf6557f85b65f95"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKVIterator.PushNext (cognitive 27): TsavoriteKVIterator.PushNext has cognitive complexity 27 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/TsavoriteIterator.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5f8fa6703cbf5be86216155b96b2790cef3f549ebf872d23171a0e90268167"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteLog.RestoreSpecificCommitAsync (cognitive 27): TsavoriteLog.RestoreSpecificCommitAsync has cognitive complexity 27 (threshold 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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":3050}}}],"partialFingerprints":{"codehealthFindingId/v1":"01350f7f26554d33c2c939cc9f1122004bfa2744b5995038bd3fee6f829cecc2"}},{"ruleId":"D2","level":"warning","message":{"text":"BooleanQueryExpression.CompareTo (cognitive 27): BooleanQueryExpression.CompareTo has cognitive complexity 27 (threshold 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":"modules/GarnetJSON/JSONPath/QueryExpression.cs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd915dee436cbb140e161780c7572f47ddfca30088f0fc1ac566ba4242606b93"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientRequestProvider.RunOnlineGarnetClientSessionParallel (cognitive 26): ClientRequestProvider.RunOnlineGarnetClientSessionParallel has cognitive complexity 26 (threshold 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":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"807402a5b5295200382c2f48f6c0e8a51944b1d9bb07b47621f20d3728da16ca"}},{"ruleId":"D2","level":"warning","message":{"text":"RespPerfBench.PerformAsyncGET (cognitive 26): RespPerfBench.PerformAsyncGET has cognitive complexity 26 (threshold 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":"benchmark/Resp.benchmark/OfflineBench/RespPerfBench.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b26f2163b204335da406ce9f32ffba84a7f5be88b428f153b8995cf0361c9d4"}},{"ruleId":"D2","level":"warning","message":{"text":"RespOnlineBench.InitializeClients (cognitive 26): RespOnlineBench.InitializeClients has cognitive complexity 26 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 10 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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87973e515045eaef0ccec39e3f4ab1a9066d9e0cefbb3d10217c44f11520487"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.LuaRunner.ctor (cognitive 26): LuaRunner.LuaRunner.ctor has cognitive complexity 26 (threshold 15). Of this number, 25 points are the body\u0027s own statements and 1 belongs to one function item 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":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6159c406d2558cfcc4941c387223a612bd2270e6d0540aabd68c8d98c4d431e"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.UnsafeRunPreambleForSession (cognitive 26): LuaRunner.UnsafeRunPreambleForSession has cognitive complexity 26 (threshold 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":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"6275045217068085eab8a8d81ab5eee0d97c3d113782cf6d3e4c15697417e130"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.StructPack (cognitive 26): LuaRunner.StructPack has cognitive complexity 26 (threshold 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. This shape REPEATS in the file: one other method here (LuaRunner.StructPack::TryEncodeInteger) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.Struct.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"847233d9894c0aa79139550c1d4f5b3abe440c23fa5c2efd5079d5dda01c9acc"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkAclGetUser (cognitive 26): RespServerSession.NetworkAclGetUser has cognitive complexity 26 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/ACLCommands.cs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"2833e90f5da1f4fbe77f2d7c570c435c73a263e738ff1e38406aebf8bce14e41"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.AsyncGetProcessorAsync (cognitive 26): RespServerSession.AsyncGetProcessorAsync has cognitive complexity 26 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/AsyncProcessor.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6d1a731a36be7f3a8fb2aa8259076bd7aadaf7df092982953f7e4d65acdfc8a"}},{"ruleId":"D2","level":"warning","message":{"text":"AttributeExtractor.ExtractField (cognitive 26): AttributeExtractor.ExtractField has cognitive complexity 26 (threshold 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":"libs/server/Resp/Vector/AttributeExtractor.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e53701115c2ce25cb0be8e2d3e7a2351a4d371e754555f843d45ba77b2799230"}},{"ruleId":"D2","level":"warning","message":{"text":"ExprRunner.Run (cognitive 26): ExprRunner.Run has cognitive complexity 26 (threshold 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":"libs/server/Resp/Vector/ExprRunner.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5ad3457dfb1e158dfec12e2fe4948c065090c8035d98f7a3aed939ff14ef9c"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorManager.CheckpointCompleted::QueueCleanups (cognitive 26): VectorManager.CheckpointCompleted::QueueCleanups has cognitive complexity 26 (threshold 15). Drivers by points: if/else 6 (21 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Cleanup.cs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"4516e55c3a297de6c2eb2147497b3d909075eef4e7c0b2eec86db13318a08018"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorManager.ElementSimilarity (cognitive 26): VectorManager.ElementSimilarity has cognitive complexity 26 (threshold 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":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"a26c1f06e5b018ffe0e8151c9dc9ae08ceb10b897126ef5df9041738978469ed"}},{"ruleId":"D2","level":"warning","message":{"text":"MallocFixedPageSize.BeginCheckpoint (cognitive 26): MallocFixedPageSize.BeginCheckpoint has cognitive complexity 26 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Allocator/MallocFixedPageSize.cs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"10c23c8d5e995a45773dec85297a93b12f0b62ad895abc7f27cf495fdcbcf419"}},{"ruleId":"D2","level":"warning","message":{"text":"KvBenchmark.CreateDevice (cognitive 26): KvBenchmark.CreateDevice has cognitive complexity 26 (threshold 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":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.Setup.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dccc68527a638b229a99db4a462a97d02517a24a0f4d94b690f0dd73a23bd48"}},{"ruleId":"D2","level":"warning","message":{"text":"ConcurrentDictionary_YcsbBenchmark.RunYcsb (cognitive 26): ConcurrentDictionary_YcsbBenchmark.RunYcsb has cognitive complexity 26 (threshold 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":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ConcurrentDictionaryBenchmark.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"c96f275d5bd58a78a54593651ee46200046b087e9858d26cbdca194a43676e69"}},{"ruleId":"D2","level":"warning","message":{"text":"RespPerfBench.MGetThreadRunner (cognitive 25): RespPerfBench.MGetThreadRunner has cognitive complexity 25 (threshold 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":"benchmark/Resp.benchmark/OfflineBench/RespPerfBench.cs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"9beb06a0769a246ec8bf354a59486b152745f64e6a6023b8aaf30518fee7bd3e"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterConfig.MergeSlotMap (cognitive 25): ClusterConfig.MergeSlotMap has cognitive complexity 25 (threshold 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":"libs/cluster/Server/ClusterConfig.cs"},"region":{"startLine":1217}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b21e3727cde67cf8eebb0a690e33f4747f050af5172f74f23188cfc2a3727b9"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisConfigSerializer.Deserialize (cognitive 25): RedisConfigSerializer.Deserialize has cognitive complexity 25 (threshold 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":"libs/host/Configuration/Redis/RedisConfigSerializer.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"d42f5890724c64f36f83a875b28ed247b4cafe4ff0f9ecf3cbf33843fbd16929"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiDatabaseManager.TakeCheckpointAsync (cognitive 25): MultiDatabaseManager.TakeCheckpointAsync has cognitive complexity 25 (threshold 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":"libs/server/Databases/MultiDatabaseManager.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"81499111ad574313250865f921861296887dbb4b34fcd093b61fe7b5d7d9a273"}},{"ruleId":"D2","level":"warning","message":{"text":"ListObject.ListRange (cognitive 25): ListObject.ListRange has cognitive complexity 25 (threshold 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":"libs/server/Objects/List/ListObjectImpl.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6b49542780cda749f8df54d6fc38555fd60f8b8420fb67a2d7376b6b5631f00"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkDebug (cognitive 25): RespServerSession.NetworkDebug has cognitive complexity 25 (threshold 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":"libs/server/Resp/AdminCommands.cs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"0917c2b93c8367250f7b2308bd333650572663313bee1d968a35e8dfa2ba8b5e"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.FlushDb (cognitive 25): RespServerSession.FlushDb has cognitive complexity 25 (threshold 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":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":1864}}}],"partialFingerprints":{"codehealthFindingId/v1":"e61791ee05271513f8c734cad3e534ec1bd67860e9f65b62503e96ebb1565228"}},{"ruleId":"D2","level":"warning","message":{"text":"RespCommandsInfo.TryInitializeRespCommandsInfo (cognitive 25): RespCommandsInfo.TryInitializeRespCommandsInfo has cognitive complexity 25 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespCommandsInfo.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a29325713f5a3b046ae555189695d19307ca78fe9e882af2bdc56cdbdf20af"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorManager.QueueVectorReplay (cognitive 25): VectorManager.QueueVectorReplay has cognitive complexity 25 (threshold 15). Most of this is not in the body itself: 6 of the 25 points are its own statements and the rest belongs to 3 function items inside it that branch (StartReplicaTaskAsync, ApplyVectorSetReplay, StartReplicationReplayTasks). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Replication.cs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"85b6ac3a0878bae7874b77525709ea4abe5c0e1042907fd369346009c3cb538e"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageSession.StringBitOperation (cognitive 25): StorageSession.StringBitOperation has cognitive complexity 25 (threshold 15). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/MainStore/BitmapOps.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd68f22ec4dbeaa28c23d0de1d535c1defc38c197de5bc1a6415a424e396986"}},{"ruleId":"D2","level":"warning","message":{"text":"MallocFixedPageSize.InternalAllocate (cognitive 25): MallocFixedPageSize.InternalAllocate has cognitive complexity 25 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Allocator/MallocFixedPageSize.cs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bbadabe2409c1178e3df41ae42e3f1920fbd97fb4538a9f0952d5cfc5887bdb"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKV.CreateNewRecordUpsert (cognitive 25): TsavoriteKV.CreateNewRecordUpsert has cognitive complexity 25 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d653510e7c410abe056c4e9c8062500e2b6efc954342c18c28d5d1e030f2986"}},{"ruleId":"D2","level":"warning","message":{"text":"BlobManager.PerformWithRetriesAsync (cognitive 25): BlobManager.PerformWithRetriesAsync has cognitive complexity 25 (threshold 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":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/StorageOperations.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"076a1d7e8de664ec166d5661901d8ea51c4d9c894b69141e60cc348fd64fc880"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonPath.TryParseArrayLiteral (cognitive 25): JsonPath.TryParseArrayLiteral has cognitive complexity 25 (threshold 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":"modules/GarnetJSON/JSONPath/JsonPath.cs"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c2e6798c1fba9443be6f592f4d015210fda3f5ad7cf7bba7b6f08ebe791f82"}},{"ruleId":"D2","level":"warning","message":{"text":"ScanMultipleFilter.ExecuteFilter (cognitive 25): ScanMultipleFilter.ExecuteFilter has cognitive complexity 25 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ScanMultipleFilter.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"10007be14a61dc4e70f5a59fb1eae5e5a08a201fc2edfe55c66cf46a1e97ba92"}},{"ruleId":"D2","level":"warning","message":{"text":"BitOp.__bitop_multikey_simdX256_and (cognitive 25): BitOp.__bitop_multikey_simdX256_and has cognitive complexity 25 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":1083}}}],"partialFingerprints":{"codehealthFindingId/v1":"057d39ae3e988b5c78bf6214b49538280328d8d4161558ca131be59c8d17f416"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterConfig.MergeWorkerInfo (cognitive 24): ClusterConfig.MergeWorkerInfo has cognitive complexity 24 (threshold 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":"libs/cluster/Server/ClusterConfig.cs"},"region":{"startLine":1152}}}],"partialFingerprints":{"codehealthFindingId/v1":"300d93d3f7d6791a4a316113660bcef3b008e55a3625fcf321bd95fbe74ab091"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterSession.NetworkClusterReplicate (cognitive 24): ClusterSession.NetworkClusterReplicate has cognitive complexity 24 (threshold 15). 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":"libs/cluster/Session/RespClusterReplicationCommands.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbb990620366e5f37479bf75c56934e53467c74c29ea44e650fd71769fb224b"}},{"ruleId":"D2","level":"warning","message":{"text":"GarnetAppendOnlyFile.ComputeAofSyncReplayAddress (cognitive 24): GarnetAppendOnlyFile.ComputeAofSyncReplayAddress has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/AOF/GarnetAppendOnlyFile.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"e362295b5169e1a81b749e694f5346c2ee869107ad4017857e9f1a589501446a"}},{"ruleId":"D2","level":"warning","message":{"text":"GlobUtils.Match (cognitive 24): GlobUtils.Match has cognitive complexity 24 (threshold 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":"libs/server/GlobUtils.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9005a5884e1c7346705a0b525098d09e4e199e69331da8db64b9e1cb2cae88d"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.UnsafeRunPreambleForRunner (cognitive 24): LuaRunner.UnsafeRunPreambleForRunner has cognitive complexity 24 (threshold 15). Of this number, 23 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8105aecaf810eea7d0a602c982b34706f1c712f311e7d381d159741aff0b233"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.StructPack::TryEncodeInteger (cognitive 24): LuaRunner.StructPack::TryEncodeInteger has cognitive complexity 24 (threshold 15). Drivers by points: if/else 15 (22 pts), boolean chains 1, match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (LuaRunner.StructPack) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.Struct.cs"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bf9ab5cfbce42d20888006bb9c2be6b3fab26e2a693f9caca0ff92d94afd9a"}},{"ruleId":"D2","level":"warning","message":{"text":"BitmapManager.CheckBitfieldOverflow::CheckSignedBitfieldOverflow (cognitive 24): BitmapManager.CheckBitfieldOverflow::CheckSignedBitfieldOverflow has cognitive complexity 24 (threshold 15). Drivers by points: if/else 5 (10 pts), ternaries 4 (8 pts), boolean chains 5, match/switch 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":"libs/server/Resp/Bitmap/BitmapManagerBitfield.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ae6df86fc490e26a9e02fca57f036286c6f50d84011d7ec19ed083f031f395"}},{"ruleId":"D2","level":"warning","message":{"text":"HyperLogLog.DumpSparseRegs (cognitive 24): HyperLogLog.DumpSparseRegs has cognitive complexity 24 (threshold 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":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":1234}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5be49a52f656396b2c6c2f8b19c61db045e413c8258a3f483aa928b7495a6f"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.ListBlockingPopMultiple (cognitive 24): RespServerSession.ListBlockingPopMultiple has cognitive complexity 24 (threshold 15). 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":"libs/server/Resp/Objects/ListCommands.cs"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"747da522501e9e2bfe6adfeac4583dce927ea7a1eee066bccdba704390b9209e"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.SimdFastParse (cognitive 24): RespServerSession.SimdFastParse has cognitive complexity 24 (threshold 15). 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. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Parser/RespCommand.cs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"5808e462479a8876b968d995ab1c425cf0ebaccb1f6fc8367317b8c5bb363cf9"}},{"ruleId":"D2","level":"warning","message":{"text":"RangeIndexChunkedSerializer.MoveNext (cognitive 24): RangeIndexChunkedSerializer.MoveNext has cognitive complexity 24 (threshold 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":"libs/server/Resp/RangeIndex/RangeIndexChunkedSerializer.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cb86f7b09b55c7e0d19faf9e9b4c95d75058f814435f4f95c5fe801a55b461"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkRISCAN (cognitive 24): RespServerSession.NetworkRISCAN has cognitive complexity 24 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RangeIndex/RespServerSessionRangeIndex.cs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"f43460269c73981c796880d63f7a13879fdee0083f1a6a6481b51c04885a63f7"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkCONFIG_GET (cognitive 24): RespServerSession.NetworkCONFIG_GET has cognitive complexity 24 (threshold 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":"libs/server/ServerConfig.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3adfd3feb04e5e4892d0488fec73013707662b510b2064380dcf7cd0768f6f8"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageSession.ComputeLCSWithIndices (cognitive 24): StorageSession.ComputeLCSWithIndices has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/MainStore/MainStoreOps.cs"},"region":{"startLine":690}}}],"partialFingerprints":{"codehealthFindingId/v1":"e039e560499038823f1319059fc07e47db9e4024ae3f6ffdc40950cae4ecd678"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageSession.ListMove (cognitive 24): StorageSession.ListMove has cognitive complexity 24 (threshold 15). 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":"libs/server/Storage/Session/ObjectStore/ListOps.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"fce354ecd997230debb8f3d229b3f0ab41942fccd4a1ab87bf8bbbc13ed01d0f"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectAllocatorImpl.EvictRecordsInRange (cognitive 24): ObjectAllocatorImpl.EvictRecordsInRange has cognitive complexity 24 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c887d8cd936c21e9dcf7911e6bc7bf8d234d08db7f8b142d13ac7d2769208a"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalStorageNamedDeviceFactory.Delete (cognitive 24): LocalStorageNamedDeviceFactory.Delete has cognitive complexity 24 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Index/CheckpointManagement/LocalStorageNamedDeviceFactory.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"68488adc89df5e787614c3dfff4f75709ecc2f4618fd9074a47be77101aa0fa5"}},{"ruleId":"D2","level":"warning","message":{"text":"BlobManager.AcquireOwnership (cognitive 24): BlobManager.AcquireOwnership has cognitive complexity 24 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 6 belong to one function literal inside it that branches. To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/BlobManager.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6af2c587f4ee6c1352e2642be99b60332ccf45b3d112112a32f7558b2a2bec1"}},{"ruleId":"D2","level":"warning","message":{"text":"ArrayIndexFilter.ExecuteFilterMultiple (cognitive 24): ArrayIndexFilter.ExecuteFilterMultiple has cognitive complexity 24 (threshold 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":"modules/GarnetJSON/JSONPath/ArrayIndexFilter.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"5297dd5976d127a3ae455fbbbf68f143c1a1fb0def9fcc1968fafb02bd5cf591"}},{"ruleId":"D2","level":"warning","message":{"text":"CommandInfoUpdater.GetUpdatedCommandsInfo (cognitive 24): CommandInfoUpdater.GetUpdatedCommandsInfo has cognitive complexity 24 (threshold 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":"playground/CommandInfoUpdater/CommandInfoUpdater.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"b508d542fb3001bfb9574305f7c47521829af70399c229152c4d30836c269f5b"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientRequestProvider.RunOnlineGarnetClientParallel (cognitive 23): ClientRequestProvider.RunOnlineGarnetClientParallel has cognitive complexity 23 (threshold 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":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"20256b99219602a6ce12da4b36b2a8a76628c212b2e00a60c5a94509c462de54"}},{"ruleId":"D2","level":"warning","message":{"text":"RespOnlineBench.OpRunnerGarnetClientSessionParallel (cognitive 23): RespOnlineBench.OpRunnerGarnetClientSessionParallel has cognitive complexity 23 (threshold 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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb663fd097e95611d3f4ce35366dced5da8b5270673167af68d6f43ee7a9f88"}},{"ruleId":"D2","level":"warning","message":{"text":"RespOnlineBench.OpRunnerGarnetClientParallel (cognitive 23): RespOnlineBench.OpRunnerGarnetClientParallel has cognitive complexity 23 (threshold 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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d20b75fef6b722662f92e79c58e2eda626fc398ddcef994f33d2782c712f1e"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplicationManager.TryReplicateDisklessSyncAsync (cognitive 23): ReplicationManager.TryReplicateDisklessSyncAsync has cognitive complexity 23 (threshold 15). 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":"libs/cluster/Server/Replication/ReplicaOps/ReplicaDisklessSync.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe0070496b8da7715f89ef3da1debd965a3ad0af6c5173b8fef6a9643ab28525"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterSession.NetworkClusterSync (cognitive 23): ClusterSession.NetworkClusterSync has cognitive complexity 23 (threshold 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":"libs/cluster/Session/RespClusterReplicationCommands.cs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"1755384c82292a44dadcfc65a1d30f1289d330b4ed2a8f6d90132d54d08694ab"}},{"ruleId":"D2","level":"warning","message":{"text":"AofChunkedRecordReader.ReadChunk (cognitive 23): AofChunkedRecordReader.ReadChunk has cognitive complexity 23 (threshold 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":"libs/server/AOF/AofChunkedRecordReader.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ec3ad5fcd6b979254d9aa280e86e1384bd5824e40fd5ca94f47211fd49c0e2"}},{"ruleId":"D2","level":"warning","message":{"text":"SingleDatabaseManager.RecoverCheckpointAsync (cognitive 23): SingleDatabaseManager.RecoverCheckpointAsync has cognitive complexity 23 (threshold 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":"libs/server/Databases/SingleDatabaseManager.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cab12a9267a096455aed5c4da3281a370e4332fcee3eec7b6a583fdf1663496"}},{"ruleId":"D2","level":"warning","message":{"text":"GarnetInfoMetrics.PopulateStatsInfo (cognitive 23): GarnetInfoMetrics.PopulateStatsInfo has cognitive complexity 23 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Metrics/Info/GarnetInfoMetrics.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad5c73fddb6e88bca6c3097f95bf76e882c34b4803ef2389a020418c29a8b9c"}},{"ruleId":"D2","level":"warning","message":{"text":"HashObject.Scan (cognitive 23): HashObject.Scan has cognitive complexity 23 (threshold 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":"libs/server/Objects/Hash/HashObject.cs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"75ca8c89c9b7b03d6e745aa0945b7c5328eb364176666d1b90389f8d64b775c4"}},{"ruleId":"D2","level":"warning","message":{"text":"HashObject.HashRandomField (cognitive 23): HashObject.HashRandomField has cognitive complexity 23 (threshold 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":"libs/server/Objects/Hash/HashObjectImpl.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"846c4dd7da6387239982299098ea62584b171e6868d3678e94c787a6c5523097"}},{"ruleId":"D2","level":"warning","message":{"text":"CollectionItemBroker.TryGetResult (cognitive 23): CollectionItemBroker.TryGetResult has cognitive complexity 23 (threshold 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":"libs/server/Objects/ItemBroker/CollectionItemBroker.cs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"42c25740ce7da068849cb5cbcf7762706a24e8ef179310c3b483fe770b6202a5"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkRESTORE (cognitive 23): RespServerSession.NetworkRESTORE has cognitive complexity 23 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/KeyAdminCommands.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8503e1f28a31ab81fc38aea9b968623858a83d0caf983267b1441608f47a4e0"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.ListPopMultiple (cognitive 23): RespServerSession.ListPopMultiple has cognitive complexity 23 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/ListCommands.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"b47b09d0a5ee56711534aac726e7e635b8a3b44637132e62272fd587c449ba74"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.SortedSetRandomMember (cognitive 23): RespServerSession.SortedSetRandomMember has cognitive complexity 23 (threshold 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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffaffa686db7d7e5ca82bee59f71f223f935ba56fed373210a1b9cb738f8b16"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkRICONFIG (cognitive 23): RespServerSession.NetworkRICONFIG has cognitive complexity 23 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RangeIndex/RespServerSessionRangeIndex.cs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"90ec121f1597fcbcce603eb25815937a6bf51a46193fa05052c276fb07d2830d"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkRIMETRICS (cognitive 23): RespServerSession.NetworkRIMETRICS has cognitive complexity 23 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RangeIndex/RespServerSessionRangeIndex.cs"},"region":{"startLine":600}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe9a9d06628ccc449aac625fa7e583fa27bcc5e42383a68a686261d7d987a2a"}},{"ruleId":"D2","level":"warning","message":{"text":"NativeStorageDevice.Dispose (cognitive 23): NativeStorageDevice.Dispose has cognitive complexity 23 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":1924}}}],"partialFingerprints":{"codehealthFindingId/v1":"4207b7dd1cc39102f52bc3dd5de4985533245a72530c4d37c88573665a236e0c"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKV.CreateNewRecordDelete (cognitive 23): TsavoriteKV.CreateNewRecordDelete has cognitive complexity 23 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"a046b2bccb4fd391da55b03850b261d7be88f9b53e0c0d58e13e68d19fbbd857"}},{"ruleId":"D2","level":"warning","message":{"text":"FreeRecordBin.TryTakeBestFit (cognitive 23): FreeRecordBin.TryTakeBestFit has cognitive complexity 23 (threshold 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/Revivification/FreeRecordPool.cs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"46fdcfc5762f3e058538a232fd90bedec47a664b0d3da81a421220e28f89a6ef"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteLog.RestoreLatestAsync (cognitive 23): TsavoriteLog.RestoreLatestAsync has cognitive complexity 23 (threshold 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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2958}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac5c8c8131cde592d9b8e02e5d0b3c748715e9ae1f5878744f6fdacb9075c6d7"}},{"ruleId":"D2","level":"warning","message":{"text":"BitOp.__bitop_multikey_simdX128_and (cognitive 23): BitOp.__bitop_multikey_simdX128_and has cognitive complexity 23 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. Note what this body is, though: it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"0064144ccfaf7c6afffb09ea22b26cb2637e89b642151987dd63c474a39f5f51"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.Main (cognitive 23): Program.Main has cognitive complexity 23 (threshold 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":"playground/LightEpochLitmus/Program.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b19a7e23699a0cd61914d9c21378efdf6d395455ab44a046ff4d540750b156e"}},{"ruleId":"D2","level":"warning","message":{"text":"KvBenchmark.RunWorkers (cognitive 23): KvBenchmark.RunWorkers has cognitive complexity 23 (threshold 15). 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":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5cfb3fd64f481cfeb04a69ae423ed6556d8d2037d4627f2eda75645224dc366"}},{"ruleId":"D2","level":"warning","message":{"text":"TestLoader.TestLoader.ctor (cognitive 23): TestLoader.TestLoader.ctor has cognitive complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/TestLoader.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"412fcb653d2647c297a9c6eb1c3e2f73b3c0e9f85332d7514bc84724e731e9ed"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientRequestProvider.RunOfflineLightClient (cognitive 22): ClientRequestProvider.RunOfflineLightClient has cognitive complexity 22 (threshold 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":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f7f6780af1090cf0709fbe7b5e508170d6d2539d8f0dcaaf2f7223fa0b9fdc6"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientRequestProvider.ExecuteOfflineBatchGarnetSession (cognitive 22): ClientRequestProvider.ExecuteOfflineBatchGarnetSession has cognitive complexity 22 (threshold 15). 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free. This shape REPEATS in the file: 5 other methods here (ClientRequestProvider.ExecuteOfflineBatchGarnetClient, ClientRequestProvider.ExecuteOfflineBatchSERedis, ClientRequestProvider.SendOfflineBatchGarnetSession, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cd2a86a808a3099bf64fb1aa9ed491ecfe470de4be1f7d932a9e3990c191a2e"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientRequestProvider.ExecuteOfflineBatchGarnetClient (cognitive 22): ClientRequestProvider.ExecuteOfflineBatchGarnetClient has cognitive complexity 22 (threshold 15). 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free. This shape REPEATS in the file: 5 other methods here (ClientRequestProvider.ExecuteOfflineBatchGarnetSession, ClientRequestProvider.ExecuteOfflineBatchSERedis, ClientRequestProvider.SendOfflineBatchGarnetSession, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"62291dd0d3ae93ab7ce5ff8674647a3af909e07f5b219d887183436fbf609128"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientRequestProvider.ExecuteOfflineBatchSERedis (cognitive 22): ClientRequestProvider.ExecuteOfflineBatchSERedis has cognitive complexity 22 (threshold 15). 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free. This shape REPEATS in the file: 5 other methods here (ClientRequestProvider.ExecuteOfflineBatchGarnetSession, ClientRequestProvider.ExecuteOfflineBatchGarnetClient, ClientRequestProvider.SendOfflineBatchGarnetSession, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"be35e93f1995ee631ce86cd989ecbd5f46ba867e5ef6647cdea90c26c0b88fcf"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientRequestProvider.SendOfflineBatchGarnetSession (cognitive 22): ClientRequestProvider.SendOfflineBatchGarnetSession has cognitive complexity 22 (threshold 15). 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free. This shape REPEATS in the file: 5 other methods here (ClientRequestProvider.ExecuteOfflineBatchGarnetSession, ClientRequestProvider.ExecuteOfflineBatchGarnetClient, ClientRequestProvider.ExecuteOfflineBatchSERedis, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"edeb36b509ae4aea1dd83e75a047382b03eff99d1cefd17044d504a895ded3e5"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientRequestProvider.SendOfflineBatchGarnetClient (cognitive 22): ClientRequestProvider.SendOfflineBatchGarnetClient has cognitive complexity 22 (threshold 15). 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free. This shape REPEATS in the file: 5 other methods here (ClientRequestProvider.ExecuteOfflineBatchGarnetSession, ClientRequestProvider.ExecuteOfflineBatchGarnetClient, ClientRequestProvider.ExecuteOfflineBatchSERedis, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"88802390eab7bfd41630d95a4d586ec9c3cf96dcff3b447191360f1b54b5fd84"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientRequestProvider.SendOfflineBatchSERedis (cognitive 22): ClientRequestProvider.SendOfflineBatchSERedis has cognitive complexity 22 (threshold 15). 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free. This shape REPEATS in the file: 5 other methods here (ClientRequestProvider.ExecuteOfflineBatchGarnetSession, ClientRequestProvider.ExecuteOfflineBatchGarnetClient, ClientRequestProvider.ExecuteOfflineBatchSERedis, \u2026) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 6 times rather than 6 independent problems. Splitting this body alone leaves the other 5 exactly as they are. Where these are variations on one operation, the change that clears all 6 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"157af053e3f2cb550f511ba16e64c0fda33817fe4936da34727cb87da9b67f6e"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterSession.ProcessPrimaryStream (cognitive 22): ClusterSession.ProcessPrimaryStream has cognitive complexity 22 (threshold 15). 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":"libs/cluster/Server/Replication/ReplicaOps/AOFReplay/ReplicaReplaySession.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"86e036f43bd1c3cb3f21381ac8afcbf3a20ef7d8ae47f462dee7a5728199619d"}},{"ruleId":"D2","level":"warning","message":{"text":"RecoverLogDriver.Consume (cognitive 22): RecoverLogDriver.Consume has cognitive complexity 22 (threshold 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":"libs/server/AOF/Recover/RecoverLogDriver.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"c115d20b5eb7eeab3de13159e1ae9da725f58206466c72bd100305d2f3d54ece"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkSetETagConditional (cognitive 22): RespServerSession.NetworkSetETagConditional has cognitive complexity 22 (threshold 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":"libs/server/Resp/BasicEtagCommands.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"63ed0694d82889e0f58fca4d14b57577fbcced021ddd8b5a0cf88487bfd1faf0"}},{"ruleId":"D2","level":"warning","message":{"text":"BitmapManager.BitPosDriver (cognitive 22): BitmapManager.BitPosDriver has cognitive complexity 22 (threshold 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":"libs/server/Resp/Bitmap/BitmapManagerBitPos.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cedf4667a871135579f69e7b150a86d079af57f0a14db39305a9a4b14743613"}},{"ruleId":"D2","level":"warning","message":{"text":"AttributeExtractor.ParseArrayToken (cognitive 22): AttributeExtractor.ParseArrayToken has cognitive complexity 22 (threshold 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":"libs/server/Resp/Vector/AttributeExtractor.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf6b339a5297bc890878ea2dfbd05c157614856f86931161cb3c0aacf8e8ddc"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkVRANDMEMBER (cognitive 22): RespServerSession.NetworkVRANDMEMBER has cognitive complexity 22 (threshold 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":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":2117}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9483f2f607394d797c3d6dda3432301e71db0a89f45f3052b827171429e73d"}},{"ruleId":"D2","level":"warning","message":{"text":"StoreWrapper.StoreWrapper.ctor (cognitive 22): StoreWrapper.StoreWrapper.ctor has cognitive complexity 22 (threshold 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":"libs/server/StoreWrapper.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5fc91249784670649a9617f1ccfc3f46f87094f2582a00181b9b55c9f428216"}},{"ruleId":"D2","level":"warning","message":{"text":"AllocatorBase.ShiftBeginAddress (cognitive 22): AllocatorBase.ShiftBeginAddress has cognitive complexity 22 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 4 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":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":1719}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9b607cc340db49f686673f953d38b4338033fd3d6588dfb1ac77c4d979917fd"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKV.CompactScan (cognitive 22): TsavoriteKV.CompactScan has cognitive complexity 22 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Compaction/TsavoriteCompaction.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"31115c500823f865651ac0d02d899924cc12e62e0afe89bce163ec758a74a4d7"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteLog.CommitInternal (cognitive 22): TsavoriteLog.CommitInternal has cognitive complexity 22 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":3359}}}],"partialFingerprints":{"codehealthFindingId/v1":"c19095e3ed080c2de3831148ff48b30a5062dfd873ecda4071d9a9bfed73bd9c"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientRequestProvider.RunOnlineGarnetClientSession (cognitive 21): ClientRequestProvider.RunOnlineGarnetClientSession has cognitive complexity 21 (threshold 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":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"099576f854d02f40a91a5d3ff63bfff6ebb577d6da38667d80b0adf0f1e5196b"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterManager.TryPrepareSlotForOwnershipChange (cognitive 21): ClusterManager.TryPrepareSlotForOwnershipChange has cognitive complexity 21 (threshold 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":"libs/cluster/Server/ClusterManagerSlotState.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c13a25be26d399fe2e59fda6c28c5176e5290cb7c7a4f446b9ab8860e243f0c"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterManager.TryAddReplicaAsync (cognitive 21): ClusterManager.TryAddReplicaAsync has cognitive complexity 21 (threshold 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":"libs/cluster/Server/ClusterManagerWorkerState.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d2d6f2248b1b5bb75dc68712ed42a69677ebfdd3f0a017aed3e1cde362f5af"}},{"ruleId":"D2","level":"warning","message":{"text":"GossipVersionNegotiation.ExchangeAsync (cognitive 21): GossipVersionNegotiation.ExchangeAsync has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Gossip/GossipVersionNegotiation.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfd6232de22ecf51ef7c68c777dfac10563d1bc1db2913ac124d002fc18de8d2"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterSession.TryParseSlots (cognitive 21): ClusterSession.TryParseSlots has cognitive complexity 21 (threshold 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":"libs/cluster/Session/ClusterCommands.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4f32b2206dde4dc1079402b96bdda13d01ccaa25ea3682ea34fd42eb75aba49"}},{"ruleId":"D2","level":"warning","message":{"text":"NumUtils.CountDigits (cognitive 21): NumUtils.CountDigits has cognitive complexity 21 (threshold 15). 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":"libs/common/NumUtils.cs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef8a40be0ba6255b9e0f6f8150cc3c598c9df67933d2bcc9b690cc83c3f6e919"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerSettingsManager.ConsolidateFlagArguments (cognitive 21): ServerSettingsManager.ConsolidateFlagArguments has cognitive complexity 21 (threshold 15). Of this number, 18 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":"libs/host/ServerSettingsManager.cs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"e19995e4b5c01734fb300a0e73c94486f7839cfc04827aab78ba01c95190a03a"}},{"ruleId":"D2","level":"warning","message":{"text":"ModuleUtils.LoadAssemblies (cognitive 21): ModuleUtils.LoadAssemblies has cognitive complexity 21 (threshold 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":"libs/server/Module/ModuleUtils.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c4d681bf9c4e297fffff14f116486c13bb7de96b806df4ea4a055c27735c477"}},{"ruleId":"D2","level":"warning","message":{"text":"SortedSetObject.Scan (cognitive 21): SortedSetObject.Scan has cognitive complexity 21 (threshold 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":"libs/server/Objects/SortedSet/SortedSetObject.cs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"470fdcefed59cb12d1e3cbe02dc6354c06deb816680d9c5c60084ed615e2c4cf"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkLCS (cognitive 21): RespServerSession.NetworkLCS has cognitive complexity 21 (threshold 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":"libs/server/Resp/ArrayCommands.cs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7556eb362214871cb9a52855f01baed18ca69182a9565eca768e336f763bb5"}},{"ruleId":"D2","level":"warning","message":{"text":"ExprCompiler.ParseTuple (cognitive 21): ExprCompiler.ParseTuple has cognitive complexity 21 (threshold 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":"libs/server/Resp/Vector/ExprCompiler.cs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"09f472187d9e5ebdb86bea472ba9430754cdfa4ccb814fa138ec553bf2c2d926"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorManager.RunCleanupTaskAsync (cognitive 21): VectorManager.RunCleanupTaskAsync has cognitive complexity 21 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Cleanup.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ddce69709b8d8c3d1332a186698304bebaf78ce5d62f93a8061eac0bbc2ede5"}},{"ruleId":"D2","level":"warning","message":{"text":"HeapObjectBase.CacheSerializedObjectData (cognitive 21): HeapObjectBase.CacheSerializedObjectData has cognitive complexity 21 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Allocator/HeapObjectBase.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d78d83d51753ff10a21c7001e80e4a6c879ad42eda8edeb90a4ffbd8046c2e"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectAllocatorImpl.ClearSerializedObjectData (cognitive 21): ObjectAllocatorImpl.ClearSerializedObjectData has cognitive complexity 21 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":1502}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cba37a45c16a6bdb07197c5aaa1292668b81a961d5cb17fc670711152a4cd85"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectLogWriter.WriteDirect (cognitive 21): ObjectLogWriter.WriteDirect has cognitive complexity 21 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectSerialization/ObjectLogWriter.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"111b39ceb6608f3e97bb2197d522cad057bcaea1e34b022b88df2a0c0b13c973"}},{"ruleId":"D2","level":"warning","message":{"text":"MigrateSlotWalk.Run (cognitive 21): MigrateSlotWalk.Run has cognitive complexity 21 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateSlotWalk.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"637e15ac6521d97b1d3020d67b813239401ba21c0fa32634163b3968998664fc"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientRequestProvider.RunOnlineLightClient (cognitive 20): ClientRequestProvider.RunOnlineLightClient has cognitive complexity 20 (threshold 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":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf93ff15ddcdc6093f9d06eed4d054cdfeb0f648162788d9af21932de36036e"}},{"ruleId":"D2","level":"warning","message":{"text":"AofGen.GeneratePages (cognitive 20): AofGen.GeneratePages has cognitive complexity 20 (threshold 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":"benchmark/Resp.benchmark/OfflineBench/AOFBench/AofGen.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1ea415de38479855d21b745309a28d5055fd3e19bc252c0f82e630d7426cdc6"}},{"ruleId":"D2","level":"warning","message":{"text":"RespReadResponseUtils.TryReadStringArrayWithLengthHeader (cognitive 20): RespReadResponseUtils.TryReadStringArrayWithLengthHeader has cognitive complexity 20 (threshold 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/RespReadResponseUtils.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba97aeb38ba738a50238584325b913bcf30c5cd6b36a1289b2976ef021a110f"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplicaSyncSession.SendCheckpointAsync (cognitive 20): ReplicaSyncSession.SendCheckpointAsync has cognitive complexity 20 (threshold 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":"libs/cluster/Server/Replication/PrimaryOps/DiskbasedReplication/ReplicaSyncSession.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4d0036b397ad397614ddfe98a99ff339c2d88da8ed4d2e3b7a1ac284f63067a"}},{"ruleId":"D2","level":"warning","message":{"text":"RespReadUtils.TryReadSignedLengthHeader (cognitive 20): RespReadUtils.TryReadSignedLengthHeader has cognitive complexity 20 (threshold 15). 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/RespReadUtils.cs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"1948c08778d6d199af4129a259a8b5e38d9800afbdb193ec93f5f16144773822"}},{"ruleId":"D2","level":"warning","message":{"text":"User.AddCategory (cognitive 20): User.AddCategory has cognitive complexity 20 (threshold 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. This shape REPEATS in the file: one other method here (User.RemoveCategory) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/ACL/User.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"da4664563ac09f2585af5be64cb14f5d07c298db4a2c3b289a747f27b692a100"}},{"ruleId":"D2","level":"warning","message":{"text":"User.RemoveCategory (cognitive 20): User.RemoveCategory has cognitive complexity 20 (threshold 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. This shape REPEATS in the file: one other method here (User.AddCategory) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/ACL/User.cs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af24630ab6e1eb25957501d222b9df110c828ecae3e9ee6cc999a2412d9046e"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.RunForRunner (cognitive 20): LuaRunner.RunForRunner has cognitive complexity 20 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 8 belong to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":1193}}}],"partialFingerprints":{"codehealthFindingId/v1":"5af116818995bf4d9f6c2dfcf7d2198f888a343bebae12b7c6b7f41898ce2141"}},{"ruleId":"D2","level":"warning","message":{"text":"ListObject.ListRemove (cognitive 20): ListObject.ListRemove has cognitive complexity 20 (threshold 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":"libs/server/Objects/List/ListObjectImpl.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7ebc0e3e47c9d90b98c23889d764b618733281fe0658afdd03665325216be4b"}},{"ruleId":"D2","level":"warning","message":{"text":"SetObject.SetRandomMember (cognitive 20): SetObject.SetRandomMember has cognitive complexity 20 (threshold 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":"libs/server/Objects/Set/SetObjectImpl.cs"},"region":{"startLine":153}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b9406cd09ced23f8d1c293d5674b574ee4ba55d01d06a0a918be5b9d5ae100"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.HashRandomField (cognitive 20): RespServerSession.HashRandomField has cognitive complexity 20 (threshold 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":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e6fc01f46cbe062d392111181501638d95d8c6c2a67d67c12a9b9083f76417"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorManager.RandomMembers (cognitive 20): VectorManager.RandomMembers has cognitive complexity 20 (threshold 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. This shape REPEATS in the file: one other method here (VectorManager.RandomMembers::ProcessResults) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":1696}}}],"partialFingerprints":{"codehealthFindingId/v1":"88384e80c917ad68761e253d2ed17f0f94860910ff1c4187541bbf69423e0f66"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageSession.RangeIndexGet (cognitive 20): StorageSession.RangeIndexGet has cognitive complexity 20 (threshold 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":"libs/server/Storage/Session/MainStore/RangeIndexOps.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef61adbfc01c186d9425c9aca6b22d9a6deecd7d9dc62c5ea9140462e5b76ae3"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageSession.RENAME (cognitive 20): StorageSession.RENAME has cognitive complexity 20 (threshold 15). 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":"libs/server/Storage/Session/UnifiedStore/UnifiedStoreOps.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"2066bf9ce63f0470200dcd8592cf8849a5761e96a80113e0248c3bec85ef19f5"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKV.ConditionalCopyToTail (cognitive 20): TsavoriteKV.ConditionalCopyToTail has cognitive complexity 20 (threshold 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/ConditionalCopyToTail.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8bbdef1627247980c4816bb132fa3ddd3e5f550ad0fb577295831bd0e0b9b12"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureStorageDevice.StartAsync (cognitive 20): AzureStorageDevice.StartAsync has cognitive complexity 20 (threshold 15). Of this number, 18 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"77d69e12245889b3171ad9ff34250d77d5b2140555ef6d9ccd7907fd1f707e5b"}},{"ruleId":"D2","level":"warning","message":{"text":"GarnetJsonObject.Set (cognitive 20): GarnetJsonObject.Set has cognitive complexity 20 (threshold 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":"modules/GarnetJSON/GarnetJsonObject.cs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70036a2f9203f943e1c8f35325ace86199e7c97276bd4b0cdacce88097548b3"}},{"ruleId":"D2","level":"warning","message":{"text":"BooleanQueryExpression.EqualsWithStrictMatch (cognitive 20): BooleanQueryExpression.EqualsWithStrictMatch has cognitive complexity 20 (threshold 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":"modules/GarnetJSON/JSONPath/QueryExpression.cs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"149d6b0e53106b4bc6514669d17f386c2378149ca4799aba9a7203b26ec11ec5"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryScanFilter.ExecuteFilter (cognitive 20): QueryScanFilter.ExecuteFilter has cognitive complexity 20 (threshold 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":"modules/GarnetJSON/JSONPath/QueryScanFilter.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffa47952d0428b9370a26b8b6e596dd65c294c8a9ef656cb29350905fa0c468c"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.Main (cognitive 20): Program.Main has cognitive complexity 20 (threshold 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":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/Program.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b5c3f1b5a791fd8f2be719977aa75ee85d698d109c3406f5ee851719b31f4a"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientRequestProvider.RunOnlineGarnetClient (cognitive 19): ClientRequestProvider.RunOnlineGarnetClient has cognitive complexity 19 (threshold 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":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6059d36a231ea4969ca8657689dd3a5b2e0c5b106475f1c259d5afb3c5cf81b"}},{"ruleId":"D2","level":"warning","message":{"text":"RespPerfBench.LoadDatabaseStringSet (cognitive 19): RespPerfBench.LoadDatabaseStringSet has cognitive complexity 19 (threshold 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":"benchmark/Resp.benchmark/OfflineBench/RespPerfBench.cs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f7e3434928b32ebac7404ba95ef4264f8114323f836f391850499cb7d02f53a"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterManager.TryPrepareSlotsForImport (cognitive 19): ClusterManager.TryPrepareSlotsForImport has cognitive complexity 19 (threshold 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":"libs/cluster/Server/ClusterManagerSlotState.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b99156ceaf1eddd813406b5163f6be026f23590565d41f37e003da055919ec6"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterManager.TryClusterPublishAsync (cognitive 19): ClusterManager.TryClusterPublishAsync has cognitive complexity 19 (threshold 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":"libs/cluster/Server/Gossip/Gossip.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"958814dfd61f9c378e2973f6a5bda82c32b4d62e7b8f97510dec7fada421582b"}},{"ruleId":"D2","level":"warning","message":{"text":"ReplicationManager.TryReplicateDiskbasedSyncAsync (cognitive 19): ReplicationManager.TryReplicateDiskbasedSyncAsync has cognitive complexity 19 (threshold 15). 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":"libs/cluster/Server/Replication/ReplicaOps/ReplicaDiskbasedSync.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e7bcd775aa3039abe8063e9c6a44ee8a36d9fd69f0ce6c18fb35893507c19a"}},{"ruleId":"D2","level":"warning","message":{"text":"LightClientRequest.LightReceive (cognitive 19): LightClientRequest.LightReceive has cognitive complexity 19 (threshold 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":"libs/common/LightClientRequest.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"865e28b4c2b4765a38cbd11b96062d23fca3daa1c6c4aa55d08e40f2ffbfc5ff"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiDatabaseManager.RecoverCheckpointAsync (cognitive 19): MultiDatabaseManager.RecoverCheckpointAsync has cognitive complexity 19 (threshold 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":"libs/server/Databases/MultiDatabaseManager.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e425b79b064fbab66a8d2bf24542af6db0706737f1c876cbeedbd5d2879f130"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.TryEVALSHA (cognitive 19): RespServerSession.TryEVALSHA has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaCommands.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7565d334bce519788025c6d6accfded620ba840227c590c71baebdf3ccb6cf91"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkLatencyReset (cognitive 19): RespServerSession.NetworkLatencyReset has cognitive complexity 19 (threshold 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":"libs/server/Metrics/Latency/RespLatencyCommands.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9e6464d9e74f42403146575ea5c3e6504b1865118f86a7f0ddd8a4afde9bc05"}},{"ruleId":"D2","level":"warning","message":{"text":"GarnetObjectBase.ReadScanInput (cognitive 19): GarnetObjectBase.ReadScanInput has cognitive complexity 19 (threshold 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":"libs/server/Objects/Types/GarnetObjectBase.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b02110795976b370c1a67564a2face7d3fe0945e89f37b291e131e29a9a3d0"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkCOMMAND_DOCS (cognitive 19): RespServerSession.NetworkCOMMAND_DOCS has cognitive complexity 19 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":1240}}}],"partialFingerprints":{"codehealthFindingId/v1":"9523bb79ad280c0721219171ca2ab66647e76f3eb8ccb5afcceb344b5520030e"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkAUTH (cognitive 19): RespServerSession.NetworkAUTH has cognitive complexity 19 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":1545}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed6457ef7ec084f8d6cd8f3f210b5ffeb1a252335c09682daa7569fa11eb3e06"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkSETWITHETAG (cognitive 19): RespServerSession.NetworkSETWITHETAG has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/BasicEtagCommands.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87810a71e0cad86b44b54c4f93b9c81856e8b5f37d169733d8c1324248f1c88"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkCLIENTKILL::IsMatch (cognitive 19): RespServerSession.NetworkCLIENTKILL::IsMatch has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (14 pts), ternaries 1 (3 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. This shape REPEATS in the file: one other method here (RespServerSession.NetworkCLIENTKILL) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/ClientCommands.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff55234c9faebabce74739fa631a553ba151a4a991599a900c00c706b99c4beb"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.MakeUpperCase (cognitive 19): RespServerSession.MakeUpperCase has cognitive complexity 19 (threshold 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":"libs/server/Resp/RespServerSession.cs"},"region":{"startLine":831}}}],"partialFingerprints":{"codehealthFindingId/v1":"533f3a5e8d12ebeee80eb2f59925f80dffc693572c1939f9bf4918881cc7003f"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorManager.StartQuantizationAndImportTasks::QuantizationTaskAsync (cognitive 19): VectorManager.StartQuantizationAndImportTasks::QuantizationTaskAsync has cognitive complexity 19 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (6 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. This shape REPEATS in the file: one other method here (VectorManager.StartQuantizationAndImportTasks::TryProcessQuantizationOrImportRequest) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Quantization.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8895ab837a5de4199177a13d7b97e69708c0bacb6f182133e7ddbf7adf5315fb"}},{"ruleId":"D2","level":"warning","message":{"text":"UnifiedSessionFunctions.GetRMWModifiedFieldInfo (cognitive 19): UnifiedSessionFunctions.GetRMWModifiedFieldInfo has cognitive complexity 19 (threshold 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":"libs/server/Storage/Functions/UnifiedStore/VarLenInputMethods.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fadc40bd6f9a5264de5a856601a8bf86471cebc82fbaa8df9414cf2c65766a"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageSession.HyperLogLogLength (cognitive 19): StorageSession.HyperLogLogLength has cognitive complexity 19 (threshold 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":"libs/server/Storage/Session/MainStore/HyperLogLogOps.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad647a9cec732cfd1feed71c8e86efd8818e627dd4dff03fcd23e0ab8aa847fa"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKVIterator.GetNext (cognitive 19): TsavoriteKVIterator.GetNext has cognitive complexity 19 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/TsavoriteIterator.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9852a94223690c1f0cd16e9b4284f2dbf0b943f14dcde7345dff55ae67721e1"}},{"ruleId":"D2","level":"warning","message":{"text":"TaskScaling.ShortRunningTask (cognitive 19): TaskScaling.ShortRunningTask has cognitive complexity 19 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/GarnetClientStress/TaskScaling.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"81db546b78117dc9d0d8e458b973d6345fc41a690c5200f410f68ddb72c073dc"}},{"ruleId":"D2","level":"warning","message":{"text":"StoreScan.Reader (cognitive 18): StoreScan.Reader has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrateScanFunctions.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6394d19cbcb4a531c5bb2ddf2c129d22738003eaf007f20ca08ab77500a3d356"}},{"ruleId":"D2","level":"warning","message":{"text":"CheckpointStore.DeleteOutdatedCheckpoints (cognitive 18): CheckpointStore.DeleteOutdatedCheckpoints has cognitive complexity 18 (threshold 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":"libs/cluster/Server/Replication/CheckpointStore.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"358604365022dc70fe312bd1e202ff198a09bbcbf8ed9d4cbab618a4aa9e1a4d"}},{"ruleId":"D2","level":"warning","message":{"text":"ReaderWriterLock.WaitForGrant (cognitive 18): ReaderWriterLock.WaitForGrant has cognitive complexity 18 (threshold 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":"libs/common/ReaderWriterLock.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"908e23bb2da8ab6aca7d01103ce86c36f6d699b27995d7f1c9a0ad675845fd71"}},{"ruleId":"D2","level":"warning","message":{"text":"AofReplayCoordinator.AddOrReplayTransactionOperation (cognitive 18): AofReplayCoordinator.AddOrReplayTransactionOperation has cognitive complexity 18 (threshold 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":"libs/server/AOF/ReplayCoordinator/AofReplayCoordinator.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"361e9baa93b0a18a69bcde0e1b9849d72b963a0a3aeeed64c6493aceba1af843"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeServerConfig.TrySet (cognitive 18): RuntimeServerConfig.TrySet has cognitive complexity 18 (threshold 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":"libs/server/Config/RuntimeServerConfig.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc1889ca88fb0e8ab4d4e0074e9a91738350e632f622d29cf0b38c08d25fc14"}},{"ruleId":"D2","level":"warning","message":{"text":"CollectionItemBroker.TryAssignItemFromKey (cognitive 18): CollectionItemBroker.TryAssignItemFromKey has cognitive complexity 18 (threshold 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":"libs/server/Objects/ItemBroker/CollectionItemBroker.cs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d400f4e0308551cbbee7d6644e6807f8caf20be77b29e91acd44e529d0826b1"}},{"ruleId":"D2","level":"warning","message":{"text":"ListObject.ReadListPositionInput (cognitive 18): ListObject.ReadListPositionInput has cognitive complexity 18 (threshold 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":"libs/server/Objects/List/ListObjectImpl.cs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3a4572620faf5d6421e9407f6a18ecaba31b1ee8b221367b51fd1ed5d69083d"}},{"ruleId":"D2","level":"warning","message":{"text":"SortedSetObject.SortedSetCount (cognitive 18): SortedSetObject.SortedSetCount has cognitive complexity 18 (threshold 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":"libs/server/Objects/SortedSet/SortedSetObjectImpl.cs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"497c81c297c04fd158af96d659031396b6d23921b7fa052d7b123c7519f9eddb"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkStringBitCount (cognitive 18): RespServerSession.NetworkStringBitCount has cognitive complexity 18 (threshold 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":"libs/server/Resp/Bitmap/BitmapCommands.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"91fe8e7b4802e844e7e790b9c3aa42dcdae62a890dac9cbaef896a603e05360c"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.HashSet (cognitive 18): RespServerSession.HashSet has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d9432cf26e0521f35cffec103dd4a49fd7fae2d6d78f36b11feef255b402f1"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.HashExpire (cognitive 18): RespServerSession.HashExpire has cognitive complexity 18 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":582}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec4c9290783b1a81ee9381f07fa01ec672df024eaf167a62cad79cf94f4913d2"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.SetRandomMember (cognitive 18): RespServerSession.SetRandomMember has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SetCommands.cs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"e639a07175e633b046191aa9020c41266e6ab5596899798cec45360497f08539"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.SortedSetExpire (cognitive 18): RespServerSession.SortedSetExpire has cognitive complexity 18 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1741}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7c357e7d72e84279fdd9c3afbeb47f6de65c09deeb6b956d9481c6c60858bc2"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.GeoSearchCommands (cognitive 18): RespServerSession.GeoSearchCommands has cognitive complexity 18 (threshold 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":"libs/server/Resp/Objects/SortedSetGeoCommands.cs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca6c81d0c6907d2da0567e45af6e20a831efcdfa94fbfb1e06882cc687fd997"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.FastParseCommand (cognitive 18): RespServerSession.FastParseCommand has cognitive complexity 18 (threshold 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller, it works in explicit hardware vector and instruction-set types, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. A kernel divided across a call boundary passes its vectors between the parts and depends on the runtime putting them back together, so the division can cost more than the complexity it removes. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Parser/RespCommand.cs"},"region":{"startLine":821}}}],"partialFingerprints":{"codehealthFindingId/v1":"2528b8ca2f51a9b6cd193f21d6ff600db4c4a269a3138c6628e41c7de606543f"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkRISET (cognitive 18): RespServerSession.NetworkRISET has cognitive complexity 18 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RangeIndex/RespServerSessionRangeIndex.cs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b703a283cc28a41ad0cd4c33aba1b8eb6b2b2435d6df8f2cdf1dc79cd8ab5f94"}},{"ruleId":"D2","level":"warning","message":{"text":"RespCommandDocs.ToRespFormat (cognitive 18): RespCommandDocs.ToRespFormat has cognitive complexity 18 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespCommandDocs.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb3c4b949259f5aedd5b1c4958a0917759d08bc339f3966de04c7151b04740c"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkVLINKS (cognitive 18): RespServerSession.NetworkVLINKS has cognitive complexity 18 (threshold 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":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":2013}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f09bb68d2c14f1425de863db375bb6ebdd94e7a38644a95bbe77aba40d91ef9"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorManager.PrepareVectorData (cognitive 18): VectorManager.PrepareVectorData has cognitive complexity 18 (threshold 15). Most of this is not in the body itself: 7 of the 18 points are its own statements and the rest belongs to 7 function items inside it that branch (ConvertF32ToU8, ConvertI8ToU8, ConvertF32ToI8, \u2026). Those helpers are already separate functions, so extracting the branching again is not available. To reduce it, move them out of the body to the enclosing scope, where each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.ElementData.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fe425aea543745bcb1e68733bdc1ba48944878c23f665d79e9918331cf03ed8"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageSession.ProcessRespIntegerArrayOutput (cognitive 18): StorageSession.ProcessRespIntegerArrayOutput has cognitive complexity 18 (threshold 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. This shape REPEATS in the file: one other method here (StorageSession.ProcessRespInt64ArrayOutput) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/Common.cs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c517ccf1277a16b2c6ee8c4eeb0b4f476507f42a48770c6690487b4a6afc822"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageSession.ProcessRespInt64ArrayOutput (cognitive 18): StorageSession.ProcessRespInt64ArrayOutput has cognitive complexity 18 (threshold 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. This shape REPEATS in the file: one other method here (StorageSession.ProcessRespIntegerArrayOutput) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/Common.cs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfd9c7d803b44d9e136dcce47030a39054859885b1bc5574abb10763f4e3abe"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageSession.SetIntersect (cognitive 18): StorageSession.SetIntersect has cognitive complexity 18 (threshold 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":"libs/server/Storage/Session/ObjectStore/SetOps.cs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd6a290f6b98fd43138c865849d52275807a8093f31302cb2e4ae1c919d5aaa"}},{"ruleId":"D2","level":"warning","message":{"text":"StoreWrapper.ScheduledCheckpointTaskAsync (cognitive 18): StoreWrapper.ScheduledCheckpointTaskAsync has cognitive complexity 18 (threshold 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":"libs/server/StoreWrapper.cs"},"region":{"startLine":727}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a653c22674d0d30d9973469b8f8777f7cfd2c41eb2960296c67a53d7013c050"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkEXEC (cognitive 18): RespServerSession.NetworkEXEC has cognitive complexity 18 (threshold 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":"libs/server/Transaction/TxnRespCommands.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3c5bbe815efa630edeb1f9ec2b7b41cfa6a9df606d35a808769c94c0ac5fb0"}},{"ruleId":"D2","level":"warning","message":{"text":"AllocatorBase.ConditionalScanPush (cognitive 18): AllocatorBase.ConditionalScanPush has cognitive complexity 18 (threshold 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorScan.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e657b8f6f5f7971390827a3b25f13f354ef0319e7eb6934413a847f3fd83043"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectAllocatorImpl.OnDispose (cognitive 18): ObjectAllocatorImpl.OnDispose has cognitive complexity 18 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0e51ffae94919bccb1b03794c1918c00087a3b07f0e1c2cf5a0293644ae349"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectLogReader.Read (cognitive 18): ObjectLogReader.Read has cognitive complexity 18 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectSerialization/ObjectLogReader.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"67d4cd046aa6c19234a2913ccd371e9fe91c782557fd1120e3ff85a518245bc4"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKV.ReinitializeExpiredRecord (cognitive 18): TsavoriteKV.ReinitializeExpiredRecord has cognitive complexity 18 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs"},"region":{"startLine":693}}}],"partialFingerprints":{"codehealthFindingId/v1":"910d9392691b2f57888a414cb1e464f169f5ef4d4eb859bca6192e105bc608a1"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKV.FindInReadCache (cognitive 18): TsavoriteKV.FindInReadCache has cognitive complexity 18 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/ReadCache.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"376b57ca2b3038c9e83c3426b157f121fddc820e76ce1c4b61acd5cee6dc15b5"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteLog.TsavoriteLog.ctor (cognitive 18): TsavoriteLog.TsavoriteLog.ctor has cognitive complexity 18 (threshold 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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"d310f7214a1af3151d5615998dc7b8c6cb274bb1bc97af4b27fcff3817ed0e88"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteLog.CommitAsync (cognitive 18): TsavoriteLog.CommitAsync has cognitive complexity 18 (threshold 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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2056}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7259ee445af775c36deee91931a4eb72b75a4607b518aa4f58727e47929c07b"}},{"ruleId":"D2","level":"warning","message":{"text":"FieldMultipleFilter.ExecuteFilter (cognitive 18): FieldMultipleFilter.ExecuteFilter has cognitive complexity 18 (threshold 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":"modules/GarnetJSON/JSONPath/FieldMultipleFilter.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5fd762239f492388f56f731bab1940d565499fcd6361ecfeb0a6d82545ec36"}},{"ruleId":"D2","level":"warning","message":{"text":"BooleanQueryExpression.IsMatch (cognitive 18): BooleanQueryExpression.IsMatch has cognitive complexity 18 (threshold 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":"modules/GarnetJSON/JSONPath/QueryExpression.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"35214c2475164a9b2f1d69a2fd2b7c3e2db2fcc1933ce4186d5f4e575f9025b2"}},{"ruleId":"D2","level":"warning","message":{"text":"QueryFilter.ExecuteFilter (cognitive 18): QueryFilter.ExecuteFilter has cognitive complexity 18 (threshold 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":"modules/GarnetJSON/JSONPath/QueryFilter.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3a848faf5c75bc9c13e2ca0756083ec2d7c4322dcdcdd4159dc864748e4949"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.GetDevice (cognitive 18): Program.GetDevice has cognitive complexity 18 (threshold 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":"libs/storage/Tsavorite/cs/benchmark/Device.benchmark/Program.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"492de8d3bc662533485b37be16bd31780f3f3c5abb035d4fda96ddc5d89dd801"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectYcsbBenchmark.SetupYcsbUnsafeContext (cognitive 18): ObjectYcsbBenchmark.SetupYcsbUnsafeContext has cognitive complexity 18 (threshold 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. This shape REPEATS in the file: one other method here (ObjectYcsbBenchmark.SetupYcsbSafeContext) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ObjectYcsbBenchmark.cs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"62f4bd5e562d67cf7c99580df4ccc9e3ca304f1c6a5294bf517446e9e94e43b7"}},{"ruleId":"D2","level":"warning","message":{"text":"ObjectYcsbBenchmark.SetupYcsbSafeContext (cognitive 18): ObjectYcsbBenchmark.SetupYcsbSafeContext has cognitive complexity 18 (threshold 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. This shape REPEATS in the file: one other method here (ObjectYcsbBenchmark.SetupYcsbUnsafeContext) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ObjectYcsbBenchmark.cs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e0f8e74af076018d126a4a166c9c8886c69d56d62114335dbef5717f76799bd"}},{"ruleId":"D2","level":"warning","message":{"text":"Program.Main (cognitive 17): Program.Main has cognitive complexity 17 (threshold 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":"benchmark/BDN.benchmark/Program.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"1273001c84f1e555fd4d17a0f49d445823e257b6b9183d216d0566a344fa9532"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseConfig.BaseConfig.ctor (cognitive 17): BaseConfig.BaseConfig.ctor has cognitive complexity 17 (threshold 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":"benchmark/BDN.benchmark/Program.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"029fbb8b822a65d57171f1d4328bd3ff46fa8c255800e0c2f6b619b24525501f"}},{"ruleId":"D2","level":"warning","message":{"text":"RespPerfBench.LightOperate (cognitive 17): RespPerfBench.LightOperate has cognitive complexity 17 (threshold 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":"benchmark/Resp.benchmark/OfflineBench/RespPerfBench.cs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee4ee569a2877a318e237abad054e00a18c200d746f07263f1eeaf86611212c"}},{"ruleId":"D2","level":"warning","message":{"text":"Options.ParseSize (cognitive 17): Options.ParseSize has cognitive complexity 17 (threshold 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":"benchmark/Resp.benchmark/Options.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aba6f5b1e1451352bed2c4f8de4abd83a38f74c9b8ec9c17e45e66012e339b3"}},{"ruleId":"D2","level":"warning","message":{"text":"GarnetClient.ProcessReplyAsString (cognitive 17): GarnetClient.ProcessReplyAsString has cognitive complexity 17 (threshold 15). 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":"libs/client/GarnetClientProcessReplies.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a87064afc41038227067bb7a0534b13ee651f0558baebc6fbe3ae17851346476"}},{"ruleId":"D2","level":"warning","message":{"text":"LightEpoch.ToString (cognitive 17): LightEpoch.ToString has cognitive complexity 17 (threshold 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":"libs/client/LightEpoch.cs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"43f0909b4d4384039f0a7a8f50d07ef66c52b0916197b4ef76ed38134e891c14"}},{"ruleId":"D2","level":"warning","message":{"text":"NetworkWriter.AsyncFlushPages (cognitive 17): NetworkWriter.AsyncFlushPages has cognitive complexity 17 (threshold 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":"libs/client/NetworkWriter.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c92ba4c1c7e2c990c9ae5d7b0a07ec8f88c8a83a1b98c3dc8f24108e4d5f083"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterManager.TryPrepareSlotsForMigration (cognitive 17): ClusterManager.TryPrepareSlotsForMigration has cognitive complexity 17 (threshold 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":"libs/cluster/Server/ClusterManagerSlotState.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"827b62f9a5a5fa5097a87b878e4ed3e36b1ceb4aefc9236ce8598fe2baf26e64"}},{"ruleId":"D2","level":"warning","message":{"text":"FailoverSession.WaitForFirstReplicaSyncAsync (cognitive 17): FailoverSession.WaitForFirstReplicaSyncAsync has cognitive complexity 17 (threshold 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":"libs/cluster/Server/Failover/PrimaryFailoverSession.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e17ecc5f894c5a458a936446fb5747ba9e47aa481f6980682f2cf9930cdb051"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterSession.NetworkClusterSetConfigEpoch (cognitive 17): ClusterSession.NetworkClusterSetConfigEpoch has cognitive complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/RespClusterBasicCommands.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e8669e7c57e88cd28b4fc92c372b3fbdf76d08fa794a712f44c25117b63dfc0"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterSession.NetworkClusterAppendLog (cognitive 17): ClusterSession.NetworkClusterAppendLog has cognitive complexity 17 (threshold 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":"libs/cluster/Session/RespClusterReplicationCommands.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82f0de1260fd3a42f140e74bb9b94a3a94579e3b85860688e79ee5ef77e5c8e"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterSession.NetworkClusterSetSlotsRange (cognitive 17): ClusterSession.NetworkClusterSetSlotsRange has cognitive complexity 17 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/RespClusterSlotManagementCommands.cs"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"979a42f8ac66fb6ddaaa26f35e6ee35515f8abca61f9854bc7c5aa4319d54015"}},{"ruleId":"D2","level":"warning","message":{"text":"Format.TryCreateEndpoint (cognitive 17): Format.TryCreateEndpoint has cognitive complexity 17 (threshold 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. This shape REPEATS in the file: one other method here (Format.TryCreateEndpointAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Format.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5e09d9b0131d323246745aba5e19ee170877220928b01a2877ec31b5104d6a3"}},{"ruleId":"D2","level":"warning","message":{"text":"Format.TryCreateEndpointAsync (cognitive 17): Format.TryCreateEndpointAsync has cognitive complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function item inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (Format.TryCreateEndpoint) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Format.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ac341522e12d2d813eb00321cf9af15f90481928f7544368cd49bdb1c625383"}},{"ruleId":"D2","level":"warning","message":{"text":"RespMemoryWriter.ReallocateOutput (cognitive 17): RespMemoryWriter.ReallocateOutput has cognitive complexity 17 (threshold 15). 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/RespMemoryWriter.cs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"80bdffc16bc2d296dd3a0d7c12ce9df39b7647c02057f1cc4c7431410e4fd3cd"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.WriteResponse::TryWriteString (cognitive 17): LuaRunner.WriteResponse::TryWriteString has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (12 pts), loops 3, ternaries 1 (2 pts) (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: 3 other methods here (LuaRunner.WriteResponse::TryWriteSingleItem, LuaRunner.WriteResponse::TryWriteMap, LuaRunner.WriteResponse::TryWriteMapToArray) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":2042}}}],"partialFingerprints":{"codehealthFindingId/v1":"56b13bb336742430026c84e96aa56b66c7515df38082fc730c5d8a8f68252b30"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.WriteResponse::TryWriteMap (cognitive 17): LuaRunner.WriteResponse::TryWriteMap has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 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. This shape REPEATS in the file: 3 other methods here (LuaRunner.WriteResponse::TryWriteSingleItem, LuaRunner.WriteResponse::TryWriteString, LuaRunner.WriteResponse::TryWriteMapToArray) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":2192}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b102b9d00829a1b7decf586336bef7258a9343be4300bae469d2415bcdbcc47"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.WriteResponse::TryWriteMapToArray (cognitive 17): LuaRunner.WriteResponse::TryWriteMapToArray has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (14 pts), loops 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. This shape REPEATS in the file: 3 other methods here (LuaRunner.WriteResponse::TryWriteSingleItem, LuaRunner.WriteResponse::TryWriteString, LuaRunner.WriteResponse::TryWriteMap) have the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written 4 times rather than 4 independent problems. Splitting this body alone leaves the other 3 exactly as they are. Where these are variations on one operation, the change that clears all 4 is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":2277}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2836ede748f61be3f9f581cace721b7e4eba41182cdd87de14db7f6a0de008"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkIncrement (cognitive 17): RespServerSession.NetworkIncrement has cognitive complexity 17 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":865}}}],"partialFingerprints":{"codehealthFindingId/v1":"eba1c8e3b863af06773986027a0c7c85b841e0808020819f8e641505f84ab861"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkASYNC (cognitive 17): RespServerSession.NetworkASYNC has cognitive complexity 17 (threshold 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":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":1725}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8054a0e8acbfb8682c0b1eb53b56b70b873bc227223eefb5547f2203be06944"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.SetIntersectLength (cognitive 17): RespServerSession.SetIntersectLength has cognitive complexity 17 (threshold 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":"libs/server/Resp/Objects/SetCommands.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8f97f5f1c5d488b8db7cb92312c24d816f7001a62c9a698e031eccaa846c9f3"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.SortedSetLengthByValue (cognitive 17): RespServerSession.SortedSetLengthByValue has cognitive complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6dce1551480ca417ce6ea588de87b03e18733e0efbfae1ef0551ddb235436bb"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.SortedSetIntersectLength (cognitive 17): RespServerSession.SortedSetIntersectLength has cognitive complexity 17 (threshold 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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1170}}}],"partialFingerprints":{"codehealthFindingId/v1":"28249eba7c4fbdb58a23a4e24fc02fd10842853d23f541941983dd0ae3b8b9fe"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.SortedSetTimeToLive (cognitive 17): RespServerSession.SortedSetTimeToLive has cognitive complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1843}}}],"partialFingerprints":{"codehealthFindingId/v1":"e79156bd0b1845440513da6f57614baa7cec605b7b31a8e472c06546ce8b0146"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.GeoAdd (cognitive 17): RespServerSession.GeoAdd has cognitive complexity 17 (threshold 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":"libs/server/Resp/Objects/SortedSetGeoCommands.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"788b078493fa922644bfd370ebb4446c7c5f223a166d6bd4fadc72a4d73f3f0f"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.GeoCommands (cognitive 17): RespServerSession.GeoCommands has cognitive complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SortedSetGeoCommands.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"04def3e55024dc590970e506b663ff8a617b311af622a7a161d71ed74368c05f"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkSUBSCRIBE (cognitive 17): RespServerSession.NetworkSUBSCRIBE has cognitive complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/PubSubCommands.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"565d2c53556df04bbe2826ef17bc703c6801e7b8bbc918d3bafbed385577d40d"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkRIRANGE (cognitive 17): RespServerSession.NetworkRIRANGE has cognitive complexity 17 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RangeIndex/RespServerSessionRangeIndex.cs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"520053a15e96fa20ffceef7bcc514f4cbf6ed9cb08af767401c33fbd7eb1f6df"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorManager.StartQuantizationAndImportTasks::TryProcessQuantizationOrImportRequest (cognitive 17): VectorManager.StartQuantizationAndImportTasks::TryProcessQuantizationOrImportRequest has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (9 pts), error handling 2 (3 pts), loops 1 (3 pts), boolean chains 1, match/switch 1 (nesting depth added 6). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body. This shape REPEATS in the file: one other method here (VectorManager.StartQuantizationAndImportTasks::QuantizationTaskAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Quantization.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"7accb2ba61b1d19f13ab35cdfcf6c475a2e5e6d95cf40fe829da6c58bef0572e"}},{"ruleId":"D2","level":"warning","message":{"text":"ServerOptions.ParseSize (cognitive 17): ServerOptions.ParseSize has cognitive complexity 17 (threshold 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":"libs/server/Servers/ServerOptions.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a6947021d2963a5934049e8f5e64b92ddbf5b9a2cc4fd36137092040bcc194d"}},{"ruleId":"D2","level":"warning","message":{"text":"SessionParseStateExtensions.TryGetInfoMetricsType (cognitive 17): SessionParseStateExtensions.TryGetInfoMetricsType has cognitive complexity 17 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/SessionParseStateExtensions.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"65d804a743b26d0f4d32dfa165b6160d1fd9a340a5ae0bf8afed019cb5a887a9"}},{"ruleId":"D2","level":"warning","message":{"text":"MainSessionFunctions.Reader (cognitive 17): MainSessionFunctions.Reader has cognitive complexity 17 (threshold 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":"libs/server/Storage/Functions/MainStore/ReadMethods.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed28c6e49942fd994feaf5aa92eb8a2cbf6980448bf3adbf004027c0559accc7"}},{"ruleId":"D2","level":"warning","message":{"text":"MainSessionFunctions.HandleSetIfMatchInPlaceUpdate (cognitive 17): MainSessionFunctions.HandleSetIfMatchInPlaceUpdate has cognitive complexity 17 (threshold 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":"libs/server/Storage/Functions/MainStore/RMWMethods.Etags.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5617d890fabeaf97d74899426a1184ddb3827f0b895fa69c87a5a7886e64368b"}},{"ruleId":"D2","level":"warning","message":{"text":"StorageSession.DbScan (cognitive 17): StorageSession.DbScan has cognitive complexity 17 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/Common/ArrayKeyIterationFunctions.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"8282a591e13af5da9927379dfe9306d1c471040adb7e1a0ac5d52936ad270a5d"}},{"ruleId":"D2","level":"warning","message":{"text":"LightEpoch.ToString (cognitive 17): LightEpoch.ToString has cognitive complexity 17 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a34beab8e1c31292451ca5c5d502fcbfab433dfb6d8760e6ebc59aeec278d2f"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKV.ContinuePendingRMW (cognitive 17): TsavoriteKV.ContinuePendingRMW has cognitive complexity 17 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/ContinuePending.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e7b703d13428e9476cdd9c42e777fbbd9946e6ecdbb6bbf76cada29e1692d66"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteLog.SerialCommitCallbackWorker (cognitive 17): TsavoriteLog.SerialCommitCallbackWorker has cognitive complexity 17 (threshold 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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2825}}}],"partialFingerprints":{"codehealthFindingId/v1":"594d4c24db5b83528df78d13f04f28e76f7661746f67b052b8fb1b4a4e2b3003"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteLogScanIterator.GetNext (cognitive 17): TsavoriteLogScanIterator.GetNext has cognitive complexity 17 (threshold 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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"bced8b84fe2283bb1f73f158c75877f53a5da8199e0a8cc0d7b7e844fa29a942"}},{"ruleId":"D2","level":"warning","message":{"text":"GarnetJsonObject.TryGet (cognitive 17): GarnetJsonObject.TryGet has cognitive complexity 17 (threshold 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":"modules/GarnetJSON/GarnetJsonObject.cs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3404236c1c7d115276a578df4bfaeb4edea6117b9fc4ad92daa17635ab2a00e"}},{"ruleId":"D2","level":"warning","message":{"text":"BitOp.__bitop_multikey_scalar_and (cognitive 17): BitOp.__bitop_multikey_scalar_and has cognitive complexity 17 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc36a0ef84bd80229a699520443012706827c7a27b4d36b747d9ce185f22fad"}},{"ruleId":"D2","level":"warning","message":{"text":"BuggyLightEpoch.ToString (cognitive 17): BuggyLightEpoch.ToString has cognitive complexity 17 (threshold 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":"playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cca2b8715c071bb4fbd160bb1f1eb26fda46a95e2255ce71d22a74817495b2"}},{"ruleId":"D2","level":"warning","message":{"text":"GarnetClient.ProcessReplyAsMemoryByte (cognitive 16): GarnetClient.ProcessReplyAsMemoryByte has cognitive complexity 16 (threshold 15). 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":"libs/client/GarnetClientProcessReplies.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"47cfad70393e0a465ac6cba8982049822b4d28a9759c324801bd0776d7b489d1"}},{"ruleId":"D2","level":"warning","message":{"text":"LightEpoch.BumpCurrentEpoch (cognitive 16): LightEpoch.BumpCurrentEpoch has cognitive complexity 16 (threshold 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":"libs/client/LightEpoch.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f6380296af1351ee182deaf66ce552d855ba0ca5c46f991f3817a9cc6e1937"}},{"ruleId":"D2","level":"warning","message":{"text":"RespReadResponseUtils.TryReadStringArrayWithLengthHeader (cognitive 16): RespReadResponseUtils.TryReadStringArrayWithLengthHeader has cognitive complexity 16 (threshold 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/RespReadResponseUtils.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e17596fae16d4c781ba0b25ec270300f69ef51c6871dab4dc1d23b9ffe0196"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterSession.NetworkClusterCountKeysInSlot (cognitive 16): ClusterSession.NetworkClusterCountKeysInSlot has cognitive complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/RespClusterSlotManagementCommands.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eff9f958724380eaf5023dc8848961141c367a2a6fb46298e26a6e38d858b4f"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterSession.NetworkClusterGetKeysInSlot (cognitive 16): ClusterSession.NetworkClusterGetKeysInSlot has cognitive complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/RespClusterSlotManagementCommands.cs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"9458c9c7ed10f678c7733bacc5e24605113e17bb351676b7e7693262e68514fc"}},{"ruleId":"D2","level":"warning","message":{"text":"HashUtils.MurmurHash3x128 (cognitive 16): HashUtils.MurmurHash3x128 has cognitive complexity 16 (threshold 15). To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/HashUtils.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f9b44ee7f02b7be4e83f0c50a1ae55a6daca5f9acdfc3428c32e3e3fd6d458"}},{"ruleId":"D2","level":"warning","message":{"text":"LimitedFixedBufferPool.Dispose (cognitive 16): LimitedFixedBufferPool.Dispose has cognitive complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Memory/LimitedFixedBufferPool.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"07e7e762607c97dfa3a27dbd67f442e5f5482abc156f37f3e7ba3833d8e47ae5"}},{"ruleId":"D2","level":"warning","message":{"text":"RespReadUtils.TryReadUInt64 (cognitive 16): RespReadUtils.TryReadUInt64 has cognitive complexity 16 (threshold 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/RespReadUtils.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"b260577a769b9d0f58a855f6024e91d3b3580066bfce838d27d1c4c56b1193b7"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisConfigSerializer.TryPopulateOptions (cognitive 16): RedisConfigSerializer.TryPopulateOptions has cognitive complexity 16 (threshold 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":"libs/host/Configuration/Redis/RedisConfigSerializer.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"81985fdbdeff8c51470e230def59165c4c07206834459d00810a881418129121"}},{"ruleId":"D2","level":"warning","message":{"text":"GarnetServer.ValidateCustomCommandACLs (cognitive 16): GarnetServer.ValidateCustomCommandACLs has cognitive complexity 16 (threshold 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":"libs/host/GarnetServer.cs"},"region":{"startLine":354}}}],"partialFingerprints":{"codehealthFindingId/v1":"642bdd0ef7b6f2dc48fe4a116e353d4dfff1fd39fc85acb589070d6cb22996fd"}},{"ruleId":"D2","level":"warning","message":{"text":"AofProcessor.StoreRMW (cognitive 16): AofProcessor.StoreRMW has cognitive complexity 16 (threshold 15). 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":"libs/server/AOF/AofProcessor.cs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ba1e6bab51408fadd03bc44c37a14489988711e3c1e3b0d8918afd7de42f37"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.Bitop (cognitive 16): LuaRunner.Bitop has cognitive complexity 16 (threshold 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":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":985}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d0c1df63107e4af03987cc4d99b2284b1c1da2204baa4cbacbd8bac0281a11"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.StructSize (cognitive 16): LuaRunner.StructSize has cognitive complexity 16 (threshold 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":"libs/server/Lua/LuaRunner.Functions.Struct.cs"},"region":{"startLine":989}}}],"partialFingerprints":{"codehealthFindingId/v1":"244e7ac900efd0fb2a022360523b58bc9e4e6c058b67a122a9dc981ba340de9e"}},{"ruleId":"D2","level":"warning","message":{"text":"LuaRunner.PrepareLoaderBlockBytes (cognitive 16): LuaRunner.PrepareLoaderBlockBytes has cognitive complexity 16 (threshold 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":"libs/server/Lua/LuaRunner.Loader.cs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a55eb134d2fd1ffdbe91d98e10631dcf74c09b5ad7266a77c40385f5ed087d"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkLatencyHistogram (cognitive 16): RespServerSession.NetworkLatencyHistogram has cognitive complexity 16 (threshold 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":"libs/server/Metrics/Latency/RespLatencyCommands.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5d6832b23f088b567a1c3fd7fad17253a1e2b620bac9cc788af69f52c2c628"}},{"ruleId":"D2","level":"warning","message":{"text":"ModuleUtils.LoadModuleDependencies (cognitive 16): ModuleUtils.LoadModuleDependencies has cognitive complexity 16 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Module/ModuleUtils.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d2404a0a2783baa6b87248de2a5be713d288e67b1d0d24e5cca9ee35fb8b21"}},{"ruleId":"D2","level":"warning","message":{"text":"SortedSetObject.CopyDiff (cognitive 16): SortedSetObject.CopyDiff has cognitive complexity 16 (threshold 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":"libs/server/Objects/SortedSet/SortedSetObject.cs"},"region":{"startLine":537}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedb565c47a34567045f45cab2207d499a0bece92b812c7369c703087d132b5b"}},{"ruleId":"D2","level":"warning","message":{"text":"SortedSetObject.SortedSetTimeToLive (cognitive 16): SortedSetObject.SortedSetTimeToLive has cognitive complexity 16 (threshold 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":"libs/server/Objects/SortedSet/SortedSetObjectImpl.cs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"d18474d07d548fd69982ea557a1b559c6d2452e4f0e5769fe6eb50042559477d"}},{"ruleId":"D2","level":"warning","message":{"text":"SubscribeBroker.Broadcast (cognitive 16): SubscribeBroker.Broadcast has cognitive complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/PubSub/SubscribeBroker.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3447a1df1c861eb203252ed91755b4aa1438865ae498f81a0581c0fa9e284b40"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkModuleLoad (cognitive 16): RespServerSession.NetworkModuleLoad has cognitive complexity 16 (threshold 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":"libs/server/Resp/AdminCommands.cs"},"region":{"startLine":571}}}],"partialFingerprints":{"codehealthFindingId/v1":"40693d43856084b789df1e31f830c2f3c5eb61d2062316e97cc18310648d83d1"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.ArrayParseCommand (cognitive 16): RespServerSession.ArrayParseCommand has cognitive complexity 16 (threshold 15). 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":"libs/server/Resp/Parser/RespCommand.cs"},"region":{"startLine":1287}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a39aa4772c8941e36675e2537b7f4c5bb2e803cc180ad709a90602b60f2703"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkVISMEMBER (cognitive 16): RespServerSession.NetworkVISMEMBER has cognitive complexity 16 (threshold 15). 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":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":1956}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec68be19bc94590a4600a8064cb3daced69ff0d8ac37d271731a03c95989990c"}},{"ruleId":"D2","level":"warning","message":{"text":"RespServerSession.NetworkVSETATTR (cognitive 16): RespServerSession.NetworkVSETATTR has cognitive complexity 16 (threshold 15). 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":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":2257}}}],"partialFingerprints":{"codehealthFindingId/v1":"54091fc38c31147710f726329448ce9fad775dc56a6f1aa1659f40fbdd9570fa"}},{"ruleId":"D2","level":"warning","message":{"text":"VectorManager.RandomMembers::ProcessResults (cognitive 16): VectorManager.RandomMembers::ProcessResults has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (12 pts), loops 2 (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. This shape REPEATS in the file: one other method here (VectorManager.RandomMembers) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":1798}}}],"partialFingerprints":{"codehealthFindingId/v1":"4afbed0ef6fb9b32db5f88277da616632206e6f158625c81bcfbe189fce2b0fd"}},{"ruleId":"D2","level":"warning","message":{"text":"GarnetServerBase.DisposeActiveHandlers (cognitive 16): GarnetServerBase.DisposeActiveHandlers has cognitive complexity 16 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Servers/GarnetServerBase.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"40edae562eeba137d8505ec133c4ecadbcb33cf57c3ea44db9d533438a3172b1"}},{"ruleId":"D2","level":"warning","message":{"text":"AllocatorBase.IterateHashChain (cognitive 16): AllocatorBase.IterateHashChain has cognitive complexity 16 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorScan.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"fceceee5ed4246b602b0ea8d23a389f2e180bdcef542b5e95c8ebd01c158e17a"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionalContext.DoTransactionalTryLock (cognitive 16): TransactionalContext.DoTransactionalTryLock has cognitive complexity 16 (threshold 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c71eef53bf168fc57e8610bc6232311af2d155928331539416f0f96a2ab09422"}},{"ruleId":"D2","level":"warning","message":{"text":"ShardedStorageDevice.WriteAsync (cognitive 16): ShardedStorageDevice.WriteAsync has cognitive complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 232). 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. This shape REPEATS in the file: one other method here (ShardedStorageDevice.ReadAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/ShardedStorageDevice.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"615d483712e66d95aa92c5c1f75d731c9f6b07567d8c7b52284a84411d857277"}},{"ruleId":"D2","level":"warning","message":{"text":"ShardedStorageDevice.ReadAsync (cognitive 16): ShardedStorageDevice.ReadAsync has cognitive complexity 16 (threshold 15). Most of this is not in the body itself: 6 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 313). 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. This shape REPEATS in the file: one other method here (ShardedStorageDevice.WriteAsync) has the same decision points, in the same order, at the same nesting depths \u2014 so this is one pattern written twice rather than two separate problems. Splitting this body alone leaves the other exactly as it is. Where these are variations on one operation, the change that clears both is the shared one: lift the common shape into a single routine the variants call, parameterised by whatever genuinely differs between them, and keep in each method only the part that is not shared."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/ShardedStorageDevice.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"58f5ecc436cbfa261235112a4cf64b8d31a7dacdf2f5594c98559dd397edc7cd"}},{"ruleId":"D2","level":"warning","message":{"text":"LightEpoch.BumpCurrentEpoch (cognitive 16): LightEpoch.BumpCurrentEpoch has cognitive complexity 16 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e884efa33993c0d52832d3b2f16c5a39a42526e1c75faaba313d6173e1c7430"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteKV.TsavoriteKV.ctor (cognitive 16): TsavoriteKV.TsavoriteKV.ctor has cognitive complexity 16 (threshold 15). 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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7d01f6a8095b0d90e03073c994c98bdfd16b29442f8cf88dd7ee84d8a9c5595"}},{"ruleId":"D2","level":"warning","message":{"text":"TsavoriteBase.FindOtherSlotForThisTagMaybeTentativeInternal (cognitive 16): TsavoriteBase.FindOtherSlotForThisTagMaybeTentativeInternal has cognitive complexity 16 (threshold 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. Note what this body is, though: it carries an aggressive-inlining request, so its author has asked in the source for this body to be inlined into every caller, and it works in raw pointers or stack-allocated memory, whose lifetime is this stack frame. Each part pulled out of it becomes a call the runtime has to decide to inline again, against a size budget \u2014 so the split can quietly turn one inlined body into several real calls, on the path the marker exists to protect. Anything extracted from it has to take that memory as a parameter rather than reach for it. The measurement stands \u2014 a hot path is not a licence to be unreadable \u2014 but the move that pays here is to lift the COLD parts out first (argument validation, fallback and error paths, one-off setup) and leave the kernel whole. Where the kernel itself has to be divided, ask for the extracted parts to be inlined as well, and measure the result rather than assuming the division is free."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/TsavoriteBase.cs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"06639df9bee3b87a16dc0da8950e7d84c30addd7ed2b939c3b0f2aaf957b9445"}},{"ruleId":"D2","level":"warning","message":{"text":"SectorAlignedBufferPool.SealAndDrainShard (cognitive 16): SectorAlignedBufferPool.SealAndDrainShard has cognitive complexity 16 (threshold 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":"libs/storage/Tsavorite/cs/src/core/Utilities/BufferPool.OriginReturn.cs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac4264f1349b9f70381f5b319e94e27fb019c4077afab296be9108465e3a1ac"}},{"ruleId":"D2","level":"warning","message":{"text":"FieldFilter.ExecuteFilter (cognitive 16): FieldFilter.ExecuteFilter has cognitive complexity 16 (threshold 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":"modules/GarnetJSON/JSONPath/FieldFilter.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afdd283d6c77cf64d6eb364b7ce6b243d00bfcbde88108c6e1081d52cd32e69"}},{"ruleId":"D2","level":"warning","message":{"text":"BuggyLightEpoch.BumpCurrentEpoch (cognitive 16): BuggyLightEpoch.BumpCurrentEpoch has cognitive complexity 16 (threshold 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":"playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"b929f23739c392a2a92b4c26665dd827e57776dc210ecf6219d2732c019dd74f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RespServerSession: TooManyMethods \u2014 9691 significant lines (blank, comment-only and punctuation-only lines excluded), 399 methods, declared across 34 files: Resp/BasicCommands.cs (49), Resp/RespServerSession.cs (45), Resp/RespServerSessionOutput.cs (32), Objects/SortedSetCommands.cs (27), \u002B30 more file(s). The bar is 30 methods; this is 369 over it, 13.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":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0170f4d5ccaab4b88deaf130af8f0a14f810f21afb7b0728d1eeb228d7556ff7"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StorageSession: TooManyMethods \u2014 3983 significant lines (blank, comment-only and punctuation-only lines excluded), 269 methods, declared across 21 files: ObjectStore/SortedSetOps.cs (49), MainStore/MainStoreOps.cs (33), ObjectStore/HashOps.cs (27), ObjectStore/SetOps.cs (27), \u002B17 more file(s). The bar is 30 methods; this is 239 over it, 8.97\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"617c6bd869b8a15af645b598c6096bd41a68c113ffa45528e84dd613ea7f1130"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GarnetApi: TooManyMethods \u2014 529 significant lines (blank, comment-only and punctuation-only lines excluded), 237 methods, declared across 3 files: API/GarnetApiObjectCommands.cs (129), API/GarnetApi.cs (93), API/GarnetApiUnifiedCommands.cs (15). The bar is 30 methods; this is 207 over it, 7.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/API/GarnetApiObjectCommands.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e6065d45274f685ebc03b599a217508be56c39fbf056ba662d5aa4f9a337bee"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TsavoriteKV: TooManyMethods \u2014 3481 significant lines (blank, comment-only and punctuation-only lines excluded), 204 methods, declared across 29 files: Recovery/Recovery.cs (35), Tsavorite/Tsavorite.cs (34), Implementation/Helpers.cs (19), Implementation/FindRecord.cs (10), \u002B25 more file(s). The bar is 30 methods; this is 174 over it, 6.80\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":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/Recovery.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2edb9a1143b1fb0e59de504dcfed4ba1150eea4ff064913a922770eb72fc4ac2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GarnetClient: TooManyMethods \u2014 1453 significant lines (blank, comment-only and punctuation-only lines excluded), 192 methods, declared across 9 files: GarnetClientAPI/GarnetClientBasicRespCommands.cs (63), GarnetClientAPI/GarnetClientExecuteAPI.cs (62), client/GarnetClient.cs (30), GarnetClientAPI/GarnetClientSortedSetCommands.cs (10), \u002B5 more file(s). The bar is 30 methods; this is 162 over it, 6.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientBasicRespCommands.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d1f6a73a5db9bdca4cd7f5c321ecd5c70ac196a73444246933e1366f5c366bf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TsavoriteLog: TooManyMethods \u2014 1822 significant lines (blank, comment-only and punctuation-only lines excluded), 135 methods, declared across 2 files: TsavoriteLog/TsavoriteLog.cs (120), TsavoriteLog/TsavoriteLog.Chunked.cs (15). The bar is 30 methods; this is 105 over it, 4.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"86200ccefa5a4037066ca99bd14f905e7339e28d0a75a9ade995784695da0521"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LuaRunner.WriteResponse: MethodTooLong \u2014 WriteResponse runs 421 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 321 over it, 4.21\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":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"4583e0feeaf19f8e386137e326d6bbd498c8e09843a306936269d2e5c93c0a7e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VectorManager: TooManyMethods \u2014 2741 significant lines (blank, comment-only and punctuation-only lines excluded), 125 methods, declared across 12 files: Vector/VectorManager.cs (31), Vector/VectorManager.Replication.cs (21), Vector/VectorManager.Index.cs (11), Vector/VectorManager.Cleanup.cs (10), \u002B8 more file(s). The bar is 30 methods; this is 95 over it, 4.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd621ee2cb93a36a388f51808695f046d5c09d8cd4ca0c07b35aa5b5829ef191"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AllocatorBase: TooManyMethods \u2014 1444 significant lines (blank, comment-only and punctuation-only lines excluded), 113 methods, declared across 3 files: Allocator/AllocatorBase.cs (95), Allocator/AllocatorScan.cs (14), Recovery/Recovery.cs (4). The bar is 30 methods; this is 83 over it, 3.77\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":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9b49c92bab479a5c8558228db6f6915b4267bd19db5d2ccd1d130df94504be"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RespServerSession.NetworkVSIM: MethodTooLong \u2014 NetworkVSIM runs 356 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 256 over it, 3.56\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":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b58c638755aab45e6c809632f2292dc6a011ea2d72ca012342437200a7f3dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Lua/LuaRunner.Functions.cs: FileTooLong \u2014 1772 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1272 over it, 3.54\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":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae7a588cf79977888113ff4786635d521efb5b047019819dc1cf6ed6007db529"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: TsavoriteLog/TsavoriteLog.cs: FileTooLong \u2014 1630 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 1130 over it, 3.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ea7ae5e1cf4556a0e1cd7ac78c946c3a803760a38f4435785c99836632f3e66"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainSessionFunctions.InPlaceUpdaterWorker: MethodTooLong \u2014 InPlaceUpdaterWorker runs 301 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 201 over it, 3.01\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff39144b291f2c7c16e7740b4de1937f9414ba86eb2490a411632987b06198f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LuaRunner.CMsgPackUnpack: MethodTooLong \u2014 CMsgPackUnpack runs 298 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 198 over it, 2.98\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":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":2159}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc9f01bde11359ab3da087c7e8b90545caea7c0f742ca35d67254c35875f6e2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GarnetWatchApi: TooManyMethods \u2014 277 significant lines (blank, comment-only and punctuation-only lines excluded), 89 methods. The bar is 30 methods; this is 59 over it, 2.97\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/API/GarnetWatchApi.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c31c538de40a82b18b8230371761d240bbdfbd2d755de86b5a5cd61a2c61006"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClusterSession: TooManyMethods \u2014 1970 significant lines (blank, comment-only and punctuation-only lines excluded), 88 methods, declared across 14 files: Session/RespClusterBasicCommands.cs (17), Session/ClusterSession.cs (14), Session/RespClusterReplicationCommands.cs (14), Session/RespClusterSlotManagementCommands.cs (14), \u002B10 more file(s). The bar is 30 methods; this is 58 over it, 2.93\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":"libs/cluster/Session/RespClusterBasicCommands.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc24594d29341d1efc256c6a59db85993ff2267156b012d5d7daa5970403563e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainSessionFunctions.CopyUpdater: MethodTooLong \u2014 CopyUpdater runs 284 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 184 over it, 2.84\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":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"3022d3a0a0fcf7cd99f6f9857b816da146e5a15915bbf6016be110c19efe15a2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClusterConfig: TooManyMethods \u2014 824 significant lines (blank, comment-only and punctuation-only lines excluded), 80 methods, declared across 2 files: Server/ClusterConfig.cs (71), Server/ClusterConfigSerializer.cs (9). The bar is 30 methods; this is 50 over it, 2.67\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":"libs/cluster/Server/ClusterConfig.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9ecc46412526633834b30ab545d43425c78371465ebee746091be6d276c1b0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RespCommandHashLookup.PopulatePrimaryTable: MethodTooLong \u2014 PopulatePrimaryTable runs 265 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 165 over it, 2.65\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":"libs/server/Resp/Parser/RespCommandHashLookupData.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a587ed9d19c750b3b67a1af8b7b7d59ccbe8213ccdc9d1aa0beb9e7acfef4b8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LuaRunner.ProcessSingleRespTerm: MethodTooLong \u2014 ProcessSingleRespTerm runs 262 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 162 over it, 2.62\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":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":579}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea3f693f0c2b16fd0193cd9c0e9b68dde41c69ee922c73e1a36471f53a608e5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MainSessionFunctions: TooManyMethods \u2014 2032 significant lines (blank, comment-only and punctuation-only lines excluded), 77 methods, declared across 10 files: MainStore/PrivateMethods.cs (21), MainStore/RMWMethods.Etags.cs (12), MainStore/UpsertMethods.cs (11), MainStore/RMWMethods.cs (9), \u002B6 more file(s). The bar is 30 methods; this is 47 over it, 2.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/PrivateMethods.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a81facd0ba16c6f4eb0ae4b7f57d1ba49bb3e49a56a1ee1818e1ae91a421ec"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReqGen.WriteOp: MethodTooLong \u2014 WriteOp runs 253 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 153 over it, 2.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/ReqGenUtils.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"d866a5754f72073e7b825ec3cbd16332c673f7971abd0a63c02f8305d6f3eb57"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LuaRunner.CMsgPackPack: MethodTooLong \u2014 CMsgPackPack runs 253 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 153 over it, 2.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":1652}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd6d1e19f2a511d6d7b5cb84afb71967bac2c3e766d18c44727b1c3c8ac4063"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NativeMethods: TooManyMethods \u2014 204 significant lines (blank, comment-only and punctuation-only lines excluded), 75 methods. The bar is 30 methods; this is 45 over it, 2.50\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/NativeMethods.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83d396d616f53db6326fd2a8f385d06be9959496de8140325ed00ab4b42e5470"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NativeStorageDevice: TooManyMethods \u2014 842 significant lines (blank, comment-only and punctuation-only lines excluded), 74 methods. The bar is 30 methods; this is 44 over it, 2.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"30562fcb58bc68f54ebcce105f2d054ae56ff315f3893b9f8b8e3a40795ecd06"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Allocator/AllocatorBase.cs: FileTooLong \u2014 1208 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 708 over it, 2.42\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":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"21160dfc9a6bf22fb73dca1a7b36e766cd28353e462d43b070c02779fac3335e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RespServerSession.NetworkVADD: MethodTooLong \u2014 NetworkVADD runs 241 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 141 over it, 2.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":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc275dc487fac167abc7155aa622a2e8a21c6557493ee350bb4d9f408d5cee3"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Lua/LuaRunner.cs: FileTooLong \u2014 1200 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 700 over it, 2.40\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":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8b5394a51f50d3083b4d856e0a4b4f6022d81c31b2036a0e1e055f450eb555"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Vector/RespServerSessionVectors.cs: FileTooLong \u2014 1145 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 645 over it, 2.29\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":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44fc1700bf4511ab54c68b35f8119d275141d8f83fa25d44e2faa7d331ff3e67"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Options.GetServerOptions: MethodTooLong \u2014 GetServerOptions runs 228 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 128 over it, 2.28\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":"libs/host/Configuration/Options.cs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ec8af81e05e9e21cbf804e2a8b56c0ea784695a883233fc77aab75bebba0bd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LuaRunner: TooManyMethods \u2014 3309 significant lines (blank, comment-only and punctuation-only lines excluded), 68 methods, declared across 4 files: Lua/LuaRunner.Functions.cs (35), Lua/LuaRunner.cs (22), Lua/LuaRunner.Functions.Struct.cs (9), Lua/LuaRunner.Loader.cs (2). The bar is 30 methods; this is 38 over it, 2.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf52881b8b80d3b94a37882c7f47e667a165e696c659ebaf882e5e1dd348ee5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TransactionalContext: TooManyMethods \u2014 412 significant lines (blank, comment-only and punctuation-only lines excluded), 68 methods. The bar is 30 methods; this is 38 over it, 2.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3a7ff7791ec3380fb6db59fb9ae0f4e4ecbbf8a7fb47a3156555e14739bad3a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TransactionalUnsafeContext: TooManyMethods \u2014 248 significant lines (blank, comment-only and punctuation-only lines excluded), 65 methods. The bar is 30 methods; this is 35 over it, 2.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4840b2d51504e19ac11e4640ea2cb4d27876726a42cb1e5c3d41b4fb7603fe3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClientRequestProvider: TooManyMethods \u2014 1537 significant lines (blank, comment-only and punctuation-only lines excluded), 64 methods, declared across 4 files: ClusterBench/ClientRequestProvider.WorkerPool.cs (27), ClusterBench/ClientRequestProvider.cs (18), ClusterBench/ClientRequestProvider.Offline.cs (13), ClusterBench/ClientRequestProvider.Online.cs (6). The bar is 30 methods; this is 34 over it, 2.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":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d439ea02b87eb275ab0b5f3cac77495bceef66bbc50fc2885f4a955045f9ea09"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HyperLogLog: TooManyMethods \u2014 571 significant lines (blank, comment-only and punctuation-only lines excluded), 63 methods. The bar is 30 methods; this is 33 over it, 2.10\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":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8631d4b80b1236bb672bb41be8d781b028ab76d7181fe5da0dc854faff753d1"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RespOnlineBench: ClassTooLong \u2014 828 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 428 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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b05af506b0369dd679b1344bfda407d04b224a3426ff73e7b81bd6869da32986"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Options: ClassTooLong \u2014 828 significant lines (blank, comment-only and punctuation-only lines excluded), 6 methods. The bar is 400 significant lines; this is 428 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":"libs/host/Configuration/Options.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc60a92e28e71e1fc0beaa7b6ae532bd9bcd5a0730ddce429062e44b095d098"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RangeIndexManager: TooManyMethods \u2014 842 significant lines (blank, comment-only and punctuation-only lines excluded), 62 methods, declared across 5 files: RangeIndex/RangeIndexManager.cs (28), RangeIndex/RangeIndexManager.Replication.cs (12), RangeIndex/RangeIndexManager.Index.cs (11), RangeIndex/RangeIndexManager.Migration.cs (6), \u002B1 more file(s). 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":"libs/server/Resp/RangeIndex/RangeIndexManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfe50a96f6fb9ba4fe865d6b1cd6b0e9d4cd501d8571bd57f269abc431b5ce9c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TransactionalConsistentReadContext: TooManyMethods \u2014 196 significant lines (blank, comment-only and punctuation-only lines excluded), 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":"libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalConsistentReadContext.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"765329a29cde80e4a61fac40e3530a2452db8b6ebf5bbddf9f7c96f7c8bf4892"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DatabaseManagerBase: TooManyMethods \u2014 328 significant lines (blank, comment-only and punctuation-only lines excluded), 61 methods. The bar is 30 methods; this is 31 over it, 2.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/DatabaseManagerBase.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a622604e8a03c24018403f9b22760daa7a675cce8c2bca59837f3b978096eb4c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LogRecord: TooManyMethods \u2014 767 significant lines (blank, comment-only and punctuation-only lines excluded), 60 methods. The bar is 30 methods; this is 30 over it, 2.00\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":"libs/storage/Tsavorite/cs/src/core/Allocator/LogRecord.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae50e83ad795147c099671fbd2de5061022bc0815c74ce844e329358d97d7a3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ObjectAllocatorImpl: TooManyMethods \u2014 765 significant lines (blank, comment-only and punctuation-only lines excluded), 60 methods. The bar is 30 methods; this is 30 over it, 2.00\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":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"31c5d7626eeac749e6ddb6077954cb520adad95c28180c0473918c13974297d4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LuaRunner.StructPack: MethodTooLong \u2014 StructPack runs 198 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 98 over it, 1.98\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":"libs/server/Lua/LuaRunner.Functions.Struct.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ec2dda6d6cffe1245fbdbe814498d8ff8acbacdf8c90d5346c64244a05551b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Resp/BasicCommands.cs: FileTooLong \u2014 988 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 488 over it, 1.98\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":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"832d565e3470be0da23a20bc557efd6db2bd59e2f79cf7ed8b02937ed35740f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Resp/RespServerSession.cs: FileTooLong \u2014 982 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 482 over it, 1.96\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":"libs/server/Resp/RespServerSession.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b291ca48408afec31f9d378c538b34500a38f8eb9ed856783317b55d00c48053"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Objects/SortedSetCommands.cs: FileTooLong \u2014 970 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 470 over it, 1.94\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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4160403b660e61d55ba6eec359b8f8a013c3c7d07dfcc0e27010af25ab686b8a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SortedSetObject: TooManyMethods \u2014 1096 significant lines (blank, comment-only and punctuation-only lines excluded), 58 methods, declared across 3 files: SortedSet/SortedSetObject.cs (28), SortedSet/SortedSetObjectImpl.cs (25), SortedSetGeo/SortedSetGeoObjectImpl.cs (5). The bar is 30 methods; this is 28 over it, 1.93\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":"libs/server/Objects/SortedSet/SortedSetObject.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e40b3ec26fc12c74332350bce25268c1d0d23628767fd8935669a3d2eb49b4ec"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UnifiedSessionFunctions: TooManyMethods \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded), 58 methods, declared across 8 files: UnifiedStore/RMWMethods.cs (13), UnifiedStore/ReadMethods.cs (11), UnifiedStore/UpsertMethods.cs (11), UnifiedStore/PrivateMethods.cs (6), \u002B4 more file(s). The bar is 30 methods; this is 28 over it, 1.93\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":"libs/server/Storage/Functions/UnifiedStore/RMWMethods.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d2c22105ad31a8b90959bf4a6a1930367b588cefc816056d6ec3c98a12c7dc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: StoreWrapper: TooManyMethods \u2014 474 significant lines (blank, comment-only and punctuation-only lines excluded), 57 methods. The bar is 30 methods; this is 27 over it, 1.90\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/StoreWrapper.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ac94e5de9292ad3c0a578d858f530fe99387d0be2a392dfe10957288ab6220f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainSessionFunctions.InitialUpdater: MethodTooLong \u2014 InitialUpdater runs 189 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 89 over it, 1.89\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":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc5017576a2b1a637a7ee8fc7faf8992c9614becd2cbc4a7ad577f1d3fefd2a7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: MainStore/RMWMethods.cs: FileTooLong \u2014 929 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 429 over it, 1.86\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":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a7d905157c93010aa3994698400862371dafa9f3054a3ea49cb030687df09a"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ReqGen: ClassTooLong \u2014 718 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods, declared across 3 files: OfflineBench/ReqGen.cs (12), OfflineBench/ReqGenUtils.cs (9), OfflineBench/ReqGenLoadBuffers.cs (4). The bar is 400 significant lines; this is 318 over it, 1.80\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":"benchmark/Resp.benchmark/OfflineBench/ReqGen.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ae72a3ee3e2a00614c293e2404ca611f29f0425ae4cc6e13d9a29cea50f0ac"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BitmapManager.InvokeNaryBitwiseOperation: MethodTooLong \u2014 InvokeNaryBitwiseOperation runs 177 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 77 over it, 1.77\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":"libs/server/Resp/Bitmap/BitmapManagerBitOp.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"342b6a2b1ad2739e87e3d50bc3dd0ef6a43763b2a5af29f0153b7f694bf1d88e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RespWriteUtils: TooManyMethods \u2014 472 significant lines (blank, comment-only and punctuation-only lines excluded), 53 methods. The bar is 30 methods; this is 23 over it, 1.77\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/RespWriteUtils.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce659d6ba50088995574f17ee75b497e214439d548b99006351f11002f804948"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Vector/VectorManager.cs: FileTooLong \u2014 878 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 378 over it, 1.76\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":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"57590dd60e4719ea73433a2f3f7d08ebf492420ef5d9664102cbe337202da166"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BasicContext: TooManyMethods \u2014 260 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods. The bar is 30 methods; this is 22 over it, 1.73\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":"libs/storage/Tsavorite/cs/src/core/ClientSession/BasicContext.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e60b247d4bc42962623103e7744e47ee6dc621af87719d7f6e57d3d54ab642f8"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LuaRunner.StructUnpack: MethodTooLong \u2014 StructUnpack runs 173 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 73 over it, 1.73\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.Struct.cs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"674a09d637d76542bdcf21e4660dc2f69cefa8ef21251fa633dfd2f1b478fa1e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Device/NativeStorageDevice.cs: FileTooLong \u2014 859 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 359 over it, 1.72\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":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e6598a12f2705ddf025eba0b8063cdbca12e73c51987b4af59b025c2ef11957"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Configuration/Options.cs: FileTooLong \u2014 858 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 358 over it, 1.72\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":"libs/host/Configuration/Options.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4b2c69379c80ac453326f6b15f5dd59051097f8eeea44c3348d481f51de54e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Parser/RespCommand.cs: FileTooLong \u2014 857 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 357 over it, 1.71\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":"libs/server/Resp/Parser/RespCommand.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa4c2147a403819430af4621c542e519b2b457d7165a14aebf6c96287d85cd6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClusterSession.NetworkTryMIGRATE: MethodTooLong \u2014 NetworkTryMIGRATE runs 170 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 70 over it, 1.70\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":"libs/cluster/Session/MigrateCommand.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6d7c3b98423eb2040927831f7abc1e9ce3d54092b6f258fd1c2febaacf1ad5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TsavoriteKV.CreateNewRecordRMW: MethodTooLong \u2014 CreateNewRecordRMW runs 169 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 69 over it, 1.69\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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"b00ee1b65f80db5bdd6d2f143efd0693b6302f5b0ec81d0d1a9399b74c120c4c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: OnlineBench/RespOnlineBench.cs: FileTooLong \u2014 837 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 337 over it, 1.67\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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95bc634556fba8d7680ee117e391cf4b9be9b330f54694b48097e8b81b3ce82d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GarnetLog: TooManyMethods \u2014 620 significant lines (blank, comment-only and punctuation-only lines excluded), 50 methods. The bar is 30 methods; this is 20 over it, 1.67\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":"libs/server/AOF/GarnetLog.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"82f07840a8a1d01108a41b5947e35e7307fdc96f17f166e5b9cee1d9eb0d5720"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainSessionFunctions.CopyRespToWithInput: MethodTooLong \u2014 CopyRespToWithInput runs 166 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 66 over it, 1.66\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":"libs/server/Storage/Functions/MainStore/PrivateMethods.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c03fd9d5d023e737d9ea212e42b5b3dad6ae20d19f34c9031c8ba6edf303105"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LuaRunner.CJsonEncode: MethodTooLong \u2014 CJsonEncode runs 165 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 65 over it, 1.65\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":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae5298c8b47120229e54997784f578ffade12b70881892b7a66f782ef2ddb0d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RespServerSession.ProcessArrayCommands: MethodTooLong \u2014 ProcessArrayCommands runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\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":"libs/server/Resp/RespServerSession.cs"},"region":{"startLine":956}}}],"partialFingerprints":{"codehealthFindingId/v1":"77eed377da6839ae7eeb8537f63959a082e916144eb44bd0e23acc7df23374ea"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SessionParseStateExtensions.TryGetGeoSearchOptions: MethodTooLong \u2014 TryGetGeoSearchOptions runs 164 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 64 over it, 1.64\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":"libs/server/SessionParseStateExtensions.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4eec6f6dabbf5b516338d9e79d0d182c5ca2b192d259addd11e7041933a780"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GarnetClientSession: TooManyMethods \u2014 921 significant lines (blank, comment-only and punctuation-only lines excluded), 49 methods, declared across 5 files: ClientSession/GarnetClientSession.cs (25), ClientSession/GarnetClientSessionReplicationExtensions.cs (9), ClientSession/GarnetClientSessionIncremental.cs (7), ClientSession/AsyncGarnetClientSession.cs (4), \u002B1 more file(s). The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/ClientSession/GarnetClientSession.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2b18d26a770bc2b0ab688ba0edfc1a216079f2f700393cb1cfa4088642a278"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SectorAlignedBufferPool: TooManyMethods \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded), 49 methods, declared across 2 files: Utilities/BufferPool.OriginReturn.cs (42), Utilities/BufferPool.cs (7). The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/BufferPool.OriginReturn.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c510363b77ef5d0cc0fa0e2d3a117ad9e56bd0f6af8a1371d10186c086c918be"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UnsafeContext: TooManyMethods \u2014 199 significant lines (blank, comment-only and punctuation-only lines excluded), 49 methods. The bar is 30 methods; this is 19 over it, 1.63\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/UnsafeContext.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"336db68dd2dead28c7232bc619e16927f556ba733f0ee93faad5c0bda4af8b7b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Allocator/ObjectAllocatorImpl.cs: FileTooLong \u2014 778 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 278 over it, 1.56\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":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28d0b80c6a01ac69e528eaf3522c37644eecda128154d5cfc1cd7dc676322d0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AofReplayCoordinator.ProcessTransactionGroup: MethodTooLong \u2014 ProcessTransactionGroup runs 155 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 55 over it, 1.55\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":"libs/server/AOF/ReplayCoordinator/AofReplayCoordinator.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"34fdf298135d2ef2940f420b5fa69930ae0e0092eb7171de98b54ff8f31c328a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Allocator/LogRecord.cs: FileTooLong \u2014 772 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 272 over it, 1.54\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":"libs/storage/Tsavorite/cs/src/core/Allocator/LogRecord.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a64a3de5299bb0424cf4bd08307d6a9f8ad5cee432d0fa1e4ab69417a302c0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LuaStateWrapper: TooManyMethods \u2014 295 significant lines (blank, comment-only and punctuation-only lines excluded), 46 methods. The bar is 30 methods; this is 16 over it, 1.53\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaStateWrapper.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"210610ed4e6220f1997e2bd36632a9c78f188f8d8afa5fa0528238e414611c18"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ObjectStore/SortedSetOps.cs: FileTooLong \u2014 762 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 262 over it, 1.52\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":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72a8bb1b3522fffecacfbedd290ef122ce161cfefc94385d7dcf36ec9174ddc2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RespCommandHashLookup: ClassTooLong \u2014 608 significant lines (blank, comment-only and punctuation-only lines excluded), 15 methods, declared across 2 files: Parser/RespCommandHashLookup.cs (14), Parser/RespCommandHashLookupData.cs (1). The bar is 400 significant lines; this is 208 over it, 1.52\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Parser/RespCommandHashLookup.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"96afb8c7d1fb6ed720206ff4a0a8d4aa6429be7b8b1c8f103eb7b2e2f52c3ed6"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AofProcessor: TooManyMethods \u2014 805 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods, declared across 3 files: AOF/AofProcessor.cs (28), AOF/AofProcessor.ChunkReplay.cs (14), Recover/AofRecover.cs (3). The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/AOF/AofProcessor.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3997ccfc3693f603d187bcb93be5c49c2aaa4d266c9ed36b64a2449a7a5f35d8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MultiDatabaseManager: TooManyMethods \u2014 555 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/MultiDatabaseManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bdfdebe684799b7d55c9d83bc6f4dafc6159ee17327fd2d62e9c8e97146de0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NetworkHandler: TooManyMethods \u2014 466 significant lines (blank, comment-only and punctuation-only lines excluded), 45 methods. The bar is 30 methods; this is 15 over it, 1.50\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/NetworkHandler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fa671af694dd49f219cf2f6659f7a9dd8fc4daeb855b18e93abaf34455c55cb"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ClusterBench: ClassTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods, declared across 3 files: ClusterBench/ClusterWorkloadDriver.cs (16), ClusterBench/ClusterWorkloadDriver.Offline.cs (5), ClusterBench/ClusterWorkloadDriver.Online.cs (5). The bar is 400 significant lines; this is 190 over it, 1.48\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":"benchmark/Resp.benchmark/ClusterBench/ClusterWorkloadDriver.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c873d3dc2fd79d5792f7880b7d5e702497187d024281c4591676904e8650bee"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ObjectSessionFunctions: TooManyMethods \u2014 362 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods, declared across 8 files: ObjectStore/UpsertMethods.cs (11), ObjectStore/RMWMethods.cs (9), ObjectStore/ObjectSessionFunctions.cs (6), ObjectStore/PrivateMethods.cs (6), \u002B4 more file(s). The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/ObjectStore/UpsertMethods.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0451a57a9219ea164e2bdcabe32dae424b445d4d0206adc31cd7cbaa80c04c3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConsistentReadContext: TooManyMethods \u2014 138 significant lines (blank, comment-only and punctuation-only lines excluded), 44 methods. The bar is 30 methods; this is 14 over it, 1.47\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/ConsistentReadContext.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4812cb022fe151f34be53ba06f0d7bd908c87433e81c1f8623d22e0d6292ce0a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ObjectAllocatorImpl.WriteAsync: MethodTooLong \u2014 WriteAsync runs 146 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 46 over it, 1.46\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"383f03a0f78f3b9fd03f3d01399bfceef76f154c05817e8b85d710cffae6d297"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: JsonPath: ClassTooLong \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods. The bar is 400 significant lines; this is 178 over it, 1.45\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":"modules/GarnetJSON/JSONPath/JsonPath.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa87a6d033daa440b4ebd1b055791edf7260b892a7d66f5914d73132947b634"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReplicationManager: TooManyMethods \u2014 614 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods, declared across 7 files: Replication/ReplicationManager.cs (20), Replication/ReplicationCheckpointManagement.cs (9), Replication/ReplicationHistoryManager.cs (5), ReplicaOps/ReplicaDiskbasedSync.cs (4), \u002B3 more file(s). The bar is 30 methods; this is 13 over it, 1.43\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":"libs/cluster/Server/Replication/ReplicationManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a1a0f57a27ecd1452e8de5bd9f8e47cbe5dec1452d5f9453edb6ee15e32022b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Server/ClusterConfig.cs: FileTooLong \u2014 711 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 211 over it, 1.42\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":"libs/cluster/Server/ClusterConfig.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83e3b6d5caf7fb07ddeaff76207408eeaa033e24a2de56d18a2b6cf31e0b20bf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClusterManager: TooManyMethods \u2014 765 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods, declared across 4 files: Server/ClusterManager.cs (15), Server/ClusterManagerSlotState.cs (11), Gossip/Gossip.cs (11), Server/ClusterManagerWorkerState.cs (5). The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/ClusterManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c7937acbd4cf5fead8427e6a6c2b62ed872310f11cad8a992c56456950596d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: HashObject: TooManyMethods \u2014 557 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods, declared across 2 files: Hash/HashObject.cs (25), Hash/HashObjectImpl.cs (17). The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/Hash/HashObject.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e3c6192e2fe611d15551d1c231d9ad0f0d1e45155ed92fb68da088d380b6ac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RespMemoryWriter: TooManyMethods \u2014 252 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/RespMemoryWriter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"baab57def1a328cb3e88d153416300ae9468fad1f47bf676fe206d315ee1e64f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Utility: TooManyMethods \u2014 237 significant lines (blank, comment-only and punctuation-only lines excluded), 42 methods. The bar is 30 methods; this is 12 over it, 1.40\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/Utility.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacc67a213c54d188988384f15a3154f81a50655800c082fb2e6037dde81af93"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClusterSession.NetworkClusterMigrate: MethodTooLong \u2014 NetworkClusterMigrate runs 137 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 37 over it, 1.37\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":"libs/cluster/Session/RespClusterMigrateCommands.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"34618531cb136d23b6f9c22250147d164a968d46da459afbd0b606d48d0e9fd8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SessionFixedLenFunctions: TooManyMethods \u2014 99 significant lines (blank, comment-only and punctuation-only lines excluded), 41 methods. The bar is 30 methods; this is 11 over it, 1.37\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SessionFixedLenFunctions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b09c150d0eb808d6c18729735fec503190ab6891f45a3d981f5c3f77c2927da"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Recovery/Recovery.cs: FileTooLong \u2014 683 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 183 over it, 1.37\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":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/Recovery.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8e2b14aa6a40758733417508b412cfe3b314cdabfa18075db2924091c868d0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: client/GarnetClient.cs: FileTooLong \u2014 680 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 180 over it, 1.36\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b7f3662e4916e6c11eb140ae884b18051641d76d606c0cddc0a6ebff50b7314"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GarnetServerOptions.GetSettings: MethodTooLong \u2014 GetSettings runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\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":"libs/server/Servers/GarnetServerOptions.cs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b984117a1540ab9d0131c8a6794da52a6076b3e8708e50a880e963030c28026"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: VectorSessionFunctions: TooManyMethods \u2014 237 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/VectorStore/VectorSessionFunctions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcdb2a256565a097dc1b33bd6f8d04c7915c93645032eb40f2bbc4a9aec08eeb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SessionFunctionsWrapper: TooManyMethods \u2014 181 significant lines (blank, comment-only and punctuation-only lines excluded), 40 methods. The bar is 30 methods; this is 10 over it, 1.33\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/SessionFunctionsWrapper.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7e7cc84c74fa8cd2d68a0591a7647a80e6f1e0a7be86361809b2b660524e36"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RespServerSession.NetworkCLIENTKILL: MethodTooLong \u2014 NetworkCLIENTKILL runs 132 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 32 over it, 1.32\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":"libs/server/Resp/ClientCommands.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bbc9de42bbdfc98c7c1edbab7d6a0b9db69740200408aa735e45a5d7ec2ba9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RespReadUtils: TooManyMethods \u2014 453 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods. The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/RespReadUtils.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35c62405869f6d39cb70187beadb53d7e477b31cba8e747f8890088ef554186e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: MainSessionFunctions.GetRMWModifiedFieldInfo: MethodTooLong \u2014 GetRMWModifiedFieldInfo runs 128 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 28 over it, 1.28\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":"libs/server/Storage/Functions/MainStore/VarLenInputMethods.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"3568f64ce06e9d2b7e3175fd1b15b9d0f2e131362e780bea0be5eced3dda8d98"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VectorManager.ReadOrCreateVectorIndex: MethodTooLong \u2014 ReadOrCreateVectorIndex runs 127 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 27 over it, 1.27\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":"libs/server/Resp/Vector/VectorManager.Locking.cs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9366708fb8728752ce02b32d2d768bb55712acda02c5ff5ef3fbf1c9bcfd37"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ClientSession: TooManyMethods \u2014 235 significant lines (blank, comment-only and punctuation-only lines excluded), 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/ClientSession.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e5faab888bbe1f62ab675041ad820328851c2d5a818f28274d62398315fbfc3"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CmdStrings: ClassTooLong \u2014 506 significant lines (blank, comment-only and punctuation-only lines excluded), 0 methods. The bar is 400 significant lines; this is 106 over it, 1.27\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/CmdStrings.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f747920b3cb6c3abd29f112a728501a6395c07b4da232e7fb26167cfae50f683"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: AOF/GarnetLog.cs: FileTooLong \u2014 630 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 130 over it, 1.26\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/AOF/GarnetLog.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ee3a5f403eef70329549f236053401ba90966894d2115722cf14ba604c4ed3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VectorManager.ValueSimilarity: MethodTooLong \u2014 ValueSimilarity runs 126 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 26 over it, 1.26\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"de1d69c7c5129152a02af2db1015efe98bf4adb0023c92a0c97270364686c0f7"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: MigrateSession: ClassTooLong \u2014 499 significant lines (blank, comment-only and punctuation-only lines excluded), 26 methods, declared across 5 files: Migration/MigrateSession.cs (10), Migration/MigrateSessionCommonUtils.cs (7), Migration/MigrationDriver.cs (4), Migration/MigrateSessionKeys.cs (3), \u002B1 more file(s). The bar is 400 significant lines; this is 99 over it, 1.25\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":"libs/cluster/Server/Migration/MigrateSession.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b03a64082c2058621c89fecbb003d32c65f7f81482c03b2a7d2bd5d22c6dfaa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VectorManager.ReadVectorIndexCore: MethodTooLong \u2014 ReadVectorIndexCore runs 124 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 24 over it, 1.24\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":"libs/server/Resp/Vector/VectorManager.Locking.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"08b8ee64ef3135b6105cf8e57062df4e2ec1207321e8078be138b12167e88cdd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LightEpoch: TooManyMethods \u2014 335 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods, declared across 3 files: Epochs/LightEpoch.cs (30), Epochs/LightEpoch.TestHooks.cs (4), Epochs/LightEpoch.EntryTable.cs (3). The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3318e4f8e09c0f573e34a11ef40245eb748a7cafe78b3ee586d0782f941d9283"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LuaRunnerTrampolines: TooManyMethods \u2014 219 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c53b2b98f31d5c822c494d816615c79daae49bf939230012d2eb2f68cdfe09"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SingleDatabaseManager: TooManyMethods \u2014 191 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/SingleDatabaseManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"be414afd55cb0780f8b11d651f87ac274d0eaeb917665eafdde92f3b4015fde4"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GarnetServerOptions: ClassTooLong \u2014 493 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 93 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Servers/GarnetServerOptions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e9e2f14b8312e72369eb2a6248a39b8856cfe4e24c5cc8902b151c98f2b7eb3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RespOnlineBench.OpRunnerLightClient: MethodTooLong \u2014 OpRunnerLightClient runs 123 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 23 over it, 1.23\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":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":405}}}],"partialFingerprints":{"codehealthFindingId/v1":"11cd6d5684265298d0030d77ea75f6f0e213e2acfb5e1f7aca6130b07ed66511"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VectorManager.PrepareVectorData: MethodTooLong \u2014 PrepareVectorData runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\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":"libs/server/Resp/Vector/VectorManager.ElementData.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0160823f74ad65902d2ccb705b814da82e024a5c70ef14ec81de9a3df5b7893"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: KvBenchmark: ClassTooLong \u2014 486 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods, declared across 4 files: KV.benchmark/KvBenchmark.cs (10), KV.benchmark/KvBenchmark.Setup.cs (6), KV.benchmark/KvBenchmark.Worker.cs (2), KV.benchmark/KvBenchmark.Validate.cs (1). The bar is 400 significant lines; this is 86 over it, 1.22\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":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aae015fddc0a01ff43c03dd6a3e1d7c7ee6cb72b1d416fa899c5585531f4cd5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TsavoriteBase: TooManyMethods \u2014 479 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods, declared across 3 files: Tsavorite/TsavoriteBase.cs (15), Recovery/IndexCheckpoint.cs (11), Recovery/IndexRecovery.cs (10). 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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/TsavoriteBase.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a4e815cd44b4d5e2fad9ae66d501dc69220a36c6d4d854eaf46ef6c42e0217"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SessionFunctionsBase: TooManyMethods \u2014 83 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Interfaces/SessionFunctionsBase.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc3fe357fc8896ad3540708fd6a1a42ea7802c206a3c90c29581414fb37ce5d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: NoOpSessionFunctions: TooManyMethods \u2014 75 significant lines (blank, comment-only and punctuation-only lines excluded), 36 methods. The bar is 30 methods; this is 6 over it, 1.20\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/NoOpSessionFunctions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b3065a501707f27adff49ba68cbe13e3e5706e5aac61c7d90ab96839a4b2a71"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ClusterBench/ClientRequestProvider.WorkerPool.cs: FileTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 97 over it, 1.19\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":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d99660c89191ae87829fbcdfc9cfae24d19970754dff4f7d8cc5f43505930579"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Utilities/BufferPool.OriginReturn.cs: FileTooLong \u2014 595 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 95 over it, 1.19\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":"libs/storage/Tsavorite/cs/src/core/Utilities/BufferPool.OriginReturn.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"00c4f1f1da9b61eba42e6dd9a92644a464e3a09590fa304ee403f873af7975bd"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TsavoriteLogScanIterator: ClassTooLong \u2014 472 significant lines (blank, comment-only and punctuation-only lines excluded), 23 methods. The bar is 400 significant lines; this is 72 over it, 1.18\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"838cfc06af9c6fd03481e09816bb2bc45cde083fb316990863b3bbd3ed871304"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Resp/AdminCommands.cs: FileTooLong \u2014 587 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 87 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":"libs/server/Resp/AdminCommands.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f94b46b7a5f934f4001e6131dbf19712a65b8fdeff8378b3f052b59cfd5efc9b"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LuaRunner.LuaRunner(\u2026): MethodTooLong \u2014 LuaRunner(\u2026) runs 117 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 17 over it, 1.17\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"744ac8bc6db9ec864402800fd955804b34d15949b670e7a1f7cca40b372bb8f2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: JSONPath/JsonPath.cs: FileTooLong \u2014 584 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 84 over it, 1.17\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/JsonPath.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"288b4608491fa2ce7f673d78bb84c3c4bff94fff0e4a053f9e5336ca458b7f03"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: BitmapManager: TooManyMethods \u2014 852 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods, declared across 5 files: Bitmap/BitmapManager.cs (13), Bitmap/BitmapManagerBitfield.cs (11), Bitmap/BitmapManagerBitCount.cs (6), Bitmap/BitmapManagerBitPos.cs (3), \u002B1 more file(s). The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e039f1af10e062d24cfa1f06640915a97abe0b2aa5aba385e1164b0ed4a5e0dd"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RecordDataHeader: TooManyMethods \u2014 267 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/RecordDataHeader.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"81128bcd1396de4a3c9a17146f922547baa6c75635c6915d04f343f608681790"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DeviceLogCommitCheckpointManager: TooManyMethods \u2014 216 significant lines (blank, comment-only and punctuation-only lines excluded), 35 methods. The bar is 30 methods; this is 5 over it, 1.17\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/CheckpointManagement/DeviceLogCommitCheckpointManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"39709d4e6603f3c8ab63378a0eb33f93ba5e49e766a0370417a31b2ba29782b9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: SortedSet/SortedSetObjectImpl.cs: FileTooLong \u2014 582 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 82 over it, 1.16\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":"libs/server/Objects/SortedSet/SortedSetObjectImpl.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"816b7ceefd48547ba8de5970b12db958a60fb2923effe4bd09e0e21514005786"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: HyperLogLog/HyperLogLog.cs: FileTooLong \u2014 581 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 81 over it, 1.16\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":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16dee9bfc3c944dc6effd942018968ac587d338deed769fd65ebcd226cac9e64"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: AOF/AofProcessor.cs: FileTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 74 over it, 1.15\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":"libs/server/AOF/AofProcessor.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f218e1bd5c551e128c9e14503dfbeeaa15f2309fb403bf99f5f5c5f155941ca4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MallocFixedPageSize: TooManyMethods \u2014 333 significant lines (blank, comment-only and punctuation-only lines excluded), 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":"libs/storage/Tsavorite/cs/src/core/Allocator/MallocFixedPageSize.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f201384b02e32a008ff4546a74dee7612bd2878d4424ddef92daec625a0f7b6b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Databases/MultiDatabaseManager.cs: FileTooLong \u2014 566 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 66 over it, 1.13\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":"libs/server/Databases/MultiDatabaseManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f3694192935983d019f4ca3e0130627a36903259f11ae4892c26fa919e988e3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: AofProcessor.ProcessAofRecordInternal: MethodTooLong \u2014 ProcessAofRecordInternal runs 113 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 13 over it, 1.13\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/AOF/AofProcessor.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1deab504c85d71e1f402228e46853c43ab8e1958597465579fcc34f5a0f505"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LuaRunner.AclCheckCommand: MethodTooLong \u2014 AclCheckCommand runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":2808}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e1dc12a312cde2b0d7bddac643aff06ce6144b9c5412f11c49fa09fe27d1f68"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VectorManager.ElementSimilarity: MethodTooLong \u2014 ElementSimilarity runs 112 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 12 over it, 1.12\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":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":1162}}}],"partialFingerprints":{"codehealthFindingId/v1":"236cdedbd12ca97b8ab30c86c7cf0310869d6f5a2a0b34c727eb3e7b2d7a59b2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: GarnetInfoMetrics: ClassTooLong \u2014 442 significant lines (blank, comment-only and punctuation-only lines excluded), 24 methods. The bar is 400 significant lines; this is 42 over it, 1.11\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Metrics/Info/GarnetInfoMetrics.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"353e139f599d6b318299a9e2d7d5da10c14785e958a24dc8ebf408a7f2b44ea1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SessionParseState: TooManyMethods \u2014 196 significant lines (blank, comment-only and punctuation-only lines excluded), 33 methods. The bar is 30 methods; this is 3 over it, 1.10\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":"libs/server/Resp/Parser/SessionParseState.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83323c18c46f2d65d37ecbbab48bf45a0672e6a92361942461dd9751dc13a702"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Lua/LuaRunner.Functions.Struct.cs: FileTooLong \u2014 547 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 47 over it, 1.09\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.Struct.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e0f1f0966c8ac871ec84cf0c28f88c37eae780147cc71f638c06a1612472a3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RespServerSession.NetworkXVCREATE: MethodTooLong \u2014 NetworkXVCREATE runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"0acdaa905a528e9a7505ff5827e94c31797ecee4f96e015245a28bfd5f29f57c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VectorManager.HandleMigratedIndexKey: MethodTooLong \u2014 HandleMigratedIndexKey runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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":"libs/server/Resp/Vector/VectorManager.Migration.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d0901a3ba72740807ab898d0f0975a2f8b176029ca51c8f69467da2af6fa081"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NativeStorageDevice.EnsureNativeDeviceCreated: MethodTooLong \u2014 EnsureNativeDeviceCreated runs 108 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 8 over it, 1.08\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":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"c522c170b2dc38c59704b2559af0cc7d67ec14c165fbcc8eafae67437c26fa42"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: BitmapManager.__simd_popcX256: MethodTooLong \u2014 __simd_popcX256 runs 107 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 7 over it, 1.07\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapManagerBitCount.cs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"b748d90958258763adf8ad5f5b83c899d619455c28be6029ac7607c7635b629e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ClusterManager.GossipMainAsync: MethodTooLong \u2014 GossipMainAsync runs 106 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 6 over it, 1.06\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Gossip/Gossip.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f153a70c76f51baf08c56c3d68265706e24ef8102e1fb2af656280ecc3bf4b6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Tsavorite/Tsavorite.cs: FileTooLong \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 18 over it, 1.04\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8ede44f6f312853a763d8482dc12ff1d6a1e0f5e87b55bf633c452078800887"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GarnetServer.InitializeServer: MethodTooLong \u2014 InitializeServer runs 103 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 3 over it, 1.03\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":"libs/host/GarnetServer.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb0bf30dceaed1a30730428d5d575cd07300cfe764bd953f1c0d1d854bf61a5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Resp/CmdStrings.cs: FileTooLong \u2014 508 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 8 over it, 1.02\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/CmdStrings.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf3cec0088fd71c257f657f64f23572371bb81b753e08ffcb6e5357959dfaa4b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Servers/GarnetServerOptions.cs: FileTooLong \u2014 503 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 3 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Servers/GarnetServerOptions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"645dabcd616014a40666a889cd41e59afd1751a295caa36dbb5ca2142887278f"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 88 shared lines): playground/Bitmap/BitOp.cs:106-210 | playground/Bitmap/BitOp.cs:213-409 | playground/Bitmap/BitOp.cs:412-579 | playground/Bitmap/BitOp.cs:582-778 \u2014 These 4 members are variants of one another: a block of 88 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0ede8c21ef144c345d194c5c98e229a418876e88036a87d0dafb8269bb53d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (4 members, 83 shared lines): libs/client/GarnetClient.cs:678-788 | libs/client/GarnetClient.cs:791-902 | libs/client/GarnetClient.cs:999-1106 | libs/client/GarnetClient.cs:1117-1221 \u2014 These 4 members are variants of one another: a block of 83 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":678}}}],"partialFingerprints":{"codehealthFindingId/v1":"8568b2ba1a04b57fa3bb84807eb41bbc4dc13f4884b4983c7bda3a4a47d69705"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member family (3 members, 21 shared lines): libs/server/Resp/Vector/VectorManager.Filter.cs:104-183 | libs/server/Resp/Vector/VectorManager.cs:961-1157 | libs/server/Resp/Vector/VectorManager.cs:1177-1350 \u2014 These 3 members are variants of one another: a block of 21 lines reported below appears in every one of them, and the pairwise near-duplicate rows they would otherwise produce are collapsed into this row. Read them as one construct written 3 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Filter.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47c78c3502ec05d63182f0797c347bcec40d9a7031444d7329f53c9ed46d687"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (50 shared lines): libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs:56-250 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs:54-195 \u2014 These two members are variants of one another: 50 of their lines are already reported as duplicated blocks below, spread through both bodies rather than gathered into one. Read them as a single construct written twice. The repair is at the members\u0027 grain \u2014 factor the shared pipeline into one implementation the two call with their differences as parameters or as an injected step, or, where the difference is systematic (sync against async, one transport against another), generate one from the other. Extracting the individual blocks below is not the same fix: it leaves the two bodies in place and the next edit still has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"74417c1abc87827b9628b778f6b1e0916019dc42debe4f5ec24f75fb85c0be29"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): libs/server/Resp/Objects/HashCommands.cs:308-342 | libs/server/Resp/Objects/HashCommands.cs:352-384 | libs/server/Resp/Objects/HashCommands.cs:394-426 | libs/server/Resp/Objects/HashCommands.cs:436-467 | libs/server/Resp/Objects/ListCommands.cs:604-639 | libs/server/Resp/Objects/ListCommands.cs:649-693 | libs/server/Resp/Objects/SetCommands.cs:317-351 | libs/server/Resp/Objects/SetCommands.cs:361-395 | libs/server/Resp/Objects/SetCommands.cs:586-619 | libs/server/Resp/Objects/SortedSetCommands.cs:61-92 | libs/server/Resp/Objects/SortedSetCommands.cs:102-135 | libs/server/Resp/Objects/SortedSetCommands.cs:538-572 | libs/server/Resp/Objects/SortedSetCommands.cs:587-640 | libs/server/Resp/Objects/SortedSetCommands.cs:763-804 \u2014 These 14 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 14 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 14 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a2bc3f803eb6a2e3cfea06606eb4411997101557399ae1e0ef799fa4c40b62a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (13 members, 50\u002B identical tokens): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1086-1108 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1118-1141 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1153-1179 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1188-1211 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1223-1250 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1260-1282 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1289-1315 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1323-1349 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1362-1390 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1399-1422 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1525-1561 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1575-1613 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1624-1658 \u2014 These 13 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 13 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 13 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1086}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade39730008645e774f0d1bcc83ce8936e67cfbf38a028a42e8d01f5d8926da4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (10 members, 50\u002B identical tokens): libs/client/ClientSession/GarnetClientSession.cs:521-600 | libs/client/ClientSession/GarnetClientSessionMigrationExtensions.cs:89-163 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:39-111 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:121-176 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:188-260 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:271-341 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:361-441 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:450-490 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:558-600 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:613-687 \u2014 These 10 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 10 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 10 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/ClientSession/GarnetClientSession.cs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"7083e4fc759110d452e93646672d80c038f704ecf4da60a516b82f3f403e5195"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:132-177 | libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:187-319 | libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:329-471 | playground/Bitmap/BitCount.cs:25-52 | playground/Bitmap/BitCount.cs:55-102 | playground/Bitmap/BitCount.cs:105-237 | playground/Bitmap/BitCount.cs:240-382 | playground/Bitmap/BitCount.cs:385-527 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapManagerBitCount.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"8642a08c8dfdd64a4cb546684e5b9bd14b2e83aeb7ee03ef5306831e40ba2a2d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): libs/server/Storage/Session/ObjectStore/SetOps.cs:341-371 | libs/server/Storage/Session/ObjectStore/SetOps.cs:514-544 | libs/server/Storage/Session/ObjectStore/SetOps.cs:782-812 | libs/server/Storage/Session/ObjectStore/SetOps.cs:939-976 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:534-573 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1084-1124 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1314-1363 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1447-1489 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/SetOps.cs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf875bbf5337316823765c20be74a161e86ba79769489be096b3797c79bf63fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): libs/server/Storage/Session/ObjectStore/SetOps.cs:382-439 | libs/server/Storage/Session/ObjectStore/SetOps.cs:555-610 | libs/server/Storage/Session/ObjectStore/SetOps.cs:823-877 | libs/server/Storage/Session/ObjectStore/SortedSetGeoOps.cs:120-232 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:583-638 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:715-847 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1127-1183 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1385-1441 \u2014 These 8 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 8 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 8 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/SetOps.cs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ef63730202c07ee7c1d7662f61197decff592716b2882348e045cfcefe9fcf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/client/LightEpoch.cs:363-409 | libs/client/LightEpoch.cs:473-497 | libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:406-452 | libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:506-530 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:397-443 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:497-521 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/LightEpoch.cs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e09e3efdafd89cb9d754bd8c716ed5d2126f5cd0e0808685c06ff259ef85d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/server/Lua/LuaRunner.Functions.cs:2514-2547 | libs/server/Lua/LuaRunner.Functions.cs:2550-2584 | libs/server/Lua/LuaRunner.Functions.cs:2587-2629 | libs/server/Lua/LuaRunner.Functions.cs:2632-2676 | libs/server/Lua/LuaRunner.Functions.cs:2679-2723 | libs/server/Lua/LuaRunner.Functions.cs:2726-2778 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":2514}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b2db40f9cc7c91f20aee15cd44c539e4f957c8cf080d5abeda89f3ccf03cf14"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/server/Resp/Objects/HashCommands.cs:584-671 | libs/server/Resp/Objects/HashCommands.cs:683-758 | libs/server/Resp/Objects/HashCommands.cs:762-817 | libs/server/Resp/Objects/SortedSetCommands.cs:1743-1829 | libs/server/Resp/Objects/SortedSetCommands.cs:1845-1919 | libs/server/Resp/Objects/SortedSetCommands.cs:1931-1985 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":584}}}],"partialFingerprints":{"codehealthFindingId/v1":"97de54866a14edc54739c60d1ebfce189ae9bdbfbbf2d673ccb2851528225293"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): libs/server/Storage/Session/MainStore/RangeIndexOps.cs:275-397 | libs/server/Storage/Session/MainStore/RangeIndexOps.cs:414-450 | libs/server/Storage/Session/MainStore/RangeIndexOps.cs:468-502 | libs/server/Storage/Session/MainStore/RangeIndexOps.cs:520-554 | libs/server/Storage/Session/MainStore/RangeIndexOps.cs:603-639 | libs/server/Storage/Session/MainStore/RangeIndexOps.cs:655-687 \u2014 These 6 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 6 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 6 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/MainStore/RangeIndexOps.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"a351988088ffb75f248abda997b3d6a8705849c5af2674c449dfe3fd02672e30"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): libs/client/GarnetClientProcessReplies.cs:20-66 | libs/client/GarnetClientProcessReplies.cs:69-96 | libs/client/GarnetClientProcessReplies.cs:99-145 | libs/client/GarnetClientProcessReplies.cs:148-195 | libs/client/GarnetClientProcessReplies.cs:198-213 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientProcessReplies.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e60e6f9ead4f2303979b8ce75e0a37d9035d854937bae7aa356ddc639cf898"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): libs/cluster/Server/Migration/MigrateSessionCommonUtils.cs:61-70 | libs/server/Resp/Vector/VectorManager.Replication.cs:845-888 | libs/server/Resp/Vector/VectorManager.cs:664-672 | libs/server/Storage/Session/ObjectStore/CompletePending.cs:20-28 | libs/server/Storage/Session/UnifiedStore/CompletePending.cs:20-28 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrateSessionCommonUtils.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb06e21a2d04e32f2ddd2584893bb61494549384453029bd2d3d24b8c63d145b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): libs/cluster/Session/RespClusterSlotManagementCommands.cs:21-55 | libs/cluster/Session/RespClusterSlotManagementCommands.cs:63-97 | libs/cluster/Session/RespClusterSlotManagementCommands.cs:188-222 | libs/cluster/Session/RespClusterSlotManagementCommands.cs:230-264 | libs/cluster/Session/RespClusterSlotManagementCommands.cs:304-331 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/RespClusterSlotManagementCommands.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a772492c77795db984e85a251015058d1aca72596ba948b17890a60324ff6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): libs/common/RespWriteUtils.cs:23-32 | libs/common/RespWriteUtils.cs:38-47 | libs/common/RespWriteUtils.cs:71-80 | libs/common/RespWriteUtils.cs:86-95 | libs/common/RespWriteUtils.cs:330-340 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/RespWriteUtils.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a9c4bc24a19ace1aaff77b6cb1063111cc2791abd716bcee7bbc18659263873"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): libs/server/Lua/LuaRunner.cs:2192-2274 | libs/server/Lua/LuaRunner.cs:2277-2358 | libs/server/Lua/LuaRunner.cs:2361-2433 | libs/server/Lua/LuaRunner.cs:2437-2511 | libs/server/Lua/LuaRunner.cs:2541-2607 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":2192}}}],"partialFingerprints":{"codehealthFindingId/v1":"88275a190eabcaa20fcd97ec021f1e02e4693ffc9659ee0094e857d0a6bc7545"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): libs/server/Resp/Objects/HashCommands.cs:85-115 | libs/server/Resp/Objects/HashCommands.cs:169-205 | libs/server/Resp/Objects/ListCommands.cs:71-122 | libs/server/Resp/Objects/SortedSetCommands.cs:259-293 | libs/server/Resp/Objects/SortedSetCommands.cs:695-750 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aed476b5c04598b011a3769c4dc630e1ae1953836490821e0dead912e9fadd5"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): libs/server/Resp/Objects/ListCommands.cs:269-311 | libs/server/Resp/Objects/ListCommands.cs:354-398 | libs/server/Resp/Objects/ListCommands.cs:848-943 | libs/server/Resp/Objects/SortedSetCommands.cs:1565-1615 | libs/server/Resp/Objects/SortedSetCommands.cs:1621-1728 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/ListCommands.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"091a43b6430be9d7253997a7e2d6cd2c43793ea40e30112ccb1a7cc0bc1346b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): modules/GarnetJSON/JSONPath/ScanArrayIndexFilter.cs:30-107 | modules/GarnetJSON/JSONPath/ScanArrayMultipleIndexFilter.cs:37-106 | modules/GarnetJSON/JSONPath/ScanArraySliceFilter.cs:41-182 | modules/GarnetJSON/JSONPath/ScanFilter.cs:37-99 | modules/GarnetJSON/JSONPath/ScanMultipleFilter.cs:33-89 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ScanArrayIndexFilter.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2d0c5177009c07628209a5385c50a6076148fdd5a7271dec56d084eb78168a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/common/Synchronization/ReadOptimizedLock.cs:411-446 | libs/common/Synchronization/ReadOptimizedLock.cs:454-496 | libs/common/Synchronization/ReadOptimizedLock.cs:504-540 | libs/common/Synchronization/ReadOptimizedLock.cs:587-650 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Synchronization/ReadOptimizedLock.cs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"b239962ec6709671e7c73e19d1c1d0b1f77ef9309dc32401354db1da07438922"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/server/Custom/CustomCommandManager.cs:86-102 | libs/server/Custom/CustomCommandManager.cs:115-130 | libs/server/Custom/CustomCommandManager.cs:159-185 | libs/server/Custom/CustomCommandManager.cs:197-214 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Custom/CustomCommandManager.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff6257cf65c37c9be639c19127096639dd1ca349cc43dc07b7584ffe5c2a7698"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/server/Resp/Objects/SetCommands.cs:121-150 | libs/server/Resp/Objects/SetCommands.cs:160-221 | libs/server/Resp/Objects/SetCommands.cs:276-305 | libs/server/Resp/Objects/SetCommands.cs:745-774 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SetCommands.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca5e6ba4aa2dc6e6e8c075eeaf01be01ca64b0e6d79208c746559a85a1e57526"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/server/Resp/Objects/SortedSetCommands.cs:1005-1040 | libs/server/Resp/Objects/SortedSetCommands.cs:1172-1234 | libs/server/Resp/Objects/SortedSetCommands.cs:1245-1334 | libs/server/Resp/Objects/SortedSetCommands.cs:1473-1559 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1005}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4eb848609e9350fa6b529335886b45dd45ac9e111ed7f8005cae0dfb046439c"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/server/Resp/Objects/SortedSetCommands.cs:1050-1163 | libs/server/Resp/Objects/SortedSetCommands.cs:1245-1334 | libs/server/Resp/Objects/SortedSetCommands.cs:1344-1463 | libs/server/Resp/Objects/SortedSetCommands.cs:1473-1559 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1050}}}],"partialFingerprints":{"codehealthFindingId/v1":"32a5c878998dc262a105095a35fda5bedc7a5a8d5cf4120cd05d62d8ab4ee38f"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/server/Resp/Vector/VectorManager.ContextMetadata.cs:209-222 | libs/server/Resp/Vector/VectorManager.ContextMetadata.cs:245-263 | libs/server/Resp/Vector/VectorManager.ContextMetadata.cs:266-279 | libs/server/Resp/Vector/VectorManager.ContextMetadata.cs:282-298 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.ContextMetadata.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"3aae92185993c044ffc69334926bfd6be804f9895be6217575ab586b13201471"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/server/Storage/Session/MainStore/MainStoreOps.cs:17-42 | libs/server/Storage/Session/MainStore/MainStoreOps.cs:127-153 | libs/server/Storage/Session/MainStore/MainStoreOps.cs:157-181 | libs/server/Storage/Session/MainStore/MainStoreOps.cs:216-240 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/MainStore/MainStoreOps.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"67c87ea907c3d64e30df1012a4da570c3177ee4ccd72867183f1876913d1d850"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/server/Storage/Session/ObjectStore/SetOps.cs:30-45 | libs/server/Storage/Session/ObjectStore/SetOps.cs:60-79 | libs/server/Storage/Session/ObjectStore/SetOps.cs:93-108 | libs/server/Storage/Session/ObjectStore/SetOps.cs:124-142 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/SetOps.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"29fd69c12764dce027fb5569b388e8b26d6895f48573f55c48fc64184bfbbb15"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:31-52 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:66-94 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:173-206 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:221-262 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3cbac4ed518827358305ec1a4598530bc1dad08b2aa221e81467a5be74fc3f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1689-1709 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1767-1787 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1808-1828 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1849-1869 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1689}}}],"partialFingerprints":{"codehealthFindingId/v1":"f938080c71cb452610a5978802858ead6c4288eb1f3691b2cde508a4a77cab2a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:2214-2260 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:2326-2372 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:2383-2429 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:2441-2487 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f0b8b209131769bdde25931097d8a6e145cab699463330bb1e61d9f7dc7873"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (79 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs:205-283 | libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs:204-282 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 236 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs:205\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":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0c667c64356515aeccfc9b008db0f8f01e2c422f9dbdecb15c077a6b6c5ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201378 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Index/Interfaces/ISessionFunctions.cs:167-244 | libs/storage/Tsavorite/cs/src/core/Index/Interfaces/ISessionFunctionsWrapper.cs:41-60 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Index/Interfaces/ISessionFunctions.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Index/Interfaces/ISessionFunctionsWrapper.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 205 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Interfaces/ISessionFunctions.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"794c4ba94fcce198586899bc1e3493469fd6b99b3294b4b67ccbb0975a61d99c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (76\u201377 lines \u00D7 3): playground/Bitmap/BitOp.cs:787-863 | playground/Bitmap/BitOp.cs:1006-1081 | playground/Bitmap/BitOp.cs:1226-1301 \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 \u0060playground/Bitmap/BitOp.cs:787\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":"playground/Bitmap/BitOp.cs"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a4e1475c26de915fb8a53f52126da2896ee15d3837557d4bde056f7ae8df61c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201376 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Index/Interfaces/ISessionFunctions.cs:259-334 | libs/storage/Tsavorite/cs/src/core/Index/Interfaces/ISessionFunctionsWrapper.cs:65-85 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Index/Interfaces/ISessionFunctions.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Index/Interfaces/ISessionFunctionsWrapper.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 205 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Interfaces/ISessionFunctions.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"9863bd37cf14b6528743c1e8379adaf20b2a9b8e21fc674ea9f3e578b85c0c3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (56\u201357 lines \u00D7 2): libs/server/Resp/Vector/RespServerSessionVectors.cs:1308-1364 | libs/server/Resp/Vector/RespServerSessionVectors.cs:1451-1506 \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 \u0060libs/server/Resp/Vector/RespServerSessionVectors.cs:1308\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9090783681a3685455df101b4cdae33bc66aafcfdee6bf82ff9203a1568801"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (55 lines \u00D7 2): libs/client/LightEpoch.cs:99-153 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:112-166 \u2014 before extracting anything, compare \u0060libs/client/LightEpoch.cs\u0060 and \u0060playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 326 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":"libs/client/LightEpoch.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"a191d84437de9714e9033c2d30851c8b9599c7f1e0b165df262ccf967e22b7b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (51\u201354 lines \u00D7 2): libs/server/Lua/LuaRunner.cs:2221-2274 | libs/server/Lua/LuaRunner.cs:2308-2358 \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 \u0060libs/server/Lua/LuaRunner.cs:2221\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":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":2221}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e11cca154c6ed59b4a3f828a04fc34f05e5b1b7588639dfd6a312beea20263"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201351 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Index/Interfaces/ISessionFunctions.cs:22-72 | libs/storage/Tsavorite/cs/src/core/Index/Interfaces/ISessionFunctionsWrapper.cs:20-28 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Index/Interfaces/ISessionFunctions.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Index/Interfaces/ISessionFunctionsWrapper.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 205 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Interfaces/ISessionFunctions.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"057f5faf82402c7e903901b0cdd8a79bf3ff355ae62f9293052754863052d47f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (49\u201350 lines \u00D7 3): libs/server/Storage/Session/ObjectStore/SetOps.cs:390-439 | libs/server/Storage/Session/ObjectStore/SetOps.cs:561-610 | libs/server/Storage/Session/ObjectStore/SetOps.cs:829-877 \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 \u0060libs/server/Storage/Session/ObjectStore/SetOps.cs:390\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":"libs/server/Storage/Session/ObjectStore/SetOps.cs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"c822bd5aa47d2a881d6bb9be0d130d72b9ebbd9b7df020658d9c38b6fd9e27c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (42 lines \u00D7 3): libs/server/Resp/Vector/DiskANNService.cs:236-277 | libs/server/Resp/Vector/DiskANNService.cs:324-365 | libs/server/Resp/Vector/DiskANNService.cs:404-445 \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 \u0060libs/server/Resp/Vector/DiskANNService.cs:236\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/server/Resp/Vector/DiskANNService.cs:231\u0060 calls \u0060AsPointer\u0060, \u0060GetReference\u0060 and \u0060libs/server/Resp/Vector/DiskANNService.cs:400\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":"libs/server/Resp/Vector/DiskANNService.cs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"419e92c774c43f624d03a67586e58a1524ccf8d60cd6bfce79727afb6b0fa37c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): libs/client/LightEpoch.cs:558-603 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:582-627 \u2014 before extracting anything, compare \u0060libs/client/LightEpoch.cs\u0060 and \u0060playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 326 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/LightEpoch.cs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"0debd9ba79008c0ad1daed700546a4fc2fbbba17b70e715a679f1ac074e251de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:407-452 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:398-443 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 and \u0060playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 364 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"993f60aff052b829408f914d5a96973fbb745912ca23c676be59bccd53f91703"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201347 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:3009-3048 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:3101-3147 \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 \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:3009\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":3009}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c5f140c3525cfc472d04d5bb3601ae7d6d4748f9530887e31c44f0475de6fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Index/StoreFunctions/IRecordTriggers.cs:199-244 | libs/storage/Tsavorite/cs/src/core/Index/StoreFunctions/IRecordTriggers.cs:271-316 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/StoreFunctions/IRecordTriggers.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39ec23f6026cb2f5ebcb4ade9e42d1f45848fc6ec1b7dab4f6c2e12552e5b43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 2): libs/server/Lua/LuaRunner.cs:2283-2325 | libs/server/Lua/LuaRunner.cs:2443-2485 \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 \u0060libs/server/Lua/LuaRunner.cs:2283\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/server/Lua/LuaRunner.cs:2487\u0060 calls \u0060Pop\u0060 and \u0060libs/server/Lua/LuaRunner.cs:2327\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":2283}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa8f7691c2ff0e17053ad0a26ce4bda7d67c15567f7c5929b9ac4ae32a4f7cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30 lines \u00D7 2): libs/server/Lua/LuaRunner.cs:2404-2433 | libs/server/Lua/LuaRunner.cs:2482-2511 \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 \u0060libs/server/Lua/LuaRunner.cs:2404\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":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":2404}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bd05938a366fea27bea8db17db9e98e26f3eed230033f8474623a282d13e58"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (43 lines \u00D7 4): libs/client/GarnetClient.cs:745-787 | libs/client/GarnetClient.cs:858-900 | libs/client/GarnetClient.cs:1062-1104 | libs/client/GarnetClient.cs:1177-1219 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/client/GarnetClient.cs:745\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"605f5517a9e0717ca382434949427f81baf4ce488e88cd16a928dd675768e362"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201343 lines \u00D7 3): libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:165-168 | libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:268-310 | libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:419-461 \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. 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":"libs/server/Resp/Bitmap/BitmapManagerBitCount.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"68d89392399d4089bfeaab0c97febff12dc1b9dc76d8b1b1f3851fd55ec3ea89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (41 lines \u00D7 2): libs/server/Resp/Objects/SortedSetCommands.cs:1123-1163 | libs/server/Resp/Objects/SortedSetCommands.cs:1423-1463 \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 \u0060libs/server/Resp/Objects/SortedSetCommands.cs:1123\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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"75e8fada8950938e6baae9764be076bf8b8ac1c0ee470d207034c3032b27e3fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201341 lines \u00D7 4): libs/client/GarnetClient.cs:699-739 | libs/client/GarnetClient.cs:812-852 | libs/client/GarnetClient.cs:1015-1055 | libs/client/GarnetClient.cs:1132-1171 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/client/GarnetClient.cs:699\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060op\u0060 to \u0060Memory\u003Cbyte\u003E\u0060 in one and \u0060string\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a1cbf8fb44fa20c34481edb816e2e4307bdfc03d2d46930e46757df73e4a9a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201341 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs:766-806 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs:904-940 \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 \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs:766\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"a782500b67d491cce56633b95cf835707604f76d25d68529cae9dc0583962936"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 3): libs/client/LightEpoch.cs:677-715 | libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:748-786 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:701-739 \u2014 before extracting anything, compare \u0060libs/client/LightEpoch.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/LightEpoch.cs"},"region":{"startLine":677}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d198b86dda8190fc00235d71f9ec00ffe999693281ad9d4dca185671858c562"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (39 lines \u00D7 2): libs/client/ClientSession/GarnetClientSession.cs:363-401 | libs/client/GarnetClient.cs:435-473 \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":"libs/client/ClientSession/GarnetClientSession.cs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"e44a6c9f62cfe4a678e142702ed108fcc9647a6210fa79f74ba33cc27d9dea43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 4): playground/Bitmap/BitOp.cs:165-199 | playground/Bitmap/BitOp.cs:364-398 | playground/Bitmap/BitOp.cs:534-568 | playground/Bitmap/BitOp.cs:733-767 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060playground/Bitmap/BitOp.cs:165\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":"playground/Bitmap/BitOp.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a64c5cf22403611fb6f461a9719234cdfdcbe80110096b49f1731ecb4a44e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201339 lines \u00D7 2): libs/cluster/Server/Migration/MigrateSessionKeys.cs:77-115 | libs/cluster/Server/Migration/MigrateSessionSlots.cs:132-168 \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 \u0060libs/cluster/Server/Migration/MigrateSessionKeys.cs:77\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":"libs/cluster/Server/Migration/MigrateSessionKeys.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"b359753b58b426aea848d8db04d3847e57d796bfabaf76c1f33f9642bd44d34a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 3): libs/client/LightEpoch.cs:89-126 | libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:90-127 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:102-139 \u2014 before extracting anything, compare \u0060libs/client/LightEpoch.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 184 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":"libs/client/LightEpoch.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c508e50f23452d565ccd68c245a50ad08b849c7e11b796bad9e08ce7b128b9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs:95-130 | libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs:94-129 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 236 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"961badd667eb594a1dc3053039f8d4b33316586ac1e8022f4f22d7ae03d60017"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): playground/Bitmap/BitCount.cs:285-320 | playground/Bitmap/BitCount.cs:430-465 \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 \u0060playground/Bitmap/BitCount.cs:285\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitCount.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc18a537da8c61dfe69116db56702f53df503a0571d55c817ecd0a3df63a2d38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): modules/GarnetJSON/JSONPath/ArraySliceFilter.cs:50-81 | modules/GarnetJSON/JSONPath/ScanArraySliceFilter.cs:52-83 | modules/GarnetJSON/JSONPath/ScanArraySliceFilter.cs:117-148 \u2014 before extracting anything, compare \u0060modules/GarnetJSON/JSONPath/ArraySliceFilter.cs\u0060 and \u0060modules/GarnetJSON/JSONPath/ScanArraySliceFilter.cs\u0060 as WHOLE FILES: 85% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 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. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ArraySliceFilter.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fee6610892332888256f1f93c32dc28afe408590e9980b5d9097a14b33c8b44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35\u201336 lines \u00D7 2): libs/common/Networking/NetworkHandler.cs:646-681 | libs/common/Networking/NetworkHandler.cs:723-757 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/NetworkHandler.cs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"c76bd169ed914749f71e957f23f7c8327b1394c9cc4c6ba1585164019b1877f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:903-938 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:856-891 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 and \u0060playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 364 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 \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:903\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":"libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs"},"region":{"startLine":903}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ba4027a81e187bdc1fa96084d6907b53d7758505ec0cebe4125c596df51f349"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201335 lines \u00D7 2): libs/cluster/Session/SlotVerification/ClusterSlotVerify.cs:30-64 | libs/cluster/Session/SlotVerification/ClusterSlotVerify.cs:83-114 \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 \u0060libs/cluster/Session/SlotVerification/ClusterSlotVerify.cs:30\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":"libs/cluster/Session/SlotVerification/ClusterSlotVerify.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"1199e01dc4b133446db7fc72bb76ed2857bfde237ffa70f0c60a728252a5d2ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201335 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs:1697-1731 | libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs:1785-1808 \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 \u0060libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs:1697\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":1697}}}],"partialFingerprints":{"codehealthFindingId/v1":"478b3d48a13bce111c26c26c519a39610f8213615f5f38765dd8ea030b25615a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201334 lines \u00D7 2): libs/common/Synchronization/ReadOptimizedLock.cs:462-495 | libs/common/Synchronization/ReadOptimizedLock.cs:507-539 \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 \u0060libs/common/Synchronization/ReadOptimizedLock.cs:462\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Synchronization/ReadOptimizedLock.cs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"26b9cf9606851b9fb0a43128a35370ba1241b56d11353cfbbfcb830e4f944bdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): libs/storage/Tsavorite/cs/src/core/Device/LocalStorageDevice.cs:182-213 | libs/storage/Tsavorite/cs/src/core/Device/ManagedLocalStorageDevice.cs:99-130 | libs/storage/Tsavorite/cs/src/core/Device/RandomAccessLocalStorageDevice.cs:177-208 \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. 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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/storage/Tsavorite/cs/src/core/Device/ManagedLocalStorageDevice.cs:95\u0060 calls \u0060Throttle\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Device/LocalStorageDevice.cs:178\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":"libs/storage/Tsavorite/cs/src/core/Device/LocalStorageDevice.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9224e0163995758f97258be4bc24cf18a95b57ec7da0a1a9bcb35d0e38ae88e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 2): libs/client/ClientSession/GarnetClientSession.cs:527-559 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:621-653 \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":"libs/client/ClientSession/GarnetClientSession.cs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f0a05e19a85d25de746cb78fc7289f2632155c838e028b6d59eb9875e1da5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31\u201332 lines \u00D7 2): libs/server/Resp/Vector/VectorManager.cs:1052-1082 | libs/server/Resp/Vector/VectorManager.cs:1095-1126 \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 \u0060libs/server/Resp/Vector/VectorManager.cs:1052\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":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":1052}}}],"partialFingerprints":{"codehealthFindingId/v1":"86d76976231ee908bd1b257554dd231c52dbd17a45052b8ff185b0361c25955b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (30\u201331 lines \u00D7 3): libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:609-638 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1153-1183 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1411-1441 \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 \u0060libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:609\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":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8cdec9fd129cf88c5337d11d7846352405caf65d475d3d6a60f7884476a725d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): libs/server/Resp/Vector/VectorManager.cs:1249-1279 | libs/server/Resp/Vector/VectorManager.cs:1292-1322 \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 \u0060libs/server/Resp/Vector/VectorManager.cs:1249\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":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"6330e9938ce8cc0d43bbe57b59537e22749ce95a7667f2501fd5c4d20edb44ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/SetOps.cs:452-475 | libs/server/Storage/Session/ObjectStore/SetOps.cs:889-912 \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 \u0060libs/server/Storage/Session/ObjectStore/SetOps.cs:452\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":"libs/server/Storage/Session/ObjectStore/SetOps.cs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e6794abd144d82372fca85677450ea0387089ad5110a3555dec608f7756d27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): libs/client/ClientSession/GarnetClientSession.cs:268-296 | libs/client/GarnetClient.cs:341-369 \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":"libs/client/ClientSession/GarnetClientSession.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bbb2091e5b3deb24f12d9fcdec5f95296deafdd5a5effe65a8a331a0f817d8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): libs/client/ClientSession/GarnetClientSession.cs:301-329 | libs/client/GarnetClient.cs:374-402 \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":"libs/client/ClientSession/GarnetClientSession.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4240ae60c249c52b2ec5a7572190f931613a32d4f2be2597d8cce88ac74a48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201330 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:173-200 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:221-250 \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 \u0060libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:173\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. 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":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"0120d5382eba93ad9b451f9123294938606952b964b0069d9c8619fda9b8eabc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs:311-339 | libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs:308-336 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 236 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs"},"region":{"startLine":311}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a59bbc7c600b3fb197de24990f501a6ed6f2904dea6c4aadbbc71019b2546dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28\u201329 lines \u00D7 2): libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs:437-465 | libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs:510-537 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"87048a94bbe3d4caaff82306b8178da65875f2b769c8dc6fb37f4686d62d0df2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201328 lines \u00D7 5): playground/Bitmap/BitCount.cs:41-44 | playground/Bitmap/BitCount.cs:89-92 | playground/Bitmap/BitCount.cs:201-228 | playground/Bitmap/BitCount.cs:345-372 | playground/Bitmap/BitCount.cs:490-517 \u2014 all 5 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 \u0060playground/Bitmap/BitCount.cs:201\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. 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":"playground/Bitmap/BitCount.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"e668764e722694bc8adf11679738df92171f2f97610331f0cbe31c952310c0d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (28 lines \u00D7 2): libs/server/Resp/Objects/SortedSetCommands.cs:1290-1317 | libs/server/Resp/Objects/SortedSetCommands.cs:1389-1416 \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 \u0060libs/server/Resp/Objects/SortedSetCommands.cs:1290\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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1290}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55aab3ffcf9e94adc2fda8cd3f18b6ed99b5b9e488119128cfdb51f35975c4e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/server/Resp/Vector/VectorManager.ContextMetadata.cs:495-518 | libs/server/Resp/Vector/VectorManager.ContextMetadata.cs:591-614 \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 \u0060libs/server/Resp/Vector/VectorManager.ContextMetadata.cs:495\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.ContextMetadata.cs"},"region":{"startLine":495}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa1ccc488e214464fb443c3dadbd9a2bdb8cf1446855db70010f747cbd2adb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201327 lines \u00D7 2): libs/cluster/Server/ClusterManagerSlotState.cs:82-105 | libs/cluster/Server/ClusterManagerSlotState.cs:147-173 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/cluster/Server/ClusterManagerSlotState.cs:82\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/cluster/Server/ClusterManagerSlotState.cs:175\u0060 calls \u0060foreach\u0060 and \u0060libs/cluster/Server/ClusterManagerSlotState.cs:107\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/ClusterManagerSlotState.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"49857e4a38e9352a16a99c167d3ce95c506fb0c204446bd44d649c4bcb6d7d5d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): libs/common/NumUtils.cs:350-376 | libs/common/NumUtils.cs:389-415 \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 \u0060libs/common/NumUtils.cs:350\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":"libs/common/NumUtils.cs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"8114ba71b7c8001ce5342ccdb1a6f412708da2a66e175f197c0f84db52b62d61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): libs/server/Lua/LuaRunner.Functions.cs:2042-2067 | libs/server/Lua/LuaRunner.Functions.cs:2102-2128 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":2042}}}],"partialFingerprints":{"codehealthFindingId/v1":"b247f2349d3c2cc66349b4ea1035721b8d4009d2d4156da6e559cc3e213f0b42"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): libs/server/Resp/Objects/HashCommands.cs:272-298 | libs/server/Resp/Objects/SortedSetCommands.cs:874-899 \u2014 before extracting anything, compare \u0060libs/server/Resp/Objects/HashCommands.cs\u0060 and \u0060libs/server/Resp/Objects/SortedSetCommands.cs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/Objects/HashCommands.cs:272\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":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"3950ad855440a018846fc790f9ed2d922b14bd5b8e9cce19425035240ae5300a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26\u201327 lines \u00D7 2): libs/server/Resp/Objects/ListCommands.cs:906-931 | libs/server/Resp/Objects/SortedSetCommands.cs:1688-1714 \u2014 before extracting anything, compare \u0060libs/server/Resp/Objects/ListCommands.cs\u0060 and \u0060libs/server/Resp/Objects/SortedSetCommands.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/ListCommands.cs"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c151c9ba1694af3b41e1856904616076210fa9d01688bda6d03d06051356c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201326 lines \u00D7 2): libs/server/Lua/LuaRunner.Functions.cs:2866-2891 | libs/server/Lua/LuaRunner.Functions.cs:2946-2970 \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 \u0060libs/server/Lua/LuaRunner.Functions.cs:2866\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":2866}}}],"partialFingerprints":{"codehealthFindingId/v1":"389ddaee7216ac7e308b9bfe802013b13545a52e05160e99d32b439124e13807"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/server/Resp/Objects/HashCommands.cs:585-608 | libs/server/Resp/Objects/SortedSetCommands.cs:1744-1767 \u2014 before extracting anything, compare \u0060libs/server/Resp/Objects/HashCommands.cs\u0060 and \u0060libs/server/Resp/Objects/SortedSetCommands.cs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"219d748ca10599a526e3c9087e4044d9bedfc87db72b62bd292b46b3429d78d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201326 lines \u00D7 2): libs/server/Resp/PubSubCommands.cs:40-65 | libs/server/Resp/PubSubCommands.cs:87-109 \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 \u0060libs/server/Resp/PubSubCommands.cs:40\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/server/Resp/PubSubCommands.cs:87\u0060 calls \u0060WriteDirectLargeRespString\u0060 and \u0060libs/server/Resp/PubSubCommands.cs:40\u0060 does not \u2014 after which the two agree again for 5 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/PubSubCommands.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"38f0f505a4bef7183f1cb291e56ed7e30e9c0a6da84f676211174a3ff65afdcd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): libs/server/Resp/RangeIndex/RespServerSessionRangeIndex.cs:368-392 | libs/server/Resp/RangeIndex/RespServerSessionRangeIndex.cs:433-457 \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 \u0060libs/server/Resp/RangeIndex/RespServerSessionRangeIndex.cs:368\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":"libs/server/Resp/RangeIndex/RespServerSessionRangeIndex.cs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"af892bb1ed27fc186dfeb23013a5b81c3f8bee626b03f78270c028f9052797ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): libs/server/Storage/Functions/MainStore/RMWMethods.cs:1265-1289 | libs/server/Storage/Functions/MainStore/RMWMethods.cs:1306-1330 \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 \u0060libs/server/Storage/Functions/MainStore/RMWMethods.cs:1265\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":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":1265}}}],"partialFingerprints":{"codehealthFindingId/v1":"438721335259635128e81befc77864d37db138fea6b071f41f6aaeb62a338dc9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): modules/GarnetJSON/JSONPath/ScanFilter.cs:77-99 | modules/GarnetJSON/JSONPath/ScanMultipleFilter.cs:67-89 \u2014 before extracting anything, compare \u0060modules/GarnetJSON/JSONPath/ScanFilter.cs\u0060 and \u0060modules/GarnetJSON/JSONPath/ScanMultipleFilter.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/GarnetJSON/JSONPath/ScanFilter.cs:77\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":"modules/GarnetJSON/JSONPath/ScanFilter.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"13b5024fb05fedca82ca6562bd3b3e60fb0d923554d187537d162e70e60acc44"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 4): libs/server/Lua/LuaRunner.cs:2194-2216 | libs/server/Lua/LuaRunner.cs:2279-2301 | libs/server/Lua/LuaRunner.cs:2363-2385 | libs/server/Lua/LuaRunner.cs:2439-2461 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":2194}}}],"partialFingerprints":{"codehealthFindingId/v1":"09bdfd6797d9ffceabea0c00ca4003bafe862ec2f9ae3fe748cd6d04cb884181"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 4): playground/Bitmap/BitOp.cs:115-139 | playground/Bitmap/BitOp.cs:309-333 | playground/Bitmap/BitOp.cs:479-503 | playground/Bitmap/BitOp.cs:678-702 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"94841889555b43f37e741bfe705729fc8ee903bca29f3965e0cd455f45a144ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:148-166 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:215-233 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:304-322 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"2acf0ad6264b8189201adf71ef37234d2582884394e38282991288dccd55382f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/client/RespReadResponseUtils.cs:128-147 | libs/common/RespReadUtils.cs:962-981 \u2014 before extracting anything, compare \u0060libs/client/RespReadResponseUtils.cs\u0060 and \u0060libs/common/RespReadUtils.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 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 \u0060libs/client/RespReadResponseUtils.cs:128\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":"libs/client/RespReadResponseUtils.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e9068b93d873e632a61cccba8000787c45ee518983c288a5e616405b534fa93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/server/Custom/ExpandableMap.cs:87-110 | libs/server/Custom/ExpandableMap.cs:120-143 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060value\u0060 to \u0060ref T\u0060 in one and \u0060T\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Custom/ExpandableMap.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"09ec78e678eace0f54b364ff8e49eee069c450f0ecf50fb78fac2a815da93edf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/server/Resp/RespServerSession.cs:1329-1352 | libs/server/Resp/RespServerSession.cs:1363-1386 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespServerSession.cs"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89c6d96a5dbc34623b73ed7167f22a542eb6b9b3d0ff54d211664c58881138a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/server/Resp/Vector/RespServerSessionVectors.cs:1273-1295 | libs/server/Resp/Vector/RespServerSessionVectors.cs:1413-1435 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":1273}}}],"partialFingerprints":{"codehealthFindingId/v1":"8168aea5ab45f9231e2ab8df54c36d9462842f6ede13af9958395ae78fd942d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/server/Storage/Functions/MainStore/RMWMethods.cs:591-614 | libs/server/Storage/Functions/MainStore/RMWMethods.cs:631-654 \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 \u0060libs/server/Storage/Functions/MainStore/RMWMethods.cs:591\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":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a8490cf23322b6435b31db69fb02ea497ec2f7c51278bb6dacf4eb35eed262d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): libs/server/Storage/Session/MainStore/RangeIndexOps.cs:320-343 | libs/server/Storage/Session/MainStore/RangeIndexOps.cs:367-391 \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 \u0060libs/server/Storage/Session/MainStore/RangeIndexOps.cs:320\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/MainStore/RangeIndexOps.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8651bc740e10fcfe7471883719c7298a57bbe1b6cb59206641ff5ddd5c39d48"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1128-1150 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1386-1408 \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 \u0060libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1128\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":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db945f3e0a709da111ade6d56b9d0a94fa8c62e982072c48f6d18ea584d4e04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201325 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteAllocatorImpl.cs:55-79 | libs/storage/Tsavorite/cs/src/core/Allocator/TsavoriteLogAllocatorImpl.cs:58-80 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteAllocatorImpl.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Allocator/TsavoriteLogAllocatorImpl.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteAllocatorImpl.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9d0ac345aa27d7cff0955331b7431c3f96eb5314c56f0c9c0951e02eaa60f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:507-530 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:498-521 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 and \u0060playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 364 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc758055b2884bf51db1b68a509d0d76cf3ef4bd38769e223cf3f1001a763b76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs:252-275 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs:348-372 \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 \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs:252\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060entry\u0060 to \u0060out byte[]\u0060 in one and \u0060out IMemoryOwner\u003Cbyte\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"b289c59503422e4550a682f9f6ad7c6ff23808c144d1da4f6592eedca1110134"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): modules/GarnetJSON/JSONPath/ScanArrayIndexFilter.cs:84-107 | modules/GarnetJSON/JSONPath/ScanArrayMultipleIndexFilter.cs:83-106 \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 \u0060modules/GarnetJSON/JSONPath/ScanArrayIndexFilter.cs:84\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":"modules/GarnetJSON/JSONPath/ScanArrayIndexFilter.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"307ef9afc7b8666da5f24d01a0a1add896b9c55d23e2c1a07d3aaca8c9dd340e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 6): libs/server/Resp/Objects/HashCommands.cs:650-671 | libs/server/Resp/Objects/HashCommands.cs:737-758 | libs/server/Resp/Objects/HashCommands.cs:796-817 | libs/server/Resp/Objects/SortedSetCommands.cs:1808-1829 | libs/server/Resp/Objects/SortedSetCommands.cs:1898-1919 | libs/server/Resp/Objects/SortedSetCommands.cs:1964-1985 \u2014 before extracting anything, compare \u0060libs/server/Resp/Objects/HashCommands.cs\u0060 and \u0060libs/server/Resp/Objects/SortedSetCommands.cs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/Objects/HashCommands.cs:650\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":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d5fcfc4c037441779ace4ce07ac8edcb76a140ffbe41692a447fb3f32186dcc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): libs/server/Storage/Session/MainStore/MainStoreOps.cs:21-42 | libs/server/Storage/Session/MainStore/MainStoreOps.cs:160-181 | libs/server/Storage/Session/MainStore/MainStoreOps.cs:219-240 \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 \u0060libs/server/Storage/Session/MainStore/MainStoreOps.cs:21\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":"libs/server/Storage/Session/MainStore/MainStoreOps.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d901b3d89f3b0cf72bd70a5fdeec23d5b029ea3963b84763074c97b8f2946bc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): libs/cluster/Session/MigrateCommand.cs:245-268 | libs/cluster/Session/MigrateCommand.cs:297-320 \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 \u0060libs/cluster/Session/MigrateCommand.cs:245\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":"libs/cluster/Session/MigrateCommand.cs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4302c0cb9d9ba38269e03f17de3593ff9a5edccf962feeb1530cb1f33241011"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/cluster/Session/RespClusterSlotManagementCommands.cs:35-55 | libs/cluster/Session/RespClusterSlotManagementCommands.cs:77-97 \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 \u0060libs/cluster/Session/RespClusterSlotManagementCommands.cs:35\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":"libs/cluster/Session/RespClusterSlotManagementCommands.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccd29990976f6f3bb851667e9d0664fabb91583a7080f079852b36064fcca041"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/cluster/Session/RespClusterSlotManagementCommands.cs:201-222 | libs/cluster/Session/RespClusterSlotManagementCommands.cs:243-264 \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 \u0060libs/cluster/Session/RespClusterSlotManagementCommands.cs:201\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":"libs/cluster/Session/RespClusterSlotManagementCommands.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a998e4971b1b93b781ba92239fddf872c06cefea440f238b89240351afee5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): libs/common/RespReadUtils.cs:782-804 | libs/common/RespReadUtils.cs:889-912 \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 \u0060libs/common/RespReadUtils.cs:889\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060ptr\u0060 to \u0060scoped ref byte*\u0060 in one and \u0060ref byte*\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/RespReadUtils.cs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9f7ad3e60d05c88d43542db4103f08c5c0e2d7ff466b4a432830064dece4c1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/server/Lua/LuaRunner.Functions.cs:2699-2715 | libs/server/Lua/LuaRunner.Functions.cs:2754-2770 \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 \u0060libs/server/Lua/LuaRunner.Functions.cs:2699\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":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":2699}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f5fb7607ed113007260dddcf9856cff8b23507341986f24242b3cdcbba2c93c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/server/Metrics/Latency/RespLatencyCommands.cs:61-67 | libs/server/Metrics/Latency/RespLatencyCommands.cs:107-113 \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 \u0060libs/server/Metrics/Latency/RespLatencyCommands.cs:61\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Metrics/Latency/RespLatencyCommands.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83b5cad615ce8585cb0527a74f2950e57c4182ad262bdb77a8730d6c59b57be"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/server/Objects/Hash/HashObjectImpl.cs:464-485 | libs/server/Objects/SortedSet/SortedSetObjectImpl.cs:919-940 \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 \u0060libs/server/Objects/Hash/HashObjectImpl.cs:464\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/Hash/HashObjectImpl.cs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18f7029f19e8eeeb7221c82839ccdaecf637163a64202fdf6d9925962b46968"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): libs/server/Resp/Bitmap/BitmapCommands.cs:445-467 | libs/server/Resp/Bitmap/BitmapCommands.cs:535-558 \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 \u0060libs/server/Resp/Bitmap/BitmapCommands.cs:445\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/server/Resp/Bitmap/BitmapCommands.cs:470\u0060 calls \u0060EqualsUpperCaseSpanIgnoringCase\u0060 and \u0060libs/server/Resp/Bitmap/BitmapCommands.cs:560\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":"libs/server/Resp/Bitmap/BitmapCommands.cs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"a550a2fbc66536ab793e856d360e7ee05fd10180325ef14e27ba840320a6f8a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/server/Resp/Objects/ListCommands.cs:715-737 | libs/server/Resp/Objects/ListCommands.cs:754-776 \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 \u0060libs/server/Resp/Objects/ListCommands.cs:715\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":"libs/server/Resp/Objects/ListCommands.cs"},"region":{"startLine":715}}}],"partialFingerprints":{"codehealthFindingId/v1":"6266831067b94ecb85be3515a8365eea885b30ef254f8759558c04a44637fc26"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23\u201324 lines \u00D7 2): libs/server/Resp/Objects/SortedSetCommands.cs:1078-1101 | libs/server/Resp/Objects/SortedSetCommands.cs:1369-1391 \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 \u0060libs/server/Resp/Objects/SortedSetCommands.cs:1078\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/server/Resp/Objects/SortedSetCommands.cs:1078\u0060 calls \u0060Slice\u0060 and \u0060libs/server/Resp/Objects/SortedSetCommands.cs:1369\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1078}}}],"partialFingerprints":{"codehealthFindingId/v1":"fec9bfd1c6bf0503026ff0789887bf9a2d6ebd6bc6f50470dc787f7971df66c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/server/Storage/Session/MainStore/MainStoreOps.cs:265-286 | libs/server/Storage/Session/MainStore/MainStoreOps.cs:325-346 \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 \u0060libs/server/Storage/Session/MainStore/MainStoreOps.cs:265\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/server/Storage/Session/MainStore/MainStoreOps.cs:261\u0060 calls \u0060FromPinnedPointer\u0060 and \u0060libs/server/Storage/Session/MainStore/MainStoreOps.cs:322\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":"libs/server/Storage/Session/MainStore/MainStoreOps.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d41f698de0625269a532d5112051e12af53388d4aa03c034185902f2c8d88b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/ListOps.cs:224-237 | libs/server/Storage/Session/ObjectStore/SetOps.cs:267-280 \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 \u0060libs/server/Storage/Session/ObjectStore/ListOps.cs:224\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":"libs/server/Storage/Session/ObjectStore/ListOps.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"0638885c24f0cbfd266afdded6b626503cad8ec1c108bbe040c4811be20c159f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs:157-179 | libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs:156-178 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 236 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dbed632adf1fac8d2e80dee9a059b44f3cdb7d57f3234622847c2a3011b3d40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201324 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs:328-351 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs:256-272 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs:328\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"7459aaced7b5afd68bc3902e466c477332d3fee3a17ace5cdc45d4413b82a62d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 4): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:2215-2236 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:2327-2348 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:2384-2405 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:2442-2463 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2215}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7da8107e5710d9d590070ef2c0cf941764c7664017579f399817befbda9c32"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): libs/client/LightEpoch.cs:377-398 | libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:420-441 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:411-432 \u2014 before extracting anything, compare \u0060libs/client/LightEpoch.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 184 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 \u0060libs/client/LightEpoch.cs:377\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/LightEpoch.cs"},"region":{"startLine":377}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f9fb1fb9159983a17d606513b7546bab0051a05469a28c1d2c9e9573aeb0a73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): libs/client/Utility.cs:87-106 | libs/server/Servers/ServerOptions.cs:283-302 | libs/storage/Tsavorite/cs/src/core/Utilities/Utility.cs:127-146 \u2014 before extracting anything, compare \u0060libs/client/Utility.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Utilities/Utility.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 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":"libs/client/Utility.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0f2c50bbe72b257d7ef03369097f96c9da4d279ac52b3e85af02bc5ebbf58c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): libs/server/Storage/Session/ObjectStore/SetOps.cs:344-363 | libs/server/Storage/Session/ObjectStore/SetOps.cs:517-536 | libs/server/Storage/Session/ObjectStore/SetOps.cs:785-804 \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 \u0060libs/server/Storage/Session/ObjectStore/SetOps.cs:344\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":"libs/server/Storage/Session/ObjectStore/SetOps.cs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"073c3dd7581626e542867f2a01db782f41f79632672fdd9de52fdb5eb9c8558f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/client/Utility.cs:25-46 | libs/storage/Tsavorite/cs/src/core/Utilities/Utility.cs:42-63 \u2014 before extracting anything, compare \u0060libs/client/Utility.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Utilities/Utility.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/Utility.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"c323bd56c67b2267a7dd1595f3118db806316cb848797cbcdb410811c4e25931"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/cluster/Session/RespClusterSlotManagementCommands.cs:22-40 | libs/cluster/Session/RespClusterSlotManagementCommands.cs:189-207 \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":"libs/cluster/Session/RespClusterSlotManagementCommands.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c6ef16f424ef0b72062e5a33b99aadf239604a85fa212a9bd56ef82ae05dbb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/server/Lua/LuaRunner.Functions.Struct.cs:279-298 | libs/server/Lua/LuaRunner.Functions.Struct.cs:1001-1020 \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 \u0060libs/server/Lua/LuaRunner.Functions.Struct.cs:279\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":"libs/server/Lua/LuaRunner.Functions.Struct.cs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"281b7df374968143f4ffd311fdbe3b15f8be18cfb5272a1f4ce96a4b344ae4d1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/server/Resp/Objects/HashCommands.cs:185-205 | libs/server/Resp/Objects/SortedSetCommands.cs:323-343 \u2014 before extracting anything, compare \u0060libs/server/Resp/Objects/HashCommands.cs\u0060 and \u0060libs/server/Resp/Objects/SortedSetCommands.cs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/Objects/HashCommands.cs:185\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":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"26125c6e65f2866b5607f69bf405fa97acb4a64642c1f08b313dfb18de5312a0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/server/Resp/Objects/SetCommands.cs:182-200 | libs/server/Resp/Objects/SortedSetCommands.cs:1194-1212 \u2014 before extracting anything, compare \u0060libs/server/Resp/Objects/SetCommands.cs\u0060 and \u0060libs/server/Resp/Objects/SortedSetCommands.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/Objects/SetCommands.cs:182\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":"libs/server/Resp/Objects/SetCommands.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"df8eb2ac31b06231d4cd9bdef809d82334ff58767d35ae6c06983f144ed57d4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): libs/server/Resp/RangeIndex/RespServerSessionRangeIndex.cs:528-550 | libs/server/Resp/RangeIndex/RespServerSessionRangeIndex.cs:611-632 \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 \u0060libs/server/Resp/RangeIndex/RespServerSessionRangeIndex.cs:528\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RangeIndex/RespServerSessionRangeIndex.cs"},"region":{"startLine":528}}}],"partialFingerprints":{"codehealthFindingId/v1":"4878c52199bfc50d17ba22b32c8ca1eee68f7f7c1b76055de72240505e181014"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201323 lines \u00D7 2): libs/server/Storage/Functions/MainStore/RMWMethods.Etags.cs:84-106 | libs/server/Storage/Functions/MainStore/RMWMethods.Etags.cs:130-150 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/server/Storage/Functions/MainStore/RMWMethods.Etags.cs:126\u0060 calls \u0060MethodImpl\u0060, \u0060HandleSetWithEtagInPlaceUpdate\u0060 and \u0060libs/server/Storage/Functions/MainStore/RMWMethods.Etags.cs:81\u0060 does not \u2014 after which the two agree again for 2 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/RMWMethods.Etags.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"57eeccbfb48609f74618b813745522c2c101965b975d4019bfa08e2b8ac30fdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1085-1105 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1448-1468 \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 \u0060libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1085\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":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":1085}}}],"partialFingerprints":{"codehealthFindingId/v1":"da744a97c0269575f4ba108a1cff6055588ee4c2c592fabf9af5450676671033"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs:103-124 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs:102-123 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs:103\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c074da14ec0f0a897035aa245e2808ecb178ebeb4bdcc95f196f7e6cd47171a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1528-1549 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1578-1599 \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 \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1528\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1601\u0060 calls \u0060TotalSize\u0060, \u0060SerializeTo\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1551\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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7255b2c1431033b9ae59c81b07c03a4bc28ab69226ff227b039008376e28fb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 3): libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs:91-110 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs:97-118 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs:96-117 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs:91\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"45320a29a5eec8da23b7dba1917836f77e54dc3438c590ba42f983a11a535ffa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/client/LightEpoch.cs:505-525 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:529-549 \u2014 before extracting anything, compare \u0060libs/client/LightEpoch.cs\u0060 and \u0060playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 326 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/LightEpoch.cs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"09361679c931d6f59094f1c8fb120ba7b0422457d8fb3161b043ce705de789fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/server/Resp/Vector/RespServerSessionVectors.cs:1656-1676 | libs/server/Resp/Vector/RespServerSessionVectors.cs:1716-1736 \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 \u0060libs/server/Resp/Vector/RespServerSessionVectors.cs:1656\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":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":1656}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab32808f543581d9437285487d540cb26bd58f4d012608a424c1a5419aa4790b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): libs/server/Resp/Vector/VectorManager.ElementData.cs:174-195 | libs/server/Resp/Vector/VectorManager.ElementData.cs:200-221 \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 \u0060libs/server/Resp/Vector/VectorManager.ElementData.cs:174\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.ElementData.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d9064a00c93bc81f7669438cf51b011ff575884339c40879fa6ef1c2b19dc61"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/server/SessionParseStateExtensions.cs:303-320 | libs/server/SessionParseStateExtensions.cs:390-407 \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":"libs/server/SessionParseStateExtensions.cs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"677bdf7fa44a917b7f02e8b7401e8b2c68eed3ad700ea0b8fe7ba26c5e38405d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/Common.cs:247-267 | libs/server/Storage/Session/ObjectStore/Common.cs:380-401 \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 \u0060libs/server/Storage/Session/ObjectStore/Common.cs:247\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/Common.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fcb29dbdb4d2640c60d8fb101b3f4a06d9a7992cf976985eb342dbd17e8e62c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Device/ManagedLocalStorageDevice.cs:174-193 | libs/storage/Tsavorite/cs/src/core/Device/ManagedLocalStorageDevice.cs:283-302 \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 \u0060libs/storage/Tsavorite/cs/src/core/Device/ManagedLocalStorageDevice.cs:174\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/ManagedLocalStorageDevice.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd044b539cf0fca91e991201405763b9f0d80fe615c94fec3f937a5a366b6619"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:957-976 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1045-1064 \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 \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:957\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060entry\u0060 to \u0060byte[]\u0060 in one and \u0060ReadOnlySpan\u003Cbyte\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":957}}}],"partialFingerprints":{"codehealthFindingId/v1":"53166ccf3e20901d8ae5cbfe0d6aa4a3061bd72ed898970b3b6f78c60621ec51"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201322 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:2640-2661 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:2673-2692 \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 \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:2640\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. 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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2640}}}],"partialFingerprints":{"codehealthFindingId/v1":"13411ddd7396ffbf773ae0e302d2086198fa55fe8993711a3446f7dc862896a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): playground/Bitmap/BitCount.cs:241-260 | playground/Bitmap/BitCount.cs:386-405 \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 \u0060playground/Bitmap/BitCount.cs:241\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":"playground/Bitmap/BitCount.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"42030851d6d04985ee9cce2cbb1c1a48154c0e8c04934a718eac81557af1ce6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1690-1709 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1768-1787 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1809-1828 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1850-1869 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1690}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddad3b63ea5c10cb3b295e03d34dbdeda5c510e306852b0014d69923a8715b77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): libs/client/LightEpoch.cs:231-250 | libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:268-287 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:258-277 \u2014 before extracting anything, compare \u0060libs/client/LightEpoch.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:293\u0060 calls \u0060MethodImpl\u0060 and \u0060libs/client/LightEpoch.cs:256\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/LightEpoch.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24c24a433278e750481e0245a9764699d0b347cd827799697f4ad5d7f406e43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 3): libs/server/Lua/LuaRunner.cs:1792-1812 | libs/server/Lua/LuaRunner.cs:1832-1852 | libs/server/Lua/LuaRunner.cs:1872-1893 \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 \u0060libs/server/Lua/LuaRunner.cs:1792\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":1792}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b60c79976212ec80aa84aa21a75b5e1af1b4e6bb937840997f71dd75d13cdd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): libs/client/ClientSession/GarnetClientSessionMigrationExtensions.cs:180-200 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:505-524 \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":"libs/client/ClientSession/GarnetClientSessionMigrationExtensions.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"b139f2b1652d916872f9cd132291f0b80a05e30bb54b4a10e4ea754a26d2faa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/server/InputHeader.cs:388-407 | libs/server/InputHeader.cs:509-528 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/InputHeader.cs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0e050cde42aa1776dec5528cbaa118ceeafde69e5cd7c9035a0d67f0680a348"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/server/Lua/LuaLimitedManagedAllocator.cs:1173-1192 | libs/server/Lua/LuaTrackedAllocator.cs:183-202 \u2014 before extracting anything, compare \u0060libs/server/Lua/LuaLimitedManagedAllocator.cs\u0060 and \u0060libs/server/Lua/LuaTrackedAllocator.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaLimitedManagedAllocator.cs"},"region":{"startLine":1173}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dde68a3ba04645d3ea9bd4c54ef3191aef42f275eb37417e6cef39e2e8efb76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/server/Resp/Vector/RespServerSessionVectors.cs:776-782 | libs/server/Resp/Vector/RespServerSessionVectors.cs:1226-1232 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":776}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a51a4be07f8e11f44e201885d17539ab3fea3ff33181ed8438c3487ed3fd02b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): libs/server/Resp/Vector/VectorManager.cs:1134-1153 | libs/server/Resp/Vector/VectorManager.cs:1328-1347 \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 \u0060libs/server/Resp/Vector/VectorManager.cs:1134\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":1134}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6232f8ac4706a9f36b9a1614c278c6968cc0ea81630f47919120dd97c510778"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/server/Storage/Session/MainStore/RangeIndexOps.cs:477-494 | libs/server/Storage/Session/MainStore/RangeIndexOps.cs:529-546 \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":"libs/server/Storage/Session/MainStore/RangeIndexOps.cs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"16a18a0859cea941d8bfbcbe9470a9d4f99bbd64c64dc64ed8a970571918d64b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201321 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Utilities/BufferPool.Legacy.cs:71-91 | libs/storage/Tsavorite/cs/src/core/Utilities/BufferPool.OriginReturn.cs:468-484 \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 \u0060libs/storage/Tsavorite/cs/src/core/Utilities/BufferPool.Legacy.cs:71\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":"libs/storage/Tsavorite/cs/src/core/Utilities/BufferPool.Legacy.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"54748496f88e5cdae729e38c9f34a4af945f34238c89a80a2193670b47918a24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201321 lines \u00D7 2): playground/CommandInfoUpdater/CommandDocsUpdater.cs:211-230 | playground/CommandInfoUpdater/CommandInfoUpdater.cs:245-265 \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 \u0060playground/CommandInfoUpdater/CommandDocsUpdater.cs:211\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":"playground/CommandInfoUpdater/CommandDocsUpdater.cs"},"region":{"startLine":211}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d8853a7fb257ea47d86dc8345acf5c1195d262d12739d791b4059ec75e554b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19\u201320 lines \u00D7 6): libs/server/Storage/Session/ObjectStore/SetOps.cs:390-409 | libs/server/Storage/Session/ObjectStore/SetOps.cs:561-580 | libs/server/Storage/Session/ObjectStore/SetOps.cs:829-848 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:589-607 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1133-1151 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1391-1409 \u2014 before extracting anything, compare \u0060libs/server/Storage/Session/ObjectStore/SetOps.cs\u0060 and \u0060libs/server/Storage/Session/ObjectStore/SortedSetOps.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Storage/Session/ObjectStore/SetOps.cs:390\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060keys\u0060 to \u0060PinnedSpanByte[]\u0060 in one and \u0060ReadOnlySpan\u003CPinnedSpanByte\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/SetOps.cs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"337653550ad44e896652632a088d91ff52a2cf1dcec09004f880784b0a831a70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): libs/server/Lua/LuaRunner.cs:2221-2240 | libs/server/Lua/LuaRunner.cs:2308-2327 | libs/server/Lua/LuaRunner.cs:2390-2409 | libs/server/Lua/LuaRunner.cs:2468-2487 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Lua/LuaRunner.cs:2221\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/server/Lua/LuaRunner.cs:2409\u0060 calls \u0060Pop\u0060 and \u0060libs/server/Lua/LuaRunner.cs:2240\u0060 does not \u2014 after which the two agree again for 5 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":2221}}}],"partialFingerprints":{"codehealthFindingId/v1":"4172d5926e721d43208538af2b6beb53c1a822f74cf5ab7c5829c6d380a4d6fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 4): libs/server/Resp/Objects/SortedSetCommands.cs:1090-1109 | libs/server/Resp/Objects/SortedSetCommands.cs:1281-1300 | libs/server/Resp/Objects/SortedSetCommands.cs:1380-1399 | libs/server/Resp/Objects/SortedSetCommands.cs:1503-1522 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/Objects/SortedSetCommands.cs:1090\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1090}}}],"partialFingerprints":{"codehealthFindingId/v1":"575311f477d62bf95782b66342fc8a487a3f2fc15978fc6ab01e3a17a81f9582"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): libs/client/LightEpoch.cs:168-186 | libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:205-223 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:195-213 \u2014 before extracting anything, compare \u0060libs/client/LightEpoch.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/LightEpoch.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"932502e50d86a0b8b3fe5c9f3cfe6779752aaf269d4d73f4f40406c4c649ce91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): libs/cluster/Session/RespClusterSlotManagementCommands.cs:64-82 | libs/cluster/Session/RespClusterSlotManagementCommands.cs:231-249 | libs/cluster/Session/RespClusterSlotManagementCommands.cs:305-323 \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. 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":"libs/cluster/Session/RespClusterSlotManagementCommands.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"e046b57c038086851120b6a9844e4bb221a59ef6447c3cc019e69a59e8519cd0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1528-1545 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1578-1595 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1627-1644 \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 \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1528\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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1528}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e38a1cbb6f32004eec624755d1e391a348db1d27a96f3e9b13b33150aad8aa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/common/Format.cs:121-139 | libs/common/Format.cs:196-214 \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 \u0060libs/common/Format.cs:121\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Format.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe20c4172dbe35ae696251a07f03919f947d7788f740043b84da831d85915905"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/server/Objects/Hash/HashObjectImpl.cs:322-338 | libs/server/Objects/Hash/HashObjectImpl.cs:399-415 \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 \u0060libs/server/Objects/Hash/HashObjectImpl.cs:322\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":"libs/server/Objects/Hash/HashObjectImpl.cs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"67087e84c102cf7180ff536a91114061a164e17565d071db3fc8f1f6dce808fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201320 lines \u00D7 2): libs/server/Objects/Hash/HashObjectImpl.cs:442-461 | libs/server/Objects/SortedSet/SortedSetObjectImpl.cs:899-909 \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 \u0060libs/server/Objects/Hash/HashObjectImpl.cs:442\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":"libs/server/Objects/Hash/HashObjectImpl.cs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"a43753151455a975970e7a9aa1406ff3d4493d841e4b887e2848c2be6aa1bfdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/server/Resp/BasicEtagCommands.cs:28-46 | libs/server/Resp/BasicEtagCommands.cs:60-78 \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 \u0060libs/server/Resp/BasicEtagCommands.cs:28\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":"libs/server/Resp/BasicEtagCommands.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f735baba37cf8c45ae4ce7ccc1dee28566667f9afd867e4f074d0cf53d97a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/server/Resp/Objects/HashCommands.cs:689-705 | libs/server/Resp/Objects/HashCommands.cs:768-784 \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":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":689}}}],"partialFingerprints":{"codehealthFindingId/v1":"62490cd8dc09cb66a41b2ff8d0e3181bb201433c8a640c38c555447d7ae4e95a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/server/Resp/Objects/ListCommands.cs:282-298 | libs/server/Resp/Objects/SortedSetCommands.cs:1582-1598 \u2014 before extracting anything, compare \u0060libs/server/Resp/Objects/ListCommands.cs\u0060 and \u0060libs/server/Resp/Objects/SortedSetCommands.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/server/Resp/Objects/ListCommands.cs:278\u0060 calls \u0060TryGetTimeout\u0060, \u0060AbortWithErrorMessage\u0060 and \u0060libs/server/Resp/Objects/SortedSetCommands.cs:1579\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/ListCommands.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"83542f7812461a8738f56d94f40cc30d903ebc1cf80917b9752c52b330ec3322"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/server/Resp/Objects/SortedSetCommands.cs:1851-1867 | libs/server/Resp/Objects/SortedSetCommands.cs:1937-1953 \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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1851}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea64f8890e72e1c48dd0fd9313051e24ff7685607aecf763fdeef979a9114be0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/server/Storage/Functions/VectorStore/VectorSessionFunctions.cs:323-335 | libs/server/Storage/Functions/VectorStore/VectorSessionFunctions.cs:390-402 \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":"libs/server/Storage/Functions/VectorStore/VectorSessionFunctions.cs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"47664794a0e92d6954f3cd3e6733068d78cb718623ac25826330d7df50659882"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/Common.cs:452-469 | libs/server/Storage/Session/ObjectStore/Common.cs:520-537 \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 \u0060libs/server/Storage/Session/ObjectStore/Common.cs:452\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/Common.cs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b0108433f62943b9710494c17d1e94716e66f0404342ea5d4b70d252abd5fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs:134-152 | libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs:133-151 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 236 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"81bf80b9c7d371dbab83caad310105efde882ccf17a1d6a451c2ade9843750a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:807-825 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:760-778 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 and \u0060playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 364 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs"},"region":{"startLine":807}}}],"partialFingerprints":{"codehealthFindingId/v1":"643c81c21cea9a64c7b035ea6dffd01344da5ba2ffa743fa03aa0c224c607d6f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/HashBucket.cs:92-110 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/HashBucket.cs:133-151 \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 \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/HashBucket.cs:92\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/HashBucket.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"51abff649ba27fc37d962b94652cd7b76574b44ea4fc9cf6cd951b3c4e745b86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 10): libs/client/ClientSession/GarnetClientSession.cs:525-543 | libs/client/ClientSession/GarnetClientSessionMigrationExtensions.cs:93-116 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:43-61 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:125-143 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:192-210 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:281-299 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:365-383 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:454-472 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:559-578 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:619-637 \u2014 there are 10 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 10 sites; resolving a subset leaves the remainder to drift apart. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:617\u0060 calls \u0060Enqueue\u0060 and \u0060libs/client/ClientSession/GarnetClientSession.cs:522\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":"libs/client/ClientSession/GarnetClientSession.cs"},"region":{"startLine":525}}}],"partialFingerprints":{"codehealthFindingId/v1":"3234ed6c74fcd70e888b3ad99a692196868d0aa753b2b2eca3e6a80cc8da8ee8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:98-111 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:328-341 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:428-441 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:477-490 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:98\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"46a5bb2d89b98fc7b8dc37aef633cd0a7e206f61259548abd19b6f0703e46c34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 4): libs/server/Resp/Objects/HashCommands.cs:98-115 | libs/server/Resp/Objects/ListCommands.cs:104-122 | libs/server/Resp/Objects/SortedSetCommands.cs:276-293 | libs/server/Resp/Objects/SortedSetCommands.cs:733-750 \u2014 before extracting anything, compare \u0060libs/server/Resp/Objects/HashCommands.cs\u0060 and \u0060libs/server/Resp/Objects/ListCommands.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/Objects/HashCommands.cs:98\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":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"09768e5d19e06608f6dc2ad5ac04257e3a2e00144ae8b6010d33e071bec6b2f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): libs/server/Storage/Session/MainStore/MainStoreOps.cs:25-42 | libs/server/Storage/Session/MainStore/MainStoreOps.cs:136-153 | libs/server/Storage/Session/MainStore/MainStoreOps.cs:164-181 | libs/server/Storage/Session/MainStore/MainStoreOps.cs:223-240 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Storage/Session/MainStore/MainStoreOps.cs:25\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":"libs/server/Storage/Session/MainStore/MainStoreOps.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"adbf31b8fd3fead04997ecf311b25d34834f8c90271e61d51a944b343373eabf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 4): modules/GarnetJSON/JSONPath/ScanArrayMultipleIndexFilter.cs:50-68 | modules/GarnetJSON/JSONPath/ScanArraySliceFilter.cs:85-103 | modules/GarnetJSON/JSONPath/ScanFilter.cs:42-60 | modules/GarnetJSON/JSONPath/ScanMultipleFilter.cs:37-55 \u2014 before extracting anything, compare \u0060modules/GarnetJSON/JSONPath/ScanFilter.cs\u0060 and \u0060modules/GarnetJSON/JSONPath/ScanMultipleFilter.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/GarnetJSON/JSONPath/ScanArrayMultipleIndexFilter.cs:50\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ScanArrayMultipleIndexFilter.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b79f4ca03bdd81dab2c20cce022ae2fd45f71dea3471345a03a5617a63bf7bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): libs/client/ClientSession/GarnetClientSession.cs:268-286 | libs/client/GarnetClient.cs:341-359 | libs/common/LightClient.cs:134-152 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/client/ClientSession/GarnetClientSession.cs:268\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":"libs/client/ClientSession/GarnetClientSession.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f48c0a8aeac4da6ad62b560f2c7a3228b2b854fa60ad56b3bf55dd9545ec493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): libs/client/RespReadResponseUtils.cs:138-151 | libs/common/RespReadUtils.cs:972-985 | libs/common/RespReadUtils.cs:1187-1200 \u2014 before extracting anything, compare \u0060libs/client/RespReadResponseUtils.cs\u0060 and \u0060libs/common/RespReadUtils.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 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 \u0060libs/client/RespReadResponseUtils.cs:138\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/client/RespReadResponseUtils.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0d32a11bb398be24d6c10dc890029b16e5cb05a8c3a85adbdba94ec5c7d6a8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 3): libs/server/Resp/Objects/HashCommands.cs:505-522 | libs/server/Resp/Objects/SortedSetCommands.cs:188-206 | libs/server/Resp/Objects/SortedSetCommands.cs:390-408 \u2014 before extracting anything, compare \u0060libs/server/Resp/Objects/HashCommands.cs\u0060 and \u0060libs/server/Resp/Objects/SortedSetCommands.cs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/Objects/HashCommands.cs:505\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6eab8aef1548a90bdaf3c28b50daf7f1d52199050bb78815d511ef65a27dcdb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:247-260 | libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:674-687 \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 \u0060libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs:247\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c51c9a5f8e573b182a84f099680df2532e9f54305b9f9eb54c9cab3d5b87d13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/server/InputHeader.cs:412-429 | libs/server/InputHeader.cs:533-550 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/InputHeader.cs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"09dfe15b168e3cc89c34819a04d497f2e3ea99146d2698a89926080b8ee3862d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/server/Lua/LuaLimitedManagedAllocator.cs:1149-1166 | libs/server/Lua/LuaTrackedAllocator.cs:159-176 \u2014 before extracting anything, compare \u0060libs/server/Lua/LuaLimitedManagedAllocator.cs\u0060 and \u0060libs/server/Lua/LuaTrackedAllocator.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaLimitedManagedAllocator.cs"},"region":{"startLine":1149}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d22386ba58a7f23cc6abf9ee52c3bc187a44d932a995222eb912389039917ad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/server/Objects/Hash/HashObjectImpl.cs:288-304 | libs/server/Objects/Hash/HashObjectImpl.cs:367-383 \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 \u0060libs/server/Objects/Hash/HashObjectImpl.cs:288\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/Hash/HashObjectImpl.cs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"beffefbd66f85fdddfcdee6f82aa1ecebe3b8901ccc9ca2fa99eb0c30eed7bdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/server/Resp/Bitmap/BitmapManagerBitfield.cs:360-372 | libs/server/Resp/Bitmap/BitmapManagerBitfield.cs:410-422 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapManagerBitfield.cs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e2a331267e2f16efbc8bda6552f31a2836b017302869b90c33a8c6f5112dd96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/server/Resp/Objects/HashCommands.cs:144-158 | libs/server/Resp/Objects/ListCommands.cs:526-540 \u2014 before extracting anything, compare \u0060libs/server/Resp/Objects/HashCommands.cs\u0060 and \u0060libs/server/Resp/Objects/ListCommands.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/Objects/HashCommands.cs:144\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ce85198134583608678e536a75c02f7a9bd1254a52594651f3bf213fdf100d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/server/Resp/PubSubCommands.cs:321-337 | libs/server/Resp/PubSubCommands.cs:401-417 \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 \u0060libs/server/Resp/PubSubCommands.cs:321\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/PubSubCommands.cs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"453f484ae45655434fccbf5035badbdc674a0ac6a7818954f83e84f93c875d47"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/server/Resp/Vector/RespServerSessionVectors.cs:406-420 | libs/server/Resp/Vector/RespServerSessionVectors.cs:427-441 \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":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"50aea2a1b760206ff0bf1df8dd39dbe8a61607983b28657acc537609c154bb46"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201319 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:556-573 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1106-1124 \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 \u0060libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:556\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":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4b63c8c6c80c97274c4e0114612431d7a05a91f0d6f2bb011b7b35ed093bbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteAllocatorImpl.cs:226-244 | libs/storage/Tsavorite/cs/src/core/Allocator/TsavoriteLogAllocatorImpl.cs:117-135 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteAllocatorImpl.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Allocator/TsavoriteLogAllocatorImpl.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteAllocatorImpl.cs:226\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteAllocatorImpl.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a068eae4337f40468c78db68a84152f51d071578f7c379bfbcaa8f9252fb60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Device/ManagedLocalStorageDevice.cs:56-73 | libs/storage/Tsavorite/cs/src/core/Device/RandomAccessLocalStorageDevice.cs:130-147 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/storage/Tsavorite/cs/src/core/Device/RandomAccessLocalStorageDevice.cs:152\u0060 calls \u0060DrainPendingIO\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Device/ManagedLocalStorageDevice.cs:78\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":"libs/storage/Tsavorite/cs/src/core/Device/ManagedLocalStorageDevice.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c1803650f2c9331783c3679e10c4f9b840d940f55bddeb98129c2704ff298a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs:95-113 | libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs:130-148 \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 \u0060libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs:95\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":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9661aea647f7e51d4596e7eaf5c7d10fe36b37052fa32a2f8b591562d94445"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): playground/Bitmap/BitCount.cs:322-340 | playground/Bitmap/BitCount.cs:467-485 \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 \u0060playground/Bitmap/BitCount.cs:322\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitCount.cs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"4910e57ba2f579774c4c4b0b2be37930eaf3874daa63de727871f8c4e91b0a81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): playground/Embedded.perftest/PerformanceTestLoggerProvider.cs:75-92 | playground/MigrateBench/BenchmarkLoggerProvider.cs:76-93 \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":"playground/Embedded.perftest/PerformanceTestLoggerProvider.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41771c2a88648a60aca376821e48f5e3610a12df1f4fa2840c36ae5a127c61c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 5): libs/server/Resp/Objects/ListCommands.cs:282-298 | libs/server/Resp/Objects/ListCommands.cs:371-388 | libs/server/Resp/Objects/ListCommands.cs:906-922 | libs/server/Resp/Objects/SortedSetCommands.cs:1582-1598 | libs/server/Resp/Objects/SortedSetCommands.cs:1688-1704 \u2014 before extracting anything, compare \u0060libs/server/Resp/Objects/ListCommands.cs\u0060 and \u0060libs/server/Resp/Objects/SortedSetCommands.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/Objects/ListCommands.cs:371\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/server/Resp/Objects/ListCommands.cs:278\u0060 calls \u0060TryGetTimeout\u0060, \u0060AbortWithErrorMessage\u0060 and \u0060libs/server/Resp/Objects/SortedSetCommands.cs:1579\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/ListCommands.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"a004a5df19922c8287261f77d0d3b2b1c01b428e1379991254af7701f514cc98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 5): modules/GarnetJSON/JSONPath/ScanArrayIndexFilter.cs:41-58 | modules/GarnetJSON/JSONPath/ScanArrayMultipleIndexFilter.cs:51-67 | modules/GarnetJSON/JSONPath/ScanArraySliceFilter.cs:86-102 | modules/GarnetJSON/JSONPath/ScanFilter.cs:43-59 | modules/GarnetJSON/JSONPath/ScanMultipleFilter.cs:38-54 \u2014 before extracting anything, compare \u0060modules/GarnetJSON/JSONPath/ScanFilter.cs\u0060 and \u0060modules/GarnetJSON/JSONPath/ScanMultipleFilter.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 60 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060modules/GarnetJSON/JSONPath/ScanArrayIndexFilter.cs:41\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060modules/GarnetJSON/JSONPath/ScanArrayMultipleIndexFilter.cs:50\u0060 calls \u0060GetEnumerator\u0060 and \u0060modules/GarnetJSON/JSONPath/ScanArrayIndexFilter.cs:40\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ScanArrayIndexFilter.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"81e7af3391d73c6648c1fa3c6f801e5b0f218d892f7fe900ac8bf75e906b7346"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): libs/server/Lua/LuaRunner.Functions.cs:388-405 | libs/server/Lua/LuaRunner.Functions.cs:3184-3201 | libs/server/Lua/LuaRunner.Functions.cs:3202-3219 | libs/server/Lua/LuaRunner.Functions.cs:3236-3253 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Lua/LuaRunner.Functions.cs:388\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"10cb65c79863ade8645fd7609c37e4c8b8f3c1106c832f67fc9bee01cab03947"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201318 lines \u00D7 8): playground/Bitmap/BitOp.cs:141-158 | playground/Bitmap/BitOp.cs:159-161 | playground/Bitmap/BitOp.cs:338-355 | playground/Bitmap/BitOp.cs:356-358 | playground/Bitmap/BitOp.cs:508-525 | playground/Bitmap/BitOp.cs:526-528 | playground/Bitmap/BitOp.cs:707-724 | playground/Bitmap/BitOp.cs:725-727 \u2014 all 8 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"997f4dfbca7308e914a0bc7ee05c07de3968a1ce66f6ecc7da52e4279c46bc7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): libs/cluster/Server/ClusterManagerSlotState.cs:232-247 | libs/cluster/Server/ClusterManagerSlotState.cs:292-309 \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 \u0060libs/cluster/Server/ClusterManagerSlotState.cs:232\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/cluster/Server/ClusterManagerSlotState.cs:289\u0060 calls \u0060foreach\u0060 and \u0060libs/cluster/Server/ClusterManagerSlotState.cs:230\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/ClusterManagerSlotState.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a37740b435a81ae5bb2ad67f193685a40587b3533d2a0569939760e4376dd366"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/cluster/Session/RespClusterBasicCommands.cs:562-579 | libs/cluster/Session/RespClusterBasicCommands.cs:636-653 \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 \u0060libs/cluster/Session/RespClusterBasicCommands.cs:562\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/RespClusterBasicCommands.cs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e73153a0c2003979f62da6e87eb8e9575b9a83a3597ae776352f22b2d6255d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/cluster/Session/RespClusterSlotManagementCommands.cs:148-164 | libs/cluster/Session/RespClusterSlotManagementCommands.cs:361-377 \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 \u0060libs/cluster/Session/RespClusterSlotManagementCommands.cs:148\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/RespClusterSlotManagementCommands.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"544b6dc56191f34c47e7da6c238a50af7062571004b441f85344996389704a4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/server/Lua/LuaRunner.cs:758-770 | libs/server/Lua/LuaRunner.cs:842-854 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a898785e60b5859ee3c468789b62f1cc057d14dcb12a235ec9772ee9c66b1a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): libs/server/Lua/LuaRunner.cs:1017-1034 | libs/server/Lua/LuaRunner.cs:1075-1093 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":1017}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a42400d103e4c9c100fac881e354762378cf217fc9bfca9bdf2692c612a3520"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/server/Lua/LuaRunner.Functions.cs:2527-2542 | libs/server/Lua/LuaRunner.Functions.cs:2564-2579 \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 \u0060libs/server/Lua/LuaRunner.Functions.cs:2527\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":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":2527}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a8bd81733b927643d05b5640ebbd86141766dd42f58afa501c59d4c42ab3850"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/server/Resp/Objects/ListCommands.cs:618-633 | libs/server/Resp/Objects/ListCommands.cs:672-687 \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 \u0060libs/server/Resp/Objects/ListCommands.cs:618\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":"libs/server/Resp/Objects/ListCommands.cs"},"region":{"startLine":618}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bdd3ccae5b45cf448ab9ac56e4137fb049db0ed6d06dbb53af53562ad28dbad"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/server/Resp/Vector/VectorManager.Locking.cs:213-228 | libs/server/Resp/Vector/VectorManager.Locking.cs:472-487 \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 \u0060libs/server/Resp/Vector/VectorManager.Locking.cs:213\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":"libs/server/Resp/Vector/VectorManager.Locking.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccad4034303def162b66fe05ebd97d06018e046963ba466b343b471d0f321588"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201318 lines \u00D7 2): libs/server/Storage/Functions/MainStore/PrivateMethods.cs:406-423 | libs/server/Storage/Functions/MainStore/PrivateMethods.cs:445-460 \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. 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":"libs/server/Storage/Functions/MainStore/PrivateMethods.cs"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c65f77c577e903a9fae903c2bfb974f3d0754fdcaa3f3adea3ecdabc96b4b98"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/server/Storage/Session/MainStore/RangeIndexOps.cs:613-629 | libs/server/Storage/Session/MainStore/RangeIndexOps.cs:663-679 \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 \u0060libs/server/Storage/Session/MainStore/RangeIndexOps.cs:613\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":"libs/server/Storage/Session/MainStore/RangeIndexOps.cs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"271cc34da74fbcc710ceb86b366f8b2fc1818cae7804072a517a11103994acc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs:75-91 | libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs:74-90 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 236 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"22102cd3641652dd4253ed779f00d9a6139de535a9f965a4fff71c591ea4633e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:868-884 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:821-837 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 and \u0060playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 364 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4998001bebe79565c40732519220a1d8c0814a77506a096f21321bfd68eb181"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 4): libs/server/Storage/Session/ObjectStore/SetOps.cs:347-363 | libs/server/Storage/Session/ObjectStore/SetOps.cs:520-536 | libs/server/Storage/Session/ObjectStore/SetOps.cs:788-804 | libs/server/Storage/Session/ObjectStore/SetOps.cs:948-963 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Storage/Session/ObjectStore/SetOps.cs:347\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060keys\u0060 to \u0060PinnedSpanByte[]\u0060 in one and \u0060ReadOnlySpan\u003CPinnedSpanByte\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/SetOps.cs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"a074d58e14c6d18d6d5b3679e9b27454c13c21c8eb6ee1f2571555c96ac7aada"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:540-555 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1090-1105 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1453-1468 \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 \u0060libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:540\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":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"822cb7d661c654814d052c876695c731f1992220a6f962682fe5e56884dbc56c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): libs/cluster/Server/ClusterManagerSlotState.cs:214-228 | libs/cluster/Server/ClusterManagerSlotState.cs:268-284 \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 \u0060libs/cluster/Server/ClusterManagerSlotState.cs:214\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":"libs/cluster/Server/ClusterManagerSlotState.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"4522fccca7475021667d12314bce90a1ee77d1eebd89b33e117bd145c08c5155"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): libs/cluster/Session/ClusterSession.cs:139-154 | libs/server/Resp/RespServerSession.cs:1433-1449 \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":"libs/cluster/Session/ClusterSession.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a52cea8e5624f1a3d103e34ad86fd55935b930c5aa2bbfe5fd45b91e3c14d9e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/common/Format.cs:93-107 | libs/common/Format.cs:168-182 \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 \u0060libs/common/Format.cs:93\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/common/Format.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"578944c335b49b52e2902219d55222446da7ac176ea2ea5e25bbc76989c96ea4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/server/ByteArrayWrapper.cs:52-67 | libs/server/Resp/ByteArrayComparer.cs:38-53 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/ByteArrayWrapper.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f13ce77db362c1e7442885e0d37b267714faee838e7ef83470a9f26da5896b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/server/Lua/LuaRunner.cs:793-799 | libs/server/Lua/LuaRunner.cs:877-883 \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 \u0060libs/server/Lua/LuaRunner.cs:793\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":793}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4d6da64ef760ae4a0b93f190c8c5f451e66d60315f4a1f0d816a1189d4471b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/server/Lua/LuaRunner.Functions.cs:2587-2603 | libs/server/Lua/LuaRunner.Functions.cs:2726-2743 \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 \u0060libs/server/Lua/LuaRunner.Functions.cs:2587\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":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":2587}}}],"partialFingerprints":{"codehealthFindingId/v1":"af1d637757b9d272a7b7ace516e286e532af3f1e0e6ab62ef2da9bedcfe6289f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): libs/server/Lua/LuaRunner.Functions.Struct.cs:346-363 | libs/server/Lua/LuaRunner.Functions.Struct.cs:765-781 \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 \u0060libs/server/Lua/LuaRunner.Functions.Struct.cs:346\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":"libs/server/Lua/LuaRunner.Functions.Struct.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ff6a3e5e36e83b874e2fe383a9542050e2d65c7cb9f88d73e917ec0e20ea6fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): libs/server/Resp/ACLCommands.cs:324-340 | libs/server/Resp/ACLCommands.cs:364-379 \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 \u0060libs/server/Resp/ACLCommands.cs:324\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/ACLCommands.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"3353cea328aa58c20559dba2f19e3f9729bf0ced6c91d5a6b570e062280e091b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/server/Resp/BasicCommands.cs:1361-1373 | libs/server/Resp/BasicCommands.cs:1397-1409 \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":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":1361}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1a83f158a705ff03ee5eb78cd001bf2518c064071e697235c8204267113455"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/server/Resp/HyperLogLog/HyperLogLog.cs:841-855 | libs/server/Resp/HyperLogLog/HyperLogLog.cs:907-921 \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 \u0060libs/server/Resp/HyperLogLog/HyperLogLog.cs:841\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae654bab7f5ad757de23156529d12eb29c93afc16d16de882c7be32fde3f784"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/server/Resp/Objects/ListCommands.cs:455-467 | libs/server/Resp/Objects/ListCommands.cs:503-515 \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":"libs/server/Resp/Objects/ListCommands.cs"},"region":{"startLine":455}}}],"partialFingerprints":{"codehealthFindingId/v1":"f541c383fca20c4e4a640501fd8e1a041f5171b1bc170beace713f834f03431f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201317 lines \u00D7 2): libs/server/Resp/Objects/ListCommands.cs:881-897 | libs/server/Resp/Objects/SortedSetCommands.cs:1666-1680 \u2014 before extracting anything, compare \u0060libs/server/Resp/Objects/ListCommands.cs\u0060 and \u0060libs/server/Resp/Objects/SortedSetCommands.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/Objects/ListCommands.cs:881\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":"libs/server/Resp/Objects/ListCommands.cs"},"region":{"startLine":881}}}],"partialFingerprints":{"codehealthFindingId/v1":"886b37d6b51dc1fc75d9696063573896f21b947e2cb66ef82857634f908a6c21"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/server/Resp/PubSubCommands.cs:226-241 | libs/server/Resp/PubSubCommands.cs:267-282 \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 \u0060libs/server/Resp/PubSubCommands.cs:226\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":"libs/server/Resp/PubSubCommands.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ae789f890ff3de1c12a4510d498f8c8a363bf5ac7bb93b32dc7953f48f30b43"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/SetOps.cs:63-79 | libs/server/Storage/Session/ObjectStore/SetOps.cs:127-142 \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 \u0060libs/server/Storage/Session/ObjectStore/SetOps.cs:63\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":"libs/server/Storage/Session/ObjectStore/SetOps.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dbd23078e0fc04972d23267eb823deb2f8fd2f5cbc6865e252e08846932513c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): modules/GarnetJSON/JSONPath/ScanArrayMultipleIndexFilter.cs:40-55 | modules/GarnetJSON/JSONPath/ScanArrayMultipleIndexFilter.cs:78-94 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ScanArrayMultipleIndexFilter.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f19b0b396f82d642c9c8b417b8af93341899491ced21139a723b46ab1a53d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): libs/server/Resp/Objects/SortedSetCommands.cs:1027-1040 | libs/server/Resp/Objects/SortedSetCommands.cs:1221-1234 | libs/server/Resp/Objects/SortedSetCommands.cs:1321-1334 | libs/server/Resp/Objects/SortedSetCommands.cs:1546-1559 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/Objects/SortedSetCommands.cs:1027\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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1027}}}],"partialFingerprints":{"codehealthFindingId/v1":"20ba17f27f98c3eba214f47ed7dd868badad5464ecee37bd0f00029a873ffec3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/server/Resp/KeyAdminCommands.cs:373-383 | libs/server/Resp/Objects/HashCommands.cs:590-600 | libs/server/Resp/Objects/SortedSetCommands.cs:1749-1759 \u2014 before extracting anything, compare \u0060libs/server/Resp/Objects/HashCommands.cs\u0060 and \u0060libs/server/Resp/Objects/SortedSetCommands.cs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"libs/server/Resp/KeyAdminCommands.cs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae89f02dd7f2e5a48fbf6585b52c80d119d5ecf4c62350ef76f12845ac883c4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): libs/server/Storage/Session/MainStore/RangeIndexOps.cs:417-432 | libs/server/Storage/Session/MainStore/RangeIndexOps.cs:473-488 | libs/server/Storage/Session/MainStore/RangeIndexOps.cs:525-540 \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 \u0060libs/server/Storage/Session/MainStore/RangeIndexOps.cs:417\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":"libs/server/Storage/Session/MainStore/RangeIndexOps.cs"},"region":{"startLine":417}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbcc9d86fceccf5fcbe3cd8a42e04e1f8faf85f23db3a3f1b88fa443490c72e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/cluster/Session/RespClusterSlotManagementCommands.cs:273-287 | libs/cluster/Session/RespClusterSlotManagementCommands.cs:634-648 \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":"libs/cluster/Session/RespClusterSlotManagementCommands.cs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"90101a7a27a876da047371c10476a8b5285448e7f895a73bf1f200138a03ecc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/cluster/Session/RespClusterSlotManagementCommands.cs:488-500 | libs/cluster/Session/RespClusterSlotManagementCommands.cs:588-600 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/RespClusterSlotManagementCommands.cs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2e75b0348371fd302312775ec9a1ec88ac01cac1b91dbffe8535fa5068d7e73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/server/Lua/LuaRunner.cs:919-935 | libs/server/Lua/LuaRunner.cs:993-1008 \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 \u0060libs/server/Lua/LuaRunner.cs:919\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":919}}}],"partialFingerprints":{"codehealthFindingId/v1":"8923555146a035a8875f0f4c36f149d05828129d101fee4e385392c6f228e4e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/server/Lua/LuaRunner.Functions.cs:96-108 | libs/server/Lua/LuaRunner.Functions.cs:129-141 \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 \u0060libs/server/Lua/LuaRunner.Functions.cs:96\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":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"02c22121a5544078f38e9909a8d9ec00e489b5c6fd6e1a4e9c3a06155e0aeef5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/server/Lua/LuaRunner.Functions.cs:2569-2577 | libs/server/Lua/LuaRunner.Functions.cs:2614-2622 \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 \u0060libs/server/Lua/LuaRunner.Functions.cs:2569\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":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":2569}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d3de847f355190deeaa652e4f9bc70abc9a50b7932f601230132d11a84cfef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/server/Resp/Objects/ListCommands.cs:555-566 | libs/server/Resp/Objects/ListCommands.cs:654-665 \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":"libs/server/Resp/Objects/ListCommands.cs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"57825d45971587e4c93ad4375c7cbe2b1bb7f3c49f055a8ca9db652117174913"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/server/Resp/Vector/RespServerSessionVectors.cs:870-881 | libs/server/Resp/Vector/RespServerSessionVectors.cs:888-899 \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":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b323c8cb890620f31fcd841d29ff751e39285472b15cdce6b4f75ab2e3ff320"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): libs/server/Storage/Functions/MainStore/RMWMethods.cs:443-458 | libs/server/Storage/Functions/UnifiedStore/RMWMethods.cs:156-171 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Storage/Functions/MainStore/RMWMethods.cs:443\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060input\u0060 to \u0060ref StringInput\u0060 in one and \u0060ref UnifiedInput\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/server/Storage/Functions/UnifiedStore/RMWMethods.cs:154\u0060 calls \u0060InPlaceUpdater\u0060 and \u0060libs/server/Storage/Functions/MainStore/RMWMethods.cs:441\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":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c4537c5de1b2d61a3b18b3d4d2c26a340de7376d9c3629c9652e1182d70b9d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/server/Storage/Functions/MainStore/RMWMethods.cs:1179-1193 | libs/server/Storage/Functions/MainStore/RMWMethods.cs:1199-1213 \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 \u0060libs/server/Storage/Functions/MainStore/RMWMethods.cs:1179\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":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1b6fe3cad1a712c1b9640f36246ad74e6c2fc047ac7f226380f2cf98c5ca0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): libs/server/Storage/Session/MainStore/HyperLogLogOps.cs:104-119 | libs/server/Storage/Session/MainStore/HyperLogLogOps.cs:205-219 \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 \u0060libs/server/Storage/Session/MainStore/HyperLogLogOps.cs:104\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/MainStore/HyperLogLogOps.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"181ea06ff3da13bb671b7a6f28c2fb29a7f45d1c04f507c1d60622be4b363388"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/SetOps.cs:33-45 | libs/server/Storage/Session/ObjectStore/SetOps.cs:96-108 \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 \u0060libs/server/Storage/Session/ObjectStore/SetOps.cs:33\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/SetOps.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe16fd154ce197bfc4fc7844bcb1cd097b2b252cc822d6a00412e7fcd4f775c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1232-1240 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1294-1302 \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":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":1232}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81973f9990c06c850b06d07183699165e09c68327d194afa30412f2a398487a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs:173-187 | libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs:287-302 \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 \u0060libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs:173\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":"libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e196e24df1b72cb2f8f75ac9d66d51f87aa02d1eacb14172254e22f47e1447c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:484-498 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:475-489 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 and \u0060playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 364 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs"},"region":{"startLine":484}}}],"partialFingerprints":{"codehealthFindingId/v1":"049b9d79c9ee7be704279d5e4a4c3d7ba79fe9d0f9ad17dd94893150bbb1752b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): modules/GarnetJSON/JSONPath/ArrayIndexFilter.cs:71-85 | modules/GarnetJSON/JSONPath/FieldFilter.cs:84-99 \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":"modules/GarnetJSON/JSONPath/ArrayIndexFilter.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6689706387540ccd4fbe5995890d0377a6373a71ee014382dbf75fd880bc889"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 8): libs/server/Resp/Objects/HashCommands.cs:322-336 | libs/server/Resp/Objects/HashCommands.cs:365-379 | libs/server/Resp/Objects/HashCommands.cs:408-421 | libs/server/Resp/Objects/HashCommands.cs:449-462 | libs/server/Resp/Objects/SetCommands.cs:331-345 | libs/server/Resp/Objects/SetCommands.cs:375-389 | libs/server/Resp/Objects/SortedSetCommands.cs:74-87 | libs/server/Resp/Objects/SortedSetCommands.cs:115-129 \u2014 before extracting anything, compare \u0060libs/server/Resp/Objects/HashCommands.cs\u0060 and \u0060libs/server/Resp/Objects/SortedSetCommands.cs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/Objects/HashCommands.cs:322\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":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae492b5535a3cb802438005d9cfccf093f93bcc4d0c6220fbcbfd82d7c7fb10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): libs/server/Resp/Objects/SetCommands.cs:137-150 | libs/server/Resp/Objects/SetCommands.cs:208-221 | libs/server/Resp/Objects/SetCommands.cs:292-305 | libs/server/Resp/Objects/SetCommands.cs:761-774 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/Objects/SetCommands.cs:137\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":"libs/server/Resp/Objects/SetCommands.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"5405378cefef38ea32a8936d15d993cb276beb8cba56247e59d67ac5e860b651"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 4): playground/Bitmap/BitCount.cs:61-75 | playground/Bitmap/BitCount.cs:196-208 | playground/Bitmap/BitCount.cs:340-352 | playground/Bitmap/BitCount.cs:485-497 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitCount.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"60a8ba8182cada6e96cf48d03baf7f1c03976560626aba643cc9dbf0bbb93053"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): libs/common/RespReadUtils.cs:722-736 | libs/common/RespReadUtils.cs:785-799 | libs/common/RespReadUtils.cs:892-906 \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 \u0060libs/common/RespReadUtils.cs:722\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060ptr\u0060 to \u0060ref byte*\u0060 in one and \u0060scoped ref byte*\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/RespReadUtils.cs"},"region":{"startLine":722}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e49967d17a3f5dfeb394f00eb72105d2a4604aad08683740acf358187beff8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): libs/server/Resp/Vector/VectorManager.Filter.cs:111-125 | libs/server/Resp/Vector/VectorManager.cs:999-1012 | libs/server/Resp/Vector/VectorManager.cs:1198-1211 \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 \u0060libs/server/Resp/Vector/VectorManager.Filter.cs:111\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/server/Resp/Vector/VectorManager.cs:1194\u0060 calls \u0060EnsureDistanceBufferSize\u0060, \u0060EnsureIdBufferSize\u0060 and \u0060libs/server/Resp/Vector/VectorManager.cs:991\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":"libs/server/Resp/Vector/VectorManager.Filter.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda82c11dfea5617f8d4dfd8fff4805cffab4f22e4ab1aeb7805d39a8e442301"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:825-838 | libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:852-865 \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 \u0060libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:825\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":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"600925f6d0dd31057bbca10f1871163d938f4e1ecc2694025b87bce13d335e25"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:879-892 | libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:906-919 \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 \u0060libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:879\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":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb16805c4d73b4d1c467e06d77a280b8fdf7756c7313f5863471d4a141afbb0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/cluster/Session/MigrateCommand.cs:361-374 | libs/cluster/Session/RespClusterReplicationCommands.cs:278-292 \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":"libs/cluster/Session/MigrateCommand.cs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8a670d929e74c5963f01af24e5618aab7b1b9bebf1f6933203a9dbfd62f1aeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/cluster/Session/RespClusterReplicationCommands.cs:459-471 | libs/cluster/Session/RespClusterReplicationCommands.cs:506-518 \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 \u0060libs/cluster/Session/RespClusterReplicationCommands.cs:459\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/RespClusterReplicationCommands.cs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"f59a1fc6afa3004c385f43784d43a9c2378de072b333754ef5450010895fa5d7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/common/AsciiUtils.cs:97-109 | libs/common/AsciiUtils.cs:129-141 \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 \u0060libs/common/AsciiUtils.cs:97\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":"libs/common/AsciiUtils.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"a00cc816e5337f7d09b5a518320564c44238188bcf08dd466a1d096899918a96"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/server/Custom/CustomRespCommands.cs:130-143 | libs/server/Custom/CustomRespCommands.cs:207-221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Custom/CustomRespCommands.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"124a138d24908ac4682778ce59cd94be4784b8b8416cbc8756399a6a819f2e1a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/server/Lua/LuaRunner.Functions.cs:70-83 | libs/server/Lua/LuaRunner.Functions.cs:189-203 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note 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":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbfe61d9f2de1b92c9d9124e5700a8c2827e56bde8ec8cb8b23cf9e5d4f3017a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/server/Lua/LuaRunner.Functions.cs:2550-2564 | libs/server/Lua/LuaRunner.Functions.cs:2679-2694 \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 \u0060libs/server/Lua/LuaRunner.Functions.cs:2550\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":2550}}}],"partialFingerprints":{"codehealthFindingId/v1":"19b45800cf779845a4cd4c8417284d35ee22174c0a8d89076f4ebad718c76dfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 3): libs/server/Lua/LuaRunner.Functions.Struct.cs:462-476 | libs/server/Lua/LuaRunner.Functions.Struct.cs:478-492 | libs/server/Lua/LuaRunner.Functions.Struct.cs:500-512 \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 \u0060libs/server/Lua/LuaRunner.Functions.Struct.cs:462\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.Struct.cs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad263bfc925fcabd4fa12ef3c24c598421567dc625df9cd5c0c2c8ddf252ce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/server/Resp/Objects/SortedSetCommands.cs:556-568 | libs/server/Resp/Objects/SortedSetCommands.cs:789-801 \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 \u0060libs/server/Resp/Objects/SortedSetCommands.cs:556\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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee692608fbd296c36b83468d7849c8613870799bf7bcfd622027b328e2ca7bd2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/server/Resp/Vector/RespServerSessionVectors.cs:593-607 | libs/server/Resp/Vector/RespServerSessionVectors.cs:1050-1064 \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 \u0060libs/server/Resp/Vector/RespServerSessionVectors.cs:593\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":593}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fc2f955931ee07501bcb875ad8b599c8d4f625dc9e2e8d68a2fcc81b4147d27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): libs/server/Storage/Functions/MainStore/RMWMethods.cs:758-772 | libs/server/Storage/Functions/MainStore/RMWMethods.cs:826-840 \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":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"235adf284318bab98e3687364f965277d28a5a3d7735a0abb67d5815cbe8d3e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/SortedSetGeoOps.cs:121-133 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:727-741 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/server/Storage/Session/ObjectStore/SortedSetGeoOps.cs:135\u0060 calls \u0060RespMemoryWriter\u0060 and \u0060libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:743\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/SortedSetGeoOps.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0073de5b5b28613b75da652c509b356123936a05f0eed87b629911536d595d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:659-671 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:951-965 \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 \u0060libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:659\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"28658639f9c20b4c4a6afec989ac82848c3477b266c9b2a4a55ad702325c1ec0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201315 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs:140-152 | libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs:575-589 \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 \u0060libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs:575\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":"libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"278489a5d8dff83ece32f104ec6a890938b254df8f65fd1203cf9a816d7b3788"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs:56-70 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs:54-67 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs:56\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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"3734dbea57bf6553ec24bad1ffd94e502dc2dca29fc780479870a6b90def0e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 14): libs/server/Resp/Objects/HashCommands.cs:329-342 | libs/server/Resp/Objects/HashCommands.cs:372-384 | libs/server/Resp/Objects/HashCommands.cs:414-426 | libs/server/Resp/Objects/HashCommands.cs:455-467 | libs/server/Resp/Objects/ListCommands.cs:626-639 | libs/server/Resp/Objects/ListCommands.cs:680-693 | libs/server/Resp/Objects/SetCommands.cs:338-351 | libs/server/Resp/Objects/SetCommands.cs:382-395 | libs/server/Resp/Objects/SetCommands.cs:606-619 | libs/server/Resp/Objects/SortedSetCommands.cs:80-92 | libs/server/Resp/Objects/SortedSetCommands.cs:122-135 | libs/server/Resp/Objects/SortedSetCommands.cs:559-572 | libs/server/Resp/Objects/SortedSetCommands.cs:627-640 | libs/server/Resp/Objects/SortedSetCommands.cs:792-804 \u2014 before extracting anything, compare \u0060libs/server/Resp/Objects/HashCommands.cs\u0060 and \u0060libs/server/Resp/Objects/ListCommands.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/Objects/HashCommands.cs:329\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":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"61b7122834846859efa7bbbb10cea294128e27a7be1b260dd43a924fc937ee66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 8): libs/server/Storage/Session/ObjectStore/SetOps.cs:344-353 | libs/server/Storage/Session/ObjectStore/SetOps.cs:517-526 | libs/server/Storage/Session/ObjectStore/SetOps.cs:785-794 | libs/server/Storage/Session/ObjectStore/SetOps.cs:945-954 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:537-546 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1087-1096 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1321-1330 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1450-1459 \u2014 before extracting anything, compare \u0060libs/server/Storage/Session/ObjectStore/SetOps.cs\u0060 and \u0060libs/server/Storage/Session/ObjectStore/SortedSetOps.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Storage/Session/ObjectStore/SetOps.cs:344\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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060keys\u0060 to \u0060PinnedSpanByte[]\u0060 in one and \u0060ReadOnlySpan\u003CPinnedSpanByte\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/SetOps.cs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c7c5fce097492713be11fde916c59f4ab80e6c25652cc1683367be0e6585bf3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 5): libs/server/Lua/LuaRunner.cs:758-772 | libs/server/Lua/LuaRunner.cs:842-856 | libs/server/Lua/LuaRunner.cs:971-985 | libs/server/Lua/LuaRunner.cs:1022-1036 | libs/server/Lua/LuaRunner.cs:1082-1095 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/server/Lua/LuaRunner.cs:753\u0060 calls \u0060TryReadSignedMapLength\u0060 and \u0060libs/server/Lua/LuaRunner.cs:966\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":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":758}}}],"partialFingerprints":{"codehealthFindingId/v1":"ded114b2f58ceb52a714f8e7521b2063130e70108bd0759774c0ac64cdb45290"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): libs/server/Lua/LuaRunner.Functions.cs:2529-2540 | libs/server/Lua/LuaRunner.Functions.cs:2566-2577 | libs/server/Lua/LuaRunner.Functions.cs:2611-2622 \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 \u0060libs/server/Lua/LuaRunner.Functions.cs:2529\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":2529}}}],"partialFingerprints":{"codehealthFindingId/v1":"c41fb623c1ad98a2b435225607d563900fdda782f33cacb75aaa76567253a257"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1305-1315 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1339-1349 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1380-1390 \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 \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1305\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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"23be3c22191847cd4a08768ce47df223242c36bfd4597118434c5ec18caf9ca8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:146-158 | libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:172-184 \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 \u0060libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:146\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":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"888b3dd9656cc903493928bc3983d78fb0e5f52ea9c77896b23e5b6c30e70969"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:197-209 | libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:223-235 \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 \u0060libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:197\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":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cfff3d2ebab2f958e28c938bd7e1e83bb668ef09b15c07ab15570ab2acfc29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:374-386 | libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:400-412 \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 \u0060libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:374\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":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d38a6e23bf19fbb3e04396d1de6cccb55a66f5fa3329bf84c5d83ea7e85f1d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:425-437 | libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:449-461 \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 \u0060libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:425\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"8850637becfdebfba7514c33c6a04d54957fd74d91db910bc2e48b801bfdac8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:598-610 | libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:625-637 \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 \u0060libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:598\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":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"738a6208a76cd60da7512caa9f96c549279917a70772b7e778632b43c41da08f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:651-663 | libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:676-688 \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 \u0060libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:651\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":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"557318bb54601961d6deed7809f420d37b4274c57178eb5f8de4b39ef25ae9ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:1031-1043 | libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:1056-1068 \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 \u0060libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs:1031\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":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbeab394ade720158625a0fc719f97611a009cc5b61f779f514dcee74a79827"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/client/LightEpoch.cs:533-545 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:557-569 \u2014 before extracting anything, compare \u0060libs/client/LightEpoch.cs\u0060 and \u0060playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 326 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/LightEpoch.cs"},"region":{"startLine":533}}}],"partialFingerprints":{"codehealthFindingId/v1":"528999eb8fde71cd2e59476d6d3bf7a424e4ffe0d95e83ce79a2568fad03966c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/client/RespReadResponseUtils.cs:79-91 | libs/common/RespReadUtils.cs:926-938 \u2014 before extracting anything, compare \u0060libs/client/RespReadResponseUtils.cs\u0060 and \u0060libs/common/RespReadUtils.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/RespReadResponseUtils.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1510a2b28020849f72e7f2f7645a7ba0d3e9d17a68b6b7f400a4b2678da8e4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/cluster/Server/Replication/ReplicationManager.cs:428-440 | libs/cluster/Server/Replication/ReplicationManager.cs:444-456 \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 \u0060libs/cluster/Server/Replication/ReplicationManager.cs:428\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/ReplicationManager.cs"},"region":{"startLine":428}}}],"partialFingerprints":{"codehealthFindingId/v1":"18c201e228cb2e9eb9734f9fc50a5141e6fac5ee35083298465dc1e8bbdb49c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/common/ClientBase.cs:89-101 | libs/common/LightClient.cs:280-293 \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. 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":"libs/common/ClientBase.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"63d0320b999c9a15935b44997475dd0c6e32b25ecc4fc46c8e0751fd8164d86d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/common/Synchronization/ReadOptimizedLock.cs:423-433 | libs/common/Synchronization/ReadOptimizedLock.cs:606-616 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/common/Synchronization/ReadOptimizedLock.cs:435\u0060 calls \u0060SkipInit\u0060 and \u0060libs/common/Synchronization/ReadOptimizedLock.cs:619\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Synchronization/ReadOptimizedLock.cs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b33dacbe1074d6d9afa524ccfbc0f00a8b9dbf259d1167ef5f2badf89b4279c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201314 lines \u00D7 2): libs/server/AOF/AofProcessor.ChunkReplay.cs:277-287 | libs/server/AOF/AofProcessor.cs:746-759 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/server/AOF/AofProcessor.cs:746\u0060 calls \u0060FromV3\u0060 and \u0060libs/server/AOF/AofProcessor.ChunkReplay.cs:277\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":"libs/server/AOF/AofProcessor.ChunkReplay.cs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb98cf4c3b068480137f9089b5334616d2c1d64523ce59b962ebeabe19702528"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/server/AOF/ReplayCoordinator/AofReplayCoordinator.cs:426-437 | libs/server/AOF/ReplayCoordinator/AofReplayCoordinator.cs:665-676 \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 \u0060libs/server/AOF/ReplayCoordinator/AofReplayCoordinator.cs:426\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/server/AOF/ReplayCoordinator/AofReplayCoordinator.cs:440\u0060 calls \u0060GetOrAdd\u0060, \u0060CoordinatedTransaction\u0060, \u0060Add\u0060 and \u0060libs/server/AOF/ReplayCoordinator/AofReplayCoordinator.cs:679\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":"libs/server/AOF/ReplayCoordinator/AofReplayCoordinator.cs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e04b82cf71e3f4ecc70e0ea87fff81614f3003e268889f925a05ad42473ecd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/server/ArgSlice/ScratchBufferBuilder.cs:258-269 | libs/server/ArgSlice/ScratchBufferBuilder.cs:328-339 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060arg\u0060 to \u0060PinnedSpanByte\u0060 in one and \u0060ReadOnlySpan\u003Cbyte\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/ArgSlice/ScratchBufferBuilder.cs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"755e7a0570996acf17166933379a60e174064a6d1b5dd49ef3a61fa3c3512504"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/server/Config/RuntimeServerConfig.cs:396-409 | libs/server/Config/RuntimeServerConfig.cs:411-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 \u0060libs/server/Config/RuntimeServerConfig.cs:396\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Config/RuntimeServerConfig.cs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"d254693383952547305c14ff24c45efe86b8e747c1736c7d1efe76c952bb8fc1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/server/Lua/LuaRunner.Functions.cs:1327-1341 | libs/server/Lua/LuaRunner.Functions.cs:1371-1384 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":1327}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d3979eea43683e1b91daa5dba46d89caaa3eef44d777c6f5a951d4c7392655a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/server/Lua/LuaRunner.Functions.cs:2514-2527 | libs/server/Lua/LuaRunner.Functions.cs:2632-2646 \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 \u0060libs/server/Lua/LuaRunner.Functions.cs:2514\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":2514}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6521baea8f2d3e3949fab397ae4c1856f32b6388080bb13d838eee69f3a10e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/server/Resp/ACLCommands.cs:62-71 | libs/server/Resp/ACLCommands.cs:90-99 \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 \u0060libs/server/Resp/ACLCommands.cs:62\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":"libs/server/Resp/ACLCommands.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13c6bc634213590a4cb318d43e113e1c1b0698d88f2d5f847eb32d9beb3d589"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u201314 lines \u00D7 4): libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:221-224 | libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:258-271 | playground/Bitmap/BitCount.cs:139-142 | playground/Bitmap/BitCount.cs:176-189 \u2014 before extracting anything, compare \u0060libs/server/Resp/Bitmap/BitmapManagerBitCount.cs\u0060 and \u0060playground/Bitmap/BitCount.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 65 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. 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. 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":"libs/server/Resp/Bitmap/BitmapManagerBitCount.cs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d391b13cf76b58736b627b1281222d9909d5abde57d8a3a4634864d17ea869"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/server/Resp/Objects/ListCommands.cs:871-875 | libs/server/Resp/Objects/SortedSetCommands.cs:1647-1651 \u2014 before extracting anything, compare \u0060libs/server/Resp/Objects/ListCommands.cs\u0060 and \u0060libs/server/Resp/Objects/SortedSetCommands.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/ListCommands.cs"},"region":{"startLine":871}}}],"partialFingerprints":{"codehealthFindingId/v1":"adfd27d7ba086a1ce23baef7045f853b4cc40ea6b5d6137172b1ad1f44fc0564"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/server/Storage/Session/MainStore/HyperLogLogOps.cs:130-144 | libs/server/Storage/Session/MainStore/HyperLogLogOps.cs:231-244 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/server/Storage/Session/MainStore/HyperLogLogOps.cs:231\u0060 calls \u0060FromPinnedPointer\u0060 and \u0060libs/server/Storage/Session/MainStore/HyperLogLogOps.cs:130\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/MainStore/HyperLogLogOps.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93db48101eecfd33d26e9b14a5b0e24ac697c466473d81f0069e2098ffa840d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/server/Storage/Session/MainStore/MainStoreOps.cs:322-335 | libs/server/Storage/Session/MainStore/MainStoreOps.cs:460-472 \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 \u0060libs/server/Storage/Session/MainStore/MainStoreOps.cs:322\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":"libs/server/Storage/Session/MainStore/MainStoreOps.cs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"e960337004bc3f15f86c06c566ad3e207c0fcaaa67abed1eaeee76357f73a9d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/HashOps.cs:218-231 | libs/server/Storage/Session/ObjectStore/HashOps.cs:250-262 \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. 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":"libs/server/Storage/Session/ObjectStore/HashOps.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e58c58985c0d5b6987e277a1bc176da4bbfa3d2bd57716e5158f9bf70f81cef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1268-1280 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1504-1516 \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, \u0060libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1283\u0060 calls \u0060CopyDiff\u0060 and \u0060libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:1517\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":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"876980a0daa1275436e41c70383dd925bedb730d4ec81f4aca822563c4a76625"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:69-80 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:114-127 \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 \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:69\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"459009765d94d588e0d519731874c858bf50dc9254bce4a4c57a218e877b7aa9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs:1739-1750 | libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs:1818-1829 \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 \u0060libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs:1739\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":1739}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d4697ca96e15bd11fc63da855e21bebc25275c3b8c141052fa1d5289e83a030"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1551-1561 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1603-1613 \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 \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1551\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1551}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc4ebd214be72259ee0d38365f64162d8dc5294a75496e208d9195cdfe4a6eb5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Utilities/BufferPool.Legacy.cs:120-139 | libs/storage/Tsavorite/cs/src/core/Utilities/BufferPool.OriginReturn.cs:620-633 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/BufferPool.Legacy.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"c22d4fd850418a8ecc4ff853f1ac4e4b10e746950492bbd47aae83ab1aa919d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs:560-570 | libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs:616-626 \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 \u0060libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs:560\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":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad25a68952a9ecdbdd11bf834f69c33186ebd41b91240cdbccf08f93341a33c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): playground/Bitmap/BitOp.cs:280-293 | playground/Bitmap/BitOp.cs:448-463 \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 \u0060playground/Bitmap/BitOp.cs:280\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"playground/Bitmap/BitOp.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ae5695f071ed247d0d33f4653395077ed021dfedf7b44e6a8ca9d0ca6f0f82"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): playground/MigrateBench/MigrateRequest.cs:147-158 | playground/MigrateBench/MigrateRequest.cs:181-192 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateRequest.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"4852e9623315af57c4005ac27c015bf94faee6b6fae6ca0a1468eec0965c8f83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 4): libs/server/Storage/Session/ObjectStore/SetOps.cs:34-45 | libs/server/Storage/Session/ObjectStore/SetOps.cs:67-79 | libs/server/Storage/Session/ObjectStore/SetOps.cs:97-108 | libs/server/Storage/Session/ObjectStore/SetOps.cs:131-142 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Storage/Session/ObjectStore/SetOps.cs: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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/SetOps.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"367f88fa0e832fd19181c889080ae4aa7f366afde03dca71ebfac88c825bf80a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/client/ClientSession/GarnetClientSession.cs:303-311 | libs/client/GarnetClient.cs:376-384 | libs/common/LightClient.cs:169-177 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/client/ClientSession/GarnetClientSession.cs:303\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":"libs/client/ClientSession/GarnetClientSession.cs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"febcc4109333542501729ad2bec39b04b4d83c249326a5eee54e169be4dad41b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): libs/server/Lua/LuaRunner.Functions.cs:1268-1281 | libs/server/Lua/LuaRunner.Functions.cs:1325-1338 | libs/server/Lua/LuaRunner.Functions.cs:1369-1381 \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 \u0060libs/server/Lua/LuaRunner.Functions.cs:1268\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":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":1268}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c281e7de6a79833ae05e96652c1255479a7035489debd8bd3e021aa00a6ba9a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 3): libs/server/Storage/Functions/MainStore/RMWMethods.Etags.cs:91-103 | libs/server/Storage/Functions/MainStore/RMWMethods.Etags.cs:136-147 | libs/server/Storage/Functions/MainStore/RMWMethods.cs:540-552 \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 \u0060libs/server/Storage/Functions/MainStore/RMWMethods.Etags.cs:91\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/RMWMethods.Etags.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d82fd6ac4d79723578692bcea8065bd7ebe374e8301551351d1b307d6540ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1156-1167 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1326-1337 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1365-1376 \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 \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1156\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1378\u0060 calls \u0060SerializeTo\u0060, \u0060TotalSize\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1339\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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1156}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7d7471fa23637e73ee1f1e910d7a721a111ad8498022c17c3a66b3629d1d56"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): playground/Bitmap/BitOp.cs:280-292 | playground/Bitmap/BitOp.cs:448-462 | playground/Bitmap/BitOp.cs:649-661 \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 \u0060playground/Bitmap/BitOp.cs:280\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d8b0e63d12170b3741278b08a92891d3020ff93927f2e2cc2975344ab5efdf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/client/Utility.cs:192-203 | libs/storage/Tsavorite/cs/src/core/Utilities/Utility.cs:481-492 \u2014 before extracting anything, compare \u0060libs/client/Utility.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Utilities/Utility.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/Utility.cs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"dae6cedc6a6e5524c672bb411c2635c48962c40ece05672f9104f09e157523fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/cluster/Server/ClusterManagerSlotState.cs:107-118 | libs/cluster/Server/ClusterManagerSlotState.cs:178-190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/cluster/Server/ClusterManagerSlotState.cs:175\u0060 calls \u0060foreach\u0060 and \u0060libs/cluster/Server/ClusterManagerSlotState.cs:105\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/ClusterManagerSlotState.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"4377faed62c40380d0d832898d9f72091ac8414b3fa7aa5e73010b46a9b1ce1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201313 lines \u00D7 2): libs/cluster/Session/RespClusterBasicCommands.cs:610-620 | libs/cluster/Session/RespClusterBasicCommands.cs:645-657 \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 \u0060libs/cluster/Session/RespClusterBasicCommands.cs:610\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":"libs/cluster/Session/RespClusterBasicCommands.cs"},"region":{"startLine":610}}}],"partialFingerprints":{"codehealthFindingId/v1":"12260275f0b46cd84bcd513c70d5829125f41a9d00a0dccf1834e825749d2380"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/common/RespWriteUtils.cs:368-380 | libs/common/RespWriteUtils.cs:391-403 \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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060items\u0060 to \u0060IEnumerable\u003Cbyte[]\u003E\u0060 in one and \u0060ReadOnlySpan\u003Cbyte[]\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/RespWriteUtils.cs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd34937a939c2961c635ecd2e9664958c102bb090b437c148973337f6a80d0d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/host/Configuration/OptionsValidators.cs:154-163 | libs/host/Configuration/OptionsValidators.cs:273-282 \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 \u0060libs/host/Configuration/OptionsValidators.cs:154\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Configuration/OptionsValidators.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2758a682c1b3e2efbbe192af98ac47f68e154d900c557b8520853712535ca2f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/server/Lua/LuaRunner.Functions.cs:2646-2658 | libs/server/Lua/LuaRunner.Functions.cs:2694-2706 \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 \u0060libs/server/Lua/LuaRunner.Functions.cs:2646\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":"libs/server/Lua/LuaRunner.Functions.cs"},"region":{"startLine":2646}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d8b89d044d9e504772c89492a99e72a755f6e48f238ce46950cfd388df51e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/server/Resp/AdminCommands.cs:666-675 | libs/server/Resp/AdminCommands.cs:699-708 \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 \u0060libs/server/Resp/AdminCommands.cs:666\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":"libs/server/Resp/AdminCommands.cs"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"e92146ea08d714d005739b87c10d559e61bae8c57eab60bd4ec9ca19ed484559"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/server/Resp/ArrayCommands.cs:56-64 | libs/server/Resp/BasicCommands.cs:407-415 \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":"libs/server/Resp/ArrayCommands.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"072778a464f1c033d806f65d53bfeabba4b866da4a46d48d2b68fba397d0bb00"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/server/Resp/Objects/HashCommands.cs:86-98 | libs/server/Resp/Objects/HashCommands.cs:170-183 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"d609954f4d687a1c663fbf86ba9f8f26f20524437a5c1098581a3b4f93487356"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/server/Resp/Objects/HashCommands.cs:630-643 | libs/server/Resp/Objects/SortedSetCommands.cs:1789-1801 \u2014 before extracting anything, compare \u0060libs/server/Resp/Objects/HashCommands.cs\u0060 and \u0060libs/server/Resp/Objects/SortedSetCommands.cs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/Objects/HashCommands.cs:630\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/HashCommands.cs"},"region":{"startLine":630}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce406e34e84eb00bbba865730607dcf9d5acde56af0b7977b604282acbe4947e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/server/Resp/Vector/VectorManager.ElementData.cs:289-300 | libs/server/Resp/Vector/VectorManager.ElementData.cs:318-329 \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 \u0060libs/server/Resp/Vector/VectorManager.ElementData.cs:289\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.ElementData.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"e29166ebd0170d966cff8016a0d6bf3a7792a222a78cf44e9a46a1326dc3a33d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/server/Storage/Functions/UnifiedStore/UpsertMethods.cs:20-32 | libs/server/Storage/Functions/UnifiedStore/UpsertMethods.cs:38-52 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060srcValue\u0060 to \u0060ReadOnlySpan\u003Cbyte\u003E\u0060 in one and \u0060IHeapObject\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/UnifiedStore/UpsertMethods.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"00144e1d74a9f9d1f3171075a13165f083d3a24ce3487f4b41da3b78a81142fe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/HashOps.cs:157-166 | libs/server/Storage/Session/ObjectStore/HashOps.cs:192-201 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/HashOps.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd23f64fd2a59b4c63f2c69d260c76feb19c5c03eb49613a0ca598d4a53a20f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs:1387-1398 | libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs:1478-1489 \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 \u0060libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs:1387\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":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":1387}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d572281693269d491c939560f05800bab762026d677f5ad50f2a68903bed375"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Device/ManagedLocalStorageDevice.cs:280-291 | libs/storage/Tsavorite/cs/src/core/Device/ManagedLocalStorageDevice.cs:308-319 \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 \u0060libs/storage/Tsavorite/cs/src/core/Device/ManagedLocalStorageDevice.cs:280\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/ManagedLocalStorageDevice.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c3c2f2c62c442e67c37a9f4f3520d1cb8976ef495a3d59bbe5cdb05b2795ed7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs:665-676 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs:363-375 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs:665\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"06736cc8d9eb2181d241d972fb298f625bc5b3a3567c61c3cab6cbe53267473f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/TsavoriteIterator.cs:130-140 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/TsavoriteIterator.cs:189-199 \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 \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/TsavoriteIterator.cs:130\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/TsavoriteIterator.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf3f52190fe9bb52162dae9a5b8f71a98554168efa094e3c2b6fd9d245e98a2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201313 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1410-1421 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1644-1656 \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 \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1410\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1410}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9b96044be4c378344ccf035292299ca83f005f70b0e840e6e428cb0dceb3adf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): modules/GarnetJSON/JSONPath/QueryFilter.cs:37-49 | modules/GarnetJSON/JSONPath/QueryFilter.cs:72-84 \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 \u0060modules/GarnetJSON/JSONPath/QueryFilter.cs:37\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/QueryFilter.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f09a3a110a7289a53951723e8bfdef649d3a38bf4f93cbff4d9fb7e466fde10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): playground/Bitmap/BitOp.cs:1414-1423 | playground/Bitmap/BitOp.cs:1448-1457 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":1414}}}],"partialFingerprints":{"codehealthFindingId/v1":"13de1eeaf0ace62401c16f5640a3ec6a9d3c10352272745169c045c66e5d1c27"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 5): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1167-1178 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1200-1210 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1239-1249 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1548-1559 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1600-1611 \u2014 all 5 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 \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1167\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1237\u0060 calls \u0060SerializeTo\u0060, \u0060TotalSize\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1166\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1167}}}],"partialFingerprints":{"codehealthFindingId/v1":"089b1afee5881a4cc9dffb37db5f389bdd91e0a260396629ad29b8268f7abde2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/client/LightEpoch.cs:478-487 | libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:511-520 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:502-511 \u2014 before extracting anything, compare \u0060libs/client/LightEpoch.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 184 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 \u0060libs/client/LightEpoch.cs:478\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":"libs/client/LightEpoch.cs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ce4e158feee7327771537dfc5af35cbd5efd9af1f4e235577335f4957a82c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/server/Lua/LuaRunner.Functions.Struct.cs:285-295 | libs/server/Lua/LuaRunner.Functions.Struct.cs:693-703 | libs/server/Lua/LuaRunner.Functions.Struct.cs:1007-1017 \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 \u0060libs/server/Lua/LuaRunner.Functions.Struct.cs:285\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":"libs/server/Lua/LuaRunner.Functions.Struct.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"0044d267cd0b9e39e73b33bc06da3d4ede15297834baddf5b6065e1a1f3e5a93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/server/Resp/Bitmap/BitmapManagerBitOp.cs:204-211 | libs/server/Resp/Bitmap/BitmapManagerBitOp.cs:257-264 | libs/server/Resp/Bitmap/BitmapManagerBitOp.cs:310-317 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapManagerBitOp.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd74ad124629ab92d5ca17d33c88e68b46cbd891ccc44b6d78e25fa2aaadef2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): libs/server/Storage/Session/MainStore/MainStoreOps.cs:263-275 | libs/server/Storage/Session/MainStore/MainStoreOps.cs:323-335 | libs/server/Storage/Session/MainStore/MainStoreOps.cs:461-472 \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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/server/Storage/Session/MainStore/MainStoreOps.cs:261\u0060 calls \u0060FromPinnedPointer\u0060 and \u0060libs/server/Storage/Session/MainStore/MainStoreOps.cs:322\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":"libs/server/Storage/Session/MainStore/MainStoreOps.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a426fc85367bffebf65ad4ab636a3746ad150a6022fa514bd295e81ca7533e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1121-1131 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1226-1236 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1292-1302 \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 \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1121\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1304\u0060 calls \u0060TotalSize\u0060, \u0060CopyTo\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1133\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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1121}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b8f6e5d1e8a4fad8bd94d98d2c2fc38334eb5109dba02a4cdcf9fafce12ec5e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): playground/Bitmap/BitOp.cs:1392-1402 | playground/Bitmap/BitOp.cs:1426-1436 | playground/Bitmap/BitOp.cs:1460-1470 \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 \u0060playground/Bitmap/BitOp.cs:1392\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":"playground/Bitmap/BitOp.cs"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c7de2f9de7d6dd353d9f8c5f08336c560e2fb659f3d46e53b8fd1add1d5189e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/server/Objects/Hash/HashObject.cs:299-309 | main/GarnetServer/Extensions/MyDictObject.cs:138-148 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060key\u0060 to \u0060ReadOnlySpan\u003Cbyte\u003E\u0060 in one and \u0060byte[]\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/Hash/HashObject.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"e617f5b6b7863bf79a73082a94b2249218c8a278257ccf140ae1c247bf8f62e5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/client/LightEpoch.cs:289-299 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:312-322 \u2014 before extracting anything, compare \u0060libs/client/LightEpoch.cs\u0060 and \u0060playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 326 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":"libs/client/LightEpoch.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbc30f563250fccf043737fa0b490700b16fc08f5edf3e5aa0580aa114d5455c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/cluster/Server/ClusterManagerSlotState.cs:343-352 | libs/cluster/Server/ClusterManagerSlotState.cs:378-387 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/ClusterManagerSlotState.cs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"0629a5073a10e22dfa21ea0abfdd4bf16331518cbccd287b83ba17c044103eb3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/cluster/Server/Replication/PrimaryOps/DiskbasedReplication/TsavoriteCheckpointReader.cs:169-179 | libs/cluster/Server/Replication/ReplicaOps/ReplicaDiskbasedSync.cs:257-267 \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":"libs/cluster/Server/Replication/PrimaryOps/DiskbasedReplication/TsavoriteCheckpointReader.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e2a22b73f4da8fdc8dad7f52468a82bda52807aef3c69399b16ee698df42181"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/cluster/Server/Replication/ReplicaOps/AOFReplay/ReplicaReplayDriver.cs:187-196 | libs/server/AOF/Recover/RecoverLogDriver.cs:119-128 \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 \u0060libs/cluster/Server/Replication/ReplicaOps/AOFReplay/ReplicaReplayDriver.cs:187\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/ReplicaOps/AOFReplay/ReplicaReplayDriver.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bdd01bd4aade82520a7b81a5489178d1fedd2032e5d5d73ac72a13616216fb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/cluster/Session/RespClusterReplicationCommands.cs:316-327 | libs/cluster/Session/RespClusterReplicationCommands.cs:400-412 \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 \u0060libs/cluster/Session/RespClusterReplicationCommands.cs:400\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/RespClusterReplicationCommands.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d470fb0e7fba538bf3755e27ae6607577f3fe30d9050f19aaec89734bfcbbe"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): libs/common/RespWriteUtils.cs:176-187 | libs/common/RespWriteUtils.cs:229-239 \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":"libs/common/RespWriteUtils.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3dd526872bb1eebd364e77976b0a160a6f6681a2be8d3a63c95585f5974ea8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/server/Custom/CustomProcedureBase.cs:76-85 | libs/server/Custom/CustomProcedureBase.cs:104-113 \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 \u0060libs/server/Custom/CustomProcedureBase.cs:76\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060values\u0060 to \u0060params PinnedSpanByte[]\u0060 in one and \u0060List\u003CPinnedSpanByte\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Custom/CustomProcedureBase.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"6142fbc85f346c90ea185a764d0ac7e1005b5fbfa0e606020133db504a5a9826"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/server/Custom/CustomRespCommands.cs:166-179 | libs/server/Custom/CustomRespCommands.cs:341-352 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Custom/CustomRespCommands.cs:166\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":"libs/server/Custom/CustomRespCommands.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a22832d682bdb926780bf5810ac0835ce6321d3a2347b1633dc656547f2cb1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): libs/server/Objects/Hash/HashObject.cs:425-436 | libs/server/Objects/SortedSet/SortedSetObject.cs:685-693 \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 \u0060libs/server/Objects/Hash/HashObject.cs:425\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/Hash/HashObject.cs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1d2fd728632144e79b9782389b2a4245c7ae5d5ad51e2e9d6c9fabd3de2ff6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/server/Objects/SortedSetGeo/SortedSetGeoObjectImpl.cs:86-96 | libs/server/Objects/SortedSetGeo/SortedSetGeoObjectImpl.cs:145-155 \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 \u0060libs/server/Objects/SortedSetGeo/SortedSetGeoObjectImpl.cs:86\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":"libs/server/Objects/SortedSetGeo/SortedSetGeoObjectImpl.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cfa0ee8f5f53d9e639319dbdab7495e9bc656e1af6cf99ca3c0aa4107747c37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): libs/server/Resp/AdminCommands.cs:906-916 | libs/server/Resp/AdminCommands.cs:940-951 \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 \u0060libs/server/Resp/AdminCommands.cs:906\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":"libs/server/Resp/AdminCommands.cs"},"region":{"startLine":906}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdfe10becb7de44da0f4809bb06048689697a11df7ffa48a1e68a354fc71ed31"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/server/Resp/PubSubCommands.cs:207-220 | libs/server/Resp/PubSubCommands.cs:251-262 \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 \u0060libs/server/Resp/PubSubCommands.cs:207\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/PubSubCommands.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"13599bd9ba2d26b6daa53aadbe827a9d6ef2aad9c29c049e11e5650e4d4917ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/server/Resp/RangeIndex/RangeIndexManager.Replication.cs:191-200 | libs/server/Resp/RangeIndex/RangeIndexManager.Replication.cs:222-231 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/RangeIndex/RangeIndexManager.Replication.cs:191\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":"libs/server/Resp/RangeIndex/RangeIndexManager.Replication.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"918d1c4da6ae57d53665dd3f8853468eb9cc9712f0680fd0c75a91d42e0a33af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/server/Resp/Vector/RespServerSessionVectors.cs:238-249 | libs/server/Resp/Vector/RespServerSessionVectors.cs:275-286 \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 \u0060libs/server/Resp/Vector/RespServerSessionVectors.cs:238\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":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"5941bfe4788000cbdb12e3243a680507b636b38a74d2790143ca8554898721dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/server/Resp/Vector/VectorManager.cs:962-972 | libs/server/Resp/Vector/VectorManager.cs:1178-1188 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/server/Resp/Vector/VectorManager.cs:973\u0060 calls \u0060PrepareVectorData\u0060 and \u0060libs/server/Resp/Vector/VectorManager.cs:1190\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":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":962}}}],"partialFingerprints":{"codehealthFindingId/v1":"70e9a407dd41d470309c24a084831be4c6784938dcceba72865789baf4982914"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/server/Storage/Functions/MainStore/PrivateMethods.cs:483-494 | libs/server/Storage/Functions/MainStore/PrivateMethods.cs:514-526 \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. 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":"libs/server/Storage/Functions/MainStore/PrivateMethods.cs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"47b6449caea76bcfc34b8d66a62061fb393f4f72462b398d456b30524595d0a3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/server/Storage/Functions/VectorStore/VectorSessionFunctions.cs:275-284 | libs/server/Storage/Functions/VectorStore/VectorSessionFunctions.cs:411-420 \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 \u0060libs/server/Storage/Functions/VectorStore/VectorSessionFunctions.cs:275\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/server/Storage/Functions/VectorStore/VectorSessionFunctions.cs:273\u0060 calls \u0060Clear\u0060 and \u0060libs/server/Storage/Functions/VectorStore/VectorSessionFunctions.cs:409\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/VectorStore/VectorSessionFunctions.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ee35812161c5d6b62ee092efb1cf05bbe7a960a0cf9b0e3e53af524b80c1f93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/server/Storage/Session/MainStore/VectorStoreOps.cs:254-264 | libs/server/Storage/Session/MainStore/VectorStoreOps.cs:293-303 \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 \u0060libs/server/Storage/Session/MainStore/VectorStoreOps.cs:254\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/MainStore/VectorStoreOps.cs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6710031a981d8268da922acf138a0546cb9ff74be415482109e27181576408"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): libs/server/Storage/Session/MainStore/VectorStoreOps.cs:446-457 | libs/server/Storage/Session/MainStore/VectorStoreOps.cs:473-483 \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 \u0060libs/server/Storage/Session/MainStore/VectorStoreOps.cs:446\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":"libs/server/Storage/Session/MainStore/VectorStoreOps.cs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c42cabf9c7e1657a48b9f48b7120c7d286c07f4526d15d9ed118b2f0ee6f52"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/server/Storage/Session/MainStore/VectorStoreOps.cs:553-562 | libs/server/Storage/Session/MainStore/VectorStoreOps.cs:627-636 \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 \u0060libs/server/Storage/Session/MainStore/VectorStoreOps.cs:553\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/server/Storage/Session/MainStore/VectorStoreOps.cs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4baa14af2a67b42451d7c53ed28684c0e533aac47d967f8f38513edd4e6d55"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/SetOps.cs:483-492 | libs/server/Storage/Session/ObjectStore/SetOps.cs:913-922 \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 \u0060libs/server/Storage/Session/ObjectStore/SetOps.cs:483\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":"libs/server/Storage/Session/ObjectStore/SetOps.cs"},"region":{"startLine":483}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d00d1ab4141b31349bb632298961ed785f642e97e13a28ec5cc2c62926bad5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:118-127 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:149-158 \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 \u0060libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:118\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c036447e9b585d4ca0f07c51411732ab80df5f225623b522d3dda041f39067"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs:16-26 | libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs:16-26 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 236 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs:16\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6408c55f6fb4ff3b8ace4731d485b97845a77505d15c097ac595705264404091"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:544-554 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:605-615 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060desiredValue\u0060 to \u0060ReadOnlySpan\u003Cbyte\u003E\u0060 in one and \u0060IHeapObject\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e9f3732545c8f9a6a8c392199c30cc2267050e562005a938a4dbd4abc466077"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:560-571 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:621-632 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060desiredValue\u0060 to \u0060ReadOnlySpan\u003Cbyte\u003E\u0060 in one and \u0060IHeapObject\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs"},"region":{"startLine":560}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fad64318f6d9580c7572e03c72510690fde9f1773120723297ac8a636e28d19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Device/LocalStorageDevice.cs:230-239 | libs/storage/Tsavorite/cs/src/core/Device/LocalStorageDevice.cs:299-308 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/storage/Tsavorite/cs/src/core/Device/LocalStorageDevice.cs:297\u0060 calls \u0060HandleCapacity\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Device/LocalStorageDevice.cs:229\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/LocalStorageDevice.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"520efcf4a606ec5604e6393bf620f012bd8097b0f4edcd6e05124528ba307e35"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 5): libs/common/RespWriteUtils.cs:23-32 | libs/common/RespWriteUtils.cs:38-47 | libs/common/RespWriteUtils.cs:71-80 | libs/common/RespWriteUtils.cs:86-95 | libs/common/RespWriteUtils.cs:330-340 \u2014 all 5 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. 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":"libs/common/RespWriteUtils.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f40a0730cb1b4ab90c909db588ff6741eb79c1cde5db5d9e803bf353b4313ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1089-1098 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1121-1130 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1226-1235 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1263-1272 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1292-1301 \u2014 all 5 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 \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1089\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1132\u0060 calls \u0060SerializeTo\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1099\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"60c9c9385d883fe212301e808fda415e235994915225457a585427d67ec36b8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201311 lines \u00D7 3): libs/cluster/Session/RespClusterBasicCommands.cs:569-579 | libs/cluster/Session/RespClusterBasicCommands.cs:609-616 | libs/cluster/Session/RespClusterBasicCommands.cs:643-653 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/cluster/Session/RespClusterBasicCommands.cs:655\u0060 calls \u0060TryWriteNewLine\u0060, \u0060SendAndReset\u0060 and \u0060libs/cluster/Session/RespClusterBasicCommands.cs:580\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/RespClusterBasicCommands.cs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"7230ec34622ead73e50741ddc884e8b5f196ed88d08e9b8504b22a9a2a868a33"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/common/Synchronization/ReadOptimizedLock.cs:373-379 | libs/common/Synchronization/ReadOptimizedLock.cs:427-433 | libs/common/Synchronization/ReadOptimizedLock.cs:610-616 \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 \u0060libs/common/Synchronization/ReadOptimizedLock.cs:373\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/common/Synchronization/ReadOptimizedLock.cs:435\u0060 calls \u0060SkipInit\u0060 and \u0060libs/common/Synchronization/ReadOptimizedLock.cs:619\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Synchronization/ReadOptimizedLock.cs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ba16806bed6da65c66d576f8ea2c87ccabc80563e9a33220edfd732f469a127"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:385-395 | playground/Bitmap/BitCount.cs:296-306 | playground/Bitmap/BitCount.cs:441-451 \u2014 before extracting anything, compare \u0060libs/server/Resp/Bitmap/BitmapManagerBitCount.cs\u0060 and \u0060playground/Bitmap/BitCount.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 65 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 \u0060libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:385\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapManagerBitCount.cs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"5540b7c26bb1d9f9d6181a91b158a806b9a18e29707d8d4e8fc831254c433dec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/server/Resp/KeyAdminCommands.cs:427-436 | libs/server/Resp/Objects/HashCommands.cs:631-640 | libs/server/Resp/Objects/SortedSetCommands.cs:1790-1799 \u2014 before extracting anything, compare \u0060libs/server/Resp/Objects/HashCommands.cs\u0060 and \u0060libs/server/Resp/Objects/SortedSetCommands.cs\u0060 as WHOLE FILES: this scan already matched 11 separate duplicated blocks between them, totalling at least 196 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/KeyAdminCommands.cs:427\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/KeyAdminCommands.cs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1413d3c133a7f9d271b48f3e2f9ff9b77cc944d6988b1acef0fd12ea6382c71"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:34-45 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:190-200 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:238-250 \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. 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":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"6350087bdbe072d33167da68424df5e1b14f39cd41a9a6d2457ba6220d8e30f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs:586-592 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs:652-658 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs:678-684 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a354e0c6fca3eb5f5fbb1a3f5e2803fc668a221397c74bb150b447a53bde02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): playground/Bitmap/BitCount.cs:168-176 | playground/Bitmap/BitCount.cs:309-317 | playground/Bitmap/BitCount.cs:454-462 \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 \u0060playground/Bitmap/BitCount.cs:168\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitCount.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"290f017e3bff10a15e0a24b76153c02a32b807663b8a1ea76739a2423c3a3f86"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): libs/cluster/Server/ClusterUtils.cs:74-84 | libs/common/StreamProvider.cs:90-99 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/cluster/Server/ClusterUtils.cs:74\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/ClusterUtils.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45a0e7710669cb2ad820803a6145b4f4222b4c9d897f5a82c024bc1e8991f62"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/cluster/Server/Replication/GarnetClusterCheckpointManager.cs:148-158 | libs/storage/Tsavorite/cs/src/core/Index/CheckpointManagement/DeviceLogCommitCheckpointManager.cs:309-319 \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":"libs/cluster/Server/Replication/GarnetClusterCheckpointManager.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"863505fe70ffcbe6c14d640908f3877668f16a381e7b98c403350fe013f68dec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u201311 lines \u00D7 4): libs/common/HashUtils.cs:150-152 | libs/common/HashUtils.cs:153-163 | libs/common/HashUtils.cs:165-168 | libs/common/HashUtils.cs:169-179 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"libs/common/HashUtils.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad851249581a9807a0cae8d90d1ed6cd7979a45b1c88835c6248372be35e5a1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/common/Networking/NetworkHandler.cs:275-284 | libs/common/Networking/NetworkHandler.cs:345-354 \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 \u0060libs/common/Networking/NetworkHandler.cs:275\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/NetworkHandler.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"db03bc04218085f98070bbcfd9f965f1866d6fe90f8b617b50476352a76562f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/server/Lua/LuaRunner.Functions.Struct.cs:534-540 | libs/server/Lua/LuaRunner.Functions.Struct.cs:570-576 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.Struct.cs"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26c55cd670c0f3f910bee34f2f6e59d34a578d7e719a9169cff1a18cb026175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:239-249 | playground/Bitmap/BitCount.cs:157-167 \u2014 before extracting anything, compare \u0060libs/server/Resp/Bitmap/BitmapManagerBitCount.cs\u0060 and \u0060playground/Bitmap/BitCount.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 65 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 \u0060libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:239\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapManagerBitCount.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"7631d52a432fd74fb7547c298a7b2c0f359e7439ae549d9599d8005d0605c45f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:250-258 | libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:398-406 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:250\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapManagerBitCount.cs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5342bbcfe5999e975377ce84a84eef7acf6a7026e96b337d50cd0a6c902cab8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/server/Resp/PubSubCommands.cs:305-315 | libs/server/Resp/PubSubCommands.cs:383-395 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/PubSubCommands.cs:305\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/PubSubCommands.cs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d1282cd62969c30e78aee87fd77b3c7bc55ae758d3bd35db33f076f918e1f8a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/server/Resp/Vector/VectorManager.Migration.cs:116-126 | libs/server/Resp/Vector/VectorManager.Migration.cs:323-333 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Migration.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc70fa04927b3508a86700bed6aed3374b29e3b7dec43e25d680ab76f48072e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/server/SessionParseStateExtensions.cs:883-890 | libs/server/SessionParseStateExtensions.cs:907-914 \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 \u0060libs/server/SessionParseStateExtensions.cs:883\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":"libs/server/SessionParseStateExtensions.cs"},"region":{"startLine":883}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cf26ebedc62453cd4783b3190dad1e84c7b88ed0b1c7a1135c5eb146a77dcd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/server/Storage/Functions/MainStore/PrivateMethods.cs:355-360 | libs/server/Storage/Functions/UnifiedStore/PrivateMethods.cs:121-126 \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":"libs/server/Storage/Functions/MainStore/PrivateMethods.cs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"9eb0ac6ca8d443a8575ff6c100952ea6740c0f34b514a2f07e0c6a674ff79437"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/server/Storage/Functions/MainStore/RMWMethods.cs:1355-1365 | libs/server/Storage/Functions/MainStore/RMWMethods.cs:1370-1380 \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 \u0060libs/server/Storage/Functions/MainStore/RMWMethods.cs:1355\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":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":1355}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbccbd30e1bbaf5f88ec8b6a75132674545592d6f7fe5d8fe78c17091ecbb020"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/server/Storage/Functions/ObjectStore/RMWMethods.cs:224-234 | libs/server/Storage/Functions/ObjectStore/ReadMethods.cs:50-60 \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 \u0060libs/server/Storage/Functions/ObjectStore/RMWMethods.cs:224\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":"libs/server/Storage/Functions/ObjectStore/RMWMethods.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"10eedf9f1a87ea4ae28ce4efcdba58e5cdf4576771adde7428e6d712fa0e0b07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/HashOps.cs:43-51 | libs/server/Storage/Session/ObjectStore/HashOps.cs:126-134 \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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/HashOps.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"12758c2115411afe1074ff68593734f6a8fde9f347f755149a7e3cda56db10aa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/SetOps.cs:387-396 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:724-733 \u2014 before extracting anything, compare \u0060libs/server/Storage/Session/ObjectStore/SetOps.cs\u0060 and \u0060libs/server/Storage/Session/ObjectStore/SortedSetOps.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 40 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Storage/Session/ObjectStore/SetOps.cs:387\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/server/Storage/Session/ObjectStore/SetOps.cs:398\u0060 calls \u0060foreach\u0060 and \u0060libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:735\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/SetOps.cs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"edfde497c061a096123befa18637d73e8cb7bf6072987d737c34244a2cd30b0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/SortedSetGeoOps.cs:160-167 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:778-785 \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 \u0060libs/server/Storage/Session/ObjectStore/SortedSetGeoOps.cs:160\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/SortedSetGeoOps.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfd4620939c31361589926d88206447acfb70aeca15d41d36ba873bc3568faf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs:217-230 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs:305-315 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 42 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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, \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs:233\u0060 calls \u0060SetTombstone\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs:318\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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0be3bf899536d017e036a20a7460e628f9c4e8e964e250ea2e58daea7801e7c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs:132-139 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs:126-133 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs:132\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"736fd05c1cbd347b461660c15fdc59e2143010a96ce334d93cd8b597999272de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): libs/client/LightEpoch.cs:381-390 | libs/client/LightEpoch.cs:477-486 | libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:424-433 | libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:510-519 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:415-424 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:501-510 \u2014 before extracting anything, compare \u0060libs/client/LightEpoch.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 184 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 \u0060libs/client/LightEpoch.cs:381\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/LightEpoch.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd84541ea26f35118073f21a9184ca17d86a8e9ca4a60b4a57db6e4fd16643f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 6): libs/server/Storage/Session/MainStore/RangeIndexOps.cs:278-286 | libs/server/Storage/Session/MainStore/RangeIndexOps.cs:417-425 | libs/server/Storage/Session/MainStore/RangeIndexOps.cs:473-481 | libs/server/Storage/Session/MainStore/RangeIndexOps.cs:525-533 | libs/server/Storage/Session/MainStore/RangeIndexOps.cs:613-621 | libs/server/Storage/Session/MainStore/RangeIndexOps.cs:663-671 \u2014 all 6 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 \u0060libs/server/Storage/Session/MainStore/RangeIndexOps.cs:278\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":"libs/server/Storage/Session/MainStore/RangeIndexOps.cs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f2f644ccb2f59210fc0908e05b61c5c62b4a1ddc7bfdae4722d7dfa7ea6624"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 5): libs/client/GarnetClientProcessReplies.cs:57-66 | libs/client/GarnetClientProcessReplies.cs:88-96 | libs/client/GarnetClientProcessReplies.cs:136-145 | libs/client/GarnetClientProcessReplies.cs:186-195 | libs/client/GarnetClientProcessReplies.cs:206-213 \u2014 all 5 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 \u0060libs/client/GarnetClientProcessReplies.cs:57\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":"libs/client/GarnetClientProcessReplies.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b9a89c04be774a69f44864b625ea888cf963a4a9b501f230850e03ab7c27b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): libs/client/LightEpoch.cs:367-375 | libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:410-418 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:401-409 \u2014 before extracting anything, compare \u0060libs/client/LightEpoch.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 184 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 \u0060libs/client/LightEpoch.cs:367\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":"libs/client/LightEpoch.cs"},"region":{"startLine":367}}}],"partialFingerprints":{"codehealthFindingId/v1":"47886ce590766d88adb333430b87469a73f1d41e04b151bf5cbe6026c4cba807"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:411-420 | playground/Bitmap/BitCount.cs:322-331 | playground/Bitmap/BitCount.cs:467-476 \u2014 before extracting anything, compare \u0060libs/server/Resp/Bitmap/BitmapManagerBitCount.cs\u0060 and \u0060playground/Bitmap/BitCount.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 65 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 \u0060libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:411\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapManagerBitCount.cs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc591aac276e454553599aa9ff39de74da1520241466a5ebed1b3b7f1315122"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/server/Storage/Functions/MainStore/PrivateMethods.cs:237-244 | libs/server/Storage/Functions/MainStore/RMWMethods.cs:196-203 | libs/server/Storage/Functions/MainStore/RMWMethods.cs:1237-1244 \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 \u0060libs/server/Storage/Functions/MainStore/PrivateMethods.cs:237\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/PrivateMethods.cs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ca281ae0fbc762159a5e341611d548c1186abba4bf043e647a48b18bb8d68ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/client/LightEpoch.cs:190-198 | libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:227-235 \u2014 before extracting anything, compare \u0060libs/client/LightEpoch.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/LightEpoch.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"efe320f290083c54b9133f3ce004b030c4d683097791ee710551579703fd667e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 2): libs/cluster/Session/ClusterSession.cs:185-192 | libs/server/Resp/RespServerSession.cs:1540-1549 \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 \u0060libs/cluster/Session/ClusterSession.cs:185\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":"libs/cluster/Session/ClusterSession.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"825fc8ba36b328b69e8a3cce28b7838a46a97f7e3bc864396af188e13ce91c76"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/common/RespWriteUtils.cs:777-784 | libs/common/RespWriteUtils.cs:809-816 \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, \u0060libs/common/RespWriteUtils.cs:786\u0060 calls \u0060CopyTo\u0060, \u0060WriteNewline\u0060 and \u0060libs/common/RespWriteUtils.cs:818\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":"libs/common/RespWriteUtils.cs"},"region":{"startLine":777}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cf2529b26685552786cc19ad53fdcae895edb6241e0c1a164eb5abc118b824"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/server/Objects/Hash/HashObject.cs:184-190 | libs/server/Objects/SortedSet/SortedSetObject.cs:289-295 \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 \u0060libs/server/Objects/Hash/HashObject.cs:184\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/server/Objects/Hash/HashObject.cs:191\u0060 calls \u0060Write\u0060 and \u0060libs/server/Objects/SortedSet/SortedSetObject.cs:296\u0060 does not \u2014 after which the two agree again for 4 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/Hash/HashObject.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"2613b1b49a355b6244f4ce118008092182dce4162cad0a1c119bcff3b19e1a66"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/server/Resp/Vector/VectorManager.Locking.cs:577-586 | libs/server/Storage/Functions/MainStore/RMWMethods.cs:311-320 \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":"libs/server/Resp/Vector/VectorManager.Locking.cs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffea9153957545e66368915db83f674cb96d0478bd174bc520154b5ba4459fc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/server/Storage/Session/MainStore/VectorStoreOps.cs:681-687 | libs/server/Storage/Session/MainStore/VectorStoreOps.cs:732-738 \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 \u0060libs/server/Storage/Session/MainStore/VectorStoreOps.cs:681\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":"libs/server/Storage/Session/MainStore/VectorStoreOps.cs"},"region":{"startLine":681}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f6b331d0af36b18be3def007b40bbf32f3bc5aba88ecec3f1bae031884af95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Index/CheckpointManagement/DeviceLogCommitCheckpointManager.cs:225-232 | libs/storage/Tsavorite/cs/src/core/Index/CheckpointManagement/DeviceLogCommitCheckpointManager.cs:278-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 \u0060libs/storage/Tsavorite/cs/src/core/Index/CheckpointManagement/DeviceLogCommitCheckpointManager.cs:225\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":"libs/storage/Tsavorite/cs/src/core/Index/CheckpointManagement/DeviceLogCommitCheckpointManager.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ea9450fb0adda8496877b9dce618467d5fffb4d5e35b8d86371f244f089521"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1190-1198 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1226-1234 \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 \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1190\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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1190}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ec8a81e20d7754d3db907cc84c2221db60fdffae2c67ed0f9bd9c4c4286284"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Utilities/MultiLevelPageArray.cs:308-321 | libs/storage/Tsavorite/cs/src/core/Utilities/MultiLevelPageArray.cs:356-365 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/MultiLevelPageArray.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58fc4288892e95e1068ce84ec9e9e06bbc44aac49ddd2e42284e6c6eb11be04"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): libs/server/Lua/LuaRunner.cs:2192-2200 | libs/server/Lua/LuaRunner.cs:2277-2285 | libs/server/Lua/LuaRunner.cs:2361-2369 | libs/server/Lua/LuaRunner.cs:2437-2445 | libs/server/Lua/LuaRunner.cs:2541-2550 \u2014 all 5 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 \u0060libs/server/Lua/LuaRunner.cs:2192\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":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":2192}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e25f398afbb55a14a14599e1db343c36549ddbdc43243baf1eae4f6df0e6b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20139 lines \u00D7 5): playground/Bitmap/BitCount.cs:46-52 | playground/Bitmap/BitCount.cs:94-102 | playground/Bitmap/BitCount.cs:230-237 | playground/Bitmap/BitCount.cs:374-382 | playground/Bitmap/BitCount.cs:519-527 \u2014 all 5 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 \u0060playground/Bitmap/BitCount.cs:46\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitCount.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"6df1ae914be1ffb8f13b1713061fddc901bf445e8a8aa56b2c8ff529b8b28eee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): libs/server/Resp/Vector/VectorManager.ContextMetadata.cs:210-215 | libs/server/Resp/Vector/VectorManager.ContextMetadata.cs:246-251 | libs/server/Resp/Vector/VectorManager.ContextMetadata.cs:267-272 | libs/server/Resp/Vector/VectorManager.ContextMetadata.cs:283-288 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.ContextMetadata.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a6209b0fa605eb6ffccdfcab10be764617f7793368a230be077b82efae929eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/server/Lua/LuaRunner.Functions.Struct.cs:394-398 | libs/server/Lua/LuaRunner.Functions.Struct.cs:534-538 | libs/server/Lua/LuaRunner.Functions.Struct.cs:570-574 \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. 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":"libs/server/Lua/LuaRunner.Functions.Struct.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7da3c62923f34e19eb1efc48541a6544761dbfa10a051a47cfa537f90e74c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): libs/server/Resp/Vector/VectorManager.ContextMetadata.cs:193-198 | libs/server/Resp/Vector/VectorManager.ContextMetadata.cs:226-231 | libs/server/Resp/Vector/VectorManager.ContextMetadata.cs:302-307 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.ContextMetadata.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c184db6245248b9d15767ed9a931c86bf4a162507ad81a0b973f9194cdd36d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/server/Storage/Session/MainStore/VectorStoreOps.cs:553-560 | libs/server/Storage/Session/MainStore/VectorStoreOps.cs:627-634 | libs/server/Storage/Session/MainStore/VectorStoreOps.cs:708-715 \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 \u0060libs/server/Storage/Session/MainStore/VectorStoreOps.cs:553\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"libs/server/Storage/Session/MainStore/VectorStoreOps.cs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"4480ee9f9cc222b6c26feece87e1eed879348e9233875b54427fbda0d67367f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/server/Storage/Session/ObjectStore/HashOps.cs:45-52 | libs/server/Storage/Session/ObjectStore/HashOps.cs:83-90 | libs/server/Storage/Session/ObjectStore/HashOps.cs:128-135 \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 \u0060libs/server/Storage/Session/ObjectStore/HashOps.cs:45\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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/HashOps.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5922e5bfca0044712f144dfede245a744095d12d9ad0b3ab74edc1ca4cff7c1c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): playground/Bitmap/BitOp.cs:1311-1318 | playground/Bitmap/BitOp.cs:1337-1344 | playground/Bitmap/BitOp.cs:1363-1370 \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 \u0060playground/Bitmap/BitOp.cs:1311\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":"playground/Bitmap/BitOp.cs"},"region":{"startLine":1311}}}],"partialFingerprints":{"codehealthFindingId/v1":"dba69cb369381eabc8c6b3e56b6ecabc4c14b9444bf116b3e10ca2e98fc05aa3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/cluster/Server/Replication/ReplicaOps/ReplicaDiskbasedSync.cs:35-41 | libs/cluster/Server/Replication/ReplicaOps/ReplicaDisklessSync.cs:29-35 \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 \u0060libs/cluster/Server/Replication/ReplicaOps/ReplicaDiskbasedSync.cs:35\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":"libs/cluster/Server/Replication/ReplicaOps/ReplicaDiskbasedSync.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3750641452473cbdfeea2d2b158188630f0dd1ec2c4179eecc1d0285d94fcc2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/common/Synchronization/ReadOptimizedLock.cs:412-418 | libs/common/Synchronization/ReadOptimizedLock.cs:592-598 \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 \u0060libs/common/Synchronization/ReadOptimizedLock.cs:412\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":"libs/common/Synchronization/ReadOptimizedLock.cs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccdc9d7cd8a7f22ce4aaf0eb524512145dcd4ed6f02e9900023384c67294da7a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/server/Custom/CustomRespCommands.cs:99-107 | libs/server/Custom/CustomRespCommands.cs:263-271 \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 \u0060libs/server/Custom/CustomRespCommands.cs:99\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":"libs/server/Custom/CustomRespCommands.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdc6d960823ad3cf154bf300dcc478a3f16deb02b0cf20fee2455352194a493"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 2): libs/server/Lua/LuaRunner.cs:433-440 | libs/server/Lua/LuaRunner.cs:1254-1262 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/server/Lua/LuaRunner.cs:1264\u0060 calls \u0060MapRespToObject\u0060, \u0060Assert\u0060 and \u0060libs/server/Lua/LuaRunner.cs:441\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":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"4210091c43d74a0504a819fe7e806dd581ee8cc2b202f9df4f72c702b2be5958"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20139 lines \u00D7 3): libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:170-173 | libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:312-319 | libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:463-471 \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 \u0060libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:312\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. 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":"libs/server/Resp/Bitmap/BitmapManagerBitCount.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"88e2ec2adb63b3e2b0ea6fd804df9511f3851da0475a207ab6a1e31c74ff6aa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/server/Resp/Vector/ExprCompiler.cs:77-81 | libs/server/Resp/Vector/ExprCompiler.cs:87-91 \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 \u0060libs/server/Resp/Vector/ExprCompiler.cs:77\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":"libs/server/Resp/Vector/ExprCompiler.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d564c5e28c91211dd86b93f826389986d3b0d89b253c6d2604323da70ffaa36a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/server/Resp/Vector/VectorManager.ContextMetadata.cs:65-70 | libs/server/Resp/Vector/VectorManager.ContextMetadata.cs:77-82 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.ContextMetadata.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"659f2c4081e74d5732fddbd1c18bbcbd7fed9069cf421302c5695f8b4cd0ecdd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/server/Resp/Vector/VectorManager.cs:1015-1024 | libs/server/Resp/Vector/VectorManager.cs:1214-1222 \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 \u0060libs/server/Resp/Vector/VectorManager.cs:1015\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":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":1015}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2599982f23c853ae9be76b4175f268d63b175b0e80cca048bdd32c5fb30b164"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/server/Storage/Functions/MainStore/PrivateMethods.cs:59-65 | libs/server/Storage/Functions/MainStore/PrivateMethods.cs:77-83 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/PrivateMethods.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5f854caddc06115a2ada34ceb1170208395d358ac72d5fc2129bc2b656ec1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/server/Storage/Session/MainStore/VectorStoreOps.cs:498-505 | libs/server/Storage/Session/MainStore/VectorStoreOps.cs:524-531 \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 \u0060libs/server/Storage/Session/MainStore/VectorStoreOps.cs:498\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":"libs/server/Storage/Session/MainStore/VectorStoreOps.cs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc04555ccb6b607461e694fc650051f2b58577b861e3cf899ac6de0e7c44a6b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/ListOps.cs:36-45 | libs/server/Storage/Session/ObjectStore/ListOps.cs:73-81 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/ListOps.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ebb33527de5bf797c1aefd0137e47febb7d2ba4359aef1fbf47dbba10a7dfcf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:40-48 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:80-88 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44e35795352fca926306c60871c7f9eeba307964c4faf7c2f41a035f68d1b0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/server/TLS/GarnetTlsOptions.cs:201-207 | libs/server/TLS/GarnetTlsOptions.cs:239-245 \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 \u0060libs/server/TLS/GarnetTlsOptions.cs:201\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/server/TLS/GarnetTlsOptions.cs:208\u0060 calls \u0060ValidateCertificateName\u0060 and \u0060libs/server/TLS/GarnetTlsOptions.cs:246\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":"libs/server/TLS/GarnetTlsOptions.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"78ee65fb07ea96ea83ddecacf6362f1d390fc2c1ff1a30e5fad674e6c61de5b6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Allocator/LogRecord.cs:1537-1546 | libs/storage/Tsavorite/cs/src/core/Allocator/LogRecord.cs:1663-1671 \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 \u0060libs/storage/Tsavorite/cs/src/core/Allocator/LogRecord.cs:1537\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/LogRecord.cs"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"586e6e52abb740b4811a8c5be49a821dbddafe4ffbbdb8938bb57cd01b8d5d8e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs:127-135 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs:165-173 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs:137\u0060 calls \u0060AdvancedOpCode\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs:175\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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1483344854f73d146bbede6999a4254a722646deb4be30a25fd9ba33774e01e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs:464-470 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs:312-318 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 117 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddb3b2eba9975fc4ce1edadfb99322caaf4ddaff7dceb0f4a9bf609e39fa8179"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): playground/CommandInfoUpdater/RespCommandDocsParser.cs:42-50 | playground/CommandInfoUpdater/RespCommandDocsParser.cs:138-148 \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 \u0060playground/CommandInfoUpdater/RespCommandDocsParser.cs:42\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"playground/CommandInfoUpdater/RespCommandDocsParser.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb561ab718d2cf7764c8e1247095e9e0403eef64c15b6ea9913afbdb2c495e6d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 5): libs/cluster/Server/Migration/MigrateSessionCommonUtils.cs:64-70 | libs/server/Resp/Vector/VectorManager.Replication.cs:856-862 | libs/server/Resp/Vector/VectorManager.cs:666-672 | libs/server/Storage/Session/ObjectStore/CompletePending.cs:22-28 | libs/server/Storage/Session/UnifiedStore/CompletePending.cs:22-28 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/cluster/Server/Migration/MigrateSessionCommonUtils.cs:64\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":"libs/cluster/Server/Migration/MigrateSessionCommonUtils.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"614fcb1d1ef824a893de83c284f0f4640742130a7b57f1fe6f4d8e5a79a3eb89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7\u20138 lines \u00D7 3): libs/server/Resp/Vector/VectorManager.Filter.cs:126-133 | libs/server/Resp/Vector/VectorManager.cs:1013-1019 | libs/server/Resp/Vector/VectorManager.cs:1212-1218 \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":"libs/server/Resp/Vector/VectorManager.Filter.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"6186cc4f1d89f94956312c6573a1f219e9453d3412233c4d1ca0e7e3cfc3a4af"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/common/Synchronization/ReadOptimizedLock.cs:411-418 | libs/common/Synchronization/ReadOptimizedLock.cs:454-462 \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 \u0060libs/common/Synchronization/ReadOptimizedLock.cs:411\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":"libs/common/Synchronization/ReadOptimizedLock.cs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a06512e4c37848f28c66a1a820bccc9c7854c240eff4aab1dbdcbd25c65612"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/server/Lua/LuaLimitedManagedAllocator.cs:452-461 | libs/server/Lua/LuaTrackedAllocator.cs:110-117 \u2014 before extracting anything, compare \u0060libs/server/Lua/LuaLimitedManagedAllocator.cs\u0060 and \u0060libs/server/Lua/LuaTrackedAllocator.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 48 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"libs/server/Lua/LuaLimitedManagedAllocator.cs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"1526d6c89e4f6895e622071e1782d7c297d6f5150ddc3a729bb40b7525d5af1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/server/Resp/KeyAdminCommands.cs:421-428 | libs/server/Storage/Session/UnifiedStore/UnifiedStoreOps.cs:200-207 \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":"libs/server/Resp/KeyAdminCommands.cs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"851c6d5861ca09c343c3aaa88b6eb410525877724a3bb8b0413794a3371a1591"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/server/Storage/Session/MainStore/VectorStoreOps.cs:527-532 | libs/server/Storage/Session/MainStore/VectorStoreOps.cs:588-593 \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 \u0060libs/server/Storage/Session/MainStore/VectorStoreOps.cs:527\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":"libs/server/Storage/Session/MainStore/VectorStoreOps.cs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"76bc962cb0a5c3eedf1ed38de860dfa5872d5a791f94e2d10c307d6d143e9b11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:730-736 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:688-694 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 and \u0060playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 364 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":"libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd18a1b38d252dacd56b3627226b7403497a20686f47000da882337b97b9fff9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/SplitIndex.cs:176-180 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/SplitIndex.cs:185-189 \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 \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/SplitIndex.cs:176\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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/SplitIndex.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb581432cde9a5ac3cf8e0ee9c213829bdefa7de752d897873b6515150016ab5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 8): playground/Bitmap/BitOp.cs:114-120 | playground/Bitmap/BitOp.cs:171-177 | playground/Bitmap/BitOp.cs:308-314 | playground/Bitmap/BitOp.cs:370-376 | playground/Bitmap/BitOp.cs:478-484 | playground/Bitmap/BitOp.cs:540-546 | playground/Bitmap/BitOp.cs:677-683 | playground/Bitmap/BitOp.cs:739-745 \u2014 all 8 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 \u0060playground/Bitmap/BitOp.cs:114\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"27ff8f5f4e9999847c3334d6cfac8d227e7dfdb4b995c66f297c594c4050ef87"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): libs/server/Custom/CustomCommandManager.cs:94-100 | libs/server/Custom/CustomCommandManager.cs:122-128 | libs/server/Custom/CustomCommandManager.cs:175-182 | libs/server/Custom/CustomCommandManager.cs:205-212 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060name\u0060 to \u0060string\u0060 in one and \u0060int subCommand) Register(string\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Custom/CustomCommandManager.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e1d44668c916d6616b724eedad0a620be996fba18c5e9499c2a0234dfe9854c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:374-380 | playground/Bitmap/BitCount.cs:285-291 | playground/Bitmap/BitCount.cs:430-436 \u2014 before extracting anything, compare \u0060libs/server/Resp/Bitmap/BitmapManagerBitCount.cs\u0060 and \u0060playground/Bitmap/BitCount.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 65 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":"libs/server/Resp/Bitmap/BitmapManagerBitCount.cs"},"region":{"startLine":374}}}],"partialFingerprints":{"codehealthFindingId/v1":"deba74f44102fb8e98340ff149859c4eba8b08f56463418484c5044f22443d7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:559-565 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:620-626 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:674-681 \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 \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:559\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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060desiredValue\u0060 to \u0060ReadOnlySpan\u003Cbyte\u003E\u0060 in one and \u0060IHeapObject\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs"},"region":{"startLine":559}}}],"partialFingerprints":{"codehealthFindingId/v1":"567057bcedfad226d8fdca53a5077fbba78e94896458b5cb47bf33a9c391cae7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs:227-232 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs:464-469 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs:312-317 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 37 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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, \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs:233\u0060 calls \u0060SetTombstone\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs:470\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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f3cbe0d9af62f8ca2f3a54705ddf04f812011b94388a18ab7126c542b866b8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/cluster/Session/RespClusterReplicationCommands.cs:270-276 | libs/cluster/Session/RespClusterReplicationCommands.cs:443-449 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/cluster/Session/RespClusterReplicationCommands.cs:269\u0060 calls \u0060GetString\u0060 and \u0060libs/cluster/Session/RespClusterReplicationCommands.cs:441\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":"libs/cluster/Session/RespClusterReplicationCommands.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8ad412d7ce0e56ae32d215edbd7df8cf8b3f67acd0d783f52e21171cb364d5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/common/HashUtils.cs:240-247 | libs/common/HashUtils.cs:249-255 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note 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":"libs/common/HashUtils.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e13bbe1bc65a02b815e2dc25b9809ea12d0b6f81b2136bd40e36e474f9cfa4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/server/AOF/AofProcessor.ChunkReplay.cs:164-169 | libs/server/AOF/AofProcessor.ChunkReplay.cs:270-275 \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 \u0060libs/server/AOF/AofProcessor.ChunkReplay.cs:164\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":"libs/server/AOF/AofProcessor.ChunkReplay.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e28015013655c108b7d6adc711b0708a0c8d2c163d4c3a7e993f676c0e198d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20137 lines \u00D7 6): libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:222-225 | libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:226-228 | libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:230-236 | playground/Bitmap/BitCount.cs:140-143 | playground/Bitmap/BitCount.cs:144-146 | playground/Bitmap/BitCount.cs:148-154 \u2014 before extracting anything, compare \u0060libs/server/Resp/Bitmap/BitmapManagerBitCount.cs\u0060 and \u0060playground/Bitmap/BitCount.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 65 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:224\u0060 calls \u0060Add\u0060, \u0060Shuffle\u0060, \u0060And\u0060 and \u0060libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:222\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapManagerBitCount.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dfb144421317c3696b96ced3bb1cc8e14572c399585e08c9daee62ccf8e720f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/server/Resp/Parser/RespCommandHashLookup.cs:316-322 | libs/server/Resp/Parser/RespCommandHashLookup.cs:339-345 \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 \u0060libs/server/Resp/Parser/RespCommandHashLookup.cs:316\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"libs/server/Resp/Parser/RespCommandHashLookup.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b912e3f96cf9b2c91e1981ca1eaf2e19eb930e787137cf59be65afafaa99c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/server/Resp/Vector/ExprCompiler.cs:203-208 | libs/server/Resp/Vector/ExprCompiler.cs:221-226 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/server/Resp/Vector/ExprCompiler.cs:203\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":"libs/server/Resp/Vector/ExprCompiler.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"c77b15c9124d594ceafff112f991abb6cd97e0cbbfda34a080adc0f1ec1b6045"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/server/Resp/Vector/VectorManager.Callbacks.cs:362-368 | libs/server/Resp/Vector/VectorManager.Callbacks.cs:416-423 \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 \u0060libs/server/Resp/Vector/VectorManager.Callbacks.cs:362\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Callbacks.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"89fea85d5c0a642d3d5f2527b37d231757b19af68191fe1a5b654a710cfa2785"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/server/Resp/Vector/VectorManager.Import.cs:49-55 | libs/server/Resp/Vector/VectorManager.Replication.cs:661-667 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Import.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3f0a853d2b005b676265ea17f857e74ba933b4a7d7c939cde3ba9603cc49c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/ClientSession/BasicContext.cs:15-20 | libs/storage/Tsavorite/cs/src/core/ClientSession/ConsistentReadContext.cs:15-20 \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 \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/BasicContext.cs:15\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/BasicContext.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e98edbb1933f90a2182af21b5f90838d3b2557d9cf3c0b8d1f06c80bf40cfba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/ClientSession/BasicContext.cs:16-22 | libs/storage/Tsavorite/cs/src/core/ClientSession/UnsafeContext.cs:17-23 \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 \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/BasicContext.cs:16\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/BasicContext.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e2235b7824bd058307f585e0de1f067c32613f56d8998071e45d04915ccf4c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:16-22 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs:17-23 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:16\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"33e64ac08621f1727428ce420c1b3e10e48831649735f49d607bd69706ebea4b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/ContinuePending.cs:165-170 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRead.cs:187-192 \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. 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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/ContinuePending.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4094ff0552751890faa51eff49322051d682ce8f477817a0a3e24814254bb6a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Utilities/BufferPool.Legacy.cs:103-107 | libs/storage/Tsavorite/cs/src/core/Utilities/BufferPool.OriginReturn.cs:536-540 \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":"libs/storage/Tsavorite/cs/src/core/Utilities/BufferPool.Legacy.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4cc7c6d005fabb7df9f3d48432bd55c84d2ef62d54878289b96f36ca4f999f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): main/GarnetServer/Extensions/SampleDeleteTxn.cs:35-40 | main/GarnetServer/Extensions/SampleUpdateTxn.cs:36-41 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"main/GarnetServer/Extensions/SampleDeleteTxn.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c19d55cf3cc7e40ac9c6ee64b966e85ee9ddfee31797a3c71acc4388152146e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): playground/CommandInfoUpdater/CommandDocsUpdater.cs:73-79 | playground/CommandInfoUpdater/CommandInfoUpdater.cs:65-72 \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 \u0060playground/CommandInfoUpdater/CommandDocsUpdater.cs:73\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/CommandInfoUpdater/CommandDocsUpdater.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba273184bc1291516ed42c62fb1e9ca7e55d32509e6ce16954b9456db9c1dda6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): playground/CommandInfoUpdater/RespCommandInfoParser.cs:429-435 | playground/CommandInfoUpdater/RespCommandInfoParser.cs:480-486 \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 \u0060playground/CommandInfoUpdater/RespCommandInfoParser.cs:480\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. 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":"playground/CommandInfoUpdater/RespCommandInfoParser.cs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a55c7cf7910b9b7d70c371ca07785b71736482d4af61d3945ae9217c3292a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): playground/GarnetClientStress/Options.cs:8-13 | samples/MetricsMonitor/Options.cs:9-14 \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 \u0060playground/GarnetClientStress/Options.cs:8\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060playground/GarnetClientStress/Options.cs:16\u0060 calls \u0060Option\u0060 and \u0060samples/MetricsMonitor/Options.cs:15\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/GarnetClientStress/Options.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"649b209999d1f09dff1fe469ac0013f068cd81fbc684574dd6724c5784dced89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 5): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1164-1169 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1234-1239 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1373-1378 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1545-1550 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1595-1600 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1240\u0060 calls \u0060TotalSize\u0060, \u0060SerializeTo\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1170\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"ababc3170bc91dc7db4372741288f87ba4603fce0c4472f4338ec4543e57bd19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1164-1168 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1234-1238 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1300-1304 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1334-1338 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1373-1377 \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1240\u0060 calls \u0060TotalSize\u0060, \u0060SerializeTo\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1170\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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"909c794ecf2df5f71e85f4d1ac7fe5cce5eb124ca37ca92f27a0b34eef9f1532"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): playground/Bitmap/BitOp.cs:205-210 | playground/Bitmap/BitOp.cs:404-409 | playground/Bitmap/BitOp.cs:574-579 | playground/Bitmap/BitOp.cs:773-778 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060playground/Bitmap/BitOp.cs:205\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":"playground/Bitmap/BitOp.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b62544dcd54019221df6d8f2607724f12272590419251191401195206b1e781b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/client/LightEpoch.cs:668-672 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:692-696 \u2014 before extracting anything, compare \u0060libs/client/LightEpoch.cs\u0060 and \u0060playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 15 separate duplicated blocks between them, totalling at least 326 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 \u0060libs/client/LightEpoch.cs:668\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":"libs/client/LightEpoch.cs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"b63bf38c2f5bdbe1f0688a7242d47db09086cd13fd5765b0120291020f45fe84"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/server/Resp/Vector/VectorManager.cs:1413-1419 | libs/server/Resp/Vector/VectorManager.cs:1679-1684 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060element\u0060 to \u0060PinnedSpanByte\u0060 in one and \u0060ReadOnlySpan\u003Cbyte\u003E\u0060 in another, and the duplicated lines use it. The extracted unit therefore needs a parameter type that fits BOTH \u2014 their common supertype where they have one, or a new abstraction over them where they do not \u2014 and settling that is the step that comes BEFORE the extraction above. Where the two types are deliberately unrelated, the duplication is the price of that separation and the honest resolution is to record the decision rather than to extract."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":1413}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6840937a385ab8b141d119028d773a40cfefc963345b91a0d7430e048b6c164"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/server/Resp/Vector/VectorManager.Locking.cs:323-329 | libs/server/Resp/Vector/VectorManager.Locking.cs:593-598 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/server/Resp/Vector/VectorManager.Locking.cs:599\u0060 calls \u0060SetArgument\u0060, \u0060FromPinnedSpan\u0060, \u0060CreateSpan\u0060 and \u0060libs/server/Resp/Vector/VectorManager.Locking.cs:331\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":"libs/server/Resp/Vector/VectorManager.Locking.cs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b99b95509868932b5eed33c3bfd14b3f2699f467042670c8e6af8c102f1198c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/server/Storage/Functions/MainStore/RMWMethods.cs:884-891 | libs/server/Storage/Functions/MainStore/RMWMethods.cs:1464-1469 \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 \u0060libs/server/Storage/Functions/MainStore/RMWMethods.cs:1464\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a25dc8fbef135224ce1cf2159e31e0446f1f5ac7cd14562a6f9dfaa01ac123e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorScan.cs:298-313 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/ConditionalCopyToTail.cs:106-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 \u0060libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorScan.cs:298\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorScan.cs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"0924f47c67f74340f277e75a7a280d1a79c140df35193cc0dba6f65b78216bee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalConsistentReadContext.cs:14-20 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:15-20 \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 \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalConsistentReadContext.cs:14\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":"libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalConsistentReadContext.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c903629b2dd67f8884b8f87ea77950f85ca989f0ba0ca9b07abc4b5a7ff07a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRead.cs:60-71 | libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRead.cs:279-284 \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 \u0060return\u0060 at the foot of the matched lines is the enclosing body\u0027s own terminal exit, not an early one: it moves with them unchanged, and each site calls the extracted unit from the position that \u0060return\u0060 occupied \u2014 no decision has to be handed back and re-acted on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRead.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"964a16ddd9b3a57923a2a044e9a39b96166f21ace7199f2aefd33c5b76d71f02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): playground/Bitmap/BitOp.cs:225-230 | playground/Bitmap/BitOp.cs:234-239 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":225}}}],"partialFingerprints":{"codehealthFindingId/v1":"057bc3e38dcc6f4629dd7fbfbb6e70c41b05ac739590b294fec9af54322edae2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): playground/Bitmap/BitOp.cs:594-599 | playground/Bitmap/BitOp.cs:603-608 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"765daf6c23d698f9f98826a11f27e4b3f7b821e70054a5c7f581827b228cfc3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): playground/CommandInfoUpdater/RespCommandInfoParser.cs:47-52 | playground/CommandInfoUpdater/RespCommandInfoParser.cs:75-80 \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 \u0060playground/CommandInfoUpdater/RespCommandInfoParser.cs:47\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. 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":"playground/CommandInfoUpdater/RespCommandInfoParser.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"71839869b42ec3568ac9704082af834d3412e7b4279439bccad892edab24794b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 7): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1164-1168 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1234-1238 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1300-1304 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1334-1338 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1373-1377 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1545-1549 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1595-1599 \u2014 all 7 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1240\u0060 calls \u0060TotalSize\u0060, \u0060SerializeTo\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1170\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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1164}}}],"partialFingerprints":{"codehealthFindingId/v1":"829c8de408fc0b7ac6a01e9ab328d185f84027128dc15c679291d58963f6c1c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1128-1132 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1163-1167 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1233-1237 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1299-1303 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1333-1337 | libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1372-1376 \u2014 all 6 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1168\u0060 calls \u0060TotalSize\u0060, \u0060SerializeTo\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs:1133\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"5525fa0c5332081092d31d8bc5b05620f5bc37b56395311d6f0e04db7bb55b72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): libs/server/Resp/HyperLogLog/HyperLogLog.cs:879-883 | libs/server/Resp/HyperLogLog/HyperLogLog.cs:884-888 | libs/server/Resp/HyperLogLog/HyperLogLog.cs:889-893 | libs/server/Resp/HyperLogLog/HyperLogLog.cs:894-898 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"889e0dc2672cfe02ba99c5e420e84835121dd0a3d0bec6f2dc06e5bb8dba8e37"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/server/Resp/Vector/VectorManager.Locking.cs:325-329 | libs/server/Resp/Vector/VectorManager.Locking.cs:561-565 | libs/server/Resp/Vector/VectorManager.Locking.cs:594-598 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060libs/server/Resp/Vector/VectorManager.Locking.cs:599\u0060 calls \u0060SetArgument\u0060, \u0060FromPinnedSpan\u0060, \u0060CreateSpan\u0060 and \u0060libs/server/Resp/Vector/VectorManager.Locking.cs:331\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":"libs/server/Resp/Vector/VectorManager.Locking.cs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"55d17367a7f9095d91b9ceb353daa6afc92efd7ba9f32352dd514f26d4f50d16"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/server/Objects/SortedSet/SortedSetObjectImpl.cs:314-320 | libs/server/Objects/SortedSet/SortedSetObjectImpl.cs:1109-1113 \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 \u0060libs/server/Objects/SortedSet/SortedSetObjectImpl.cs:314\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. 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":"libs/server/Objects/SortedSet/SortedSetObjectImpl.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"263a1d483bdff9a4ddabe4d591fc1e78905cda4ed1e47fb8308c8a98c09aa441"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): libs/server/Resp/Bitmap/BitmapManagerBitOp.cs:180-183 | libs/server/Resp/Bitmap/BitmapManagerBitOp.cs:185-189 | libs/server/Resp/Bitmap/BitmapManagerBitOp.cs:193-197 | libs/server/Resp/Bitmap/BitmapManagerBitOp.cs:200-204 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"libs/server/Resp/Bitmap/BitmapManagerBitOp.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a93d8147f5ffffeb41b40a2d61ff97bc43626a34fa8a301ec640863c77f2251"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): libs/server/Resp/Bitmap/BitmapManagerBitOp.cs:233-236 | libs/server/Resp/Bitmap/BitmapManagerBitOp.cs:238-242 | libs/server/Resp/Bitmap/BitmapManagerBitOp.cs:246-250 | libs/server/Resp/Bitmap/BitmapManagerBitOp.cs:253-257 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"libs/server/Resp/Bitmap/BitmapManagerBitOp.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fa2a45614ddbabc53e984680fbeb9fbb7e2981abf49b22292d87a3d801cf2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 4): libs/server/Resp/Bitmap/BitmapManagerBitOp.cs:286-289 | libs/server/Resp/Bitmap/BitmapManagerBitOp.cs:291-295 | libs/server/Resp/Bitmap/BitmapManagerBitOp.cs:299-303 | libs/server/Resp/Bitmap/BitmapManagerBitOp.cs:306-310 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. 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":"libs/server/Resp/Bitmap/BitmapManagerBitOp.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7be267c7ea6a81a5523ea1e3cbae1f8e284ae6556e280323f11125bd7041625"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): playground/Bitmap/BitCount.cs:268-272 | playground/Bitmap/BitCount.cs:413-417 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitCount.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"286e144206bb82aaca3a0adc8d01ab92d47a96a93030f4294be57a7a0092cadf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (3\u20135 lines \u00D7 6): libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:365-368 | libs/server/Resp/Bitmap/BitmapManagerBitCount.cs:371-373 | playground/Bitmap/BitCount.cs:275-279 | playground/Bitmap/BitCount.cs:282-284 | playground/Bitmap/BitCount.cs:420-424 | playground/Bitmap/BitCount.cs:427-429 \u2014 before extracting anything, compare \u0060libs/server/Resp/Bitmap/BitmapManagerBitCount.cs\u0060 and \u0060playground/Bitmap/BitCount.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 65 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":"libs/server/Resp/Bitmap/BitmapManagerBitCount.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"48e76976934da8606a4598410017a0cd1bb9ab7a6ea536e8f2a09aabccbef2ee"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 3): libs/server/Storage/Functions/MainStore/MainSessionFunctions.cs:24-50 | libs/server/Storage/Functions/ObjectStore/ObjectSessionFunctions.cs:24-50 | libs/server/Storage/Functions/UnifiedStore/UnifiedSessionFunctions.cs:21-46 \u2014 before extracting anything, compare \u0060libs/server/Storage/Functions/MainStore/MainSessionFunctions.cs\u0060 and \u0060libs/server/Storage/Functions/ObjectStore/ObjectSessionFunctions.cs\u0060 as WHOLE FILES: 86% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/MainSessionFunctions.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d9ec13423ca666e02a9a70f4092ef9b0d7ccfb030f8db0a65456f80d9c6d875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/client/ClientSession/AsyncPool.cs:46-56 | libs/storage/Tsavorite/cs/src/core/Device/AsyncPool.cs:46-56 \u2014 before extracting anything, compare \u0060libs/client/ClientSession/AsyncPool.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Device/AsyncPool.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/ClientSession/AsyncPool.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4b841fee35f33b65077976a8c1a720163ff435df90429f16caec166749baaf0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/client/ClientSession/AsyncPool.cs:65-75 | libs/storage/Tsavorite/cs/src/core/Device/AsyncPool.cs:65-75 \u2014 before extracting anything, compare \u0060libs/client/ClientSession/AsyncPool.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Device/AsyncPool.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/ClientSession/AsyncPool.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d804d8c775f865d02832cdfa2797f0bc18a682b28a5ac3692b80ad568a5c70de"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): libs/client/ClientSession/AsyncPool.cs:108-120 | libs/storage/Tsavorite/cs/src/core/Device/AsyncPool.cs:108-120 \u2014 before extracting anything, compare \u0060libs/client/ClientSession/AsyncPool.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Device/AsyncPool.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 35 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/ClientSession/AsyncPool.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f9c1dc99c948ed3975ab5cd93703f47da97a5152aaba3c61396fce35762a970"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): libs/client/ClientSession/GarnetClientSession.cs:340-358 | libs/client/GarnetClient.cs:412-430 \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":"libs/client/ClientSession/GarnetClientSession.cs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"537e916ccc01d6c36f36cad0a64ea10aad8bf3611d1e3f06ced56accaa4e016e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/client/LightEpoch.cs:206-213 | libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:243-250 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:233-240 \u2014 before extracting anything, compare \u0060libs/client/LightEpoch.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 184 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/LightEpoch.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d9d6aa073a859ea4a7776cef0affa9b275949a769349494bf37a7a6c598091"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): libs/client/Utility.cs:70-77 | libs/server/Servers/ServerOptions.cs:316-323 | libs/storage/Tsavorite/cs/src/core/Utilities/Utility.cs:84-91 \u2014 before extracting anything, compare \u0060libs/client/Utility.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Utilities/Utility.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/Utility.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ce451dcea3f68b39b6ccbc9e330b18e387f5cb5c5c4542ef520b8dfbadd6bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/client/Utility.cs:127-134 | libs/storage/Tsavorite/cs/src/core/Utilities/Utility.cs:395-402 \u2014 before extracting anything, compare \u0060libs/client/Utility.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Utilities/Utility.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/Utility.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"918d03554da06f2bab60f2e1ccd5c9b6dfe2dc06b78d844d41a23450f495c37f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/client/Utility.cs:163-170 | libs/storage/Tsavorite/cs/src/core/Utilities/Utility.cs:451-459 \u2014 before extracting anything, compare \u0060libs/client/Utility.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Utilities/Utility.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060libs/storage/Tsavorite/cs/src/core/Utilities/Utility.cs:449\u0060 calls \u0060MethodImpl\u0060 and \u0060libs/client/Utility.cs:153\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/Utility.cs"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"741521083add304ec600f457c615b87aac8facf383c741bcc5e62a894aefbe36"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): libs/client/Utility.cs:178-188 | libs/storage/Tsavorite/cs/src/core/Utilities/Utility.cs:467-477 \u2014 before extracting anything, compare \u0060libs/client/Utility.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Utilities/Utility.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 90 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/Utility.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"50545f2e7382ed039ce88db70c1ae996d70ef5cb9b19bfcf6142a7de17ef47db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): libs/common/Networking/GarnetTcpNetworkSender.cs:383-403 | libs/common/Networking/TcpNetworkHandlerBase.cs:97-117 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/GarnetTcpNetworkSender.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4048ae8ef26e65c16026c678b306c8addc6f945d01b284f0b5cd2b5d999ae6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/server/Storage/Session/ObjectStore/ListOps.cs:336-340 | libs/server/Storage/Session/ObjectStore/ListOps.cs:397-401 | libs/server/Storage/Session/ObjectStore/SortedSetOps.cs:697-701 \u2014 there are 3 copies across 2 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 3 sites; resolving a subset leaves the remainder to drift apart. The matched lines also 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":"libs/server/Storage/Session/ObjectStore/ListOps.cs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dd7ec3532f7f1df6fb459a6b4a7e3e2f4aa30aa68ee5fcd437bbbaafe8b2c10"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs:121-126 | libs/storage/Tsavorite/cs/src/core/Allocator/TsavoriteLogAllocatorImpl.cs:29-34 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbac829ec1925af886db9484ffe3ab55d6c66e6e845330e4628c08e8905f8ab1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs:64-69 | libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs:63-68 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 236 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"017ed7f8ee8031bb5327929506eee406811d0b958272c9f13be8b45db90262eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs:190-196 | libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs:189-195 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 236 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe3fc2ca860e564b57c42e66c8aa77f5ed0699c3071b87942e464549327adcd8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs:452-460 | libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs:452-459 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 236 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"d87ab3bb0d01835e3f898b166d8dbe76d26b243093d39506beb30b3c977fc65c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteAllocatorImpl.cs:39-52 | libs/storage/Tsavorite/cs/src/core/Allocator/TsavoriteLogAllocatorImpl.cs:42-55 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteAllocatorImpl.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/Allocator/TsavoriteLogAllocatorImpl.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 58 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteAllocatorImpl.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"762ea67072c0290b6d7623c927c7e9c2b520ed3e42ff84d3caa5379caefc9427"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): libs/storage/Tsavorite/cs/src/core/ClientSession/BasicContext.cs:126-130 | libs/storage/Tsavorite/cs/src/core/ClientSession/ConsistentReadContext.cs:77-81 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalConsistentReadContext.cs:148-152 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:433-437 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs:221-225 | libs/storage/Tsavorite/cs/src/core/ClientSession/UnsafeContext.cs:113-117 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"libs/storage/Tsavorite/cs/src/core/ClientSession/BasicContext.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"5184f35b903d68cc9cf5da0f5d4784b5ae5a212bd0a88884b14579e176f5e1f5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 6): libs/storage/Tsavorite/cs/src/core/ClientSession/BasicContext.cs:135-139 | libs/storage/Tsavorite/cs/src/core/ClientSession/ConsistentReadContext.cs:86-90 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalConsistentReadContext.cs:157-161 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:442-446 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs:230-234 | libs/storage/Tsavorite/cs/src/core/ClientSession/UnsafeContext.cs:122-126 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"libs/storage/Tsavorite/cs/src/core/ClientSession/BasicContext.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c0a4836a01bf09d8f2045528a2c3d47b3faeba4cb7857b2281cd9d0c9db10e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): libs/storage/Tsavorite/cs/src/core/ClientSession/BasicContext.cs:316-320 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:646-650 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs:369-373 | libs/storage/Tsavorite/cs/src/core/ClientSession/UnsafeContext.cs:261-265 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/BasicContext.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f4e8aacbaee8646d1ebce004685f55f9029c409f611b432d918c654ce0f43df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 4): libs/storage/Tsavorite/cs/src/core/ClientSession/BasicContext.cs:327-331 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:657-661 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs:380-384 | libs/storage/Tsavorite/cs/src/core/ClientSession/UnsafeContext.cs:272-276 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"libs/storage/Tsavorite/cs/src/core/ClientSession/BasicContext.cs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a9a1aa91e6d80defaf5dfceee4334b66ac5790e1b033343f6fd24c89a430200"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/ClientSession/NoOpSessionFunctions.cs:40-44 | libs/storage/Tsavorite/cs/src/core/Index/Interfaces/SessionFunctionsBase.cs:41-45 \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":"libs/storage/Tsavorite/cs/src/core/ClientSession/NoOpSessionFunctions.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5af30f52ec0433f956c04113e590c41989c17fb9d356c2fa6812a827194ceb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:515-519 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs:272-276 | libs/storage/Tsavorite/cs/src/core/ClientSession/UnsafeContext.cs:164-168 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"072b475e2ade490d3234c8129bfea47b47091217b7bc26d93fed53e2a0180da7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:524-528 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs:281-285 | libs/storage/Tsavorite/cs/src/core/ClientSession/UnsafeContext.cs:173-177 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs"},"region":{"startLine":524}}}],"partialFingerprints":{"codehealthFindingId/v1":"142b6e8e1789587ce38ac91469eec37246a5b25d199ac4a7d9c037cfbef5ba0d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:576-580 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs:316-320 | libs/storage/Tsavorite/cs/src/core/ClientSession/UnsafeContext.cs:208-212 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c1cf7e1e1c313c04da494c7b9d056c9839245e61a9fcd54163058443c3c3af5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs:585-589 | libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs:325-329 | libs/storage/Tsavorite/cs/src/core/ClientSession/UnsafeContext.cs:217-221 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 47 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalContext.cs"},"region":{"startLine":585}}}],"partialFingerprints":{"codehealthFindingId/v1":"7edf9b04e844ef91398bc6b191e2006f1426c33a4c98730dc4d49bc7a0191d90"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:388-397 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:379-388 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 and \u0060playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 364 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"da1bc297c86a86ee9ccb5dbb8e25a6941990c8f23181601d9d7b77bb31abc46b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:834-843 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:787-796 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 and \u0060playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 364 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"cedf95f35318e8db8d474081b22aff0e0de81c77fc23bbf40b1439a0aaa7ae57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs:853-857 | playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs:806-810 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs\u0060 and \u0060playground/LightEpochLitmus/helpers/BuggyLightEpoch.cs\u0060 as WHOLE FILES: this scan already matched 19 separate duplicated blocks between them, totalling at least 364 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Epochs/LightEpoch.cs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"19362abdd0b051196a763638fea6058dff8aa71aa7dfba1b0de7afef9c1fb04c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs:397-401 | libs/storage/Tsavorite/cs/src/core/ClientSession/UnsafeContext.cs:289-293 \u2014 before extracting anything, compare \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs\u0060 and \u0060libs/storage/Tsavorite/cs/src/core/ClientSession/UnsafeContext.cs\u0060 as WHOLE FILES: this scan already matched 9 separate duplicated blocks between them, totalling at least 45 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. 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":"libs/storage/Tsavorite/cs/src/core/ClientSession/TransactionalUnsafeContext.cs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"588c7924454d142a90e3171da1d295b000f6ce006f8f86d799c6827468f316f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): playground/Bitmap/BitOp.cs:423-427 | playground/Bitmap/BitOp.cs:432-436 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa91ce7a4c19b968aa320a02a219b4181fb8492f20426cb04b27ccee2075cbba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): libs/native/bftree-garnet/src/lib.rs:110-117 | libs/native/bftree-garnet/src/lib.rs:442-449 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/native/bftree-garnet/src/lib.rs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec4b1ee39d452513cbfcd4564442eb1ae50a047b5661f975650fbe7b74dab97"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): samples/GarnetClientSample/GarnetClientSamples.cs:109-119 | samples/GarnetClientSample/GarnetClientSamples.cs:134-144 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/GarnetClientSamples.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1aa1e6ef4d4248e0aee239d89607985d19f9249dd6571799a6e13005b83fdeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): samples/GarnetClientSample/GarnetClientSamples.cs:84-97 | samples/GarnetClientSample/GarnetClientSamples.cs:108-122 | samples/GarnetClientSample/GarnetClientSamples.cs:133-147 \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 \u0060samples/GarnetClientSample/GarnetClientSamples.cs:84\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/GarnetClientSamples.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"40c3aff50fe32ea843dbb1a9bd975023476bcd0d8095f60d580c778cdd5ec53a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): samples/ETag/OccSimulation.cs:155-165 | samples/ETag/OccSimulation.cs:174-184 \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 \u0060samples/ETag/OccSimulation.cs:155\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":"samples/ETag/OccSimulation.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8539d72a55a556455adfa51a71f230657876d35f4de58c9a9ef9bdb8b173e7e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): samples/MetricsMonitor/ClientMonitor.cs:127-135 | samples/MetricsMonitor/ClientMonitor.cs:162-169 \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 \u0060samples/MetricsMonitor/ClientMonitor.cs:127\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":"samples/MetricsMonitor/ClientMonitor.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eeb82c742b4211295a8f09ff08f07efd3e763b13da4a6034ce5121164334f22"}},{"ruleId":"D5","level":"warning","message":{"text":"Unstable project Garnet.cluster: Garnet.cluster has instability 0.25 with 15 dependents."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Garnet.cluster.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50301e3bdb201acc1f1bd0022ea58643c1b5b52851d27743261e1f9d8e518502"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: HdrHistogram: HdrHistogram: abstractness 0.12, instability 0.00, distance 0.88 \u2014 zone of pain \u2014 concrete and depended on by 3 project(s), so it\u0027s rigid to change."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/HdrHistogram/HdrHistogram.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f046e913f785f06caf53de1be34594964e8b930f2a950b6d5ef3fe2fe4f5038"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Tsavorite.core: Tsavorite.core: abstractness 0.28, instability 0.00, distance 0.72 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Tsavorite.core.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"49911b063564a537e124f700a2b5b97566896223497d5a452be31c148b318a67"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DiskANNService (LCOM4 18): DiskANNService\u0027s methods fall into 18 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 18 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":"libs/server/Resp/Vector/DiskANNService.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5927e8f856da8068ffbd2d2f8ab7b20bf93fbfb7d30b1889791dc8070d64f14"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: GarnetServerOptions (LCOM4 7): GarnetServerOptions\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":"libs/server/Servers/GarnetServerOptions.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"42ee7f6127e4f2fb0e75166602b4ddf9860d88ced0987edd197ed23da930f7e3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: RangeIndexManager (LCOM4 4): RangeIndexManager\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":"libs/server/Resp/RangeIndex/RangeIndexManager.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38cb003c8897928f416a3a48fe9a394eff2f3c175fde9b4b61ad4e18e0c66f6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: StorageSession (LCOM4 4): StorageSession\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":"libs/server/Storage/Session/ObjectStore/SortedSetOps.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84c25cadf3ad3780e6dc666076db10658f85ee8195265d3341526b959b62815"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 no coverage collector is wired up: Coverage NOT MEASURED: \u0060--collect:\u0022XPlat Code Coverage\u0022\u0060 names a data collector that ships in the \u0060coverlet.collector\u0060 package, and this repository wires up none \u2014 no test project references it and no runsettings declares one. The absence of coverage here is therefore not evidence about the suite or about our analyzer environment: without a collector, \u0060--collect\u0060 produces nothing even from a suite that builds and passes. Add a \u0060coverlet.collector\u0060 PackageReference to the test project(s) (or commit the Cobertura/OpenCover/lcov report your CI produces) and real coverage will be measured. It is excluded from the score rather than counted as a near-zero defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: MultiDatabaseSelectMultithreadedTestLC: Skipped \u2014 "},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.scripting/MultiDatabaseTests.cs"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"7593cf67294036ee2d88e51e3dc52e4bad2d0284a6d06c33810efc32089ba303"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: NativeFullModeLogPageMemoryStaysBounded: Skipped \u2014 [Explicit]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.hlog/NativeHashIndexTests.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa7583dd565d51ff745e6e5fcdee387e27acd96120d35f7aeaf78f62769e223"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: NativeFullModeFlushEvictCyclesStayBounded: Skipped \u2014 [Explicit]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.hlog/NativeHashIndexTests.cs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e264612b98ac51e7d4b0ed4b525aa5d11c0e96c91cd68c3fd02f524dee0342"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: NativeFullModeScanFrameMemoryStaysBounded: Skipped \u2014 [Explicit]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.hlog/NativeHashIndexTests.cs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"acd58fd36a9d91ed109b296a23f2cc66cc2aced31cf5dc2d3ae6dab5121d4f7d"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: ConcurrentSnapshotAndEvictionStress: Skipped \u2014 [Explicit]"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.recovery/NativeSnapshotStressTests.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbbf67700633eefa25e4818c6e146f06d5eeaaa84ea4b1f06ba7a19925a86338"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ParallelPasswordHashTest: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/ParallelTests.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"83cd768772e8e621ab50bbb224da851c8a8a65c16ba2e933c5c2b1d677dfe1b8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Issue1165: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.scripting/LuaScriptRunnerTests.cs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd0adc2cdfd1d6b4b73bb3eadb63a999f262bd359a2b1faf19ec6a232052511f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: GarnetEndToEnd: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/FuzzTargetTests.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c3bf475da9d3950f11c1bc894a07cbd02377ebb238486512a5b90a265d07641"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: LuaScriptCompilation: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/FuzzTargetTests.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c12bd743e8c922fbcc08b5c60c00570b265581c4dbc23f1b284f7232396f50f9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: RespCommandParsing: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/FuzzTargetTests.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e591fc6a2e4ae57a8b5d6dbbf17d96d6efeef3b275e256462aa0ec7135e019"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: RecoverReadOnlyAsyncBasicTest: This method\u0027s body runs code, and no assertion call was recognised in it. Recognised by name: Assert*, *Should*/ShouldBe*, Verify, Expect, Throws, Record, Received/DidNotReceive, MustHaveHappened/MustNotHaveHappened, EnsureSuccessStatusCode and *AndEnsure* \u2014 so verification routed through a helper of your own naming, through a base-class or callback object whose members hold the assertions, or through a harness that fails by throwing under some other name, is not visible to this check and is not counted here. Read it as \u0027no assertion this check knows how to see\u0027, and if that is right, add one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.recovery/RecoverReadOnlyTest.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d108858707c1532080618ad61bb82cf9e75c837505a96171303c8d2ae25a140"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: ClusterMigrateRangeIndexWhileReadingAsync: This test starts a background task and then orders itself against it with \u0060Task.Delay(1_000)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cluster/Garnet.test.cluster.migrate.rangeindex/ClusterRangeIndexMigrateTests.cs"},"region":{"startLine":1098}}}],"partialFingerprints":{"codehealthFindingId/v1":"005a5a0f407dceb88fe41e4f8450a74be04c2cf29a378ff0c72eaccaa0713a4f"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: ClusterAllowWritesDuringMigrateTestAsync: This test starts a background task and then orders itself against it with \u0060Thread.Sleep(TimeSpan.FromSeconds(2))\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cluster/Garnet.test.cluster.migrate/ClusterMigrateTests.cs"},"region":{"startLine":1570}}}],"partialFingerprints":{"codehealthFindingId/v1":"638a8c4e084bc46804658a40935ea56024c9b7fdfa33cece19278afdd5f8cf60"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: ReplicaSyncTaskFaultsRecoverAsync: This test starts a background task and then orders itself against it with \u0060Task.Delay(100)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cluster/Garnet.test.cluster.replication/ReplicationTests/ClusterReplicationBaseTests.cs"},"region":{"startLine":1517}}}],"partialFingerprints":{"codehealthFindingId/v1":"e329dbeea479a2b243e3946a97dab9738ed787efad6eb17545db549cbb50df31"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: MigrateVectorSetWhileModifyingAsync: This test starts a background task and then orders itself against it with \u0060Task.Delay(1_000)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cluster/Garnet.test.cluster.vectorsets/VectorSets/ClusterVectorSetTests.cs"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e2ff78752392b2cf7fed918dd58b39fd5d436ed450bd16cc329a21fd3d31bc"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: MigrateVectorStressAsync: This test starts a background task and then orders itself against it with \u0060Task.Delay(1_000)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cluster/Garnet.test.cluster.vectorsets/VectorSets/ClusterVectorSetTests.cs"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e6f6d1a841d69fa2084e38cda521e6aa4c3503e93fc721d1d0c72785984516"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: ConcurrentVSETATTRUpdatesAsync: This test starts a background task and then orders itself against it with \u0060Task.Delay(1_000)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cluster/Garnet.test.cluster.vectorsets/VectorSets/ClusterVectorSetTests.cs"},"region":{"startLine":2529}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cd17b960f75a8b88c56910895e3dc46a345eee1b90ebb9e09d207630e99441"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: PrimaryUnavailableRecoveryAsync: This test starts a background task and then orders itself against it with \u0060Task.Delay(10_000)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cluster/Garnet.test.cluster/ClusterManagementTests.cs"},"region":{"startLine":1212}}}],"partialFingerprints":{"codehealthFindingId/v1":"674a95584dc76252543bd757e09552026d3a0fa33813da756e9b0819633324de"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: DisposeDuringProcessRecord_DefersCleanupToWorker: This test starts a thread it started and then orders itself against it with \u0060Thread.Sleep(100)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cluster/Garnet.test.cluster/RangeIndexMigrationReceiveStateTests.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb841f1040a3673fc982574cdb7fe3f1d2b1c94fc66dac7902ecfe1d1d4db41"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: BlockingListMoveWakesDestinationObserver: This test starts a background task and then orders itself against it with \u0060Thread.Sleep(1000)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.collections/RespBlockingCollectionTests.cs"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"3137d7f8876ff71b6e7a9c9c7de2e00c4a94479e92ed54cce4cb5dbb234ee4a4"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: BlockingListMovePreservesKeyExpiration: This test starts a background task and then orders itself against it with \u0060Thread.Sleep(500)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.collections/RespBlockingCollectionTests.cs"},"region":{"startLine":1214}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1bb495c361b8e30f02b6cb21c5c37656a303f5e80d69fe1bdd21ef9f1fa45f4"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: BlockingPopServesAllWaitersFromSingleMultiItemPush: This test starts a background task and then orders itself against it with \u0060Thread.Sleep(1000)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.collections/RespBlockingCollectionTests.cs"},"region":{"startLine":1255}}}],"partialFingerprints":{"codehealthFindingId/v1":"65a08d90b138670303a332ca6f5656dcae3f64d25534c858abdb796a1ce6a81f"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: BlockingListMoveSameKeyServesAllWaiters: This test starts a background task and then orders itself against it with \u0060Thread.Sleep(1000)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.collections/RespBlockingCollectionTests.cs"},"region":{"startLine":1305}}}],"partialFingerprints":{"codehealthFindingId/v1":"be1e945f7ef62580540467b2955370afa1506726d29ee2680efc7a0ccf05adf5"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: ExclusiveLockStarvation: This test starts a thread it started and then orders itself against it with \u0060Thread.Sleep(250)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.extensions/ReadOptimizedLockTests.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5452be3926b4ae151dfbcfdbd688fbadd839dcaa4e3e04bfdfb5df728ddbf49"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: FastParticipantBlocksUntilCohortArrives: This test starts a background task and then orders itself against it with \u0060Thread.Sleep(200)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/DoubleTurnstileBarrierTests.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc8d754fde3c592ed3d0bc66641fa9490b4cf2ba08890e420379e13988e093f"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: SignalWorkReadyWaitThrowsOnCancellation: This test starts a background task and then orders itself against it with \u0060Thread.Sleep(100)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/DoubleTurnstileBarrierTests.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"077d52035ad343e6046f9f8d10176e36d05272d3c1a04650a2ba4c591dc15780"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: ClientsThatStopReadingDoNotDelayOtherConnections: This test starts a thread it started and then orders itself against it with \u0060Thread.Sleep(1000)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/NetworkSendStallTests.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"575cfd3e5f227b12905770455267bbd885a668bb7dc6026ac68c7916dfe4884c"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: ASendCompletionHeldPastTheSendTimeoutDoesNotOutliveItsConnection: This test starts a background task and then orders itself against it with \u0060Thread.Sleep(200)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/NetworkSendStallTests.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a251953fd19ed989c7f7c8c1f75b7f844dadfdc3e601687c1fa73dfc26920ae"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: MultipleClientsUnblockAndAddTest: This test starts a background task and then orders itself against it with \u0060Task.Delay(1000)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/RespTests.cs"},"region":{"startLine":5749}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfdd052a566ece61b6f70a98265bd7032051b69186c2306ff168f4af98e5f3a9"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: Dispose_ReleasesParkedWaitersAndNeverThrows: This test starts a thread it started and then orders itself against it with \u0060Thread.Sleep(50)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/CompletionEventTests.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fddfb355c6a48fb13f42f41185a63f4a1b264f9965658d464f1e34e5f3ae832"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: Dispose_ReleasesEveryWaiter: This test starts a thread it started and then orders itself against it with \u0060Thread.Sleep(50)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/CompletionEventTests.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"44cac61901f981949d028ac7c88ba40515d0ed543307c0fb0a6ad5de476fbffd"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: Set_WakesWaitersWhereInitializeWouldStrandThem: This test starts a thread it started and then orders itself against it with \u0060Thread.Sleep(50)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/CompletionEventTests.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"7208751ee005a80f25dd8fd94f9417d220096821c1e84440b3d7237fa78f358b"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: CoalescedSignal_CaptureBeforeClear_NeverParksWithWorkOutstanding: This test starts a thread it started and then orders itself against it with \u0060Thread.Sleep(4000)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/CompletionEventTests.cs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a81a13bc6f87e1cf6342399c1fe5d5a057e3580a3d83ebf0825653f9ac9818"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: EnqueueWaitCommitBasicTest: This test starts a background task and then orders itself against it with \u0060Task.Delay(100)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/EnqueueAndWaitForCommit.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac479abfbe028a0a3958e17fb58c87abb83f57af7f7a47b7624683e4ee98ed8"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: OnTruncateFiresWithNewBeginAddress: This test starts a background task and then orders itself against it with \u0060Thread.Sleep(50)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/RecordTriggersExtTests.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe3c7217780c4b1f2c8d9210461c7121712594f82f61f436f0e0b895c7be165"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: HeavySoakWithChurn: This test starts a thread it started and then orders itself against it with \u0060Thread.Sleep(50)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/SectorAlignedBufferPoolStressTests.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"adf17a332b8300b67f01077204912347698fd272a68e3c452df8b43dbf3ceeb8"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: CheckpointVersionSwitchRmwTest: This test starts a background task and then orders itself against it with \u0060Task.Delay(500)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/StateMachineDriverTests.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ee94047ec3edcd7689fa51f023073d52a71992feb6b9bef207930a39fc10e4a"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: GrowIndexVersionSwitchRmwTest: This test starts a background task and then orders itself against it with \u0060Task.Delay(500)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/StateMachineDriverTests.cs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc5a683496b858904f154f514e807b4917c5254fbb7c43aa6c83557a05edb88"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: CheckpointVersionSwitchTxnTest: This test starts a background task and then orders itself against it with \u0060Task.Delay(500)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/StateMachineDriverTests.cs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dccd85bb3e9f85c6d2001e4accc3575ff607c46303b53a1f6a07a51fdb40a8"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: GrowIndexVersionSwitchTxnTest: This test starts a background task and then orders itself against it with \u0060Task.Delay(500)\u0060 \u2014 a fixed wait, not a signal that the work is done. Whether it passes depends on how loaded the machine is, which is why a test written this way is green on a developer\u0027s box and random in CI. Wait for the event itself instead: the process\u0027s own exit or output, a completion handle, or a condition polled to a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/StateMachineDriverTests.cs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"170eea462aa4eeccb6859cb7414a49c33f8f52782efa8dfa79117bda1963da9c"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: Azure.Identity: Azure.Identity 1.17.0 \u2014 Other"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"Directory.Packages.props"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c48b8b518e33f322169a01b4e304c093ae4e143a4f32e23f92274ffeccb9051"}},{"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":"f291c8aeb7d984bcb23f545dabf545e92846c68cee6abc91b29d9cd3f3d30f45"},"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":"10fddfc91e028795540ebe0dd9e90dd706fac77fc7d002a87acfc3e8e7c6160f"},"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":"6e6c3e3c9e0a6212ac1ff9a6bd76dd8c66206ee95d9f38477ff211df37a5f7dc"},"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":"849bea1abc7d7e3b1c208f9c1ee28e1ff72826b0875d337ad0818c48453a7984"},"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: libs/server/Storage/Functions/MainStore/RMWMethods.cs: libs/server/Storage/Functions/MainStore/RMWMethods.cs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 107 in MainSessionFunctions.InPlaceUpdaterWorker at line 460. 4 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Storage/Functions/MainStore/RMWMethods.cs\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":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d0b75271439dd02beed440560ef010c135cde6ed9f3f572cda9b4c00b7b0a4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/server/Resp/Vector/RespServerSessionVectors.cs: libs/server/Resp/Vector/RespServerSessionVectors.cs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 122 in RespServerSession.NetworkVSIM at line 804. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Resp/Vector/RespServerSessionVectors.cs\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":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"a843b8ea5b5a91b82cd9afe789a48eb3917c76153dfd68cc92457e46c8080105"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/host/Configuration/Options.cs: libs/host/Configuration/Options.cs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in Options.GetServerOptions at line 804. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/host/Configuration/Options.cs\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":"libs/host/Configuration/Options.cs"},"region":{"startLine":804}}}],"partialFingerprints":{"codehealthFindingId/v1":"f69e3dbfaa9cddb07a549d2a23987aabe645184b71ac3e38b9c051aad4aeb61d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs: libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs changed 10 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in ObjectAllocatorImpl.WriteAsync at line 699. 6 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs\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":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":699}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e4d0b38dccd0f3e86d1fa9ba4e543a6bf0b4243a89bdea8939582890f5d29e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/server/Resp/Vector/VectorManager.cs: libs/server/Resp/Vector/VectorManager.cs changed 13 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 29 in VectorManager.ReconcileRecoveredState at line 320. 7 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Resp/Vector/VectorManager.cs\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":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eca434b39550975e45ed2d4bb5d7d8b85175f661f5a56ac1d5edf8f1d7da621"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/server/Servers/GarnetServerOptions.cs: libs/server/Servers/GarnetServerOptions.cs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 43 in GarnetServerOptions.GetSettings at line 1016. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Servers/GarnetServerOptions.cs\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":"libs/server/Servers/GarnetServerOptions.cs"},"region":{"startLine":1016}}}],"partialFingerprints":{"codehealthFindingId/v1":"1913626b94e1c6cf28483c8a1437ac71ca594e5855704393f9f8f10625c78b44"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/server/AOF/AofProcessor.cs: libs/server/AOF/AofProcessor.cs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in AofProcessor.ProcessAofRecordInternal at line 240. 2 of those changes were fix/bug commits, and the other 7 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/AOF/AofProcessor.cs\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":"libs/server/AOF/AofProcessor.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"016bf2730d4049d5008a9d0aad68effeef9940af689df9a746c21c6e9ff4a373"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/server/Storage/Functions/MainStore/VarLenInputMethods.cs: libs/server/Storage/Functions/MainStore/VarLenInputMethods.cs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 51 in MainSessionFunctions.GetRMWModifiedFieldInfo at line 210. 2 of those changes were fix/bug commits, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Storage/Functions/MainStore/VarLenInputMethods.cs\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":"libs/server/Storage/Functions/MainStore/VarLenInputMethods.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f9a84fd321011120d18c5116ab4b54e8454a6ab76da89e6c0e8b7e92131e6f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs: libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in TsavoriteKV.CreateNewRecordRMW at line 379. 3 of those changes were fix/bug commits, so the churn is repair rather than feature work. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs\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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"c26e9783fa916e5b5b1f0b46146188f93e2f1e0282666875ebcb91e7f1eb4b5e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/server/Resp/BasicCommands.cs: libs/server/Resp/BasicCommands.cs changed 8 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 31 in RespServerSession.NetworkSETEXNX at line 605. 2 of those changes were fix/bug commits, and the other 6 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Resp/BasicCommands.cs\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":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":605}}}],"partialFingerprints":{"codehealthFindingId/v1":"30830d32fde5f77b9c0d9c54056662c1e22f9410b0706b429e6fd9261ff4125a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/server/Storage/Functions/MainStore/PrivateMethods.cs: libs/server/Storage/Functions/MainStore/PrivateMethods.cs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 61 in MainSessionFunctions.CopyRespToWithInput at line 88. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Storage/Functions/MainStore/PrivateMethods.cs\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":"libs/server/Storage/Functions/MainStore/PrivateMethods.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3a62dbbe51c37bdb87b775eb6648dd244945c8225fae53d9dd3cc03276bafc"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/server/Resp/Vector/VectorManager.Locking.cs: libs/server/Resp/Vector/VectorManager.Locking.cs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in VectorManager.ReadVectorIndexCore at line 152. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Resp/Vector/VectorManager.Locking.cs\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":"libs/server/Resp/Vector/VectorManager.Locking.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f29b7fd0e8abf2d5f16fe3274a3a7155feac3b5307d48543bb4af3e10247aa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/cluster/Server/Gossip/Gossip.cs: libs/cluster/Server/Gossip/Gossip.cs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 27 in ClusterManager.GossipMainAsync at line 320. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/cluster/Server/Gossip/Gossip.cs\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":"libs/cluster/Server/Gossip/Gossip.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"c817adf0019cc3d4873cd39053edfc1ea3abc38d73f42489ade8fff430173fc2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/host/GarnetServer.cs: libs/host/GarnetServer.cs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in GarnetServer.InitializeServer at line 170. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/host/GarnetServer.cs\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":"libs/host/GarnetServer.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c971833fb9335a3eac73e149e6be3e3d9dcf39aeae13ddb3f8323ad07f12c8b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/server/Resp/Objects/SortedSetCommands.cs: libs/server/Resp/Objects/SortedSetCommands.cs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 26 in RespServerSession.SortedSetIntersect at line 1048. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Resp/Objects/SortedSetCommands.cs\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":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fa5a38094cad50ab13fa2eb5c1c70f7cb7a2026f60af33de9720ac639b8c4b2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/server/Resp/Vector/VectorManager.Replication.cs: libs/server/Resp/Vector/VectorManager.Replication.cs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in VectorManager.QueueVectorReplay at line 519. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Resp/Vector/VectorManager.Replication.cs\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":"libs/server/Resp/Vector/VectorManager.Replication.cs"},"region":{"startLine":519}}}],"partialFingerprints":{"codehealthFindingId/v1":"9836bda9952c38f554cbd990790ee4a239460ec3a648f3c7cd1aa8fa3a169576"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/server/Resp/RespServerSession.cs: libs/server/Resp/RespServerSession.cs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 24 in RespServerSession.TryConsumeMessages at line 545. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Resp/RespServerSession.cs\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":"libs/server/Resp/RespServerSession.cs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cc03db731fb073ea52faaa7ad856b9ba9dd150927bcbbe10f7e5831bb644486"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs: libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 32 in NativeStorageDevice.EnsureNativeDeviceCreated at line 1402. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs\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":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":1402}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ea5269d6e97e9db98b12e37d9a76d4d5f5c74937596018d481806fbce87941"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/cluster/Session/MigrateCommand.cs: libs/cluster/Session/MigrateCommand.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 63 in ClusterSession.NetworkTryMIGRATE at line 63. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/cluster/Session/MigrateCommand.cs\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":"libs/cluster/Session/MigrateCommand.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"674d9c8440ed33ab23ead87de244f007e21ef0dc5682173cd50bc72c81170c0e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs: libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in TsavoriteLog.RestoreSpecificCommitAsync at line 3050. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs\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":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":3050}}}],"partialFingerprints":{"codehealthFindingId/v1":"49aea5f74a94a620569dca1420a4377f96748003840a30c472347bb909ef2a4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/cluster/Server/ClusterProvider.cs: libs/cluster/Server/ClusterProvider.cs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in ClusterProvider.GetReplicationInfo at line 218. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/cluster/Server/ClusterProvider.cs\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":"libs/cluster/Server/ClusterProvider.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f137845c832ec76da653073536c2fcee6ed3f34d4173319d5856017b026d400"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/storage/Tsavorite/cs/src/core/Index/Recovery/IndexCheckpoint.cs: libs/storage/Tsavorite/cs/src/core/Index/Recovery/IndexCheckpoint.cs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in TsavoriteBase.BeginMainIndexCheckpoint at line 139. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/storage/Tsavorite/cs/src/core/Index/Recovery/IndexCheckpoint.cs\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":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/IndexCheckpoint.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0b7a6f5aef0e349f868690efcb12315db6637cca3d759a7bdc99ef096d029a1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/server/Resp/Vector/VectorManager.Quantization.cs: libs/server/Resp/Vector/VectorManager.Quantization.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in VectorManager.StartQuantizationAndImportTasks at line 99. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Resp/Vector/VectorManager.Quantization.cs\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":"libs/server/Resp/Vector/VectorManager.Quantization.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8380ddffcb109ca53e9a3025c9393a49013156a08ebf62e37b803191c7cb3f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/cluster/Session/RespClusterBasicCommands.cs: libs/cluster/Session/RespClusterBasicCommands.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in ClusterSession.NetworkClusterGossip at line 362. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/cluster/Session/RespClusterBasicCommands.cs\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":"libs/cluster/Session/RespClusterBasicCommands.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"35bc5b4ace051a7ceb0cf16e51e1cfba6acc06054df785c0f79073de57411c5b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/server/Resp/Objects/ListCommands.cs: libs/server/Resp/Objects/ListCommands.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in RespServerSession.ListBlockingPopMultiple at line 847. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Resp/Objects/ListCommands.cs\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":"libs/server/Resp/Objects/ListCommands.cs"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4e1f15f9c966256af4b0c55e986cbc42c67be0eea3ee4c9f83f64be105f04cb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: benchmark/Resp.benchmark/Program.cs: benchmark/Resp.benchmark/Program.cs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 28 in Program.DisabledFeatures at line 109. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- benchmark/Resp.benchmark/Program.cs\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":"benchmark/Resp.benchmark/Program.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e494e3a27dd75fa7dc9df9707b05a4840cd130ec82e37c9eca16de8afe6d10f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/cluster/Session/RespClusterMigrateCommands.cs: libs/cluster/Session/RespClusterMigrateCommands.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 35 in ClusterSession.NetworkClusterMigrate at line 74. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/cluster/Session/RespClusterMigrateCommands.cs\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":"libs/cluster/Session/RespClusterMigrateCommands.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"60172f642722c58b33b9d7ac68f97c7b9b8606df403e2d3244594d97a8b35a80"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/server/Resp/KeyAdminCommands.cs: libs/server/Resp/KeyAdminCommands.cs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 23 in RespServerSession.NetworkEXPIRE at line 364. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Resp/KeyAdminCommands.cs\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":"libs/server/Resp/KeyAdminCommands.cs"},"region":{"startLine":364}}}],"partialFingerprints":{"codehealthFindingId/v1":"4818c9ce7a7870bc95dc21306f4ea804738c375447dbfdf58e0ba33bbc4b1fa4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/server/AOF/ReplayCoordinator/AofReplayCoordinator.cs: libs/server/AOF/ReplayCoordinator/AofReplayCoordinator.cs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in AofReplayCoordinator.AddOrReplayTransactionOperation at line 147. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/AOF/ReplayCoordinator/AofReplayCoordinator.cs\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":"libs/server/AOF/ReplayCoordinator/AofReplayCoordinator.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffe17a6bff5ae1b93ca776162d6c6fafb4630a16c449a4ccde33ad8f8d02b02f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs: libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 16 in ScanIteratorBase.BufferAndLoad at line 172. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs\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":"libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"561e2273b32fff8cafecad3e613f94ff0048b071ebb3a0b60c6db6e8a1892d7a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/server/Resp/Bitmap/BitmapCommands.cs: libs/server/Resp/Bitmap/BitmapCommands.cs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in RespServerSession.StringBitFieldAction at line 566. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Resp/Bitmap/BitmapCommands.cs\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":"libs/server/Resp/Bitmap/BitmapCommands.cs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d5bcfb963b5d1953c6bdd070c8f2d2b35463eb5da2ec2189f26573559cdab2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs: libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in TsavoriteKV.InternalDelete at line 42. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs\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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a47124961855a1e2ed6a264e42617883dda75773558bbed579a4f3e4243d25"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/cluster/Server/Replication/ReplicaOps/AOFReplay/ReplicaReplaySession.cs: libs/cluster/Server/Replication/ReplicaOps/AOFReplay/ReplicaReplaySession.cs changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in ClusterSession.ProcessPrimaryStream at line 26. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/cluster/Server/Replication/ReplicaOps/AOFReplay/ReplicaReplaySession.cs\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":"libs/cluster/Server/Replication/ReplicaOps/AOFReplay/ReplicaReplaySession.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"28ecdbb12001b7068bc456c4f39f96eeaee501f6e01a93faa6e4e04872db73d3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/server/Storage/Session/ObjectStore/ListOps.cs: libs/server/Storage/Session/ObjectStore/ListOps.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 22 in StorageSession.ListMove at line 212. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Storage/Session/ObjectStore/ListOps.cs\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":"libs/server/Storage/Session/ObjectStore/ListOps.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"927e84ba7c3551fcc613e405de87d04df8ac4a30c84b80aa73018f7bfe1ecf21"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/server/Objects/ItemBroker/CollectionItemBroker.cs: libs/server/Objects/ItemBroker/CollectionItemBroker.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in CollectionItemBroker.TryGetResult at line 566. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Objects/ItemBroker/CollectionItemBroker.cs\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":"libs/server/Objects/ItemBroker/CollectionItemBroker.cs"},"region":{"startLine":566}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c1f10b3d66037af50e97229c6430e4dbd7b4bdab31eac2b3840c17c8848c6b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/server/Storage/Functions/MainStore/ReadMethods.cs: libs/server/Storage/Functions/MainStore/ReadMethods.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in MainSessionFunctions.Reader at line 16. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Storage/Functions/MainStore/ReadMethods.cs\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":"libs/server/Storage/Functions/MainStore/ReadMethods.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"d362ec343b43c4aaea9c02d88c7d9c7b48b33802494119e58103446ebb4496e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: libs/cluster/Server/Migration/MigrateSessionCommonUtils.cs: libs/cluster/Server/Migration/MigrateSessionCommonUtils.cs changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in MigrateSession.WriteOrSendAccumulatedRecordAsync at line 122. 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-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/cluster/Server/Migration/MigrateSessionCommonUtils.cs\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":"libs/cluster/Server/Migration/MigrateSessionCommonUtils.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"60ad29af7b79a62690e93e7554f392df1d8baf793b60c9691510255800ccd823"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: libs/server/Resp/Vector/VectorManager.Cleanup.cs: libs/server/Resp/Vector/VectorManager.Cleanup.cs changed 5 times in last 90 days and 4 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 11 (its worst body is VectorManager.RunCleanupTaskAsync at line 265), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix Vector Set replay after startup AOF recovery (#2231)\u201D; \u201CFixes around CU copies and delete deadlocks (#2082)\u201D; \u201CFixes for Vector Set \u0060RENAME\u0060s in AOF replay (#2080)\u201D; \u201CAdd tests (and fix bugs) for commands WRONGTYPE\u0027ing appropriately against Vector Sets (#1935)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Resp/Vector/VectorManager.Cleanup.cs\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":"libs/server/Resp/Vector/VectorManager.Cleanup.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ea2beefc9c04ece44e926d498c4fc73ccfb185b08ad6617b9a4ce2f08cb02d"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: libs/storage/Tsavorite/cs/src/core/Index/CheckpointManagement/DeviceLogCommitCheckpointManager.cs: libs/storage/Tsavorite/cs/src/core/Index/CheckpointManagement/DeviceLogCommitCheckpointManager.cs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is DeviceLogCommitCheckpointManager.OnRecovery at line 353), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix silent pre-listen hang and silent wrong-recovery on --recover (#2076) (#2093)\u201D; \u201CHarden TsavoriteLog commit-failure handling and fix fast-commit recovery poisoning (#2065)\u201D; \u201C[Tsavorite] Default to NativeStorageDevice on x64 Linux (\u002B segment-boundary flush and write-error propagation fixes) (#1991)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/storage/Tsavorite/cs/src/core/Index/CheckpointManagement/DeviceLogCommitCheckpointManager.cs\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":"libs/storage/Tsavorite/cs/src/core/Index/CheckpointManagement/DeviceLogCommitCheckpointManager.cs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a68b322910e9916494be46e1e72ae2ef2d74f0acb615c31ce5791e8b5478905"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: libs/storage/Tsavorite/cs/src/core/Device/IDevice.cs: libs/storage/Tsavorite/cs/src/core/Device/IDevice.cs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 1 (its worst body is IDevice.TryCompleteMine at line 113), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201C[Tsavorite] Fix silent data loss when the hash index checkpoint exceeds the OS single-request limit (#2159)\u201D; \u201CFix silent pre-listen hang and silent wrong-recovery on --recover (#2076) (#2093)\u201D; \u201CHarden TsavoriteLog commit-failure handling and fix fast-commit recovery poisoning (#2065)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/storage/Tsavorite/cs/src/core/Device/IDevice.cs\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":"libs/storage/Tsavorite/cs/src/core/Device/IDevice.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"864c0b01019554b2cda354c7c7f6b588b396b725deffb98f01e3fca1ecbfea5e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: libs/server/Resp/Vector/VectorManager.ContextMetadata.cs: libs/server/Resp/Vector/VectorManager.ContextMetadata.cs changed 4 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 8 (its worst body is ContextMetadata.ToString at line 376), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CFix root causes behind recurring Garnet .NET CI flakes (#2110)\u201D; \u201CFix possible namespace corruption in VectorSets (#2056)\u201D; \u201CAdd tests (and fix bugs) for commands WRONGTYPE\u0027ing appropriately against Vector Sets (#1935)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/server/Resp/Vector/VectorManager.ContextMetadata.cs\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":"libs/server/Resp/Vector/VectorManager.ContextMetadata.cs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"4349e30d773b872160edff064ffd4e036837c5f9769a3e4bf6ab312f496b5211"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: libs/storage/Tsavorite/cs/src/core/Device/ShardedStorageDevice.cs: libs/storage/Tsavorite/cs/src/core/Device/ShardedStorageDevice.cs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is ShardedStorageDevice.WriteAsync at line 206), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201C[Tsavorite] Fix silent data loss when the hash index checkpoint exceeds the OS single-request limit (#2159)\u201D; \u201CFix silent pre-listen hang and silent wrong-recovery on --recover (#2076) (#2093)\u201D; \u201CHarden TsavoriteLog commit-failure handling and fix fast-commit recovery poisoning (#2065)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/storage/Tsavorite/cs/src/core/Device/ShardedStorageDevice.cs\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":"libs/storage/Tsavorite/cs/src/core/Device/ShardedStorageDevice.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b28e6186eee9f7119b01699f56f25004bf112ca101d088ef1e8c4139df702eb"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: libs/storage/Tsavorite/cs/src/core/Allocator/ObjectSerialization/CircularDiskWriteBuffer.cs: libs/storage/Tsavorite/cs/src/core/Allocator/ObjectSerialization/CircularDiskWriteBuffer.cs changed 3 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 6 (its worst body is CircularDiskWriteBuffer.FlushToDeviceCallback at line 232), UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CHarden TsavoriteLog commit-failure handling and fix fast-commit recovery poisoning (#2065)\u201D; \u201CFix object-log write buffer leaks in ObjectAllocator read-only and recovery flushes (#2046)\u201D; \u201C[Tsavorite] Default to NativeStorageDevice on x64 Linux (\u002B segment-boundary flush and write-error propagation fixes) (#1991)\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-07-24..2026-10-22, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-07-24 21:17:16 -04:00\u0027 --until=\u00272026-10-22 21:17:16 -04:00\u0027 --full-history --no-merges -- libs/storage/Tsavorite/cs/src/core/Allocator/ObjectSerialization/CircularDiskWriteBuffer.cs\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":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectSerialization/CircularDiskWriteBuffer.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"9466f5c6265e01883f411a7573338a9428e1f1cdcd0eb6937dee3cb1ae5d9793"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 11 significant file(s) lose their only recent owner: libs/storage/Tsavorite/cs/benchmark/KV.benchmark/Options.cs, libs/server/Resp/Parser/RespCommandHashLookup.cs, libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.cs, libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.Worker.cs, libs/storage/Tsavorite/cs/benchmark/Device.benchmark/Program.cs, libs/storage/Tsavorite/cs/benchmark/KV.benchmark/EntryPoint.cs, libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.Setup.cs, libs/storage/Tsavorite/cs/src/core/Index/CheckpointManagement/LocalStorageNamedDeviceFactory.cs (\u002B3 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"60c5a3caed79262698898d03c753503c28858b2a214693891e3a29ab8c95409a"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 11 significant file(s) lose their only recent owner: libs/server/AOF/ReadConsistency/ReadConsistencyManager.cs, libs/client/ClientSession/GarnetClientSessionReplicationExtensions.cs, libs/server/AOF/ReadConsistency/VirtualSublogReplayState.cs, libs/server/AOF/GarnetAppendOnlyFile.cs, libs/server/AOF/AofAddress.cs, libs/server/AOF/Recover/RecoverLogDriver.cs, libs/server/AOF/ReadConsistency/ReplicaReadSessionContext.cs, libs/cluster/Server/Replication/ReplicaOps/AOFReplay/ReplicaReplayTask.cs (\u002B3 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8e82495d37aa98e05ea84cda5b837c4fe9c5c5f7d42c748d1ca340d9dbb8e52a"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 6 significant file(s) lose their only recent owner: libs/server/Resp/RangeIndex/RangeIndexManager.Migration.cs, libs/server/Resp/RangeIndex/RangeIndexMigrationReader.cs, libs/cluster/Server/Migration/MigrateSession.RangeIndex.cs, libs/cluster/Session/RangeIndexMigrationReceiveSession.cs, libs/storage/Tsavorite/cs/src/core/Allocator/RecordNamespace.cs, libs/server/Resp/Vector/Cleanup/VectorSetCleanupWorkChannel.cs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"aaf09ceaabf00f9536ffb0a9bf1eaf052dd8885cc258c37557d913258077a961"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #4: If anonymized user #4 becomes unavailable, 5 significant file(s) lose their only recent owner: libs/storage/Tsavorite/cs/src/core/Utilities/MultiLevelPageArray.cs, libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/UpsertValueSelector.cs, libs/storage/Tsavorite/cs/src/core/Compaction/TsavoriteCompaction.cs, libs/storage/Tsavorite/cs/src/core/Index/Common/LogSettings.cs, libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/KeySpanByte.cs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4701181481c769cd18bb8d29e055c03c6917a1e1b79f13feb3382f54c8b47db6"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (36 single-owned of 707 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 707 of the 999 production source files in this repository met that bar). They are anonymized user #5 (1 file(s)), anonymized user #6 (1 file(s)), anonymized user #7 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: libs/common/Synchronization/ReadOptimizedLock.cs, libs/common/HashUtils.cs, libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/HashBucketEntry.cs."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj \u2014 7 warning codes suppressed in one element: A single \u003CNoWarn\u003E suppresses 7 warning codes (1701;1702;1591;IDE0130;IDE0065;IDE0007;IDE0048) in one stroke \u2014 one team-wide decision, not 7 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/LightEpochLitmus/LightEpochLitmus.csproj"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"449d48face821057fa19e462277507ed1b38a67ed5208de95989c26f022b6f17"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj \u2014 7 warning codes suppressed in one element: A single \u003CNoWarn\u003E suppresses 7 warning codes (1701;1702;1591;IDE0130;IDE0065;IDE0007;IDE0048) in one stroke \u2014 one team-wide decision, not 7 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/Tsavorite.test.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"8038d777b12f4b659aecb60fa5fdd8d28bf6fbb934701df9c103858e16894991"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj \u2014 7 warning codes suppressed in one element: A single \u003CNoWarn\u003E suppresses 7 warning codes (1701;1702;1591;IDE0130;IDE0065;IDE0007;IDE0048) in one stroke \u2014 one team-wide decision, not 7 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.stress/Tsavorite.test.stress.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"6227f6e9d55b071d637a921ae6291c64b55dbaad03b39355bdbe4db257c5cd98"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj \u2014 7 warning codes suppressed in one element: A single \u003CNoWarn\u003E suppresses 7 warning codes (1701;1702;1591;IDE0130;IDE0065;IDE0007;IDE0048) in one stroke \u2014 one team-wide decision, not 7 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.session/Tsavorite.test.session.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc9d9f4f70b1d689ee827f87e405ba524b41505725426f03bd5f6b891619fe45"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj \u2014 7 warning codes suppressed in one element: A single \u003CNoWarn\u003E suppresses 7 warning codes (1701;1702;1591;IDE0130;IDE0065;IDE0007;IDE0048) in one stroke \u2014 one team-wide decision, not 7 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.session.context/Tsavorite.test.session.context.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"77a7e7790e409c5089ba317c7d1b7fffb461f0515be24470931f47c42fb73c66"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj \u2014 7 warning codes suppressed in one element: A single \u003CNoWarn\u003E suppresses 7 warning codes (1701;1702;1591;IDE0130;IDE0065;IDE0007;IDE0048) in one stroke \u2014 one team-wide decision, not 7 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.recovery/Tsavorite.test.recovery.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"68f4de4a6eb016fcaa1493e663b68a3a2a9a5feae2347916ce7529c9ef2d9d60"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj \u2014 7 warning codes suppressed in one element: A single \u003CNoWarn\u003E suppresses 7 warning codes (1701;1702;1591;IDE0130;IDE0065;IDE0007;IDE0048) in one stroke \u2014 one team-wide decision, not 7 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.recordops/Tsavorite.test.recordops.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"11050008ba9caae8b06e7e11d427dffc608905ac4ec53b9bd05ca0322f8706de"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj \u2014 7 warning codes suppressed in one element: A single \u003CNoWarn\u003E suppresses 7 warning codes (1701;1702;1591;IDE0130;IDE0065;IDE0007;IDE0048) in one stroke \u2014 one team-wide decision, not 7 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.hlog/Tsavorite.test.hlog.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"534a7f280d34ac75971b94359017995f9975348f0531b433972b1c1a67776ca8"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj \u2014 7 warning codes suppressed in one element: A single \u003CNoWarn\u003E suppresses 7 warning codes (1701;1702;1591;IDE0130;IDE0065;IDE0007;IDE0048) in one stroke \u2014 one team-wide decision, not 7 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.epoch/Tsavorite.test.epoch.csproj"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd3cdf1a2ed89a2d2157c08c903d3304683abd458d3ce7549f0252b0ead398f"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj \u2014 7 warning codes suppressed in one element: A single \u003CNoWarn\u003E suppresses 7 warning codes (1701;1702;1591;IDE0130;IDE0065;IDE0007;IDE0048) in one stroke \u2014 one team-wide decision, not 7 independent debts. Review the set centrally rather than code-by-code; each code you can re-enable is one less blanket suppression. (Every code still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/stress/MLPAStress/MLPAStress.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"162f780c53ab2d64c19623460b026bc0df9ca91e9a5ac41ae3542f13626f38fe"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private PinnedSpanByte pinnedValue \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/BfTree/BfTreeOperations.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a61520ced458f38635f6294afbcce6aa4da74a5b9105698af70a29901b1b07a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Should this change to a LocalMemoryDevice as well (perhaps optionally) to test the write impact against that? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Operations/OperationsBase.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"74305aa4c6654d92f7b7eff78469638dad15771e3cbfd4d7c3fbd9718034868e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private StringBuilder stats \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/AOFBench/AofBench.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"728970c1010ca03fedc4c1bd2a720084aa8f1b30e4e3beb8f676b0bb0ebccbd8"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private AofAddress aofTailAddress \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/AOFBench/AofBench.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19391fe46647403741d1644f8238fc94fb52d546e0f6392f7aa32e3d2d59d7f"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable IDE0300 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"5284325ebb84e273389629b4da7b21a97c485d51ea095b8d4c70349d9b95cf78"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private AsyncPool\u003CGarnetClientSession\u003E gcsPool \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/TxnPerfBench.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"28aacf910ec57e5abf344cd02b330edb4b4827d14cb8d3b28b88af544bdfde29"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/ClientSession/GarnetClientSession.cs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea4197c4d83be0914676946c776c573ada3e0577a803c676b451ce1cecad4944"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d70aa94d3997d0f93167880b526e2b79fa8ad8454446b14590aead24363b3d3"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"0365005b8a0bc6061821d9c9de2ac158c451dc80939ad13040e8aa0d4c1d4e2d"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/NetworkWriter.cs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a4ae6b6ba4fb9e3f92d90f118c8bb9d53195ebc7e74df84e988cfbc5ca3a16a"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Gossip/GarnetServerNode.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"50e881a984193e8b9890d0bd4b5b1795b230f1bb02ab499317566dc6975cb033"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/AofOperations/AofSyncDriverStore.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f496ffb077996439502f7aeab11c71b4d3acf3db50daf046e6260d82898298c"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/AofOperations/AofSyncDriverStore.cs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"509086cb2ab76abb449dc90812f662dee37132e9628851b6e427b53481caf69d"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/AofOperations/AofSyncDriverStore.cs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc38945518655b8ff50dea78dcf408eb59d860cc166f80660a75b156f941166"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/AofOperations/AofSyncTask.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"88468a5646d0eef26d1a9fb3abc3491a29ffc60c5d36d240ed55afa30ae38c76"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/AofOperations/AofSyncTask.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"67a7f29e5113babc9e79c415e8bbd60c885b6c663d4a1cfd49d5e1ca2c1713dc"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/AofOperations/AofSyncTask.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef39a05e9a6a450bbf7a67249c4a05ffaf892506cbe47346b611e73913f3b633"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/DiskbasedReplication/FileDataSource.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffd9d17319dcd0888aa1ce69371aebc9895d91465fa49881d77e03bd3c9e3608"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/ReplicaOps/DiskbasedReplication/FileDataSink.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abbbec48fd2bdd6bedc0d7155909a8a631adea3020bad53a6fabc7045d1b893"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/GarnetTcpNetworkSender.cs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"4449aa01bd95ff37e95921a57629183d45105481dff00165405c29c339464261"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/TcpNetworkHandlerBase.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"3353e37e285d7961292eb6275ea33d2dc17ce4a86566257ed768359734500c4a"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/GarnetServer.cs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"e77e0b7ad06c9e7570a9fa6e2b3b7655c85ffdab67d4748f5edfee013c613c2e"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/MultiDatabaseManager.cs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"2546cd40d43e49c3073addfc2f45482e40d6546d73b79b4263ea61357e20439a"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Module/ModuleUtils.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb2651350daab3ea3b1fbe46840b5bc2419a6c61490b30b02b9ba03da2c13c69"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/ItemBroker/CollectionItemBroker.cs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5c0cc4d5777997bcd6b2b45fbb48f8e9a643cb3e1373827090d869c374250b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/PubSubCommands.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a418bea42b4f764408d9f3dc03c845f5655428142a4d02ebf6fca5130221d7d8"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/PubSubCommands.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac2cdff660265015561cfd8748e991c4bd84fb68078ec070413bd2e66655c83e"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespServerSession.cs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"fab30fd0d37c2301cd8a9f8c6a21b9bd5062884a04164ca665a46f68d266bd4e"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Replication.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"1598154961122aee944a00a9c0baec097f5f8d3ac3d9b7999581c742fd3c1d3e"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Servers/GarnetServerTcp.cs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"486866a317a09cf1093b8619c0074fb41503d70cd96aa6579bfb45cbfb68a0a7"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Transaction/TransactionManager.cs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"2da4f3fa9eba1c5ddd1a4bb763f65b1e22c3a4409ec818e1b0ffc3619af94f89"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/BDN-Tsavorite.Benchmark/IterationTests.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2153bdd7c93f2dc2f561a3a4bcdbf9b535f0216b11e4f62196e9d3854c805fe"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/BDN-Tsavorite.Benchmark/OperationTests.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"df04109a0f17ac5ef4eb6daf34bde5d9cfffe2688fe8a4a82dd40a5a2faf2a82"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/EntryPoint.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ca7c05e86ce6b027a28e37c65a3954fe1e94b9895b2a4884be8463006317f8d"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/EntryPoint.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"99faf1e76556c9b739559918baff62f35c6f2db916f46c4adf81f536555b6f82"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/EntryPoint.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c1c5119a0c200a98f4e3fdd99dcbac841ebdf47ba0e2209ff8059d49931832"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/EntryPoint.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f5d028f52e754f13282f79c413497d58850c1183ea4cb33b70799d01ab0686a"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.Setup.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dfe605abee85d766b45d0e4597ce4f91a81b882dbbce42792eb9572355deb7c"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.Setup.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9b44e572d7cbe35ee3d3ebd5cfdcff57041360e8a2edf643845d1f5d6a6314"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.Setup.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a27e26a86b44e92284470957d8d5ef460db4213dc2e9d82d2d995cf02d9043d"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.cs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4df1cea569c476fb14d438deb6384d3f41b6876fdee257bcb0e2285ee3c15da"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.cs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a839db6c30b3994647bf10515af69a7dcc7f856c8817bea44175c23f067b39"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.cs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed9200e4cb1a0ded4ab4410b155c4ad91d7e34d9199ccc191f6e98b5a92480b9"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvNumaPinning.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"299f08daf4b23f65a32c113003450ea7e2bc92538d959799f0f584152d0428b0"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvOutput.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eda4fdaf033dc97e9ea1d5eedc1fbcfe1ce825d6e8d07a87b445a0c4c00dbf4"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/Options.cs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"696dcc6f6b425a8de40431559d5bcb3c51f20e7a95f6e2931bf6ff7468f0839b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":2854}}}],"partialFingerprints":{"codehealthFindingId/v1":"915fadc71e022e2352756147816d1126aaa84f5a26eb31696b78967da9bedc50"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":2872}}}],"partialFingerprints":{"codehealthFindingId/v1":"09d6eea90adf742476f29302936e5fb2ce334c53102779a23620e14e2b7c199a"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":2945}}}],"partialFingerprints":{"codehealthFindingId/v1":"8849e18e56ae9a6fb983598bb8e5c8759cab84d9c949048a8c933c97652aea2c"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"79aad30bb8cdc1a79bbd141bf0f89c60879e9935959a0d5eb2a53c996d3fd343"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"13efb1385b65bd1e4335f9603f3cd000262622a8155801307ee57f9f13b19bc1"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ee3e54cd8110fafa48f702b79872910d4e6d4912cbb0dface5bbec9a9dcf79d"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d0756561ebb2f6193a3caa31e322f85b2c630759fa3becb592f700ab6757105"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/WorkQueueFIFO.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"df6fa90973fa6a1b6514fe33777ec34ebd99b77456e46a775275cf3ef9ad92d5"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/WorkQueueLIFO.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"507707a1469c319d948bf862f24daca31378edfd9a68acaa192553d00022ae18"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/ManagedLocalStorageDevice.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9885e91e1f20f2ce6d12aeac0ffea0d17ff74c5f7aeae442e88ea88680ef9d5"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf6b086129f285565b049dd380a5826c8939d1eaa6a12709cc2571f6aadba2af"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"864a1f337cd5a77bc724e67386eb855758faebf8ab16323a61c010a783ecc69a"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":2158}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de87136d972634d35b9c53379a6c58f4df3651512917c695ed9d68435433028"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":2159}}}],"partialFingerprints":{"codehealthFindingId/v1":"7514064731526fdcee9a675c80cb872673c4e9ca438ace92d13a8dfc04cd037b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":2202}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d71ad0551389ed77b73317fa236bc3426c24d74042a01a30b2e03f816536e5f"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":2232}}}],"partialFingerprints":{"codehealthFindingId/v1":"b873fd1bbc3497bcaeda92825146d889b322d40dc1dc8d6cf1065b4952e04e90"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":2233}}}],"partialFingerprints":{"codehealthFindingId/v1":"4104d7d961e68b74e3e3d4c5d9f7a63601ccf55ff4c0c01f3389485f63f11875"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":2237}}}],"partialFingerprints":{"codehealthFindingId/v1":"2084e78cb57a9fea4fa3cae74245cfa7e1791cf9135181930142198907fc11d6"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/RandomAccessLocalStorageDevice.cs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"24ae2bb7ddce97d1ba118942c70fb49cf26fb4f2723c4108e3e37b036d3db4e1"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/CheckpointManagement/LocalStorageNamedDeviceFactory.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbeb186ea0a831fe11df93bd6bd3e4186a8c7ca4f6f3b13fe4ea16742016c86a"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/CheckpointManagement/LocalStorageNamedDeviceFactory.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c50f7f2d8dde4b0e262a6f9e1b23de77704623f7bf8f3c6caddd15bdee91e0"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Common/KVSettings.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"06d22845746184d4a7b59279750899664d802bf54a4569d31f098248327c3c37"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/IndexCheckpoint.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"563e1a5a147156081ecb52a4a9a9c7ca7f18cebab91e6aacf6cffe812578ede0"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"001404e5cefe38bf723abf46f2aae2f4c21243cb90ebe2a1daebf63c1f19c564"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00619bafe4d7890c3c49a82a81ad32b1a8356c0c44b74652510db31a187730c"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"45022bdd1764335e9b81f8f66089b9c896e65997b2a7f5898d2f99d4f079506b"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8d447b4e06f4cda18d1cbe1790c3f18c7769f29a7b2ab3d99fd15b050dddeb2"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a3801e4bb8fd07dbde81a8b58c5dd2b748e26053192abf0f13ac858b4cc6b8"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0866134ef88fd2dfc86740298c3d564e92264901cc19c14470413d9ee13e9dd"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"337caab52546727681459cfcc902a5cca2ed8b34b7891d6888f3a50dad148cd5"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f0289be0cf2a6ab67e4dcf7d8ced946eb6fb52f4e0728e5bac5bcf8c8c297f5"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1861}}}],"partialFingerprints":{"codehealthFindingId/v1":"122b9f1042f1dabd731b5bcbe69c753d7223e679ac8b8154b6e3a6efb2f0025e"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1956}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e95c1313b3467a1ce481e07abcf3a2ee2d551e0463cbccd7cfbcdc18ba8b74"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2231}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c3e3f5d52f98ed3433c5bb8f46037e5b4fa25ad7b9176e60b53cd5655dd432"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2287}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5735f69cf8625ce6f9e39f635ceeae596b03470759faec22511c6924780229"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2343}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78b3164ae7b670cdc4d76347e333d53dea9de435544cd4e206fe4bb2ee19dac"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2400}}}],"partialFingerprints":{"codehealthFindingId/v1":"d94b998a8e96b01832fa16e987df0eea9a07d9637436bd973db79115a353af2a"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2458}}}],"partialFingerprints":{"codehealthFindingId/v1":"57b1058b9060b071c489bb0224122137e96c5ee9abe3b1e2c82bbdbbba6d9531"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca20ca6ae8432d652c62f1c206c4d33a51906381712cd9670258d98a05034960"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"57485da37778c174ef24ac58c58eba0ea61245d19721f1594db726f4a711dc2e"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4a25bb50d4b447e686a14305bd64918317357ec06290905a058102a04888dc"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogSettings.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"661ef995a27dda2bfac65a2994573d26f026fc7fb46a0f349f2f44040bbe5a9e"}},{"ruleId":"D17","level":"error","message":{"text":"EmptyCatchBlock: empty catch block \u2014 the error is discarded with nothing recorded, so a failure here leaves no trace anywhere. Record it through whatever this codebase already uses to report problems, or let it propagate. Where swallowing one specific failure really is correct \u2014 as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 catch exactly that exception type and write down WHY in a comment on the catch. Both are needed: a comment on a catch-all still swallows every failure nobody anticipated, and a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/BlobUtilsV12.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3f063bfe064a310f725e25bf55442d5d57c22ec856e3ac4c44297cda406b428"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable IDE0005 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/ClusterConfig.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"795812b572438d87a5dd502b09188fd01512490c912cfaedd3291d99f07f099a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move connection initialization at start of async primary failover \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Failover/FailoverSession.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cfaa98fa2069e91e55a4465f30461b196c1970a3710e71794fa532e388a1e50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: implement voting \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Failover/ReplicaFailoverSession.cs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"79385c3803b196cc7268eecf66854a21ec60e55b04eb6e517a60702a8eeb84ac"}},{"ruleId":"D17","level":"error","message":{"text":"InvertedNullGuard: if (lastGsn == null) \u2026 lastGsn.TryInitializeAsync \u2014 the guard has already decided this variable is null on the way into this branch, and nothing here gives it another value, so this dereference cannot run without throwing a NullReferenceException. It survives because the branch is the uncommon one: the code is correct on every input where the variable is set, and crashes on exactly the case the branch was written to handle. Decide which the line meant \u2014 if it is reporting the absence, it must not read through the missing value (use the other variable that identifies it, or a literal); if it is meant to work on a value, it belongs in the other branch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Gossip/Gossip.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"b720ed8a385652d7b50861c415fbc8db41572ee0b806beeae67cfe9fc9aff949"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Need to relinquish any migrating Vector Set contexts from target node \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrationDriver.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3f76baa8e58c852dd397b8ed885088ece6eb62777d18d6231d955c0c17a1e9"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrationManager.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5476381c8420eeb0c101a435401b3e0d8334be6f385a0ca8ae61bb402883474b"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/DiskbasedReplication/FileTransmitSource.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"1040c58bd7118aedd0e9071bc9d78537bdcb7750f6aeb242d6db49cf092cd064"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/DiskbasedReplication/RangeIndexFileDataSource.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8edd012a5e721b2dc3074c82304f557ca81ec49337d6dbc2946b67c9d25120a9"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/DiskbasedReplication/RangeIndexFileTransmitSource.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2e318bfaf5437708e30ec5a651792f65941debbdb28522e60f8e0b18c2946e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/ClientSession.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"65fcda18c6f7074ec092a5068b610f17c1418d0db4f695a5c50daa1e49850e0e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private bool safelyRemoveOutdated \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/GarnetClusterCheckpointManager.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bfe35e6493d28a521eaed7c36debaef5e6111a55a8353fe5378226184670bf6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: why do we need to verify 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":"libs/cluster/Server/Replication/PrimaryOps/ReplicationPrimaryAofSync.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ecec1c9be92adcdb0dc88560a6bf43048e2b938cc02efdbe8458cf3c00e056"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Replica will adjust replication offset as it receives data from primary (TODO: since AOFs are synced this might obsolete) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/ReplicationManager.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"464c32da923aff2e89005659eb64e11f97aee595f6875f8108831106e3f5190f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Re-enable to catch token counting errors. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/ClientBase.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"beca82a7c3d34f0fb77928624dc177ff50d29c75596e45b6be21b88517743936"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ITimer timer \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/CoarseTimeProvider.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"460e3d811560d8e11e8672710a0d349d3994278c8005fff9d6666e64ca202cb8"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UNIX_SOCKET \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Format.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a58e6349bb977b3874bebe91ee50f2f160a63bb9781aada2ef5f3ca49df824"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if UNIX_SOCKET \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cluster/Garnet.test.cluster/ClientClusterConfig.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b114b8d87639d23a6e0dd5121f1f03b0d81cc77d27c988e8b7418c4b0a9e3c2b"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable format \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Format.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"7254d5c1a5f8908f38705696c0cbfd3a50975c9df46320cdef32560135994423"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable format \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Format.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"471c7c7174bf82d0d3669c6c844d9a95b5773ae6e2c6d4611899d5087791cb11"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable format \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/ExpirationTests.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"c60fd8a20fa487382b74cb739ca251209928ab64a87384bd978cb9dec7de25e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Better hash construction? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/GarnetKeyComparer.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"229c9d5ee40a52f79d1649cf339c483e11180292dcb78de2d9d452cb1e26b642"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Better hash construction? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/GarnetKeyComparer.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"411b0cc32f175ce890321b3cee354ac6f1fd8308a90e76dfc995046c0fdfd626"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Re-enable to catch token counting errors. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/LightClient.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2eaeddeeae01ab0322c610ac95dce23cda9c38d2570e032effe1176f04c6049"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private int BufferSize \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/LightClient.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe9bbb15db0ec2846f9cef2cf8c04c4564a40133dbe66921df4140560e5c1c8"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if MESSAGETRAGE \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/NetworkHandler.cs"},"region":{"startLine":949}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da213a90dbeee8e186a59e4bcfd5c2c2bce7b280ab1221570082572c0e79ec6"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if MESSAGETRAGE \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/NetworkHandler.cs"},"region":{"startLine":978}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2ec05ca3806e47b3f32f5d76227244bee99aba6e677a04a59477f9a4bd13af"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private bool readOnly \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/StreamProvider.cs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"536619e5a22e5b33796eda64f7fa54b05083222bf82be57a7d04be14f09792d6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO native deserializer to avoid alloc and copy \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/AOF/AofProcessor.cs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"65b384bbe63c2aff9b679003a0d9765c05ac038f3beeb51ceea661014334b9ba"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO native deserializer to avoid alloc and copy \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/AOF/AofProcessor.cs"},"region":{"startLine":770}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6ef022f0387655cd67de8f36d0e0bed1b8e05a0d849a44a3420687220a8d10b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: shouldn\u0027t we use the remote cEntry\u0027s tail address here since replica will recover to that? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/AOF/GarnetAppendOnlyFile.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"282ed6d7cdde288a8f574069c03799134ce33ba9b30bfeed1b37964bbb95da8a"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private GarnetServerOptions serverOptions \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/AOF/ReadConsistency/ReplicaReadSessionContext.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"53b22bb55e02e3594a720d4c612800de7c7e19302bd18cf86e3c380284afc417"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO perf: convert to push iterator that doesn\u0027t need a copy to the entry. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/AOF/Recover/AofRecover.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fd1928887226909dc3c2010147e4f1b10fe895d1536f659f23ada89b3ea2551"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Can we async this method rather than blocking?  We\u0027re in recovery. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/AOF/Recover/AofRecover.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c4be8bf72510153b6193cbec4d5a83f8074d0747076ee9b315cf8971e4dae7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: replica should instead wait until the next AOF commit is done via primary \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/DatabaseManagerBase.cs"},"region":{"startLine":572}}}],"partialFingerprints":{"codehealthFindingId/v1":"e59ff5450f4998cda5405f697369f67e6bf436f37cfcffbbaa6b240c866121bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Change map size to a reasonable number \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/GarnetDatabase.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e819713d1f20dffa227648d0af1e82c42acb02d6c0b3936659a014d88e1a69a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider a better way to do 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":"libs/server/Lua/LuaStateWrapper.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c7e641ca944442c97617c04f187a59df40778504d0aa392091b36f444e3583"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private byte[] arrRef \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/ScriptHashKey.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04592ece7db12eb0a93835fe5ec98c98637becd0227d38ebf9342474dcea89b"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable repeated across 10 files: The identical FileScopedPragmaDisable (\u0060#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member\u0060) appears in 10 files (10 occurrences) \u2014 a single repo-wide policy (e.g. a Directory.Build.props decision or an idiomatic suppression), not 10 independent debts. Decide it once centrally rather than file-by-file. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/Hash/HashObject.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f6ca17ea282a010a80efa44655d18369ecfdf05d2b8153fe3a1d18944fd0a42"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Task mainLoopTask \u2014 assigned 2 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/ItemBroker/CollectionItemBroker.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7bcfbb7e5e9bfcc1194a9933fe5fb02de113ecf5d25bf4ef07f9742d5cd3f75"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: These are \u0022wrong\u0022 in a sense that according to EPSG:3857 latitude should be from -85.05112878 to 85.05112878 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/SortedSetGeo/GeoHash.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9077391ebc36f15e4bddc15ac8db471f83653bc6becdfac04b01fcd7e74ac588"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // XXX: There should be high-level AuthenticatorException \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":1575}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41e32e23fd9ab6670b56f7af1014f61dc09a616b9b0f219378f8a4f5698d5e0"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE1006 // Naming Styles \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Bitmap/BitmapManager.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6551125d77da01ca76c17c5a4445aa26c6d2f80aa30b155cfb5cbc267e74dbf"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE1006 // Naming Styles \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b4f9cdb083c43957871c48973e3f24eb9f4ea291351916add78cdf504ba500c"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE1006 // Naming Styles \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Common/LogSettings.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0a194df26d2ed8b298d3d1c76f490235c0cad9a8a0be0af2fe2a431b04823d"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE1006 // Naming Styles \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Common/ReadCacheSettings.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a38ff62ca6a93c06aaef4a43b7b7f7c5d1005adbf6bde724b3fdf720ea30f70"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE1006 // Naming Styles \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.hlog/DeviceLogTests.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"88d683257964adc8b6b41eada586bfea0a8b5935201559a8a4340790c9aa3264"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE1006 // Naming Styles \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.hlog/LogScanTests.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ba7a083086f85484e1b99a24f6762213f78cdf97b8f39696c16aa280782fef7"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE1006 // Naming Styles \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.hlog/LogTests.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"be870790d1ba2a6472988889d816f98388024f77ad3b6f97ec3d7c5639d17fb1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: check if we can update in place or need to grow by counting srcBlob non-zero \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":944}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f90b29b01740bde88405e711176c58cf428f41de0eac3839f41f92f27f10af0"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"65e3a20e728db6d68c9bc5e9a65fa1006af2f747e78b1c76ea5a912128f309fb"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/TstRunner/Program.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"48a1dba7975ed4b26c197a7e81dbbfddbdb171190664319c436cad6db552321b"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private byte pbit \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"29e3f6c07b6281e418ffc723e8b411e84855d1907dd3bf8e353bfe2ca5dfe606"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: validate if these cases need to be excluded \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Parser/RespCommand.cs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"263892c8aba879ebcbf4eac0790781be1c08886379e879b66209a99a84c60008"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(RI): Implement REPLACE for RI keys \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RangeIndex/RangeIndexManager.Migration.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce66e6960679fabaa8d4aa6220187e9540c63f7af6110728ae22ebd2f497b241"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(RI): Acquire Checkpoint lock to prevent a concurrent checkpoint from deleting the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RangeIndex/RangeIndexManager.Migration.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"da7a62c903cf432b3ad8f201bfe4be3d62efdf1d33da700bd30077e72e65a2f2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(RI): Create RangeIndex first in Tsavorite and only then chunk and replicate through AOF \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RangeIndex/RangeIndexManager.Migration.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99accd19be5362003b4dc4f23b26f4eb724c24ba20e71cd521d96cb7ec931c9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(RI): The KeyExists check above is not race-free. The destination slot is in \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RangeIndex/RangeIndexManager.Migration.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1db22668a347b901f6d8d6c76d15da9ba6ab99589ae483a971b4951c41a96a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(RI): Handle the race below - claim the key using some transactional mechanism. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RangeIndex/RangeIndexManager.Migration.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"57982a7446b0a2c938a41a468b39df1060f5ade30e9a550b936abedd18e0608d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(RangeIndex): Propagate replaceOption in the migrated stream \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RangeIndex/RangeIndexManager.Replication.cs"},"region":{"startLine":351}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8c0fc029efb74eb049db0910da8f6f015293493a90d18e29b2cb7e2e8a547b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is not a Redis restriction, but once that comes from Replication Keys being in the 0 namespace, we should lift it \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":700}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f2d9071e2e5aa91417d1ad1f26f282affaa295917afdd94f0643a8db05f50a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: validate filter \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":1080}}}],"partialFingerprints":{"codehealthFindingId/v1":"885d246567bcc93c16ab3ab9f19f714b37ab29ed8268c348f062cd49f6d4013d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should we implement TRUTH? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":1117}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bb9ddb137ab3de2f807b5d48980313b9d67a7e090a18bfef5fdac93629a4fa0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: these stackallocs are dangerous, need logic to avoid stack overflow \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/RespServerSessionVectors.cs"},"region":{"startLine":1150}}}],"partialFingerprints":{"codehealthFindingId/v1":"784fe57413ae1424414a509820934af6acaef84ff4f3d1617263d9e1ae823d45"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: It\u0027d be nice to get the command in here as well \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Callbacks.cs"},"region":{"startLine":322}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a2cb4c1b946e02ab2b89b5da9eac5fbd38c7febc00f4e6356e5abc17c45c127"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this doesn\u0027t work with non-RESP impls... which maybe we don\u0027t care about? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Cleanup.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c835811ea579378d31a6f0f1f00ec87775aedb0eb30ff8fd023055333dda7e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this doesn\u0027t work with non-RESP impls... which maybe we don\u0027t care about? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Cleanup.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f34bed7c8d0c6970b6cb3bf922649541edca660b99c810ff674574fc4000c1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this doesn\u0027t work with non-RESP impls... which maybe we don\u0027t care about? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Cleanup.cs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"382baf3b57c7ad98b5de88a396e54a3f6b5f233866727c25a40395543c4d501b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this doesn\u0027t work with non-RESP impls... which maybe we don\u0027t care about? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00ce479e0e46d20b18ba04e5fab34e977d3b34981a40d1af6ecfb008570084c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Ideally we wouldn\u0027t make a new session for this, but it\u0027s fine for now \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Migration.cs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c776498399670a62bfb1d29ffdc3a37143a13e353233048cab5ba949b7ca63"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable IDE0302 \u2014 the disable is closed again below, so its scope is not the problem; what it records is no reason: there is nothing on the directive line, and no ordinary comment attached to it either side. A suppression is a decision somebody made, and without the reason the next reader cannot tell a considered exception from an unexamined one, so it is never revisited and it outlives the code it was written for. Put the reason on the directive line \u2014 what makes this site legitimately different \u2014 or fix what the rule is pointing at and delete the pair. A rationale in the member\u0027s documentation comment does not clear this row and is not meant to: it explains the member to its callers, and the next person to touch the suppression is not reading it for that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Replication.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"22f3873f947dde952f884974b7ab890deca3d66e19e08aba44d85df30d0f60ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Could remember this offset?  It\u0027s a relatively rare occurrence so maybe not worth optimizing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":1367}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ffc01f105b1be3bf63059b13c3ba94da71383f6973471b872b5e9c6bcd2ec18"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we could scatter/gather this like MGET - doesn\u0027t matter when everything is in memory, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":1448}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e0a709578e36fa5a766bbb06bf37190154cdd8e9448f441b3bda6fc72f6e40a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: These values are nonsense, but is there an equivalent we can pull out for DiskANN? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":1667}}}],"partialFingerprints":{"codehealthFindingId/v1":"b972b63a02dd83fab1b70bef77d900a8241180fd74de134e63d7641fd17355c3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: LogSettings.MinMaxInlineSize \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Servers/GarnetServerOptions.cs"},"region":{"startLine":1302}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f3ccbf05334f34c6fea468892f04a78f0a0df895462087d4eff9212e0499f9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: LogSettings.MinMaxInlineSize \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Servers/GarnetServerOptions.cs"},"region":{"startLine":1328}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f96bd8c22cd43b616d3fca7c66323d2085ad52bb031859f57897c8a427ae534"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: LogSettings.MaxInlineKeySizeLimit (= (1 \u003C\u003C kKeyLengthBits) - 2) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Servers/GarnetServerOptions.cs"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"45c52ae24cd9867527dc05bb497a09a71ef7f1bacc94ffc3b8334478f9b2f2b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: LogSettings.MaxInlineValueSizeLimit (= (1 \u003C\u003C kValueLengthBits) - 2) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Servers/GarnetServerOptions.cs"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e57e88a625b8ca78804573682697216db2d932c6f0a396557ca910f34dfae683"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Inspect input to determine whether we\u0027re in a context requiring ConvertToHeap. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/MainSessionFunctions.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"67f764419c5cbd875dcb91f894139213697a0cfb5f54143f2c360ea2c95ec9a2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Inspect input to determine whether we\u0027re in a context requiring ConvertToHeap. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/ObjectStore/ObjectSessionFunctions.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"49bd894fae2bda5c20d6035c63ece1acf3d0d2c4f286e460a9777451113fb336"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Inspect input to determine whether we\u0027re in a context requiring ConvertToHeap. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/UnifiedStore/UnifiedSessionFunctions.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5f42ff1686b580dcc1ee76dd024e33be19450b0961aebfecb2d57768bbf9cc9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO ETag? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/PrivateMethods.cs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6340b10032ff63543df9d8544f959e1339a5feae9d2538c29dfeb44842a91ab"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO ETag? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/UnifiedStore/PrivateMethods.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c4cbcb7732235a64ad3e1c278701962ef254440f0683be116e392d04935c3b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Create sizeInfo \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/PrivateMethods.cs"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b80378ec25f809e5c12f62833eb509353db1aeb3d49fffb73ce6d57fcf5dbde"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Create sizeInfo \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/PrivateMethods.cs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"bef2620550a8116dbfc0f4d696b3be3e40a959930fa661fc87bd58e6aa148168"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: InitialUpdater will create a new vector index recorded initialized with garbage data \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0d8463790304a6594c40a7d7e80e37178ef6e2a7923c11d45890ebd7cfa767a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Convert this and similar to use LogRecord.CanGrowPinnedValue. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"adadc72969fa05a1b9294114036e3968b957b73f6f5e37fe3c4d5b098242ac7e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is quite hacky, but requires a bunch of non-Vector Set changes - do those and remove \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/ReadMethods.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb30c9e6a8f0ebffe93c33a026cd144cc31e7f25a0812575aba1a55111fd6d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO set error as in PrivateMethods.IsValidNumber and test in caller, to avoid the log record allocation. This would require \u0027output\u0027 \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/VarLenInputMethods.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"826163fc151b52d2ed1d13247667a490f3815ec303c3a9db31f0c40011a24cfe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Consider adding a way to cache curr/next for the IPU call \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/VarLenInputMethods.cs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c6b0b4eb29d93185859c52c54296594016472684d289941cbe43d224f3dcaa0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Consider adding a way to cache curr/next for the IPU call \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/VarLenInputMethods.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bd24bfbec66113cc25b6c5373d1d8948171c12e52b3d86615cc503412fd15c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Consider adding a way to cache currVal/nextVal for the IPU call \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/VarLenInputMethods.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"a161553f47d8b7386c885182d4443199468571cfe241e9c5661ec561e0754a9a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: call HyperLogLog.DefaultHLL.IsValidHYLL and check error return per RMWMethods. This would require \u0027output\u0027. Also carry this result through to RMWMethods. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/VarLenInputMethods.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b566f21445b61624e9c33c5611ab22b1d32a900e1df883fd9e6cdbe0938f37"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: call HyperLogLog.DefaultHLL.IsValidHYLL and check error return per RMWMethods. This would require \u0027output\u0027. Also carry this result through to RMWMethods. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/VarLenInputMethods.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4f0773d061e7d0a66b371e56504eaaf1d46a9fb619ace7163c0d3cd63d8510"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Cannot use \u0027using\u0027 statement because writer is passed by ref. Change that to non-ref parameter and convert to \u0027using\u0027. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/ObjectStore/RMWMethods.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2222bb81067754e0265ca07a10529e1e6f9620a2a06a3c7cf2690d02e9b2ec0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Object store ETags \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/ObjectStore/RMWMethods.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7ab6cf15d3eb674974ee177ce3147291d4755c545e450936c3db8096b87ad8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Update to invoke CopyUpdater of custom object command without creating a new object \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/ObjectStore/RMWMethods.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"5214e195be94dbcf725ccd8891bd5a85961f8efbb4cf9bdd9a335555c85bb7af"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO ETag \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/ObjectStore/UpsertMethods.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"76b247803a8c3ad58544c77556c90305bef8f2a0fa8a2962b507a751e084bbeb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO ETag \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/ObjectStore/UpsertMethods.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b3379a4112cd71326b509f790d11a25a738846de6664032e30aafd1266b120"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO ETag \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/UnifiedStore/UpsertMethods.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3527f50b50bd552e90b880d9c365199c39a1c163dab96bf8a4ccdec1b63094"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: possibly create an IGarnetObject from the serialized bytes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/SimpleGarnetObjectSessionFunctions.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98f09aef684e31ccef2ba9cea53ac7300f1737eb24641070c31d4431956d38d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Constants.kRecordAlignment \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/UnifiedStore/ReadMethods.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fdab16fe00c254393024da746fb0f320cae45cf55168c62261ecce99a77df0d"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable repeated across 27 files: The identical FileScopedPragmaDisable (\u0060#pragma warning disable IDE0065 // Misplaced using directive\u0060) appears in 27 files (27 occurrences) \u2014 a single repo-wide policy (e.g. a Directory.Build.props decision or an idiomatic suppression), not 27 independent debts. Decide it once centrally rather than file-by-file. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/UnifiedStore/ReadMethods.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94978ef63f4218c025cef9239e4abbf62a00890e7498147da785d7382b1bfae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: When alignment is handled at the Tsavorite level, we CAN start shipping the log over like everything else \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/VectorStore/VectorSessionFunctions.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd2ba1590668760b087c4c41411340c7a9c3780ff2cf412b0e05c6618534ea6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO are memory\u003Cbyte\u003E overloads needed? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Session/MainStore/MainStoreOps.cs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"529e495b06e8165099b73cda1ccc9bd5473791f48db2a42521a9689a03eb214d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: Remove once this is supported by enabling transactions across databases \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Transaction/TxnRespCommands.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee2dd51fb01b2c803a39c87b9eecd33e17e562153c76c38477f20fab6cdd621d"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE0130 // Namespace does not match folder structure \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/BDN-Tsavorite.Benchmark/IterationTests.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"027ad420b513d918346577d1d4396870bf5a5ad7584f1e4c270f8f317d6e8022"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE0130 // Namespace does not match folder structure \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/BDN-Tsavorite.Benchmark/OperationTests.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b646f515bb0841b88c0400640802c2cd47365de05cd044bb7d3f9a7a6af1031"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE0130 // Namespace does not match folder structure \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SessionFixedLenFunctions.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa470e26bae998b15ee886ee4c28266c97e39423b5357b40be046274fdabf811"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if DASHBOARD \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ConcurrentDictionaryBenchmark.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"c101d4d83717b56425b948c77c51201843848a079270e0980b7a42198943797f"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if DASHBOARD \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ConcurrentDictionaryBenchmark.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"b984b3fb7ef4d2d9c1b797d7e448c672b0e3407d1797dd118176636631e079ee"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if DASHBOARD \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ConcurrentDictionaryBenchmark.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a967e1183b3b43cec914617266c1ca666e37538d4dec5f989941af08cfd4143b"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if DASHBOARD \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ConcurrentDictionaryBenchmark.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"16099370fc9295056f32a354c101ae66f159fd941e5482dddb0a82f2c73209fc"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if DASHBOARD \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ConcurrentDictionaryBenchmark.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd13f1eb17e4530a06e9b70de3d35a3fb62fec1d02bc986a7233d1424f8dd2da"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if DASHBOARD \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ConcurrentDictionaryBenchmark.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"1915afdce8558bbd95b31e76322fd230887a3f9c463f9fe4fd18a73ae9b1f315"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if DASHBOARD \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ConcurrentDictionaryBenchmark.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"08390cac03ae136c9f2f350828fc76c1cf0b83091ae6dd61089c582839098537"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if DASHBOARD \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ConcurrentDictionaryBenchmark.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"aeb0c78327791fcc50ee03da531df56f2b9bfbe3a5375bca88ff3a674bdc32db"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE0007 // Use implicit type \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/FixedLenYcsbBenchmark.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c235895f24729d7c68129ade78a1bc9f5c46bf2b6373bd76b906dff4ca8f49b"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE0007 // Use implicit type \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ObjectYcsbBenchmark.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1fcac5689f403f798b3d3ba037a3c2ccbdc81ccec491b0092921a78c933c987"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE0007 // Use implicit type \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SpanByteYcsbBenchmark.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bab63159413d35694c54d9f892c10c4f32e52fe303f86e2ba4c5d9a2a860c89"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private FixedLengthKey[] init_keys_ \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/FixedLenYcsbBenchmark.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb94168f09b07c6dfae97070c94ba7538bf9af8f03a17c9790443f400aca6e0"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable 1591 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/Input.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ddff945db145963242238d081f146d3943337554e51392a5f1bb8bc9010542c"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable 1591 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/Output.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"cce4f32a8a5f83aae607104aace69a17406a91cb1e8d3c54ef261106971e540b"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable 1591 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Interfaces/SessionFunctionsBase.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"097fdcab681ce8d86b9c158c06d7461a887c47454d6af21da2a25cb2e51c3c21"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // if (disposed)    // TODO: Clean up dispose sequence \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":800}}}],"partialFingerprints":{"codehealthFindingId/v1":"e69a5fdc1e9ad9473f5cad34e29108162d852e6da0c2c1287c025c1b5aeb62bc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Here we can \u0022allocate\u0022 the last chunk on the page as an invalid record, and enqueue it into the revivification freelist if enabled, \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":1480}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a64dc8d835ce0f378977eea813e91529ba6641aabb950a0905c0f3d1c3e95f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Currently we keep ReadOnlyAddress at page boundaries unless we can\u0027t (HeadAddress has grown but TailAddress is still \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":1665}}}],"partialFingerprints":{"codehealthFindingId/v1":"2360fca10e075d3bc1a9a89e069a12b1f32969f757d44ede75dba2c4bd292782"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Optimize for non-ReadAtAddress tombstoned records to not have to retrieve the full record or, if we have it, not deserialize objects. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":2657}}}],"partialFingerprints":{"codehealthFindingId/v1":"e67abbcb78615e1270728231987da2f59ee50976685e7db5944dce4d860a776b"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable 0162 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/CountdownWrapper.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"04290e03209eafed89e640c614cccea77408abe668261a8d2c762cd55a556045"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable 0162 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/MallocFixedPageSize.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"fac06ecaf485ca33015398cec72dd39b5038c2f0b342fbbc2938da797e0c6f70"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable 0162 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/CommitFailureException.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d6d08b929bb693486f5e9cc964423d161e37a21c86a1cf0f71e0eb7fde646e"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable 0162 \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/CommitInfo.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9da0ffb7b188c8e8c86105c389ce3e4875ac3392b009d5b71aaeb5a48032ad7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Clone the value object here so source and destination have independent \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/LogRecord.cs"},"region":{"startLine":1313}}}],"partialFingerprints":{"codehealthFindingId/v1":"f355e3436134e4bd41ef979d982a56c275d98dda7b166b6e31c68d02cae2114f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // We don\u0027t allow non-inline if we have a null objectIdMap. TODO: Need better awareness of actual inline value max length. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/LogRecord.cs"},"region":{"startLine":1346}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c350bcd51e05183f74b0059bdfa4b2a783e891864bc456ad18f912759e3d8dd"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if false \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/LogRecord.cs"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f3c82787da99134d04330a4725dd547ef4419620e98c6a55c87755a2cf7eda3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Ensure we have already called the RecordDisposer \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a87f4f40c9a265a7fd5701ee69a98e5bbb523927d0dc39a1a2f1f237467ad62"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO verify SegmentSizeBits is correct \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"c55ebdd9d810d9154220b4a46648dded78b4cff1655c8c55a6ada264c6e4073b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // won\u0027t be disposed before we\u0027re done). TODO: Loop on successive subsets of the page\u0027s records to make this initial copy buffer smaller. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":817}}}],"partialFingerprints":{"codehealthFindingId/v1":"90df3658e9868f06699e7ace497e99a42380b60f4851044ce9c75b2d40d9b29e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This will potentially overwrite partial sectors (with the same data) if this is a partial flush; a workaround would be difficult. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":825}}}],"partialFingerprints":{"codehealthFindingId/v1":"837353c6ae9a6a4c203bb04e2e4f6374f75cf344b07c062a41ce1f59b01910d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Cache the last sector flushed in readBuffers so we can avoid this Read. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e71f5403661505271caad27936a554a4ecc2ecd2e4319d356497c4107fcedd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This will potentially overwrite partial sectors if this is a partial flush; a workaround would be difficult. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"b55394ef40a258d00cb26a1ffed0470fcef02413378e782cc495be6cb2942e91"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO(\u0022Add CancellationToken to the ReadAsync and WriteAsync paths\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":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"a320e6b27d26a02bdcfdc2e649fcd1e93cd700a373590742417ce1ab58490871"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: for this PR we always buffer the in-memory records; pull iterators require it, and currently push iterators are implemented on top of pull. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d74882e4badd732e46e6e8b55f130704ea834921dff9fcdc28c394583cabe77"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: for this PR we always buffer the in-memory records; pull iterators require it, and currently push iterators are implemented on top of pull. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcdc8623c6a4a194d6b0f04e01abaf47e9b87288d5fb0189d0b99c7ca2a91a89"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Consider changing this from ConditionallyHoistedKey to IKey. One concern is that if this is called with a \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectSerialization/ChunkedObjectSerializer.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e4748b565ae8e0383ca44359b61f8c7d632c6348b030890c711038bbc4e906e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Optimize the reading of large internal sector-aligned parts of Overflow Keys and Values to read directly into the overflow, similar to how ObjectLogWriter writes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectSerialization/ObjectLogReader.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"01d9ebc93b601827dce5cf507fbdd148d5f1236b292558e244deafd390281b11"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO add size tracking; do not track deserialization size changes if we are deserializing to a frame \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectSerialization/ObjectLogReader.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a1412f9fd246574b3191ea386a24b475224decdaf072e8e5ddd3a867f4deeee"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE0290 // Use primary constructor \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectSerialization/ObjectLogReader.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"797ae278381fe8be68248df3434cdd9e05267f44402bd506a9964f3e8ae21e09"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE0290 // Use primary constructor \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectSerialization/ObjectLogWriter.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"9298fd629da6357f60b704fae69de2f97c412c1af669923734821981eed7f233"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE0290 // Use primary constructor \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/TsavoriteLogAllocatorImpl.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d6dd82efdbf359c080b64a0836f20507ae0f96f9e82a5d958083cc69e3b8c6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This and other segment-limiting logic could be pushed down into StorageDeviceBase, which could iterate on the segments. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectSerialization/ObjectLogWriter.cs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"947a2f913d49883b75312cdd562c9adb165a1aaeb3499484f2c9aa1e861250e4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: REVIVIFICATION \u2014 if revivification is active, send this newly split-off record to TryTransferToFreeList so \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/RecordDataHeader.cs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"8455ed699dd84dbbd3aca6a48d2e047523e8a0a66d7db5fa0b95202fb7a7c6cc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // of headAddress; the entire page will have been flushed to disk already. TODO Leaving this here in case we change to record-aligned ReadOnlyAddress. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"34294ac819031ef47644d24bcad1d06294516c486362a96afe7af673e0f422ef"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Task processQueue \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/WorkQueueLIFO.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"742bcef2969346f5cbd81f23feedda97533800760471271db8943ff4831034b9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: remove when we remove tempkv/tempdb in iterators \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/BasicContext.cs"},"region":{"startLine":520}}}],"partialFingerprints":{"codehealthFindingId/v1":"50a23bee503e215b23d160776da6070939ffcff9c03a2045a2c5a693d169931b"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILoggerFactory loggerFactory \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/ClientSession.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"015ed24c660cd10ea2ed809ed131afee91656c379c84eb6e127b5a7e3c99a48c"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ulong nativeSegmentSizeBytes \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"50139fe4ef816e3348e640882e2c02dbb872d350d4f6c6a9965cc87799a86612"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check if it is incorrect to ignore o \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/ShardedStorageDevice.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"bab7e279b94198e720bd11e42737ccfcfc245176dd0a2b4c2aeab4ebd4a0299d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check if overlapped wrapper is handled correctly \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/ShardedStorageDevice.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"f20ac081991159e1c1e3d6592e23faef0669fb9e5f38b1c34e0f6f0014d97151"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is incorrect if returned \u0022bytes\u0022 written is allowed to be less than requested like POSIX. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/ShardedStorageDevice.cs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1904e386d40d88beb24991f2498d8eb7478cf40d57dc25fb888e5cba7983063"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check handling of overlapped wrapper \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/ShardedStorageDevice.cs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"96b2b1b7e83145f8a021bd21afb0cdcddf41b56c33fa00ebc962f3e1d18ec634"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE1006 // Naming Styles: Must begin with uppercase letter \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Common/LogAddress.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b099dfbc68a87d8e716b980cf36e4faf847f8257f03ce167d3d1557a59a0391"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE1006 // Naming Styles: Must begin with uppercase letter \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Constants.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8cf8e5f2e540e0595b6fe2a0a2e7ef022a4cb131760fee0822712b6f6f6e9d"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable IDE1006 // Naming Styles: Must begin with uppercase letter \u2014 the disable has no matching restore anywhere in this file, so it does not end with the construct that needed it: it runs to the end of the file and silences the rule for everything written below, including code added years later that nobody weighed against it. Close it with the matching restore directive immediately after the construct it covers \u2014 that alone turns a standing exemption into a scoped one \u2014 or fix the cause and drop the directive entirely."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/HashBucketEntry.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2634c5f3180aa228b555c6bcf2f5d437179a04e4f81437be2d5aa15b2681390a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO remove for dual \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/StoreFunctions/IRecordTriggers.cs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"69adcd2524c7d9d339873e57512c19432ad7d04627849532ee859e15f706cfe3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO verify these \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Constants.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"05b41d917ee27f36c81a6e538639e3800cc78648d682262ebb96f1ccea03208c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO verify this number \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Constants.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc568c429556d073358a038db4b34bc2b8caa3a724f687183aa94a8090790050"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // The in-memory source dropped below HeadAddress during BlockAllocate. Abandon the record (TODO: reuse readcache records) and return RETRY_LATER. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/BlockAllocate.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf1214be144520ed56c5faffc8901275aaa43ca27e383fd32ae7cf46f28759ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Overload with maxAddress to avoid the extra if condition - TODO: check that this duplication saves on IL/perf \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/FindRecord.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f32b71b9519aa714f3e283344f10556c67d658098b234659fe083e160ff96a7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Overload with maxAddress to avoid the extra if condition - TODO: check that this duplication saves on IL/perf \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/FindRecord.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c52159bb48eeff9942f5fcf46ba2bbe78e4f0172f5346c13700ba9fec35347f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Reviv stats are added to SessionFunction\u0027s stats and not revivification manager - check why \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/Helpers.cs"},"region":{"startLine":298}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e40b2de737b72f530f128e652502a72e3ffa9ca812fb32ca9a7e15a9f70eebf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: If the key was Overflow, it was cleared if isElided \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/Helpers.cs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"96d671dbb78cd1ed2a63b48e3d66c6ff7b08b9f3ff56ea966318a46f0238f84f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: If this does not fire, remove the following line that sets it \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/OperationStackContext.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7885959a55d8f788d37b78ca39b7b7a62e0e7a566615a47cb3d1318f900efc42"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Can we avoid always creating the log record here? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/ReadCache.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0836060afbe69a5c757b527f35a0f6e0488daf47266d4e6c303e7c6b6a183ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We currently don\u0027t save readcache allocations for retry, but we could \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/ReadCache.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2d01705df86bc51bbdf5ccc121f5f4b4761e5619e1a216620c50c1567cdb1d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // another thread could also be running SplitChunks. TODO change these numbers to named consts. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/SplitIndex.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f30196025f03dc6cc7d5e92be7dd34c2df5b4f1eca3378ec643bd0e8c8414183"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO local var not used; use or change to byval param \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/TsavoriteBase.cs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ae753dcf01f2a3979586ef54cdca9cb1e3ac4df9bc23454e8378d2116189ac0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO local var not used; use or change to byval param \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/TsavoriteBase.cs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4cd4507af9b56b894c311c1fe81769b5cd30da72a759f8e7ededd5af719bdc0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Why not return orig_bucket and orig_slot if it\u0027s not Tentative? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/TsavoriteBase.cs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"f93d7efa353a721dd3060e78d981b20fd322e43e77d01224681a96cb7c8a1456"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This may have been the source of a conditional insert or push, so the reason may be different. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/TsavoriteThread.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0229a990e269cd05344aeb4d37249afe7d91514536dc02bd27ca1f5de17259d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: If these are used, what address is passed for chunked records? TryEnqueue returns the highest, but we\u0027d have no way to get back to the earlier chunks \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2641}}}],"partialFingerprints":{"codehealthFindingId/v1":"973ee6ffd3c999b038e97e54cf68d477ffc660af91c4e615c61f455b7e63b303"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: can change to write this in separate thread for fast commit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2798}}}],"partialFingerprints":{"codehealthFindingId/v1":"be16a98552f6b322fc41c737cbfda37d140f343490adfa94ff3debceb7f746b7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Can invoke earlier in the case of fast commit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2895}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dce9b028ade12950eefc82f1c6eaba7cc44347eac6582a9a045f3d31c9eea35"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if CHECK_FOR_LEAKS \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/BufferPool.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a9687790e2c65c40c35acf93619930c4e04ff3af1733fc8c35378752ca86fd1"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if CHECK_FOR_LEAKS \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/BufferPool.cs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"848579ad3993a449d58ad09732d9db23e37a37f7e23f19b96283079c76001e53"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if CHECK_FOR_LEAKS \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/BufferPool.cs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"de4e32dd88160d8a682af935dd62a595e2160c03672d616782311534b09a1472"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if CHECK_FOR_LEAKS \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/BufferPool.cs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec3a45a171efd78877bf48884e5f0ed07a27cf129e50f48d019ab270a8c0da76"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // tempSemaphore.Dispose();    TODO: We cannot Dispose() here because there may still be waiters that have not yet been released. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/CompletionEvent.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"489c9626ae76e828e35a398e91b32ecf21ce4086c27fba445f74e7a7d0fa7bc4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Make MLPA config numbers internally configurable (e.g. smaller log pages need less overhead). Should be able to do this internally \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/MultiLevelPageArray.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c206d6ca9bcb61f2160def9de9c6da8db023f0ec5a538fbe6f753a013c67572"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // set this at 512 GB for now TODO consider implications \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed3fe2df92794334673108a0b21cfdd86447ebbf0f20989546e8655bdd8816e6"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string account \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/StorageErrorHandler.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b3eb4242f0b28f2d1dbd077dc1f8eb108a815ff1056bf67cbf223dc62604f41"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string taskHub \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/StorageErrorHandler.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8378c4ee5045078fc6bdf6796dc0952afd49c401b654b42e3ed2d9a54c2b4ccf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //          - (TODO with revivication) NewRecord (input len \u003E record len): Return false from IPU, true from NCU, set in CU \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/ExpirationTests.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"01f6194f132155ee6205a9a2d0fe5929f83ae07e94519edea1dfe685eb42bb6e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - NYI: An Update or RMW operation encounters a tombstoned record of \u003E= size of the new value, so the record is updated. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/ExpirationTests.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ba926417d3e1ab4260f41d091a76a9e7f0efebad2c5d140b71717a1d75f8e1"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if false // TODO - Add to ExpirationFunctions the knowledge of whether we\u0027re calling from here or the main test part \u2014 no definition of that symbol was found anywhere this analysis looks: not in a \u003CDefineConstants\u003E in any project file, props or targets under any condition, not on a build script\u0027s command line, not in a #define, and not in a project-template manifest; nor is it one the compiler or SDK defines itself. On that evidence the condition is decided the same way in every configuration this repository can build, and the code on the dead side of it never compiles \u2014 including the part a reader will assume is what ships. Either define the symbol in the configuration that is supposed to have it, or delete the branch and keep the behaviour you are actually shipping. If some other mechanism binds it, that mechanism is outside the list above and this row is a gap in what we read, not a fact about your code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/ExpirationTests.cs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"dca8a2748cb744d34a34968d27cca00dda441c74b5820955619b9a8ff34acec7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Hardcoded constant --- if this number changes in TsavoriteLogRecoveryInfo, it needs to be updated here 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":"libs/storage/Tsavorite/cs/test/test.hlog/LogFastCommitTests.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e4962a24cddff06575ae55f46e4549ecbdbb4f9b60af91bc1207e161774ddf2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Namespaces! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.recordops/CopyToTailTests.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9e9acb01bc7b38fd511dfa8a2d294c6d58978d693b3487e780b6b549a2504d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Namespaces! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.recordops/CopyToTailTests.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9db3929e9b1e14cbad240caafc6a5bb08b9d4ecf3acf996478924195eee93d9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Namespaces! \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.recordops/CopyToTailTests.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"1532c47e3885fe72aa6d0d329689615bf5852f63938bca6fb9197a6caa7f80ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: vary listIndex by rng and have multiple. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.recovery/LargeObjectTests.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"6112014617f35dbca6063b0a1d64c562712d8efd37f10e12b018474387c60768"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check performance of using AsSpan and TrimEnd then convert to string for the critical path \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/JsonPath.cs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"c847e2d32e729a82aef5d10b959a58183c6042c6f2f516806fc68f6acc5b7786"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger? logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JsonCommands.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f83705e3faa49169fffa17f35f97cce1ad6eb2c1a8497b2374691c64f5f19080"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger? logger \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JsonCommands.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d64f19fcba217d5bb0cc4d78f07c3770cab9d5fa3765bdf25fb28503b8b858"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: unroll further \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitCount.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e974ca2be1e14a73ddfd3bc33def1b77eaaba4db691a07c01527a85820f46248"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/GarnetClientStress/TaskScaling.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d5b12cdfe08712a4b7de21941c76b513a73efca44050cdd5a237ad8a9375a7"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.vectorset/RespVectorSetTests.cs"},"region":{"startLine":3739}}}],"partialFingerprints":{"codehealthFindingId/v1":"6606ac4bf9f7775a09c8279954f024d1ea9a168e3bbfb0a8de381c6e644ea12d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/TstRunner/Program.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee33baf61b69c4ff223f586a8bf5c68ca0b84c39d43bbd2d45df1386db52c0da"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.complexstring/GarnetBitmapTests.cs"},"region":{"startLine":1867}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88b668642a12c1481c170a2fa4c772ecfbff54dd93d94f4ddbec08dabca6d65"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is fairly Windows specific, how does Linux behave? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Garnet.fuzz/Program.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"06afd92496541ad462e5d4470c6e20ae94f5074861ecc9deff4160e86d0ef71b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: These ought to be fixed outside of Vector Set work \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cluster/Garnet.test.cluster.vectorsets/VectorSets/ClusterVectorSetTests.cs"},"region":{"startLine":2243}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef0179f047d0a05eb0f7e0c20cdd41d2432bfe4ad6d400030c5d68113b13607"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //     3. \u003Cflags\u003E //TODO: hostname \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cluster/Garnet.test.cluster/ClientClusterConfig.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"b209e9f877c857f26c9969bf879a795c2191f0261c02ae23cae03ab426945907"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //     5. \u003Cpint-sent\u003E //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":"test/cluster/Garnet.test.cluster/ClientClusterConfig.cs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df91dff3c7908f2ce2113d837cb98998529a9522892cd203beae96369f4769a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //     6. \u003Cpong-recv\u003E //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":"test/cluster/Garnet.test.cluster/ClientClusterConfig.cs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b66e1105ec468be4c86db625fba333582490ed41e81c15bd56a7105ba4dd91b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //     8. \u003Clink-state\u003E //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":"test/cluster/Garnet.test.cluster/ClientClusterConfig.cs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"40caf67b4220bba5c9368fad6b99ee0946b4f45c9f8c450ca00604059a99f029"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: See if these commands could be identified programmatically \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"773159cb2c2f59619797619146a6105a819c5986d96bed2ff47b1b4b62d5e0ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: CONFIG GET doesn\u0027t implement multiple parameters, so that is untested \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":2706}}}],"partialFingerprints":{"codehealthFindingId/v1":"12513592afee822ae164043115faf0138c6d3d9b00717559f6beafcc8e27a16b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: COSCAN parameters are unclear... add more cases later \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":2788}}}],"partialFingerprints":{"codehealthFindingId/v1":"020f6817424012c9e436c3ee8f0d4795712c356e1d1dd2a9d2a626a73d26ee86"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: it probably makes sense to expose ACLs for registered commands, but for now just a blanket ACL for all custom commands is all we have \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":2807}}}],"partialFingerprints":{"codehealthFindingId/v1":"04c1e71d662d282dd43e40df57ac55fda3c51624c8fa8c5518a38ad761bf49b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: it probably makes sense to expose ACLs for registered commands, but for now just a blanket ACL for all custom commands is all we have \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":2830}}}],"partialFingerprints":{"codehealthFindingId/v1":"f459bb92084958123ac905c353cfc9872247d26c48f86e5cf5b399ae12aacea1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: it probably makes sense to expose ACLs for registered commands, but for now just a blanket ACL for all custom commands is all we have \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":2849}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1f42d7b2cc6a3fdeced548a0784d13904416607819bd1d4cd1f54dfa4624d6c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: it probably makes sense to expose ACLs for registered commands, but for now just a blanket ACL for all custom commands is all we have \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":2868}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ec6637beab690bea7723cbd453180fff7a83af097c7e6d2cefbf07710aa90c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: pexpire doesn\u0027t support combinations of flags (XX GT, XX LT are legal) so those will need to be tested when implemented \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":5086}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2279f3850847e5b78aaf85a78e55f8d23ce7a1d8fce410518a6cd91e4dd3155"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: REGISTERCS has a complicated syntax, test proper commands later \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":5369}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6597edbb990bd130c7e02aa48e6375f06840c93545ec30f54071659075148df"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: RUNTXP semantics are a bit unclear... expand test later \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":5712}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bba3a927ecd378ffef7b585b8bda88666165e44999bd3f94b77e7d92b2f8a8b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: RUNTXP appears to break the command stream when malformed, so only test that we can forbid it \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":5714}}}],"partialFingerprints":{"codehealthFindingId/v1":"86f27ed0293919029110c24eac63b960d43820bfe8ce13d6995a16d2cf82172c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: GEOHASH responses do not match Redis when keys are missing. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":6615}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f931ef8fdc2585b99063f749e47d57f0b89e05676130b1dff5725c570d382b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: ZADD doesn\u0027t implement NX XX GT LT CH INCR; expand to cover all lengths when implemented \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":6786}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f12814bd7feb7e4d5f20d75c730103e9f7c9a1bf8107055a1e38aaf5bf4eea9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: ZRange has loads of options, come back and test all the different lengths \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":6958}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6411f73a9f08cd90735c5f930c0d1061be40fdfbba965785e0ba00e0b73145d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: ZDIFF doesn\u0027t implement WITHSCORES correctly right now - come back and cover when fixed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":7236}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c522cf01e17547449ebb03dbd402058816af8cd17bf18259d3c6ea79716606"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should watch fail outside of a transaction? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":7749}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7e287eb1b8b8c87f3e083bc0a28be045294335c5de7bd84e00041a0fd75183a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should watch fail outside of a transaction? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":7767}}}],"partialFingerprints":{"codehealthFindingId/v1":"a908c40f8bc1274aa1d7dd7898502c6ae87f8a319e1c1455722f085d73394f2c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should watch fail outside of a transaction? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":7784}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c2256ce3ca5cb20cbfd9f82f344ef65a5c361132effeab377b7525fb3756d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: should watch fail outside of a transaction? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":7801}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d22262b7f8d15ea96b0797e58e78dbd2d23712f7b17f2b3099f74a82ac424d3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: multi key WATCH isn\u0027t implemented correctly, add once fixed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":7750}}}],"partialFingerprints":{"codehealthFindingId/v1":"414929e81b2c270241a83551fa30c697a633fc977a52776ddfb30125c634b32c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is a placeholder implementation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":7985}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd660e4c6e59245fb2e02ddd7d8ccd094432e0d6bbb8e27106f7bd2f749c469"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is a placeholder implementation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":8002}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c886404fb27d1c78f43c667142cd3e499e6726c9d829525550129be57dd234b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this is a placeholder implementation \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":8034}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfbc0abb50fe5a1ee412ff83dc6620260af6a39012e8b310e515382c36e5e4eb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: if and when ACL GETUSER is implemented, just use that \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.acl/Resp/ACL/RespCommandTests.cs"},"region":{"startLine":8398}}}],"partialFingerprints":{"codehealthFindingId/v1":"2107e1f55f3674f97d6eabbc61e56918d25403c41648fc1a4785aa2260097cd0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Assert values for latitude and longitude \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.collections/RespSortedSetGeoTests.cs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"77c5f3ecf2cd6d97999323329abb6e6569fcf224b11a198b8b0abc925f3fe0fd"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Review precision to use for all framework versions \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.collections/RespSortedSetGeoTests.cs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28e054cf59d40c206dee70f99634c1526dc59c33dc7942c73a8b79828ffc251"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.complexstring/GarnetBitmapTests.cs"},"region":{"startLine":1886}}}],"partialFingerprints":{"codehealthFindingId/v1":"683b6a266dd0bd535fdb85d6d4c783e8cf0336d46a1edb96bcaa39f4c5c5ddc5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: I think this should be 15, because results from online evaluators doesn\u0027t include the root/self element. Need to verify if changing the returning of self will affect other tests. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.extensions/GarnetJSON/JSONPath/JsonPathExecuteTests.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"253669f9d897e04d3032e5a62275d7d93f1f8749ba8eaf2df15e773922aa90bf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: We used to forbid SET\u0027ing over an RI - but that\u0027s a weird break from Redis \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.rangeindex/RespRangeIndexTests.cs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"69a98db5efbd2c308b967eb468f4acdbfd8665b02c2718ea57204bd173d629f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: exact matching of the hash and line number would also be nice, but that is trickier \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.scripting/LuaScriptTests.cs"},"region":{"startLine":1124}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a548dae00a84a4f437e185383161de3e72a2e77e09f420ff174aafe2da81ec0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Every single command that\u0027s response changes between RESP2 and RESP3 needs to be covered \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.scripting/LuaScriptTests.cs"},"region":{"startLine":1793}}}],"partialFingerprints":{"codehealthFindingId/v1":"46532674a61940850f61df54066480f11f4ad1f8deaa2b51526e61b67f45a889"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: remove this test once transactions across databases are supported \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.scripting/MultiDatabaseTests.cs"},"region":{"startLine":510}}}],"partialFingerprints":{"codehealthFindingId/v1":"893a4747a91fae05bcd9fca49c9b627fee5d4070118b627d28c70e54d59565b1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: remove this test once transactions across databases are supported \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.scripting/MultiDatabaseTests.cs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"98b354b4ffa0ab3d9457a42ac8a031fecca1830781f8ff30686c54df6a617fcb"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement when VCARD works \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.vectorset/RespVectorSetTests.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"c423f6064c17532116f3dc4e7272c5bd055c4ab1f0a0bcb7a0e77ecdf62f129d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement when VISMEMBER works \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.vectorset/RespVectorSetTests.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"eece25063b24bae202739cb7a8732bb37feff9d89cca3cae9a3d9c9aed3b47b5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement when VLINKS works \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.vectorset/RespVectorSetTests.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a8874744678ebfa961d2dc756f32568d7dce73a1f7cd075ed150b4aaaa0560"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement when VRANDMEMBER works \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.vectorset/RespVectorSetTests.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"0116dfe6f0d378376a7f9a19c79e790ef8c2aca618037ccc3758929fbf9706f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement when VSETATTR works \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.vectorset/RespVectorSetTests.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"5285b732e796b02a42d3b47e60bb22667cd99edeea2eaaf8b1ef3617e0d12c95"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Other objects - but we can wait for store v2 for that \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.vectorset/RespVectorSetTests.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"6623b99b1cbb34dbc70043e531f7ca9b03143d8ded06f185bbb0944cac85c053"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: exact duplicates - what does Redis 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":"test/standalone/Garnet.test.vectorset/RespVectorSetTests.cs"},"region":{"startLine":1031}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5a51688dd3d536f8b1081418b776aa45c4941977be70b424048e57c26339573"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Redis doesn\u0027t error on these which seems... wrong, confirm with them \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.vectorset/RespVectorSetTests.cs"},"region":{"startLine":1160}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd9fab1846a3985cd8eb0c31c22a644da401dd8fdefcd869033cbc08b1b0f6e7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Redis doesn\u0027t appear to validate attributes... so that\u0027s weird \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.vectorset/RespVectorSetTests.cs"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff4a83e26764349b1ed028de6d2565e5681007f99b9f78d78f2768286e23e4a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // Empty Vector Set keys are forbidden (TODO: Remove this constraint) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.vectorset/RespVectorSetTests.cs"},"region":{"startLine":1213}}}],"partialFingerprints":{"codehealthFindingId/v1":"98c23fbb295cf4c3efd6854a48f7a52ab928780db54070a632ff7980a1822962"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Add WRONGTYPE behavior check once implemented \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.vectorset/RespVectorSetTests.cs"},"region":{"startLine":1711}}}],"partialFingerprints":{"codehealthFindingId/v1":"9caa9f9b38f6e5e681c43bdb3881edb913f5d0f219ac7ed03b920a5bc9c6d588"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement once VCARD is implemented \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.vectorset/RespVectorSetTests.cs"},"region":{"startLine":2393}}}],"partialFingerprints":{"codehealthFindingId/v1":"82c65b57e48e7fad685b109e7ce0b9c52f233de921c7794edd7cbcf8e9c6ce0e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement once VLINKS is implemented \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.vectorset/RespVectorSetTests.cs"},"region":{"startLine":2451}}}],"partialFingerprints":{"codehealthFindingId/v1":"862146e76236256a7a7cfcd42e9025221242b57fedabd27195f641f468b960ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement once VRANDMEMBER is implemented \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.vectorset/RespVectorSetTests.cs"},"region":{"startLine":2454}}}],"partialFingerprints":{"codehealthFindingId/v1":"394bf64d71080fb708b506ea449a65b27858a20063b7b9c835511b76bf58df38"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Implement later \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.vectorset/RespVectorSetTests.cs"},"region":{"startLine":2490}}}],"partialFingerprints":{"codehealthFindingId/v1":"1929bb2a4809f18d3ea3c527ff036ae8bb0dd03fafd49addd5e2944cb5071843"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: FLUSHDB needs to cleanup 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":"test/standalone/Garnet.test.vectorset/RespVectorSetTests.cs"},"region":{"startLine":3424}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a610daee1ecbd654790497c040196b26bc6abef72cd15a3acfb322638b80a3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: test against Redis, how do they respond (I expect WRONGTYPE, but needs verification) \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.vectorset/RespVectorSetTests.cs"},"region":{"startLine":3738}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd3b64f9c0a63ac046f81c0954c0df3d638e5f88d2c04f3652c4ebfb90463bc"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.vectorset/RespVectorSetTests.cs"},"region":{"startLine":1161}}}],"partialFingerprints":{"codehealthFindingId/v1":"27dd5601a0f0c443128dbad12e50ffe1caf041d4ccb35e771b47fab9fce377c2"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // create server with active expiration enabled, TODO: need to turn on reviv to see log growth minimized from reviv \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/ExpiredKeyDeletionTests.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb8e77dfc976f890a3073ca573fe49a56dcdecf19bb9b1d5c052fdb56703bcf"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private HashSet\u003Cstring\u003E skipCmd \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/NUnitLoggerProvider.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a0402f32977a59ecb0f1cae78647258d50bd2b2fa1db5f315cda835dc8e417d"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private bool recvOnly \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/NUnitLoggerProvider.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b031d6d8e44bb233cc4f53865c30041b8758f3ef39286a4a35d117ea4cf9eaa3"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private int srcKeys \u2014 assigned 1 time(s), read never \u2014 this field is written and never read anywhere its type can be reached from, so the state it keeps answers no question: every assignment to it computes a value that nothing observes, on every instance, for the lifetime of each one. It reads as a flag the code branches on, and nothing branches on it. Delete the field and its assignments \u2014 or, if the value was MEANT to be consulted, the missing read is the defect this row is pointing at, and the branch that should have depended on it is not there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/ReqGen.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef5fb902c076388c85993c1813ecf99c8aa8af3d636ee6f4d104c1dc80acccc0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is RedisServerException in the InPlaceUpdater call, but GetRMWModifiedFieldInfo currently throws RedisConnectionException. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/RespEtagTests.cs"},"region":{"startLine":1731}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed62c6a2fe59e2e1405dad880f30f91a0b96c8557fc2b2f046c532617d74035e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This is RedisServerException in the InPlaceUpdater call, but GetRMWModifiedFieldInfo currently throws RedisConnectionException. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/RespTests.cs"},"region":{"startLine":1615}}}],"partialFingerprints":{"codehealthFindingId/v1":"041330cc96c706b59399ca5f99e19a3f88852f4d517db49a96ed0b4bfaed00a9"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Same as LogSettings.kMinPageSizeBits; need to centralize \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/TestUtils.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb7e63041a09e965c988f563b1519d72519f5d7dfbb623d9ccfd868daad07b65"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: NU5118 \u2014 this warning is switched off for the WHOLE project, including builds years from now. It is raised by the build itself \u2014 the packaging, restore or SDK step \u2014 about the project as a whole, not by the compiler or an analyzer at a line of code, so there is no call site to narrow it to and no per-site directive that could carry a reason: this element is the only place the decision can be recorded. Say WHY here, in a comment on the entry, or fix what the rule is reporting and drop the code from the list."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Garnet.host.csproj"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07131d681c2dd8790c802b64526651e1968fb650dc9cd8b6c740e9d57ebf382"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj repeated across 21 files: The identical NoWarnInCsproj (\u00601701\u0060) appears in 21 files (21 occurrences) \u2014 a single repo-wide policy (e.g. a Directory.Build.props decision or an idiomatic suppression), not 21 independent debts. Decide it once centrally rather than file-by-file. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/Garnet.test.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7266927ac0a087aaeac4699924e4baee7526863e92808dce9803fb64371848"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj repeated across 21 files: The identical NoWarnInCsproj (\u00601702\u0060) appears in 21 files (21 occurrences) \u2014 a single repo-wide policy (e.g. a Directory.Build.props decision or an idiomatic suppression), not 21 independent debts. Decide it once centrally rather than file-by-file. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/Garnet.test.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"3320990fc5732c89fbdd70d3c5f86eb33766ad0830bced5bf7478b921147dac1"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj repeated across 21 files: The identical NoWarnInCsproj (\u00601591\u0060) appears in 21 files (21 occurrences) \u2014 a single repo-wide policy (e.g. a Directory.Build.props decision or an idiomatic suppression), not 21 independent debts. Decide it once centrally rather than file-by-file. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/Garnet.test.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"575ebee4e218c97cb4e884be3ef3786028e8e4fc7448b6e65248ce95f87c8437"}},{"ruleId":"D17","level":"error","message":{"text":"AnalyzerSeverityNone: VSTHRD003 \u2014 this rule is switched off for every file the section matches, in every project under this directory, and the only record that it was ever switched off is this line: nothing at the sites it would have reported says so, so a reader of that code has no reason to look here, and code added years from now inherits the decision silently. Fix what the rule reports and delete the entry, or \u2014 where some sites really are legitimate \u2014 leave the rule on and suppress it at those sites with their reasons, so it keeps protecting the rest of the tree. If the rule is genuinely unwanted here, say why \u2014 on this line after the entry, or in the comment run directly above it: a comment that only repeats the rule\u0027s own title is read as no explanation at all and leaves this row in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".editorconfig"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc34c9169936bfd57f9239e0d6a432a067791f2cbb4b006cb87005780fcb66ac"}},{"ruleId":"D17","level":"error","message":{"text":"AnalyzerSeverityNone: VSTHRD114 \u2014 this rule is switched off for every file the section matches, in every project under this directory, and the only record that it was ever switched off is this line: nothing at the sites it would have reported says so, so a reader of that code has no reason to look here, and code added years from now inherits the decision silently. Fix what the rule reports and delete the entry, or \u2014 where some sites really are legitimate \u2014 leave the rule on and suppress it at those sites with their reasons, so it keeps protecting the rest of the tree. If the rule is genuinely unwanted here, say why \u2014 on this line after the entry, or in the comment run directly above it: a comment that only repeats the rule\u0027s own title is read as no explanation at all and leaves this row in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".editorconfig"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb61c4f62a9d9ca1567423b1861b35344b2739cf6ded1e681280d4b29565e2e"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: OperationParamsProvider: Method OperationParamsProvider \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including BDN.benchmark, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Operations/RangeIndexOperations.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"a58d5fa0c32e92a39f5d18622a5e1560a6ad9622405c64123b487785533a73ff"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: maxChunkSize: Field maxChunkSize \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Resp.benchmark, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/AOFBench/AofReplayStream.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf591ad87842ca0394a04c4abff0e6c8494ad751ccfc932c7a22a1483344028a"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetClusterNodes: Method GetClusterNodes \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Resp.benchmark, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/AOFBench/AofReplayStream.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ef21e03990e5b8839cb507267999749e7d4eead5d7b7291502f5f23a833c424"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetRespServerSession: Method GetRespServerSession \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Resp.benchmark, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/GarnetServerInstance.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"c602e8e686ab7b011d34d118aa6aab8e2b88f9d8f92178218301674fa9808c01"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: LoadDatabaseStringSet: Method LoadDatabaseStringSet \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Resp.benchmark, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/RespPerfBench.cs"},"region":{"startLine":611}}}],"partialFingerprints":{"codehealthFindingId/v1":"730bb125553b560377574b2dc011387c87a9bd8a03bd5370f57fc451dd0c704a"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: PadRandom: Method PadRandom \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Resp.benchmark, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/OnlineReqGen.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c979e871ae6e2d0b70b468434c795b6cbc415ed46618a28705813f392b75791"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: WriteOrSendSegmentedRecordAsync: Method WriteOrSendSegmentedRecordAsync \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.cluster, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrateSessionCommonUtils.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd437cb4a146d6c24585e17757903d37715406ab2e20580c581beb87ab1ba69c"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: TryValidateAddress: Method TryValidateAddress \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.common, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Format.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"275b5931a09f8f5a14bf685f9f568895fa23a5500342d4f4d12d0f83799c99e2"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: MurmurHash3x64A: Method MurmurHash3x64A \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.common, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/HashUtils.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"20a19af8fd09ff55bec27e234b087af7aa9c5b5d292e8c494e2a531eb1d1c82f"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: MurmurHash3x64: Method MurmurHash3x64 \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.common, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/HashUtils.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"995a85925c608693c7655ac5594bceb7be9315fbe4f26872e9c1e29b0af6d460"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: SetNumMessagesProtocol: Method SetNumMessagesProtocol \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.common, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/BatchHeader.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72959f2c99925edd8af673d54e184847be86d69e18853485656b7d3d247b371"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: TaskToApm: NamedType TaskToApm \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.common, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/TaskToApm.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a4b91058646aab1db0c48e5fb6ee12c421ac08443ea20ff40add32e9697e4b"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: TryReadByteArrayWithLengthHeader: Method TryReadByteArrayWithLengthHeader \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.common, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/RespReadUtils.cs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"3339ba0f0e2b0e575a398d8ab50b2ae508d0b0e674f387123256e3012d5f6b8a"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: TryReadDoubleWithLengthHeader: Method TryReadDoubleWithLengthHeader \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.common, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/RespReadUtils.cs"},"region":{"startLine":1151}}}],"partialFingerprints":{"codehealthFindingId/v1":"e832f6c380441df086a0bc361db0714b1a23165ae6bd63c387c7a520e5b82e62"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: TryOpen: Method TryOpen \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.common, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Synchronization/ActiveWorkerMonitor.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc925126affa147a8e197b2ae822f39254f47f1ac5e1bbacac496cc6ff093eb"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: FileToContentTransformer: NamedType FileToContentTransformer \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.host, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Configuration/GarnetCustomTransformers.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc2afa5ad8b3323637173825bcaf4da938a15a5342fb4ede4e459ef38557c974"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ArrayToFirstItemTransformer: NamedType ArrayToFirstItemTransformer \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.host, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Configuration/GarnetCustomTransformers.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f82016b943cd8aaee233290ec1813e93c9e5cc788b799b35072c6abfbd3c1a"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: Localhost: Field Localhost \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.host, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Configuration/OptionsValidators.cs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"010be5d3e1ad34744b588eadd6eb2211c6774a16c1d9acca468d736e2bc0a9e7"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ClearUsers: Method ClearUsers \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/ACL/AccessControlList.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"02dfcf061cece0fe5eec4f6fdaffba8bee47a8cb34efeb48979c67e54d4126d8"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ACLUserDoesNotExistException: NamedType ACLUserDoesNotExistException \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/ACL/ACLException.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"76df9f7d81214db9844e8204b2b981b2a8fa8b013ac9e922da346b7e35ae4c4a"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: MinExchange: Method MinExchange \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/AOF/AofAddress.cs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f2dbb06277ce06f37c72d796ea79c68c0df66dab1c3289ea755b4e1402395f0"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AofStoreType: NamedType AofStoreType \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/AOF/AofEntryType.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ecf10f0d35469b9259abc7c6b94d16b558112009e44582e6993be5282d1c6a4"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetBeginAddress: Method GetBeginAddress \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/AOF/GarnetLog.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"64dcff17a0af8e4d61646c1ab6b1984a6185cc8d9be17c6e1cb953b5449f19f3"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: FormatScratch: Method FormatScratch \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/ArgSlice/ScratchBufferBuilder.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"078ba173f03cac0399627d38096f815412aac4ea80455aeacff92074867608a5"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: FormatScratch: Method FormatScratch \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/ArgSlice/ScratchBufferBuilder.cs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7523b836076e5078c26f68005b8ae8885757bd0dfe8c525611aca5321ed5287"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetMicroseconds: Method GetMicroseconds \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Config/RuntimeServerConfig.cs"},"region":{"startLine":303}}}],"partialFingerprints":{"codehealthFindingId/v1":"aab2d84911f41ebe8c24ece0c4090d994004c5df3e6113eabd2cfb0e27bc6f9e"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GC: Method GC \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/NativeMethods.cs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"5354d9bb492aa025828eb4e7f06f4c1cc23b3bb502609a5e20a8608aa2268ac0"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetEntry: Method GetEntry \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Metrics/CommandStats.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59eddf8b56c4057b81424ef401d43c1bb480f1303cbd77108c303967a6fbf58"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: EventType: NamedType EventType \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Metrics/GarnetServerMonitor.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"468c38affe6ada0f6cfbb82a0a232d4f661a7b04d5213bf45d98b31fa9eebd5e"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: SparseToDenseCopy: Method SparseToDenseCopy \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"106e54553778d08f1e937f02d81cb4c48bc0c766f1680cd5775c1a762ee0117b"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: SparseToSparseCopy: Method SparseToSparseCopy \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dd2582d86be641d56cd32b92997075351e856812eb1ceff03d13529b21fb059"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: DenseCountNonZero: Method DenseCountNonZero \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":1054}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c7769c7d575aa0760b185f6cf602379c696aff3be55d62b7df666ecc8b1765a"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: DumpRawBytes: Method DumpRawBytes \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":1135}}}],"partialFingerprints":{"codehealthFindingId/v1":"733a73778de630e6c0089ab6471296090d29297f9bdfefdc39709e951934cdd8"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: CompareSparseToDense: Method CompareSparseToDense \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":1154}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a5e7bf1270b92469bdbf101c74c931495a3a0e2691757ec0297a7eedb07e18e"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: DumpRegs: Method DumpRegs \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":1201}}}],"partialFingerprints":{"codehealthFindingId/v1":"9929aee4a8bea48ea0d11093270b34875f5e6d5cf45771ec7562f455ae52e081"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: RespCommandOption: NamedType RespCommandOption \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Parser/RespCommand.cs"},"region":{"startLine":750}}}],"partialFingerprints":{"codehealthFindingId/v1":"d77318473af66145d3b8d88e1d5c9dedb1eabbb59515a055d4461d819abb902f"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetFloat: Method GetFloat \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Parser/SessionParseState.cs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ab386aa92159f7be5af007968dfd622f83150de5b9af751d5f798221592c1f"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: RegisterPending: Method RegisterPending \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RangeIndex/RangeIndexManager.cs"},"region":{"startLine":457}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ef18821496459de8a503e53613cb8565b8b84020bbabaccde439d92fc029ee"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: UnregisterIndex: Method UnregisterIndex \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RangeIndex/RangeIndexManager.cs"},"region":{"startLine":471}}}],"partialFingerprints":{"codehealthFindingId/v1":"758e5577466815ead02c1b311db330d43ec9f892ab75cdbf55f437736edcfc9d"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: RespCommandAccessor: NamedType RespCommandAccessor \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespCommandAccessor.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c8274f9a5a33455ad48926905104024512e86acd61377caa292cf5c855703e"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: TryGetStartIndex: Method TryGetStartIndex \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespCommandKeySpecification.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bc835087f68745536464d90db7407712c3454502fd40492e2e4d90155e36ee"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ExtractKeys: Method ExtractKeys \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespCommandKeySpecification.cs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e14c91499647ce000ff9568ead6f3ed70e01e726f542f2b4b509cb4b92e2cd5"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: TryFastGetRespCommandInfo: Method TryFastGetRespCommandInfo \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespCommandsInfo.cs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc3729d2bfcf173c93c3359a0aac26ecf1bd145d81321ca376dc40a8d94fd97"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: DebugSend: Method DebugSend \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespServerSession.cs"},"region":{"startLine":1554}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ca0de8011477386f847fd87d9984dcd47a6140d9c03b28a06ffc8a17fa55f1"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: WriteAsciiDirect: Method WriteAsciiDirect \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespServerSessionOutput.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"55aeaaf665653280daddf212fbb098cbb8fc2bfa1a743696deb21a99a23521bd"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: WriteInt32AsBulkString: Method WriteInt32AsBulkString \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespServerSessionOutput.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cf014d0c5d85403c66930f9fdf10fde06797e47daa0e642992091da29a5eb4a"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: WriteZero: Method WriteZero \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespServerSessionOutput.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"87671e15389612fa4475aba42a551dbbd3a6852db85d49425afcaafbbbc0b22e"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: WriteOne: Method WriteOne \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespServerSessionOutput.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eb9a680b74b2960bcccbe529a1c27dbb7d190796ba9afdd301a46470e907224"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: WriteUtf8BulkString: Method WriteUtf8BulkString \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespServerSessionOutput.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b029f7c4a70faa34ff3e40d0264b2ca0254b18dfd60a00078f2edb4c703d175"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ScriptHashOwner: NamedType ScriptHashOwner \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/ScriptHashOwner.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"dab4a48dc817ae3af4d621c84104e48d14421e4df519446a9635afa6823db0ad"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: DropInMemoryIndex: Method DropInMemoryIndex \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.cs"},"region":{"startLine":912}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e763439428305b270c586a38d759c1701374ee53b6ef19a46587de0f9e7d142"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ReadForDeleteVectorIndex: Method ReadForDeleteVectorIndex \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Locking.cs"},"region":{"startLine":703}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a55d335b1875e8c2f2770557e75635e5bfc97bdd205adfc76234ab6c7c8112"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: MemorySizeBits: Method MemorySizeBits \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Servers/GarnetServerOptions.cs"},"region":{"startLine":1280}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2b5112bd714e211cf880e76cff621ff3947d3326fd8974ebcf75594b2fa36f"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetHeader: Method GetHeader \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Servers/MetricsApi.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9633ae72e958fe279fb3e5ceb153dbc84a9b6008998d72f4e400575b2e3f37a2"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: MemorySizeBits: Method MemorySizeBits \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Servers/ServerOptions.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"172ab16ef078885734d4b8c421b6426cbe05dc582da9c5d01db37640547dd13c"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AddHeapSize: Method AddHeapSize \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/SizeTracker/CacheSizeTracker.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd8016a4c76ab839f527b01b47e31e4dec41744c0bcb4967e09ff889ee1cd553"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AddReadCacheHeapSize: Method AddReadCacheHeapSize \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/SizeTracker/CacheSizeTracker.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a92341b999af0216389931e9c7fc651419c7bfe47c75384983275be5a5a35fec"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: NetworkRUNTXPFast: Method NetworkRUNTXPFast \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.server, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Transaction/TxnRespCommands.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"d403f2c3299ca2af188d2a474763cd95e7149f640bb86c91d0561f914080ba9c"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: DebugPrintAddresses: Method DebugPrintAddresses \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":1941}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b1981273fb6ee9def9a69de2e5a266efb719f871659fc88819a23d5962a5eb2"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: PrettyPrintLogicalAddress: Method PrettyPrintLogicalAddress \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":2960}}}],"partialFingerprints":{"codehealthFindingId/v1":"69cde2c231815fb6c0428c9225470a17aa282cddd3591990738febce83c618c7"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AtomicOwner: NamedType AtomicOwner \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AtomicOwner.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"39c819f3fc35bc8f86be2a2b488915e0cb345f79df2d4ad29002d1e69f8eeb61"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: CreateFromTransientLogRecord: Method CreateFromTransientLogRecord \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/DiskLogRecord.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"08490fd9559c88fc9b376413e24c445589f6634e4dd94336483c611283bb6a23"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetOptionalFieldsSpan: Method GetOptionalFieldsSpan \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/LogRecord.cs"},"region":{"startLine":1012}}}],"partialFingerprints":{"codehealthFindingId/v1":"750e47be58be034b9085eba98876b73925f61f9907fa77979eee84ffb869165c"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: IsLastRecordOnPage: Method IsLastRecordOnPage \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":1412}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c8a892e60c921e8d2e92c3630fe67da9c0fa7375b3712e06983907d3a886a1d"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ChunkHeader: NamedType ChunkHeader \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectSerialization/ChunkHeader.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"a315ea49312e93b2d595e24aea6fc3790c214a39e1c40372518dda190e455fa6"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: OnBeginDeserialize: Method OnBeginDeserialize \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectSerialization/CircularDiskReadBuffer.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c78fc642d06eae0d8a8a79d48ae1bc16f2b4083f5c16471163cf6e2b7f7206e"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetTailSpan: Method GetTailSpan \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectSerialization/DiskReadBuffer.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"7195cf54d8b660360cbd9cfd21ed0950d36f4730bafb72ef01f9a5f8264b9b1f"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AdjustOffsetFromStart: Method AdjustOffsetFromStart \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/OverflowByteArray.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c4a5c265dacedc982271220e7d7cdee18db404163227e9d29f98c52ecb9db50"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AdjustOffsetFromEnd: Method AdjustOffsetFromEnd \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/OverflowByteArray.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e84d48760c83c7574a571aadb27fb977903ae7f72fc0a018679a913d874de0"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: SetOffsets: Method SetOffsets \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/OverflowByteArray.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"515bfdcc743e456e28747fbc33d282d1a469b834686a15fbd2745d6a5e64bf69"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ClearValueIsInline: Method ClearValueIsInline \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/RecordDataHeader.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e86cba6901b84d94af3ce01aa09f17273dcd30c2d0a9858bc0e9757239f5058"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ClearKeyIsInline: Method ClearKeyIsInline \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/RecordDataHeader.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0f7c1e1c12af08c24acc7fb84292f84a76e8bcd985b64d09ac06e52952bf2bd"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: SetKeyAndValueInline: Method SetKeyAndValueInline \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/RecordDataHeader.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"985717bd32c0935a2cf965ab25c59dba9bea211e91c9c5a754a80335b4f49396"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: O_TRUNC: Field O_TRUNC \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/LinuxFileExtensions.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7774e0431a95b427e11f2e83ba421e23becb30d69d785d12bdfeb216d0dfed12"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: EOPNOTSUPP: Field EOPNOTSUPP \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/LinuxFileExtensions.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28ee1ec99416101558dee33dc4c4d21f79b9654f4e69f987030ce9e1a32b87a"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: EISDIR: Field EISDIR \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/LinuxFileExtensions.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2db7eedf2d93ad289b836cabd61e44a6c8ed2b5191a97eb7f79e87a0b64313"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: LibcClose: Method LibcClose \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/LinuxFileExtensions.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced019a8e139641f230113a4952bfce17bd2e013b9283b44282aebb93f37b3af"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: kTotalBits: Field kTotalBits \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Common/RecordInfo.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"819c22857ab23e29756d3ea6bb7c88fb0f0ff4be736dfaf8a4356b918a29d445"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: SetInvalidAtomic: Method SetInvalidAtomic \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Common/RecordInfo.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"dde06e7008421aae7417b2f20dd8d4224d53a28ac0d10960d751b7f027760b10"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: EpochPhaseIdx: NamedType EpochPhaseIdx \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/Checkpoint.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9063bd36fcbf5d94a21be04f8c13854e224435911aa0317e1689d8ee161ef117"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: BeginSerializeValue: Method BeginSerializeValue \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/StoreFunctions/IStoreFunctions.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"22c6a435644b25eeedfacca90119b5f9cd35a1976758dda8e578f082afc5237d"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: BeginDeserializeValue: Method BeginDeserializeValue \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/StoreFunctions/IStoreFunctions.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78003ad40e4d603b85f7ba244cacaf10c60c143614ec9070d9a06c3c4b84093"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: SetCheckpointCompletedCallback: Method SetCheckpointCompletedCallback \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/StoreFunctions/IStoreFunctions.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"62ec99665cc6a2a034404be52bffc6a1aba7d96c69c74da5c6417593e5a03d40"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: OnCheckpointCompleted: Method OnCheckpointCompleted \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/StoreFunctions/IStoreFunctions.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e7d39a55b7d4038cc93d9f318341d2b94a95cb5ece9300fdcedfa7aeabe25d5"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: kExclusiveLatchBits: Field kExclusiveLatchBits \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/HashBucket.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ac0ceccd89915c8d05aefb874805ed5099d1474adbd26540326ef6df571f518"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetSize: Method GetSize \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/Locking/OverflowBucketLockTable.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"95ddbcae2a694180c7efd92c6e185fdf23c92be0557a1a8ca9c8d2ac8c5b46a3"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: MaxParallel: Method MaxParallel \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/LogCommitPolicy.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c363007627627d705f5f193b6310dda64f67f82e4c222b2dfdedfb115dfff3c"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: RateLimit: Method RateLimit \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/LogCommitPolicy.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d42e0d4487a8b7968fbdc486fdae777e53fa1806b00f60c4e8eda87b2a92749"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetChecksum: Method GetChecksum \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":3499}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e64dc7808287745bc15b3523f4dd3a54a966f299ce605df7a71be241dbab53"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: STORAGE_PROPERTY_QUERY: NamedType STORAGE_PROPERTY_QUERY \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/Native32.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc626d454f4526abea71c14b21b428c61c3fcf141511b71dfddded978f44215c"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR: NamedType STORAGE_ACCESS_ALIGNMENT_DESCRIPTOR \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/Native32.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa7b73223f452f377eb6d9b7ed1967c27cf2391167067f3f6d9d532eb4cc875"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetQueuedCompletionStatus: Method GetQueuedCompletionStatus \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/Native32.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33f80e17456e83bf5ade83c23d6becdfab5d883f74955005b3e592865eba5af"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetCurrentThreadId: Method GetCurrentThreadId \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/Native32.cs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd3f25633f641270b170392b3fe4d5f512b2f462edbd73989eaaddf264e68d3d"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetCurrentProcessorNumber: Method GetCurrentProcessorNumber \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/Native32.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a160aa4fdbce1ff524e0e3c68b47cb86cb49944c455d97338ff66e764fd63f"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: CreatePending: Method CreatePending \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/Status.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dde9eda90dd944c326fc8b34a4a95c8478afe01003bf3978fc7e0006a7d5258"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: CreateNotFound: Method CreateNotFound \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/Status.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"554252948c22c4459f88304d0afdda9042eaba893689a37324c6704130e6c409"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: CreateError: Method CreateError \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/Status.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4562cb31525f495831c0f16d4eac3961c68a79a1692b37b14004bde81501ead"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetCurrentMilliseconds: Method GetCurrentMilliseconds \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.core, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/Utility.cs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8659a5a5f365386559a6e1b9273f717b4536013cb15b105d61a3a42fc98200"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: WaitForTermination: Method WaitForTermination \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.devices.AzureStorageDevice, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/IStorageErrorHandler.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"476d9d78242da855e78ffcf230d2d89c0da9fb825488a4234a033ccfb29758d2"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetAt: Method GetAt \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including GarnetRoaringBitmap, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/RoaringBitmap/Containers/ArrayContainer.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"d96080ad8bbac56f43f8edf5eeebe993da4da1e72adffb6736e55f1ae2148c55"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: BitCount: NamedType BitCount \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Bitmap, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitCount.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"895b3677e078b935ed25acbfee62268519f39a277345d3390c9f14dc5e77f047"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: BitCountScalar: Method BitCountScalar \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Bitmap, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitCount.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60a14c18b34929fcf42f13b15e736b35442aef0bc7b2d52fe6c8d4a1c1bf294"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: RunBitCountSIMD_AVX_aligned: Method RunBitCountSIMD_AVX_aligned \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Bitmap, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitCount.cs"},"region":{"startLine":583}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b407e2a3895983a004e8e3bb00659f1209b2993d5cf954324172528bf66903d"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: alloc_unaligned_memory_pool_buffers: Method alloc_unaligned_memory_pool_buffers \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Bitmap, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"2905343f3c9df6425c2cfefcc164c4ac5b3d9979ad7f6b17a7a26dc49e7cce59"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: dispose_memory_pool_buffers: Method dispose_memory_pool_buffers \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Bitmap, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"976b70747713c3e3e2f18974ce3201cc72e1463ffe8a47c4197aff58fb47889f"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: __bitop_simdX128_and_long: Method __bitop_simdX128_and_long \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Bitmap, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/BitOp.cs"},"region":{"startLine":411}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf3b3dd41db2b5c35097b4625ddd71bf74c3365f4966cb7c1378dd41fda2c26"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: Caching: NamedType Caching \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including ETag, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ETag/Caching.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fcd9d4ec4c07c4579050cda2ebc76a432f05c8ba874fdf6e236b1893686b41a"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ConnectionStressTest: Method ConnectionStressTest \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including GarnetClientSample, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/GarnetClientSamples.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"923a9fad918034c13049949674f0c872a8c85c6378f2a443b7144e4694e76a99"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: SERedisSamples: NamedType SERedisSamples \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including GarnetClientSample, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/SERedisSamples.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1cdc8ff1cbd91c2bc868d6f6d19282af66b9635fec78a30ac97693bb22a92b2"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: DummyCommand: NamedType DummyCommand \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.test.cluster.migrate, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cluster/Garnet.test.cluster.migrate/RedirectTests/BaseCommand.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7920a748e42fcc733719fcac790e6562032daa6e5af7e969774ed95416677f8"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ClusterRestartNodeDropGossip: Method ClusterRestartNodeDropGossip \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.test.cluster, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cluster/Garnet.test.cluster/ClusterManagementTests.cs"},"region":{"startLine":532}}}],"partialFingerprints":{"codehealthFindingId/v1":"329f8bbe2183cbb729c9527c122e8ea40b1757712c39365b8c68385bd67e0a00"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: EnableGarnetLoggingEvents: Method EnableGarnetLoggingEvents \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.test.cluster, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/cluster/Garnet.test.cluster/ClusterTestContext.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a485151f57fe0c1a9ac7acdf93045b426e3d4455c3e6525685f137cd5f1201e"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: CallingProjectName: Method CallingProjectName \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.test.cluster, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/TestPortAllocator.cs"},"region":{"startLine":544}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e4bf2c63a83f187daf951f5fba5c7a4e7dc344671961851e5d0092418270043"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: SimpleHyperLogLogArrayAddCount: Method SimpleHyperLogLogArrayAddCount \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.test.complexstring, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.complexstring/HyperLogLogTests.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd718ce3973a69e4b74b9f24fe451e0681e43008354d05caa97df783e119f7a8"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: SingleHyperLogLogPCT: Method SingleHyperLogLogPCT \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.test.complexstring, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.complexstring/HyperLogLogTests.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d39bf7e7bba4f6578964e3cc3ae778b05f709996174a3f830c174b587c63768c"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: RandomSubSeq: Method RandomSubSeq \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.test.complexstring, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.complexstring/HyperLogLogTests.cs"},"region":{"startLine":515}}}],"partialFingerprints":{"codehealthFindingId/v1":"1427d94538a00b23ee7791a034728930a45103a6254e2ee5cb54c8aa4b7850e0"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: CountFlushFiles: Method CountFlushFiles \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.test.rangeindex, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.rangeindex/RespRangeIndexTests.cs"},"region":{"startLine":2260}}}],"partialFingerprints":{"codehealthFindingId/v1":"643e236c48a325d791553deee490c47b66346ee47ebec7144f04e0e52ac38539"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: BufferSize: Field BufferSize \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.test, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/ReqGen.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"e177585646cdd7a8e93e106177dd462d50b1303e876be0eb77f1cbc7cf732ed5"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GenSingleKeyValueReqs: Method GenSingleKeyValueReqs \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.test, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/ReqGen.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65bd2823332e3153cdd61c076d4ae73e8951855c20d6949724178f022fd0d6b"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GenSingleKeyValueRequest: Method GenSingleKeyValueRequest \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.test, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/ReqGen.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"414fe5c42884c89c1dca6ce8fd9426bf88ea0dba70651b7d372bcac84104a0eb"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GenArrayKeyValueRequest: Method GenArrayKeyValueRequest \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.test, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/ReqGen.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"9027750e2a6e911e20d28e5a66f933571aadcb388f0e4becb1a3e76bf8e39ea6"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GenSingleKeyRequest: Method GenSingleKeyRequest \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.test, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/ReqGen.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"7609a8a08fb72964392f51bf4899b66c380e673a62f021ad5fda76d1d44a990b"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: LargeScratchCommand: Method LargeScratchCommand \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Garnet.test, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test/SessionBufferRetentionTests.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"a73cbdd6b915abb9e56e32a9f61fe0b02268cb0264292300e7730ce5e2945a7b"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: NextUInt32: Method NextUInt32 \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including KV.benchmark, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/XoshiroRng.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d79fec80e54bca0492487e2d922a49a3fab5f8d899aebbb46e6233229705ad8"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: BeforeConsistentReadCallback: Method BeforeConsistentReadCallback \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including YCSB.benchmark, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SessionFixedLenFunctions.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"78df08794bf44332ad0400f191adfc649510f72dbab3fa730db8ff314f07cb22"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AfterConsistentReadKeyCallback: Method AfterConsistentReadKeyCallback \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including YCSB.benchmark, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SessionFixedLenFunctions.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c56afb59ccf7a7fe4435e4db0fd577c946591514401d991ce529a5cdf6b8db"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: BeforeConsistentReadKeyBatchCallback: Method BeforeConsistentReadKeyBatchCallback \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including YCSB.benchmark, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SessionFixedLenFunctions.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdab4f542584a9dd9c4a45ca71c04e478f2fff2e699f1649c4f0afedf9e31f0a"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AfterConsistentReadKeyBatchCallback: Method AfterConsistentReadKeyBatchCallback \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including YCSB.benchmark, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SessionFixedLenFunctions.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"39cced09af1f00664dfb233758633790282df863c352dbed2dbf7fdbc29ff4c1"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: RemoveIntermediate: Method RemoveIntermediate \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.test, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/EpochProtectedVersionScheme.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c83758e4dd55ed184fbac0bacb6afd540551c9356c64540346a4fccaacec7120"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: NoValue: Field NoValue \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.test, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/ExpirationTests.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ceaface677d1b8a8acd2a03866f83b64af68a8f43ef2640eb5f4b98ad4635ed"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: TestValue: Property TestValue \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.test, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/ExpirationTests.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd188fc586db9af31f1cd6e270ed58f26c741ee02180f0a0f96774001c97ee28"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: DoTwoThreadRandomKeyTest: Method DoTwoThreadRandomKeyTest \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.test, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/TestUtils.cs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3c950c6aa3a4efb2010c3fba5f83900dc1e758a12ca2001db36e1e9a82ec195"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: CopyToRMWInfo: Method CopyToRMWInfo \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.test.recordops, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.recordops/RevivificationTests.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbfb7a7becb7f9cef69a4718f3310f03a1ef6be1fea27e8dafbe3161d6ba1e79"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetRecordCount: Method GetRecordCount \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.test.recordops, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.recordops/RevivificationTests.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d220b27b9573e3d1a44b8a9d2187405b515d4950846133ad53519b325774ef6d"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: TryTakeFromBin: Method TryTakeFromBin \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.test.recordops, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.recordops/RevivificationTests.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9d5b7b1300e0e9e4dc2d4c0f0e23f435d914d6b0103311105260d8a10509f3e"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: DefaultMaxRecsPerBin: Field DefaultMaxRecsPerBin \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.test.recordops, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.recordops/RevivificationTests.cs"},"region":{"startLine":1827}}}],"partialFingerprints":{"codehealthFindingId/v1":"b782097d31949e60f3b04a4487dce57ab20d89c2cf3c746b2bcb2edeb6e80488"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: Gib: Field Gib \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.test.hlog, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.hlog/DeviceTests.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee052e034ef85129670da6774450b102493bb5bb31a6222b79eef10306971e7"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ValueLength: Field ValueLength \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.test.hlog, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.hlog/SpanByteIterationTests.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c324afa528002e36138fe8f5d39ae594eb1f6257e3034f9c0b014853917721"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: MyFunctions2: NamedType MyFunctions2 \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.test.recovery, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.recovery/RecoveryCheckTests.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a6481aa682afacbcfd95468e700cd0e95a035fc79aae241d88d94a57d11c9e0"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: RecoverAndReadTest: Method RecoverAndReadTest \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.test.recovery, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.recovery/RecoveryTests.cs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"a06ab7da6368257eb09932a9413cda7a5a7cfaf60ff91f5c0ac4ae974ca7f8a2"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: RecoverAndReadTest: Method RecoverAndReadTest \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including Tsavorite.test.recovery, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/test/test.recovery/RecoveryTests.cs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"a09005cb340298851c94642f050cd79c803cf929ba3009ac6b330ec78b2242b6"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: Garnet.resources: \u0060Garnet.resources\u0060 contributes only 6 significant line(s) \u2014 an empty/placeholder project is structural noise. Remove it or fold its contents into a real project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/resources/Garnet.resources.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5c539cd65d2443c489e837fee9ab00bc565f639f2316500219361777d2892bd"}},{"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."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d2bea044ff79d7d275f5a91a6e2f548586178eaf480274c33960ad020c854631"}},{"ruleId":"D21","level":"note","message":{"text":"Inconsistent naming for the concept of an Address/Offset in the Cluster/Replication domain. \u0027Worker.Address\u0027 uses a noun \u0027Address\u0027 for a network location, while \u0027ReplicationHistory.replicationOffset\u0027 uses \u0027Offset\u0027 for a log position, and \u0027PersistencInfo.CommittedUntilAddress\u0027 uses \u0027Address\u0027 for a log position. While \u0027Address\u0027 can mean network or log position, the mix of \u0027Address\u0027 and \u0027Offset\u0027 for log positions (and the typo in the containing type) creates confusion. Specifically, \u0027CommittedUntilAddress\u0027 is a log position, similar to \u0027replicationOffset\u0027, but named differently.: Standardize log position fields to use \u0027Offset\u0027 (e.g., rename \u0027CommittedUntilAddress\u0027 to \u0027CommittedUntilOffset\u0027) or clearly distinguish network vs. log addresses in naming (e.g., \u0027NetworkAddress\u0027 vs \u0027LogOffset\u0027). (symbols: Field: public string Garnet.cluster.Worker.Address, Field: private AofAddress Garnet.cluster.ReplicationHistory.replicationOffset, Field: public AofAddress Garnet.test.cluster.PersistencInfo.CommittedUntilAddress)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a8835f55a6174b5fdda0d1ecad77c2603b40978bcee2736777315de6bb94bf00"}},{"ruleId":"D21","level":"note","message":{"text":"The field \u0027CommittedUntilAddress\u0027 in \u0027PersistencInfo\u0027 (note typo in type name) and \u0027replicationOffset\u0027 in \u0027ReplicationHistory\u0027 both represent AOF log positions (AofAddress). They use different conceptual names (\u0027Address\u0027 vs \u0027Offset\u0027) for the same underlying type and semantic concept (a position in the AOF log).: Use \u0027Offset\u0027 for log positions to align with \u0027replicationOffset\u0027, or use \u0027Address\u0027 consistently if that is the domain term, but \u0027Offset\u0027 is more precise for sequential log positions. (symbols: Field: public AofAddress Garnet.test.cluster.PersistencInfo.CommittedUntilAddress, Field: private AofAddress Garnet.cluster.ReplicationHistory.replicationOffset)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"64b425494bdbfdafbcbbecd48b6f95747cc3e4c49c6534b54798af5fe383fdcc"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 2 of 63 project(s) overshoot their size bounds, lowering Project Cohesion to 9.4/10. The most over is \u0060Garnet.server\u0060 (99257 LoC, 242 public types across 8 namespaces). Review these for cohesion \u2014 split a project that spans unrelated responsibilities."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f78dcf48a60f20051d13bb68b79d4941ba3c24f3dfc4f749f0d94103535d4105"},"taxa":[{"id":"CWE-321","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D28","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d0739f82ad62a2b52f4d6de326aa17f8fdae900278c26b38acb0e901311e3f09"},"properties":{"commitSha":"9822a43cea79a6ea894adc14221e7d1a03bbba96"}},{"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":"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":"4b1088874da2302958c256a0649668ff4bde8c79231629b5db5eeb09906f6e8c"},"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":"4e3dd247f97e059449961aebfbfd0f7cb4aadb85fe9b8f05c37195fd40747cef"},"taxa":[{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d32a453a411faa97cc90f22bbfa9992534693a9d59b82d685c70dcb2030d5761"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"cc320b4a775e587de2fbf7eae2d97e0dde98ba95f7fb6da107ce2ed1a1d3a2cf"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-552","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"17062047213585853a10820cf23c919d864c7db1261a63e1da3a2c74f18751fd"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9c5cb5b01d588cb501f4cb4bbf0c2bff5ea09de48968b337c15a9cdd7c24dbff"}},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e83b518b7f52f2dcaa5ae6040062bb11c1eb9b8af4b47d50866778e1f843e3bd"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ff1853f1fe256085f134d89b3f1bd1b1dbfefd529bf2b6b79a026a2cf5b42717"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ec1b042386f30e6ec10894c5e7ac948b1eec9ec65136f98beabc15d88a0e9410"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"b1eb6ccc1ce2421e3b5ae6853eeae73ead4a30e365d58befcd6e12e0a40c5166"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"f86d2a819d4be14a19e7086fa1a2eecabcc09b1643c5964917da1067c30d406a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"977d71a189c6cb31e9af9b6c07c65f1b6945dbfcc874ebc5cdbff43f48380400"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"dcfd8dcb28ad1db4bda5f9bec871056f305106cbbec1e370862bfefdc607f23d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"ffd32e782a7030e5513afbe0f968490697738002d9e0103f862666baaf79458d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"3abc0c05c3eb7ee4edd10004f0de4a7543ca788d99d4f84d3607a220acbd5285"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"87d24eaa5951ba07616c126b67c8bd498f0a8fb585cefe7f332a2a5b9ed42a22"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"5ce2eb54ccee22d54c385fc5304d1e455078f234ddf500194159eaff9328b1ca"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"62abd28b3129bae68ddbcdbd14be89d471fcccc452dc4c5b38f6e331293cb7cf"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"8e79a3960f2d936f84589faf5ae802741388e5957fee80b591115d03064cff49"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"473732d120d73962ce7b8b8b05c853520b4e4b005a0214adc44459131aa8376b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"71e49e25e12e0a20145fbf3d1362a74d9e059dfe10079cc86e695f6bd8df231b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"79fc81654fd8007ee89e246e0f2cd7d6307f73e16ebe2740673a1f1c2458bd71"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"bf8a0c867ba519f83c4abf43d44b07b0fb7c2a028fee48aa19fec91b2d430119"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4d98dc38ad398f3cb775053208ac734366a5d19b23bc4d8d782ad176c66ee12d"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2cac9356a0e87d5fe06733e406d2a15e81a7306e0e1ea1ce3dd8706c90fafbeb"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"8b9649a3fff68d5ed9adf126bd523efc234e1c4394b1d345d74ad77cd3923d56"}},{"ruleId":"D31","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"66d387ace9aa069162b611b13a43c3fe788d3d683ef33b1ec927fc1601ee91b9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"181b6244e8b774857be63a5d7e102cc7261f99413aae64fd11998cc4905cb403"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"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":"1f51a163f26d94ce6b6f473117dde579d091c8cbf9e59810475c94d9fc921120"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"879c84c8980278e7aad38b24310cb7f649897d93963e8cd764b820b0017960b5"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"fea574c1f5d3f8529688242be6f77a25db34604d9b3a255346bc6afd3b02c97f"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"870917cffa516e3e016831bbbbe5d601a30d0bfdb09831eff44b327724618f64"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5da5839d7886b98d1476881c756f24ea5e9ae5f89a49ca23011de1a3353cc3cf"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"e74b3cc1e2d92265ac622dbecfb355004defee70b1376c224c0446ea0a06e425"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"89cf691513c3199ef1f0f56ba6bf2bc0030a9ca21597934bb05a531d897d16f3"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a2e8b952da92d97274f3a93dfafc2fe230d5cd157cdbd33a7748451a176461e4"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"805c9819f726583b53f63eef6e70480799341598bff95bf7c47d76dcaecaaa91"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5d7baf9e70b1a70704e5e59fa01fc5ea6568243f1e3763bcbfc2492647e1eed2"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7c0bf339baddc7b2c61aad86ea1a0c619cd70757cfdc0f5958fa905b661e2c72"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1564870821128647d40e68663ff9e5104ee00b6f951debe1aead803abe9c39de"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/JsonPath.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99cac119caec909a8368a76d755953abb5647f020a40570970e1bac154cecc47"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespCommandKeySpecification.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5958f7ca9f6d92ba056b4d2f7e7fbe71794d900a9d6547cfe77446ba3a7d1e66"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespCommandsInfo.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ca94c5a7c769adec93ee4b1c5c5576755e4d838e46f5b5718724893b72ceedf"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespCommandArgument.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d157e63456dcba7773c5eca8d96a7a49f5d4cd3baf9c0461db432c1f858b6f44"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 47 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: modules/GarnetJSON/JSONPath/QueryExpression.cs, modules/RoaringBitmap/RoaringBitmap.cs, libs/server/Resp/RespCommandDocs.cs, libs/server/Resp/Objects/SortedSetGeoCommands.cs, libs/server/Custom/ExpandableMap.cs, libs/server/Module/ModuleRegistrar.cs, libs/server/Resp/RespCommandInfoSimplifiedStructs.cs, modules/GarnetJSON/JSONPath/ScanArraySliceFilter.cs (and 39 more) (51 orphaned of 707 analysed files in total, counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 707 of the 999 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/QueryExpression.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f10fcde2b87e62cff67c66e6b708b7874ec7383522464e54c120828044fe3db"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/RoaringBitmap/RoaringBitmap.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3a0065fe7b74110703705e5c71d0cf6cec926c3b2a56a58620ae9be27eb104"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespCommandDocs.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"764ede12b7851555b355e98da2f972cc13e4132746d1446c4105203e7f5c543a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SortedSetGeoCommands.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5ef62fa88a114ee467c1cc80f41c7dea1412c5b8a4b380c4ce379bb2ae6239"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Custom/ExpandableMap.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d9862999a948171ea182cebd195675cc63a73a5b2e412d7bedebaded3ffca2f"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Module/ModuleRegistrar.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff92a53daf66b8f3d9c578e3ee2656094f615c9bf1652f66174af35a9efc9562"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespCommandInfoSimplifiedStructs.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee0c6d9e44b361e4b85c9b86937a3e5b6538dfae7fc9d025482a97f980f52da"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ScanArraySliceFilter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaafb7f7b4d0e3203ddfab0a973584bb3f70cd1c40e080ecfb777057fb21112d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Parser/ParseUtils.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd60660d29288e6e5756505b16bef5e38faa02c233e6dc0a67dce3341e9f711d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespCommandDataProvider.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0319898a5180c5bd1d5edf3e80d95a52273885ddc0104763d525a52badc345b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/RoaringBitmap/RoaringBitmapCommands.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2767e89a9c3b79c77ce9f67769c0c36d4418f739e3a3e971c743fe9d4d61250"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ArraySliceFilter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d23d3d1cf2889611704a5e1870d29dc3ce62826fec7a3e54382890a55607c74"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/RoaringBitmap/Containers/BitmapContainer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"124110c3361ea6a25e511910ae75e122a3f0c73f914f6dfe18598ace52ee0c01"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/RoaringBitmap/Containers/ArrayContainer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dacf93f67b7e79af76f9b88c93b6b4c2d631b2b0a9bb2dbe4b367eeeee323c49"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientListCommands.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"79682fb616f59b9b662ce69e312cb7c6a6cf9dab0a61351c25a42923b717409e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/FieldFilter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9017597a67043889da8104b7ccd1c68e1ad011b2ead18a16bf403028ede5639b"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ArrayIndexFilter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bda60a4cef3fdf2ff8d38a6151df3f5551f1491bf3224c28ebf568792b51abfc"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Configuration/CompactObjectJsonConverter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"883ae0d7fe9ad53f994080d8f992b2baa37b67b346261f8342965e473afd97ce"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/AsciiUtils.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0660c8f9dfa5283a002cbdb272ad72cfb9459a53375ddc4c4cb5ab804e5a6645"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ScanArrayIndexFilter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"553b7ed209f95cb4a88bbf3f4f1c1dfcac195c37aab25bc28650217e798f30d7"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/RoaringBitmap/RoaringBitmapObject.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"92afd5acee16312559c90442bdf56ea0af9efbac8bb44b13406f94c23793bbf9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/ItemBroker/CollectionItemObserver.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"26ac7e0dfb7dd3b5536f7f43da498a0f2261a62e03bbbaad182d19d429e01b43"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ScanArrayMultipleIndexFilter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2377ce419ea42f4f98473a96099ecf868020c20e52a3ce4c82592ed549144481"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/FieldMultipleFilter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba9c64f48f28a9033fdb01b64f88409988e2ffb3c3249aee5e31ed7a751900bb"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ScanFilter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbda3c417c319df32fb6912c5ffb5a60d75fccf550e028fe4bf0047730bd3a6"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Parsing/RespParsingException.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7ef2511d80aea2332fff00d0aee573964568a88d22931356399e74be8b735a0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/QueryScanFilter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a94fd78b5a9dd4491c2c52d8710947a0f5420a809964e48347d481488e63d716"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/JsonExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2de97efc51906cb2024bda01479ad634d37d8e58c50b8ef4eb92267935547ae"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ScanMultipleFilter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58ea6643c4aa648b04d7ed4693063da9c35e6254cc862b6ab70d663aea719bf"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/QueryFilter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9917996fb78001aa84d6edd476f892a6b254b75815ebbbdc4ebe4adefea2a31d"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Auth/Settings/AadAuthenticationSettings.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"273c7e8c7f4d5b2f0343c202e6f84c8be4785f495c01f64f0576e0ee6efc79ee"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Numerics/IBinaryOperator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93ccf5c572ad309dd4d0b9ea6c17fd989c458ba5e0f673691035af1c13de8e0"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/RoaringBitmap/Containers/IContainer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede88b952effddeb8ca1cc697b338f8da78ce82b9c4b8fdc8576921897b3890e"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/RandomUtils.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a18f7efb76f349a20ba3eb0f366753c2243ef81a523ebbe91d031e9d129d2e8a"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/PathFilter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a61371680e2ea0b5b334057e11738ac60688aa59474a6a9bd14b646ab8aafa9"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/SessionParseStateExtensions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae26c5b290174455d0cbd6a8ab15413362f159888cd47a1d19be8153e7c77376"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/DatabaseManagerFactory.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e8a11aee41dc25cffe2ee6c90f37e205d034414f47474ace88e7e73a46bad10"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/ItemBroker/CollectionItemResult.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e995299bc07cf374121075a94cc2af145909bf40d5617d0cbf4a589fc54625"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/ExpirationWithOption.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3781b40b05d53fbb7c09acdff75b0d1d06910a6fdfd12c7bf25714d3cd134551"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/RespLengthEncodingUtils.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a671074fc60b96f934e7b602b939289d24d2ae16f39fe847fad9ce0e417513c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/SimpleStack.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa895986835b9c72331b6c42bca66975e43cabe385c3038c1d9bd0b423a2d77"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/SortedSetGeo/GeoSearchOptions.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be6144aa9b5947c2f37e8caec689fef78d983da1e1ca7fb16c27124b6dbf086"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/ArrayMultipleIndexFilter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fc8847ba04f02d0f323b01ab7e6e5ad00180f09062f919ee3ad2ee8fb953031"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureCheckpointNamingScheme.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7382efe27fbb06db098472cffb4f9da680cb6f57f455d0caddc8df6e1e61c82c"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/ItemBroker/CollectionItemBrokerEvent.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"550ee5f535fa3c26875bb227ca29058cac4909c2be74975ea93639631262d3f3"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/StringOutput.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d65d267c8e12aaa4ef58d0bc6e1232d9580b6ac4070d3786a2ad6b072eedc722"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Crc64.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f65ce58beb6a9b8d799c037dce95109e116ea8901a92a9b919ace5a63afaade0"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SetObject.cs \u2194 RespCommand.cs: \u0060libs/server/Objects/Set/SetObject.cs\u0060 and \u0060libs/server/Resp/Parser/RespCommand.cs\u0060 change together 69% of the time (9 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 9 shared commits counted here, the most recent 3 are \u0060e267b620\u0060 Stabilize disk-persisted enum values (#1943); \u0060a4b47b4d\u0060 [Compatibility] Added SMISMEMBER command (#713); \u0060b1891d1f\u0060 API Coverage - Implement SINTER and SINTERSTORE (#180) (#334) (at that commit the file was still \u0060libs/server/Resp/RespCommand.cs\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/Set/SetObject.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbadbfaa4de8b1d07456a7722b0363098005db485c6a4173e628d361a6a563ed"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SetObject.cs \u2194 TxnKeyManager.cs: \u0060libs/server/Objects/Set/SetObject.cs\u0060 and \u0060libs/server/Transaction/TxnKeyManager.cs\u0060 change together 62% of the time (8 of the 13 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060a4b47b4d\u0060 [Compatibility] Added SMISMEMBER command (#713); \u0060b1891d1f\u0060 API Coverage - Implement SINTER and SINTERSTORE (#180) (#334); \u0060a4dc14f9\u0060 Add SUNIONSTORE command. (#291) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/Set/SetObject.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"942a9a827a54b18a8a082218797232ccccddd9fe507c4f0522ee49f3eb4ad823"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: ReplicationManager.cs \u2192 ClusterManagerWorkerState.cs, ReplicaFailoverSession.cs, ReplicaSyncSession.cs: \u0060libs/cluster/Server/Replication/ReplicationManager.cs\u0060 changes together with 3 other files \u2014 \u0060libs/cluster/Server/ClusterManagerWorkerState.cs\u0060, \u0060libs/cluster/Server/Failover/ReplicaFailoverSession.cs\u0060, \u0060libs/cluster/Server/Replication/PrimaryOps/DiskbasedReplication/ReplicaSyncSession.cs\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/ReplicationManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6487923efedfe35d0f86d1d72b60db21fc81f5b98392185a5666a67b351c17e1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SortedSetCommands.cs \u2194 SortedSetOps.cs: \u0060libs/server/Resp/Objects/SortedSetCommands.cs\u0060 and \u0060libs/server/Storage/Session/ObjectStore/SortedSetOps.cs\u0060 change together 55% of the time (16 of the 29 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 16 shared commits counted here, the most recent 3 are \u006007b4504d\u0060 Fix ZRANGESTORE aborting the RESP session on invalid range parameters\u2026; \u0060668a477d\u0060 Fixes for expiry-related commands (#1296); \u0060d5811059\u0060 Several tiny SortedSet fixes (#1275) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SortedSetCommands.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7308ecf798baf34cb1e813db9a190bae098d0950c8180a4c53e7f8d8d82049f7"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: Gossip.cs \u2194 RespClusterBasicCommands.cs: \u0060libs/cluster/Server/Gossip/Gossip.cs\u0060 and \u0060libs/cluster/Session/RespClusterBasicCommands.cs\u0060 change together 50% of the time (8 of the 16 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060456925d8\u0060 [Cluster] Add separate peer endpoints and optimistic gossip in 2.2.2 \u2026; \u00609fc3b963\u0060 Exponential backoff for gossip reconnect, TLS read fix, and pub/sub l\u2026; \u00600d585906\u0060 [Cluster] Read version 2 endpoints before enabling writers (breaking)\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Gossip/Gossip.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"520dd601c3bdea3f589ddcb69cd936fa847adf6256adf9700b6881dbb8d01069"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: ClusterManagerWorkerState.cs \u2194 ReplicaFailoverSession.cs: \u0060libs/cluster/Server/ClusterManagerWorkerState.cs\u0060 and \u0060libs/cluster/Server/Failover/ReplicaFailoverSession.cs\u0060 change together 50% of the time (6 of the 12 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets). They sit in different directories, but in this ecosystem the namespace is declared in the FILE, not by the folder \u2014 so the two may well share one namespace and reference each other with no import for this pass to see. Read the pair before acting: if one derives from or overrides the other, the dependency is explicit in the type declaration and the co-change is definitional; if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE and the thing to add is a comment saying so; if they simply belong together, co-locate them; if none of these holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u0060456925d8\u0060 [Cluster] Add separate peer endpoints and optimistic gossip in 2.2.2 \u2026; \u0060218aaca9\u0060 Ensure SuspendRecovery is called only once (#1110); \u00603ba27857\u0060 Expose Recovery and Failover Status (#1087) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/ClusterManagerWorkerState.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f88123220ef84c8b2b8867e607e630542a34b7509a46a5d68f4fdf47a78bb3b5"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c58a05f7c635e0bf0841f42b95609fdc83f0ce54a01997ead2db3bb5f2c66357"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b63de5d40dbaef26ae3eb35a15010aafb036db0f9f84f0d692744acf8ac12c2c"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4f1e7684f8281bd255ddef97105c7055c2ebae06964c8745716b83e174debe83"}},{"ruleId":"D40","level":"note","message":{"text":"No network policy: No Kubernetes NetworkPolicy (or Cilium policy) found. Without one, every pod can talk to every other pod and reach out to the internet by default. Add a default-deny policy and open only the flows you need."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"295828650a2aaa1b03ae9b32ae6843a0c38011e5a70b1926442c4fa7187de5f0"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces Tsavorite.core \u2194 Tsavorite.core.Allocator.ObjectSerialization depend on each other. The lightest dependency in the cycle is Tsavorite.core \u2192 Tsavorite.core.Allocator.ObjectSerialization (Tsavorite.core.CachedChunkSerializer \u2192 Tsavorite.core.Allocator.ObjectSerialization.ChunkedObjectSerializer, 3 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.Chunked.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"49d58365a2d6639e09ec3d84512bdad37bc9a208a7d6bf184deb7831e8afb8bb"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces HdrHistogram \u2194 HdrHistogram.Iteration depend on each other. The lightest dependency in the cycle is HdrHistogram \u2192 HdrHistogram.Iteration (HdrHistogram.HistogramBase \u2192 HdrHistogram.Iteration.HistogramIterationValue, 2 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/HdrHistogram/HistogramBase.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"821e27501b816d15010f3180a25f3c8eb94ad5512e4d5b8ca28aa971ef04bce7"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces Garnet.common \u2194 Garnet.networking \u2194 Garnet.server \u2194 Garnet.server.ACL \u2194 Garnet.server.Auth \u2194 Garnet.server.Auth.Settings \u2194 Garnet.server.Custom \u2194 Garnet.server.Lua depend on each other. The lightest dependency in the cycle is Garnet.common \u2192 Garnet.server (Garnet.common.LightClient \u2192 Garnet.server.LightClientTcpNetworkHandler, 1 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/LightClient.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bc8a7d768398262eb218b70440ce48de3b638188a156d1c08ab1e60384dcc4a"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: INetworkSender (18 members): \u0060INetworkSender\u0060 declares 18 members: \u0060GetMaxSizeSettings\u0060, \u0060RemoteEndpointName\u0060, \u0060LocalEndpointName\u0060, \u0060IsLocalConnection\u0060, \u0060Enter\u0060, \u0060EnterAndGetResponseObject\u0060, \u0060Exit\u0060, \u0060ExitAndReturnResponseObject\u0060, \u0060GetResponseObject\u0060, \u0060ReturnResponseObject\u0060, \u0060GetResponseObjectHead\u0060, \u0060GetResponseObjectTail\u0060, \u0060SendResponse\u0060, \u0060SendResponse\u0060, \u0060SendCallback\u0060, \u0060DisposeNetworkSender\u0060, \u0060Throttle\u0060, \u0060TryClose\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 18 declarations carry 17 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 17 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/INetworkSender.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaf2efb1797a51f260100b038b2f7107bab20e13615cb6aff3a9a783c3c39fa7"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IGarnetApi (137 members): \u0060IGarnetApi\u0060 declares 137 members: \u0060GETEX\u0060, \u0060SET\u0060, \u0060SET\u0060, \u0060SET_Conditional\u0060, \u0060SET_Conditional\u0060, \u0060SET_ETagConditional\u0060, \u0060DEL_ETagConditional\u0060, \u0060SET\u0060, \u0060SET\u0060, \u0060SET\u0060, \u0060SET\u0060, \u0060SETEX\u0060, \u0060SETEX\u0060, \u0060SETRANGE\u0060, \u0060MSET_Conditional\u0060, \u0060APPEND\u0060, \u0060APPEND\u0060, \u0060RENAME\u0060, \u0060RENAMENX\u0060, \u0060EXISTS\u0060, \u0060EXISTS\u0060, \u0060EXPIRE\u0060, \u0060EXPIRE\u0060, \u0060EXPIRE\u0060, \u0060EXPIREAT\u0060, \u0060PEXPIREAT\u0060, \u0060PERSIST\u0060, \u0060Increment\u0060, \u0060Increment\u0060, \u0060Decrement\u0060, \u0060IncrementByFloat\u0060, \u0060IncrementByFloat\u0060, \u0060DELETE\u0060, \u0060DELIFEXPIM\u0060, \u0060GETDEL\u0060, \u0060TYPE\u0060, \u0060MEMORYUSAGE\u0060, \u0060OBJECT\u0060, \u0060SortedSetAdd\u0060, \u0060SortedSetAdd\u0060, and 97 more. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 137 declarations carry 88 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 88 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/API/IGarnetApi.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"95d058ad66efaa2d981d2deb21d4d7b8f05641b59ae3b6fcb663a61c6c2e47f8"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IGarnetReadApi (88 members): \u0060IGarnetReadApi\u0060 declares 88 members: \u0060GET\u0060, \u0060GETForMemoryResult\u0060, \u0060GET\u0060, \u0060GET\u0060, \u0060LCS\u0060, \u0060GETRANGE\u0060, \u0060TTL\u0060, \u0060EXPIRETIME\u0060, \u0060SortedSetLength\u0060, \u0060SortedSetLength\u0060, \u0060SortedSetRange\u0060, \u0060SortedSetScore\u0060, \u0060SortedSetScores\u0060, \u0060SortedSetCount\u0060, \u0060SortedSetCount\u0060, \u0060SortedSetLengthByValue\u0060, \u0060SortedSetRank\u0060, \u0060SortedSetRank\u0060, \u0060SortedSetRandomMember\u0060, \u0060SortedSetRange\u0060, \u0060SortedSetDifference\u0060, \u0060SortedSetUnion\u0060, \u0060SortedSetScan\u0060, \u0060SortedSetIntersect\u0060, \u0060SortedSetIntersectLength\u0060, \u0060SortedSetTimeToLive\u0060, \u0060SortedSetTimeToLive\u0060, \u0060GeoCommands\u0060, \u0060GeoSearchReadOnly\u0060, \u0060ListLength\u0060, \u0060ListLength\u0060, \u0060ListRange\u0060, \u0060ListIndex\u0060, \u0060SetLength\u0060, \u0060SetLength\u0060, \u0060SetMembers\u0060, \u0060SetMembers\u0060, \u0060SetIsMember\u0060, \u0060SetIsMember\u0060, \u0060SetScan\u0060, and 48 more. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 88 declarations carry 67 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 67 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/API/IGarnetApi.cs"},"region":{"startLine":1392}}}],"partialFingerprints":{"codehealthFindingId/v1":"df241f9d545de2d8934edfdd62b47fa8ed40a15d19a083e2976e47c3a3326bda"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IClusterProvider (24 members): \u0060IClusterProvider\u0060 declares 24 members: \u0060CreateClusterSession\u0060, \u0060AllowDataLoss\u0060, \u0060FlushConfig\u0060, \u0060GetGossipStats\u0060, \u0060GetReplicationInfo\u0060, \u0060GetBufferPoolStats\u0060, \u0060GetPrimaryInfo\u0060, \u0060GetReplicaInfo\u0060, \u0060PurgeBufferPool\u0060, \u0060ClusterPublishAsync\u0060, \u0060IsPrimary\u0060, \u0060IsReplica\u0060, \u0060IsReplica\u0060, \u0060OnCheckpointInitiated\u0060, \u0060RecoverAsync\u0060, \u0060ResetGossipStats\u0060, \u0060AddNewCheckpointEntry\u0060, \u0060SafeTruncateAOF\u0060, \u0060Start\u0060, \u0060UpdateClusterAuth\u0060, \u0060GetCheckpointInfo\u0060, \u0060GetRunId\u0060, \u0060PreventRoleChange\u0060, \u0060AllowRoleChange\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 24 declarations carry 23 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 23 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Cluster/IClusterProvider.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"763f86539d09d2809d628277154bf858bfb7564b75392582335596d605a0fafa"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IClusterSession (21 members): \u0060IClusterSession\u0060 declares 21 members: \u0060RemoteNodeId\u0060, \u0060ReadOnlySession\u0060, \u0060IsInternalWriteSession\u0060, \u0060IsReplicating\u0060, \u0060Server\u0060, \u0060SetReadOnlySession\u0060, \u0060SetReadWriteSession\u0060, \u0060SetInternalWriteSession\u0060, \u0060LocalCurrentEpoch\u0060, \u0060AcquireCurrentEpoch\u0060, \u0060ReleaseCurrentEpoch\u0060, \u0060ProcessClusterCommands\u0060, \u0060ResetCachedSlotVerificationResult\u0060, \u0060NetworkIterativeSlotVerify\u0060, \u0060WriteCachedSlotVerificationMessage\u0060, \u0060NetworkMultiKeySlotVerify\u0060, \u0060NetworkMultiKeySlotVerifyNoResponse\u0060, \u0060SetUserHandle\u0060, \u0060UnsafeSetConfig\u0060, \u0060Dispose\u0060, \u0060ProcessPrimaryStream\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Cluster/IClusterSession.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dedfea58e754dfdb4e31af94239944ec6075c4a0363fda432d430c5e388fac5"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IDatabaseManager (40 members): \u0060IDatabaseManager\u0060 declares 40 members: \u0060DefaultDatabase\u0060, \u0060Store\u0060, \u0060AppendOnlyFile\u0060, \u0060LastSaveTime\u0060, \u0060SizeTracker\u0060, \u0060VersionMap\u0060, \u0060DatabaseCount\u0060, \u0060MaxDatabaseId\u0060, \u0060TryGetOrAddDatabase\u0060, \u0060TryPauseCheckpoints\u0060, \u0060ResumeCheckpoints\u0060, \u0060RecoverCheckpointAsync\u0060, \u0060TakeCheckpointAsync\u0060, \u0060TakeOnDemandCheckpointAsync\u0060, \u0060TaskCheckpointBasedOnAofSizeLimitAsync\u0060, \u0060CommitToAofAsync\u0060, \u0060CommitToAofAsync\u0060, \u0060WaitForCommitToAofAsync\u0060, \u0060RecoverAOFAsync\u0060, \u0060VerifyRecoveryIsComplete\u0060, \u0060ReplayAOF\u0060, \u0060DoCompactionAsync\u0060, \u0060GrowIndexesIfNeededAsync\u0060, \u0060ExecuteObjectCollection\u0060, \u0060ExpiredKeyDeletionScan\u0060, \u0060StartSizeTrackers\u0060, \u0060Reset\u0060, \u0060ResetRevivificationStats\u0060, \u0060EnqueueCommit\u0060, \u0060GetDatabasesSnapshot\u0060, \u0060TryGetDatabase\u0060, \u0060FlushDatabase\u0060, \u0060FlushAllDatabases\u0060, \u0060TrySwapDatabases\u0060, \u0060Clone\u0060, \u0060CreateFunctionsState\u0060, \u0060ExpiredKeyDeletionScan\u0060, \u0060GetKeyspaceStats\u0060, \u0060CollectHybridLogStats\u0060, \u0060RecoverVectorSets\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 40 declarations carry 38 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 38 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/IDatabaseManager.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"2484dc55fe57cccbe5159590109eed391b887a935a2a112394756e02a51c5f11"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IAllocator\u003CTStoreFunctions\u003E (17 members): \u0060IAllocator\u003CTStoreFunctions\u003E\u0060 declares 17 members under just 14 distinct name(s): \u0060GetBase\u0060, \u0060HasObjectLog\u0060, \u0060InitializeRecord\u0060, \u0060GetRMWCopyRecordSize\u0060, \u0060GetRMWInitialRecordSize\u0060, \u0060GetUpsertRecordSize\u0060, \u0060GetUpsertRecordSize\u0060, \u0060GetUpsertRecordSize\u0060, \u0060GetDeleteRecordSize\u0060, \u0060CreateLogRecord\u0060, \u0060CreateLogRecord\u0060, \u0060CreateRemappedLogRecordOverPinnedTransientMemory\u0060, \u0060TransientObjectIdMap\u0060, \u0060GetPageObjectIdMap\u0060, \u0060OnDispose\u0060, \u0060OnDisposeDiskRecord\u0060, \u0060EvictRecordsInRange\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. That is an OVERLOAD SET, not 17 separate responsibilities: a caller binds to 14 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller\u0027s side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER\u0027s \u2014 all 17 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/IAllocator.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9f7c67a161faff560245e0f17b4000989e402e71bf807ceaf5f0e28fb7c1d2"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ISourceLogRecord (29 members): \u0060ISourceLogRecord\u0060 declares 29 members: \u0060PhysicalAddress\u0060, \u0060InfoRef\u0060, \u0060Info\u0060, \u0060DataHeader\u0060, \u0060RecordType\u0060, \u0060Namespace\u0060, \u0060ObjectIdMap\u0060, \u0060IsSet\u0060, \u0060Key\u0060, \u0060IsPinnedKey\u0060, \u0060PinnedKeyPointer\u0060, \u0060KeyOverflow\u0060, \u0060ValueSpan\u0060, \u0060ValueObject\u0060, \u0060IsPinnedValue\u0060, \u0060PinnedValuePointer\u0060, \u0060ValueOverflow\u0060, \u0060ValueSpanByteAndMemory\u0060, \u0060ETag\u0060, \u0060Expiration\u0060, \u0060ClearValueIfHeap\u0060, \u0060IsMemoryLogRecord\u0060, \u0060AsMemoryLogRecordRef\u0060, \u0060IsDiskLogRecord\u0060, \u0060AsDiskLogRecordRef\u0060, \u0060GetRecordFieldInfo\u0060, \u0060AllocatedSize\u0060, \u0060ActualSize\u0060, \u0060CalculateHeapMemorySize\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ISourceLogRecord.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4005433b50c3e0a5ea46c6db655c66a206d351a9f4c4af0b6ede7e7c04ffbca4"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ITsavoriteContext\u003CTKey, TInput, TOutput, TContext, TFunctions, TStoreFunctions, TAllocator\u003E (41 members): \u0060ITsavoriteContext\u003CTKey, TInput, TOutput, TContext, TFunctions, TStoreFunctions, TAllocator\u003E\u0060 declares 41 members under just 14 distinct name(s): \u0060IsNull\u0060, \u0060Session\u0060, \u0060CompletePending\u0060, \u0060CompletePendingWithOutputs\u0060, \u0060CompletePendingAsync\u0060, \u0060CompletePendingWithOutputsAsync\u0060, \u0060Read\u0060, \u0060Read\u0060, \u0060Read\u0060, \u0060Read\u0060, \u0060Read\u0060, \u0060Read\u0060, \u0060Read\u0060, \u0060ReadAtAddress\u0060, \u0060ReadAtAddress\u0060, \u0060ReadWithPrefetch\u0060, \u0060Upsert\u0060, \u0060Upsert\u0060, \u0060Upsert\u0060, \u0060Upsert\u0060, \u0060Upsert\u0060, \u0060Upsert\u0060, \u0060Upsert\u0060, \u0060Upsert\u0060, \u0060Upsert\u0060, \u0060Upsert\u0060, \u0060Upsert\u0060, \u0060Upsert\u0060, \u0060Upsert\u0060, \u0060Upsert\u0060, \u0060Upsert\u0060, \u0060RMW\u0060, \u0060RMW\u0060, \u0060RMW\u0060, \u0060RMW\u0060, \u0060RMW\u0060, \u0060RMW\u0060, \u0060Delete\u0060, \u0060Delete\u0060, \u0060ResetModified\u0060, and 1 more. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. That is an OVERLOAD SET, not 41 separate responsibilities: a caller binds to 14 operation(s) and uses the overload it selected, so the Interface-Segregation harm does NOT apply on the caller\u0027s side and splitting this into role-interfaces would scatter one operation without relieving anything. The burden that does remain is the IMPLEMENTER\u0027s \u2014 all 41 signatures must be written and kept in step. Reduce it by collapsing overloads (optional or default parameters, or an options object) rather than by segregating the interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/ClientSession/ITsavoriteContext.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e3715c6c701cecc360a3ce12a3446447434594b689e474b6bb93387f8f0acb"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IDevice (23 members): \u0060IDevice\u0060 declares 23 members: \u0060SectorSize\u0060, \u0060FileName\u0060, \u0060Capacity\u0060, \u0060SegmentSize\u0060, \u0060StartSegment\u0060, \u0060EndSegment\u0060, \u0060ThrottleLimit\u0060, \u0060Initialize\u0060, \u0060TryComplete\u0060, \u0060TryCompleteMine\u0060, \u0060Throttle\u0060, \u0060WriteAsync\u0060, \u0060ReadAsync\u0060, \u0060WriteAsync\u0060, \u0060ReadAsync\u0060, \u0060TruncateUntilAddressAsync\u0060, \u0060TruncateUntilAddress\u0060, \u0060TruncateUntilSegmentAsync\u0060, \u0060TruncateUntilSegment\u0060, \u0060RemoveSegmentAsync\u0060, \u0060RemoveSegment\u0060, \u0060GetFileSize\u0060, \u0060Reset\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 23 declarations carry 21 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 21 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/IDevice.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d10bb8b7d23aa9bf640053e60e2c775164278db9222d004592dc4fc2ca1c5d1"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ISessionFunctions\u003CTInput, TOutput, TContext\u003E (31 members): \u0060ISessionFunctions\u003CTInput, TOutput, TContext\u003E\u0060 declares 31 members: \u0060Reader\u0060, \u0060ReadCompletionCallback\u0060, \u0060InitialWriter\u0060, \u0060InitialWriter\u0060, \u0060InitialWriter\u0060, \u0060PostInitialWriter\u0060, \u0060PostInitialWriter\u0060, \u0060PostInitialWriter\u0060, \u0060InPlaceWriter\u0060, \u0060InPlaceWriter\u0060, \u0060InPlaceWriter\u0060, \u0060PostUpsertOperation\u0060, \u0060PostUpsertOperation\u0060, \u0060NeedInitialUpdate\u0060, \u0060InitialUpdater\u0060, \u0060PostInitialUpdater\u0060, \u0060NeedCopyUpdate\u0060, \u0060CopyUpdater\u0060, \u0060PostCopyUpdater\u0060, \u0060InPlaceUpdater\u0060, \u0060PostRMWOperation\u0060, \u0060RMWCompletionCallback\u0060, \u0060InitialDeleter\u0060, \u0060PostInitialDeleter\u0060, \u0060InPlaceDeleter\u0060, \u0060PostDeleteOperation\u0060, \u0060ConvertOutputToHeap\u0060, \u0060PreSingleKeyConsistentRead\u0060, \u0060PostSingleKeyConsistentReadCallback\u0060, \u0060PreBatchKeyConsistentReadCallback\u0060, \u0060PostBatchKeyConsistentReadCallback\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. Those 31 declarations carry 24 distinct name(s), so part of the width is overloading rather than separate responsibilities \u2014 but 24 operations clears the \u003E15 bar on its own, so the row is about responsibilities, not signatures. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Interfaces/ISessionFunctions.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae73fd587271b8e25fc488b3fffee24e4258af2fd8583ce36fd3d3e408a3972b"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: ICheckpointManager (20 members): \u0060ICheckpointManager\u0060 declares 20 members: \u0060PerformAutomaticCleanup\u0060, \u0060GetCookie\u0060, \u0060InitializeIndexCheckpoint\u0060, \u0060InitializeLogCheckpoint\u0060, \u0060CommitIndexCheckpoint\u0060, \u0060CleanupIndexCheckpoint\u0060, \u0060CommitLogCheckpointMetadata\u0060, \u0060CleanupLogCheckpoint\u0060, \u0060CheckpointVersionShiftStart\u0060, \u0060CheckpointVersionShiftEnd\u0060, \u0060GetIndexCheckpointMetadata\u0060, \u0060GetLogCheckpointMetadata\u0060, \u0060GetIndexCheckpointTokens\u0060, \u0060GetLogCheckpointTokens\u0060, \u0060GetIndexDevice\u0060, \u0060GetSnapshotLogDevice\u0060, \u0060GetSnapshotObjectLogDevice\u0060, \u0060Purge\u0060, \u0060PurgeAll\u0060, \u0060OnRecovery\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/ICheckpointManager.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12ac04c1d10c787ed51fdbcf591eb50cba40069b553d60682344a4a9741ff78"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IStoreFunctions (23 members): \u0060IStoreFunctions\u0060 declares 23 members: \u0060GetKeyHashCode64\u0060, \u0060KeysEqual\u0060, \u0060CreateValueObjectSerializer\u0060, \u0060HasValueSerializer\u0060, \u0060BeginSerializeValue\u0060, \u0060BeginDeserializeValue\u0060, \u0060CallOnFlush\u0060, \u0060CallOnEvict\u0060, \u0060CallOnDiskRead\u0060, \u0060CallPostCopyToTail\u0060, \u0060CallOnTruncate\u0060, \u0060OnDispose\u0060, \u0060OnDisposeDiskRecord\u0060, \u0060OnFlush\u0060, \u0060OnEvict\u0060, \u0060OnDiskRead\u0060, \u0060OnRecovery\u0060, \u0060OnRecoverySnapshotRead\u0060, \u0060OnCheckpoint\u0060, \u0060PostCopyToTail\u0060, \u0060OnTruncate\u0060, \u0060SetCheckpointCompletedCallback\u0060, \u0060OnCheckpointCompleted\u0060. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. A wide interface forces every implementer and caller to depend on methods they don\u0027t use (the Interface-Segregation \u0027I\u0027 in SOLID). Split it into focused role-interfaces."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/StoreFunctions/IStoreFunctions.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"af2ce95a6f12ec7df0dfa5a50c4214bcbc31c80b493aa63a9a8bb3eac45ea322"}},{"ruleId":"C1","level":"warning","message":{"text":"No data-protection/encryption: No data-protection or encryption usage (ASP.NET Data Protection, AES, column encryption, PBKDF2) was found \u2014 sensitive data at rest may be unprotected. If TDE/KMS/vault is delegated to infrastructure, ignore."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3674448ef29fbd006d82bb49ec9615cf1ee508105aa1d952555aabaf3e10a9f9"}},{"ruleId":"C2","level":"note","message":{"text":"No named authorization policies: Authorization IS enforced here (by imperative guard methods that throw on violation) \u2014 this is NOT a claim that the code is unprotected. What\u0027s missing is a NAMED rule set: the guards encode the access rules inline, so the rules can\u0027t be listed, reviewed or tested apart from the call sites that apply them. Recommendation, not a defect."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"b048fdf3fa524ac68c7874fdfcdb4c49d5f010013f2cb22a0bd84cb12ceb951f"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Embedded/EmbeddedNetworkHandler.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"758b2a0f7b0e2c6a46d12e2e918677b6a38cd172ea3015cd3903dc7334ed8e0e"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Embedded/EmbeddedNetworkHandler.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"846ee83cc29b12eb1eaa2714f7abcb85485038b34e499286b671859a950a9032"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Embedded/EmbeddedNetworkHandler.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c6c41d4a38951fc0c41286cf6d67a1ce3d2750b243c9758f5dbbd321892aa9"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/GarnetTcpNetworkSender.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf67495aee7c81754971afbffba74624dfa1448c55c1925476a59ee026f3c32"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/GarnetTcpNetworkSender.cs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c71012190047de3b82c07d80b25834ecf701d04415806f11a2398ff23885b5"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Configuration/ConfigProviders.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7040a10c2c9a77a1034bff46fb8df65f34a5f4851ec547846fa32a79db5431"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Configuration/ConfigProviders.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d175bc5d49454a6ba787ed711018d751a7e0ddbf51acda2512b27bfd451263a"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Configuration/ConfigProviders.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc5b59ec005418e06077a06ead737b3222692adb4ca7952ed739bb45e4fb921"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Configuration/ConfigProviders.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"e802f69ca8138be9dd90fde70b9e6f3c655c5ca51d0331ebe86e886786939e70"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Configuration/GarnetCustomTransformers.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c2f990c248bf77ef4a878496372b0f7144a651c470771449c9b9e9395c9540b"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Configuration/GarnetCustomTransformers.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1c5e07e935f0e765eb4a4a1dc75f7676d44b6cc9900e119ae8ec761b4ec691"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Custom/CustomObjectFunctions.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"d70ce53c13719317b395371d24dc53d37ef94f41eb839ad5a633261f6c5538cb"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Custom/CustomObjectFunctions.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"a916d1dd681cdfc32bf4c66cd612eacf917c2beef9294b7ceb32c35dad5b2868"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Custom/CustomObjectFunctions.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b24cf0d5e8c1d0b2316aa953eee8f0c2d89864ab3776d9877fb7c032ccfa957"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/InputHeader.cs"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"81dcd7106ddd1e03fd50dbab970f1ab665dcdcdd35e7775cba8a36ef9fe6ceb3"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/InputHeader.cs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"97512f470da5ad3f851252344b72665bef63611b617180a4d0e0e1a6fb554153"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/InputHeader.cs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"465935f629760858a2c76a264d7b62280bfe74895a5c86feb2bc2b973c79397c"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/LocalStorageDevice.cs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"02ef81216e0208959860fea9d5e34dfec7c5df5efbf311c80be64278ad2721b0"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/LocalStorageDevice.cs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"dafc1471d767db674e2f5e78dd341297f6eaddb4d93e1b1b1a7500c084b2c013"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/LocalStorageDevice.cs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"f370edbf3718f598a1ad9a489e142edc0d48bf30e76d02aa43039e4bc000683e"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/LocalStorageDevice.cs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd57bddce4a960ccaf55907a3ca1c40f9da7197118de9cde501a95111cf3119a"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/HdrHistogram/LongConcurrentHistogram.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58c3a42d9d87c2e3787e2249a142d29ca6a9a40978469f81952c1af626e0826"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/GarnetJsonObject.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"421db2af007582c5a7358a048cf99acbe6b25c4dd749c94f48ffb5afb65874f1"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/NoOpModule/NoOpCommandRead.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9844a60dd1801ff3fd2e91487a25ca32bafd9ed76087fce71c958cfb0822201e"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/NoOpModule/NoOpCommandRead.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"3402bfb1eb00c27f99cf79c44eb406c5658e03eaa473dfadeafb190cd66f0ac3"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/NoOpModule/NoOpCommandRead.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e4cf2c12f8d687cbd6443bdb54d409572584e5afde34622e2b3005999b494dc"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/NoOpModule/NoOpCommandRead.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a39b2dce58ea49a08cac798cb21b3d1c136d979a869035e0f283062e565ba16b"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/NoOpModule/NoOpCommandRead.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd4b1f7443c771c3cb24c6682add8d90953757fa0d9661b62b0e7f01ebec2a5f"}},{"ruleId":"GD1","level":"note","message":{"text":"Placeholder literal left in code: A placeholder string (\u0022Lorem ipsum dolor sit amet, consectetur \u2026\u0022) is still in shipped code \u2014 typical of generated boilerplate that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ETag/Caching.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d2fd2f0ff450e4525951f71182a3b25b01d3295f2bb211d0d22df143ed8619"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ObjectValue.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"204e98996ee87f39b8e055d1f2f97ce389faa5ecd09c7c36939e54b32202109d"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ObjectValue.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba9e0051ccc061d86f431e8c125b7dff159d89a5a55fb1788075b976c45ac1b"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ObjectValue.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1341ba180bb684cbb4f495f597a7b294e9ac3b490ed41eadc5ea1c363a919b5"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SessionFixedLenFunctions.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"f97138bd623a3855631871355bf1f26dec1e77f3afd7ef63fbb4d0e8a4894910"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SessionFixedLenFunctions.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ffd3cd251171cdb46c75598772f085b1909198ac83d9b91a0907370e650ef0a"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SessionFixedLenFunctions.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6e58db7126ad47a2dc40405a30b5ee31afbe9764cd0eacadf6d51617e5fcfe9"}},{"ruleId":"GD1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: A shipped member still throws NotImplementedException \u2014 generated scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SessionFixedLenFunctions.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6efa6582df330cb473e439c827085e9e8d83cff8f40a730d355d7684dec15bf"}},{"ruleId":"IC1","level":"warning","message":{"text":"Skeleton type \u2014 most members are unfinished: \u0060EmbeddedNetworkHandler\u0060 has 3 unfinished members out of 6 declared members (methods, properties, indexers and events, whether or not each carries a body) \u2014 a scaffolded type that was never implemented."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Embedded/EmbeddedNetworkHandler.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"d78a5d958e966c6754f3703dab31929b3c303682d749ddd7e9bfa33e175410f3"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060RemoteEndpointName\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Embedded/EmbeddedNetworkHandler.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"c740d492dd01cf34e612bb595c8c111a955c4a635f3b9d4bca15a555b8e0408b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060LocalEndpointName\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Embedded/EmbeddedNetworkHandler.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"69242b9613a18962896eaab06703a2db0f21bd2f438623ab037e15ca417b3fcf"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060TryClose\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Embedded/EmbeddedNetworkHandler.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed8ee2d938e4013e76134ff89fffd99fab044e67b895c8c636456ad7cb354b08"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: The \u0060if\u0060 and its \u0060else\u0060 contain the same 1 statement, so no input can make the condition matter. Implement the distinction that was intended, or drop the branch and keep the body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/LightClientRequest.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7d74d059d9299d693c8f026262fa44a1b94e247a3b6d96fe4a6c7fca095906a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060SendResponse\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/GarnetTcpNetworkSender.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1e9f47d689823878e4972b0abd967ded4b656c237c0e8e28d09044e2a368b6a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060SendCallback\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/GarnetTcpNetworkSender.cs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1cced3846e4a13830e226cdf47b09684cd4c17b8f6e10f2c610003a6c52ac0b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Skeleton type \u2014 most members are unfinished: \u0060RedisConfigProvider\u0060 has 4 unfinished members out of 7 declared members (methods, properties, indexers and events, whether or not each carries a body) \u2014 a scaffolded type that was never implemented."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Configuration/ConfigProviders.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"d28292f9f41abd0fef0e0c4b24fdf64b85a4e07f8b682b1f4fdcda74ca557de2"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060TryExportOptions\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Configuration/ConfigProviders.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"b417891eb012daff1a5557a39796cd13b7b480e3a75994f205a093e489dfc57b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060TrySerializeOptions\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Configuration/ConfigProviders.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cd8a826664972806a360a8ae37fd58372ef2ea3ff89276e90abfa734470c1c0"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060TryDeserializeOptions\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Configuration/ConfigProviders.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ad938997bc30c3da133151ac2dcaaf1b3d213edba93cc7e11d2822dbab24bc6"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060TryDeserializeOptions\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Configuration/ConfigProviders.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d6c32aae03acb7aaf453db2a0881f38e17e96b79663de8b5b1aed976aec6040"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060TransformBack\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Configuration/GarnetCustomTransformers.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62e7a7369a6772b481a099099a06b929f6921b590502d24fdf2b533d437ddb8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060TransformBack\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Configuration/GarnetCustomTransformers.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc65ed377d4497c4650cdc377fa66b7f44fef16e32ff4753eb5a33764acc2cc9"}},{"ruleId":"IC1","level":"warning","message":{"text":"Bound check compiled out of the shipping build: The only thing establishing that \u0060beginAddress\u0060 is long enough before it is indexed is a \u0060Debug.Assert\u0060, which is \u0060[Conditional(\u0022DEBUG\u0022)]\u0060 \u2014 the compiler deletes the call from Release, so the build your users install indexes \u0060beginAddress\u0060 with no length check at all and throws at the indexer instead of failing diagnosably. \u0060beginAddress\u0060 comes from outside this method, so its length is a contract, not something this code can see. Bound it with a check that ships (\u0060if (beginAddress.Count \u003C n) throw \u2026\u0060, or \u0060ArgumentOutOfRangeException.ThrowIfLessThan\u0060), and keep the assert for the invariant you believe holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/AOF/GarnetLog.cs"},"region":{"startLine":461}}}],"partialFingerprints":{"codehealthFindingId/v1":"e01ae89e80d17c895ed06bb26e1c68df803a196ba24348d1c08161a0337307a8"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060SerializedLength\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/InputHeader.cs"},"region":{"startLine":626}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d49b8090999a836127be5ff6f270ab3afb5d9b8126a3ffe9d00a1a3bd11dd7c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060CopyTo\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/InputHeader.cs"},"region":{"startLine":645}}}],"partialFingerprints":{"codehealthFindingId/v1":"c136fa42c42d92778814951dfdc80fb65ae144ba6545cf2a812bb07517a56ed1"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060DeserializeFrom\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/InputHeader.cs"},"region":{"startLine":646}}}],"partialFingerprints":{"codehealthFindingId/v1":"401e968237d0078bedfcac2945ac0a266dabea68f74b0d5a7e234e4982c57f72"}},{"ruleId":"IC1","level":"warning","message":{"text":"Bound check compiled out of the shipping build: The only thing establishing that \u0060info\u0060 is long enough before it is indexed is a \u0060Debug.Assert\u0060, which is \u0060[Conditional(\u0022DEBUG\u0022)]\u0060 \u2014 the compiler deletes the call from Release, so the build your users install indexes \u0060info\u0060 with no length check at all and throws at the indexer instead of failing diagnosably. \u0060info\u0060 comes from outside this method, so its length is a contract, not something this code can see. Bound it with a check that ships (\u0060if (info.Count \u003C n) throw \u2026\u0060, or \u0060ArgumentOutOfRangeException.ThrowIfLessThan\u0060), and keep the assert for the invariant you believe holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Metrics/Info/GarnetInfoMetrics.cs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"98712506b309e3ba29180eec3332c6fb3e8a63b2a80b3118ade3a0df6f7ae7ec"}},{"ruleId":"IC1","level":"warning","message":{"text":"Bound check compiled out of the shipping build: The only thing establishing that \u0060assembliesList\u0060 is long enough before it is indexed is a \u0060Debug.Assert\u0060, which is \u0060[Conditional(\u0022DEBUG\u0022)]\u0060 \u2014 the compiler deletes the call from Release, so the build your users install indexes \u0060assembliesList\u0060 with no length check at all and throws at the indexer instead of failing diagnosably. \u0060assembliesList\u0060 comes from outside this method, so its length is a contract, not something this code can see. Bound it with a check that ships (\u0060if (assembliesList.Count \u003C n) throw \u2026\u0060, or \u0060ArgumentOutOfRangeException.ThrowIfLessThan\u0060), and keep the assert for the invariant you believe holds."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/AdminCommands.cs"},"region":{"startLine":607}}}],"partialFingerprints":{"codehealthFindingId/v1":"a095309685867afe31847455852d8d9e427049799236da216cacaa1c183009e7"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches open with the same statements \u2014 the condition does not decide them: The first 1 statement of the \u0060if\u0060 and of the \u0060else\u0060 are identical, so it runs on both paths regardless of the condition. Lift it above the \u0060if\u0060 \u2014 leaving it duplicated inside makes the branches read as though they handled this differently."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/ArrayCommands.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"b093d6c4da6afe533568ba048fe05f013420df92b4c9a8c9e5a2b6de0bd76280"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: 1 guard above \u0060return found;\u0060 also returns \u0060found\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/AttributeExtractor.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d830904cb0aebf60e5e28ee47e7cfc23353ed17caa42d5e9aadf567c4da4f24"}},{"ruleId":"IC1","level":"warning","message":{"text":"Guard cannot change the result \u2014 returns what the code already falls through to: 1 guard above \u0060return default;\u0060 also returns \u0060default\u0060, so no input can make it matter. Implement the distinction that was intended, or delete the guard."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/AttributeExtractor.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5d705129ed402a9781a887dd1a6c1580412de34fed314cab00cd5ecba87a63"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060HandleIndexSizeChangeAsync\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/ServerConfig.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"45247f57bb5063f8cf4aefa6129ede3618c42596d261074e291a058ca49648fc"}},{"ruleId":"IC1","level":"warning","message":{"text":"Dead \u0060#if false\u0060 region: Code inside a \u0060#if false\u0060 block is permanently excluded from the build \u2014 disabled code that should be removed or restored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/LogRecord.cs"},"region":{"startLine":1712}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a67a2e634596cff25d8f676bb62228b95210c539dfa330d2d171dae63f67ae"}},{"ruleId":"IC1","level":"warning","message":{"text":"Hollow method \u2014 returns a constant without doing the work: \u0060IsDeleted\u0060 looks like it should compute a result but its body just returns a constant \u2014 a placeholder return that was never filled in."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Compaction/ICompactionFunctions.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b603dd3a429f729b6aafe9f4d1f255c23401d879e5b156d7d92f636ea254319d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Skeleton type \u2014 most members are unfinished: \u0060SimpleAsyncResult\u0060 has 4 unfinished members out of 4 declared members (methods, properties, indexers and events, whether or not each carries a body) \u2014 a scaffolded type that was never implemented."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/LocalStorageDevice.cs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e37a10f81ae30f6d5e03174d9cc628372263045d2a07cd1ec06f84d4896832a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060AsyncState\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/LocalStorageDevice.cs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"e87cc7dd37edf7420002145f6ba24645a32ce60cb4a51239f1ef5dd09341694f"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060AsyncWaitHandle\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/LocalStorageDevice.cs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6ee173c1fc0406ddff083cfdc0e4214d3cf50e990b5aabfa86d3a9f52466752"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060CompletedSynchronously\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/LocalStorageDevice.cs"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c12f7328d99fba65c7d4b6ce1cb2dfe547f2a1b0bde506539e9d4e4d1a91bc"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060IsCompleted\u0060 is a shipped property whose accessors only throw NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/LocalStorageDevice.cs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"a34e798cc781bd2507dafdad11fa22b4fc9d1a555c7afe89848f2f4c7fafc424"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060SetCountAtIndex\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/HdrHistogram/LongConcurrentHistogram.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b46ab926ce1ac8028caefd5f2cc6abc6126a527c7b4cb5020360180c0027928"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Scan\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/GarnetJsonObject.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddfe04b603ee5a5bb61513f3e78ba2f83d756f6f58d2efe7af56308fdf17dced"}},{"ruleId":"IC1","level":"warning","message":{"text":"Condition was already decided \u2014 an earlier guard makes this test constant: Control only reaches here when \u0060leftValue is null\u0060 is false, because the guard on line 275 exits otherwise. This test is therefore always false and everything it guards is unreachable. Implement the distinction that was intended, or delete the test."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/GarnetJSON/JSONPath/QueryExpression.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"9807c101a310605bf7d0b703ec1fca733bca79363cd2f1ef76a11c9bb84179ec"}},{"ruleId":"IC1","level":"warning","message":{"text":"Skeleton type \u2014 most members are unfinished: \u0060NoOpCommandRead\u0060 has 5 unfinished members out of 6 declared members (methods, properties, indexers and events, whether or not each carries a body) \u2014 a scaffolded type that was never implemented."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/NoOpModule/NoOpCommandRead.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd2faf4c23de6bc4130f2ae35d643325e280ac860f0b8d840a3b8b64cef0cabe"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetInitialLength\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/NoOpModule/NoOpCommandRead.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c69059050bdc008a3c7d80126cbb76318946f1685d08a79f2d66fbb630a63c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetLength\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/NoOpModule/NoOpCommandRead.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b24146a35c44e23a0106511fe186e463a484d7d439ecfd23485946316fd6060"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060InitialUpdater\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/NoOpModule/NoOpCommandRead.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0171b4b7a4ddbb7e55b3c893526b370850e4017ca821480bdc92569ef0bd500"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060InPlaceUpdater\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/NoOpModule/NoOpCommandRead.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8e185ebe7adcd13eba22b606fb03d6572ff4d5506dfc733157cf7cda56f2c39"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060CopyUpdater\u0060 is a shipped member whose whole body throws NotImplementedException \u2014 scaffolding that was never completed. Implement it or remove the dead surface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/NoOpModule/NoOpCommandRead.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f6793e534ac86795284f11b9f23edc79b7d11d223704a9860a595eb6717385"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/ClientSession/GarnetClientSession.cs"},"region":{"startLine":658}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b68e2c0d3889125e9d736c45443ab1602787033dbdc18658ecda8b569762e6e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"733ecd385e6e6cc5999807834faaa4e0b8d0ef39f07bd56f69c5f364c2745bfd"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":756}}}],"partialFingerprints":{"codehealthFindingId/v1":"f364d970f0438e35093f43344a2dec8065583fae70cabafca8102b8837d98e1d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":772}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34a4e52a5211f8fbb2b615858a57680e726e31644d1a3e5f88b029a69bd9e15"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":779}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d2d354728910ef3371cccc2430dda0f74041600e6fc55e817f12f0bc03d4655"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":843}}}],"partialFingerprints":{"codehealthFindingId/v1":"116b1e85643f0f08b6344cd28bb8e13c33a00bcfa6c1eb0810923a8959a76f01"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"56108f036abf75ad968d9913f0448dc73d1ee9beb9f4e196cb87c7c1b8f90851"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"6689c6e8c03ab8d48747b482de28c1cf82b09741d75186ce674b6ab0d22a1901"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":892}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f397e38ff0b8c043832b12dc33c1ab1c65263916a31a8e630cd7b16cd3d8bd0"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c11673d798dbad5ef3058d234580aa4c69450fa9b6338e7d54bda817ec0813e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c3ce0df7c8aaf7eda33079c59a04b377f54f8ed6cfcec962b0f349ee0c4842"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":1073}}}],"partialFingerprints":{"codehealthFindingId/v1":"37a3c634f5328b442574639a117bcf40882159bbed7a0796dd1824aea534b6b3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"42e2cd274dcade090bd2790c6d68a1ed678b23c3cf9325e5ee33df8b7111e5ec"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":1096}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4f9d5045da635227ca4ab160801a97c4ec2fd303850b90c325b1f159d7dce9d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":1163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6e3c000feacfc5a5af7557ae92875707059226cca6931677c220676b6aacf63"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e012c09d43d97db7aff1140508c85a74f5f125c1686f657a1862b0ee9a552d7"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"f198fec34aee633fd21c9a5d8fbdcda7b7cf8978b3da8ed0c5d2588bf297997e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":1211}}}],"partialFingerprints":{"codehealthFindingId/v1":"ade2de02a9bcaffb181f35f8a5bb7a395e2118d9ca41bf1d7bbc6cc5ae427a55"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientProcessReplies.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4acebab39a1cc0fd89004f12e7978ed41374075fbd2f3288f3a8253f51fbcd2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientProcessReplies.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"9282b3e0095969de77b631ddc488c36acbab355b52f4a754a8d8f9cd9fc5b176"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/NetworkWriter.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"128bd501b4c6b5e7be1fb9a5bb87bcdd9a4f8514606b8d5b30ac8148fe47251e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/NetworkWriter.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c8f30ff686702c7ee998c05c243b53f55a78afe0a891170b08206850468adc2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/NetworkWriter.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5e8e0d964a422fef2d706c24e9c91531e69a1a00cd1d9229de37b8d32e86f89"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/NetworkWriter.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bd33fc7da7e09523cdf660dae69a2cefb28022178627eb7b608c02f732f2086"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/NetworkWriter.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a54756d96d21f2ae448dda4ea94fcebfcb9e1fe9d2b51d0e7955e984b6acd2"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/NetworkWriter.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f0c352251fb05321030ebdc9666ac1320e0ce3004e92402e120dfaf31558789"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/NetworkWriter.cs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada49d3910b2d37a2d0c766aa79c7f9cda580b0650abc743dc1b4d4755eca3b5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/NetworkWriter.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"d779c8a228f16d8d7c1c29f66053d38190c8c09150b6d26dbf303b311268c4da"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/NetworkWriter.cs"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb40171f202a19a5ecf436563bdb804a93c68af2d95ef36f944873bb746c5bad"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/ClusterSession.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"11f960f1e363b0c2cde9a5fe75f8a73991afc2b173eac494a73c4858ca02cdf5"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/GarnetTcpNetworkSender.cs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83d394b32e767eba2bbc470d15cbe37dc791d045a46c55a2401603c41237088"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/NetworkHandlerStream.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f690e300313826c02dfdc2c375da5de8bea87f5aa515ff90b9d8fb271ef7c167"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/TaskToApm.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"62c5e569d8b42e733853947a7ef6060129485d9f1fe868de97cbeb14f767df0c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.Functions.Struct.cs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d2e4e5fd9951e8860065bb0479d78f9d0eab2f6564c7716202cc54c4f607362"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"470046eeaab7cee2f62491961efd7a78f3721cfab72065c77456321896aff623"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"830644340c1ddcc07a2435eae5d99ddf34cad3f5ba390f08c42d0d6eea04030c"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eacf9e54a18468c8b3f16969733d4ca135c7d6da713b9bbbf292596f6fc292d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":1145}}}],"partialFingerprints":{"codehealthFindingId/v1":"718b163f1f3296bc5eef8006b92f8af314ee53be3704deab715ea15f1accd875"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/HyperLogLog/HyperLogLog.cs"},"region":{"startLine":1253}}}],"partialFingerprints":{"codehealthFindingId/v1":"05e970c68227d38160caf4e2ac7bf2e577f8d8dc19c458080c85921394a00c42"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Objects/SortedSetGeoCommands.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d04e77596b9f27c5edc1ef42ab8db098eacdef7e87b8b22f2b35e2e60d860d3"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespServerSession.cs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"5117213932280356b4aa70c3450b44f2501b6a298fb3fbd0a20c4f4341c436b7"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespServerSession.cs"},"region":{"startLine":1531}}}],"partialFingerprints":{"codehealthFindingId/v1":"5de0ea734dbf9a78d38e908c116147520acc649e70d98f94b83bff6071ad093d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespServerSession.cs"},"region":{"startLine":1537}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0172656b772bd9a10cbaf47bc4ccea361d88a66a6a1606f7c42e777b373742d"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespServerSession.cs"},"region":{"startLine":1556}}}],"partialFingerprints":{"codehealthFindingId/v1":"acf6920898adfe999547bb1a393876d18a81de5dd501f6dc188f849e109f40a7"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/MainSessionFunctions.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60f30301d9fe433778322f60b4c6d21a114926780d5fe4c52970522fae17a4b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":1343}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b12c46e6c9f41924833ff0a20e6c4802b78b39b738e98db7aeb2ba902b9128"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":1344}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcd378dd7c6b348936ddfc7d8cf14cb4f35b17aefa4cfa6122233e6a1e2de19a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/ObjectStore/ObjectSessionFunctions.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"9121549d257452f2d08d595258305eb1668998e58c9d716da4ec08f661472d8a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/UnifiedStore/UnifiedSessionFunctions.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"69b17249765f14d5b82abee661bd45c8e6eb0558d11449f6ec92b5da51ba48f8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Storage/Functions/VectorStore/VectorSessionFunctions.cs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e3f86e6002f539ea64e3442c0cebd5ece74bddbb89773a710f51e406b975742"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":801}}}],"partialFingerprints":{"codehealthFindingId/v1":"60639a72ec823a01d692208920f1d4a00c5895cd59710b6f2b63cf45744e0c11"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":1686}}}],"partialFingerprints":{"codehealthFindingId/v1":"06c751ad1813af96d389e4468570bad1ce72991dcd910e09a2350b6d493ecd39"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":1826}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72a9a4904939b50a1602e5396ec821c9b82134b9861ed27c49701ca73de9f2f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":1979}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ac1fd8ba5c82b318d558fedae5e86f73c7f9a8a8fd9a3de891671f00d847c7"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":1119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c12ec1420ebccb1ea2c937c9b452c630b2843a5e5d58c91ca6925d6999d4a27"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":1249}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f91c2caca39a2be2165455210aa284944acb14f1e38c048699874bb1347bde"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"71626460afbd2024467e4b129ef099180503dc635a39ae446e85e723d36136bf"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectSerialization/CircularDiskReadBuffer.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"43c3781989297cd0ad4840cf53456ed4a329a45db98741a9c202a183b7d1f1f7"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"850cccf7d83ed1d58625dcb02164b2a1253ffa7c5fb5d69e65babb6ebf9deb86"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/CheckpointManagement/DeviceLogCommitCheckpointManager.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"51d245be570b12178f1e92c95f3b388688bbea3ec88662752dd4263dce120c16"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/VarLen/SpanByteFunctions.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17f1ebe6921ee91eb6a742292ddce80fe21e2f1d0920c9ec30b82a4b4604a78"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/HdrHistogram/HistogramBase.cs"},"region":{"startLine":523}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fa157e5c41ff5ea306e2f789513d15db13e25ff2e857ecf917bc262763559db"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/HdrHistogram/HistogramBase.cs"},"region":{"startLine":538}}}],"partialFingerprints":{"codehealthFindingId/v1":"45af89ea55b5bc1c404a0579704e6c77ad9ab320ac2cecda35db8ad9e2d6f497"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/HdrHistogram/Iteration/AbstractHistogramEnumerator.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"53ad1723c485bbce52b24e215542040b8cf0c984380d751265a3e7fc08be3178"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/HdrHistogram/Iteration/AbstractHistogramEnumerator.cs"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"33aa2fe92c151c6064db4e1c5b85e2a9a2992dc46e624468b2059bd543425649"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/HdrHistogram/LongConcurrentHistogram.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a09021c27e5db0044191e29a2e5c16bdf407fe8821d42995952c7a9da3f49b8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/HdrHistogram/LongConcurrentHistogram.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"8eae7e6c02b7758d3f69cd6c3424d1110418cb06dcc2000cd1e691ddb7779066"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/HdrHistogram/LongConcurrentHistogram.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c9e532357bd1d4cf8ebaa079df5dfa322fed0cd77538d987a28f0690533642f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/HdrHistogram/LongConcurrentHistogram.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3e3e62f0a9fd1ce4692ca06f08bc2f1f30a529ae3d1a470d18bdf44dab74c58"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/HdrHistogram/LongConcurrentHistogram.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e66cf4b6f94972da549039071831a9afeefb3538719ea63e2fa090013476736f"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/HdrHistogram/LongConcurrentHistogram.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab4344815d102d15f4f99640e3e0d2573614ad656bfd5267b56631b6fdc86198"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/HdrHistogram/LongConcurrentHistogram.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"1801afdb00035a4a9f384ba134ffd135cdc5abfa58c71419e9351ba8329322e8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/HdrHistogram/LongConcurrentHistogram.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"8368fe5f27ddda8d6919d045ee2566be9d0a180ac128e8891115701202881652"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/HdrHistogram/Utilities/AtomicLongArray.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c637e664eb6b69ca68f6964dc0a9e3b6d4e5c29f0597fcf4240c02b749ccb821"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"metrics/HdrHistogram/Utilities/WriterReaderPhaser.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"562487a380200fad8f664cf933166901f843d9ae58980c54ab00b7cbfec838b1"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/Bitmap/Program.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"462dc4f5c480725df22d2a78f187cd5f5f90c91d0605d26c2197833c6389974b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/GarnetClientStress/TaskScaling.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"de456f2538c6c492daf382d6411f593c6325ea5ec9233c53db214fb74db653b4"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/GarnetClientStress/TaskScaling.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e2c49e6f29307180d41c04ab46c86996b95ab797f386927b882b66cded3673b"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/GarnetClientStress/TaskScaling.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3a87871876b5c433fa3196c65ff6ac28ad729047e0780fb620607208213660"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/GarnetClientStress/TaskScaling.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"73784ae7daefadb696c4a5ccf85c2d4da8c16d3f6c22c2729348661df1dfa6c6"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/GarnetClientStress/TaskScaling.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f08fe74a9a36701fc5360885a374ab0a141f0d7abcb2b189e9a7f2fc7c91885"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/GarnetClientStress/TaskScaling.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"231b3ab28a87fce9aa44271a8b13abb7a1f039e590b7862367f888b36126305a"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/TstRunner/Program.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"263622df3fea74a046f1b9bbe4e9b8da9d79ead01fd30a2e37035b251f5a6e81"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/TstRunner/Program.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"c97b5dab87b23a451d7bd80330ce198732ce4accc09155eb32cd456cec9250a0"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/TstRunner/Program.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b9de2dd1021b093096e7903e567d1541867a1b23b8f68273947a97a5e346902"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/TstRunner/Program.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"536ee4ebff1e2285b1c926b6325ca07ad1e38c04c45dd149414c54763e183123"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/TstRunner/Program.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a113c534dec5da98a1e98f5d58f042ede172eaa266b987b616f344519525940"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/TstRunner/Program.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd07f48b94c34ae87da31e5555a130abfa6ec3a5d394661f700149978892799e"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/TstRunner/Program.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1cc6b51743f3df0ef6dd7efdbbe991f3609bbbe40d3df5cf2409df04a114b0"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/TstRunner/Program.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"b689579f51dc84b8e605a13b063ce30fe898696659e5e545e61730a6ac84b4b8"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/TstRunner/Program.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca7b83c55f999378919ea7a425ee8117febbadb2cdc0924e73a20d8f05cb8e28"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/TstRunner/Program.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5db1aa0541c6b5dbe76990dfe01c052bc9aeb6a6cbf2d948269752a768f15993"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/TstRunner/Program.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3982bd414d2bd7099f90c6aafc4bb5b8be0110134670024f882c512caa4adc"}},{"ruleId":"IC1","level":"note","message":{"text":"Commented-out code: A line of code has been commented out rather than removed \u2014 dead weight that rots and confuses. Delete it (version control remembers)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/TstRunner/Program.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddef8e95b990b1652b2fa23a315df523f678a5f0a3d7f05c963b8400299f8b95"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.scripting/LuaScriptTests.cs"},"region":{"startLine":3341}}}],"partialFingerprints":{"codehealthFindingId/v1":"26422c1d80d1fd9152c94272dcd1505eae66821fe1ef7664299c16956939fe33"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.scripting/MultiDatabaseTests.cs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"45412309a5d9af6a6f1bd0f64ff060e317cb3af9e82138e8251f56e1af97d686"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.scripting/MultiDatabaseTests.cs"},"region":{"startLine":784}}}],"partialFingerprints":{"codehealthFindingId/v1":"6425b710425a5ec43d7318d7b5bb918d7260a6f765b4f9d87583a471b7d03296"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.scripting/MultiDatabaseTests.cs"},"region":{"startLine":879}}}],"partialFingerprints":{"codehealthFindingId/v1":"7895a4ca1095b04a83496a1b085242879d2e9ea4e37054d43028984d9b7c6733"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/standalone/Garnet.test.scripting/MultiDatabaseTests.cs"},"region":{"startLine":941}}}],"partialFingerprints":{"codehealthFindingId/v1":"08306660a1a420a530cdd673abe6875d23e4e8bcb055b34eccf9845bb8c0bd60"}},{"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":"M3","level":"note","message":{"text":"No src/ separation: Production code isn\u0027t grouped under a src/ folder \u2014 it\u0027s spread across several top-level directories, so there\u0027s no one place that says \u0027this is the product\u0027."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdf7f5b24e313364d10170a5c2542959902fe0d26ed70edef3eaa10ec5bcdb1d"}},{"ruleId":"M3","level":"note","message":{"text":"Inconsistent root namespaces: Only 29/63 projects share a common root namespace \u2014 the code\u0027s module identity is inconsistent."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c8031c9fb77ad97c2e4a8ddb29978f4bf30140d481913bd7fde8b5adbbb83ede"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: website/README.md documents the environment variable \u0060USE_SSH\u0060, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/README.md"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9a19cb7f5caf21c231242a19414d87bd18c116e1202c6f69962dff3ba4eb07"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: benchmark/Azure.benchmark/01-resources/README.md runs \u0060.\\01-resources\\deploy-common-resources.ps1\u0060, but \u006001-resources/deploy-common-resources.ps1\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Azure.benchmark/01-resources/README.md"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd4f63401a033cae3c6f4f547bd3189d6477a7fe4d0f03a94495743762373320"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: benchmark/Azure.benchmark/01-resources/README.md names \u006001-resources/security/manifest.json\u0060, but no file or folder \u006001-resources/security/manifest.json\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Azure.benchmark/01-resources/README.md"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17b6653124305e358adc08e46ce5fa29df181a80e452247c1442ee99c05cd5f"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: benchmark/Azure.benchmark/02-platform/README.md runs \u0060pwsh .\\02-platform\\manage-vmss.ps1 --help\u0060, but \u006002-platform/manage-vmss.ps1\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Azure.benchmark/02-platform/README.md"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"195600cf374fb883cd9e6ba04a35d3306a778bfffd3ace361ba5cb022139e205"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: benchmark/Azure.benchmark/03-workload/README.md runs \u0060.\\03-workload\\bench\\resp-bench.ps1 -Detail\u0060, but \u006003-workload/bench/resp-bench.ps1\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Azure.benchmark/03-workload/README.md"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"6738a2ad74858e814f1d576ec42066a04eac86354d04d7054a8dbbd8684cf377"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: benchmark/Azure.benchmark/03-workload/README.md runs \u0060.\\03-workload\\bench\\memtier-bench.ps1 -Background\u0060, but \u006003-workload/bench/memtier-bench.ps1\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Azure.benchmark/03-workload/README.md"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6096bd61746cef7e5df421f6d8c754623bbc3bf41ac9aceb492dfd12774a5eeb"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: benchmark/Azure.benchmark/03-workload/README.md names \u006001-resources/security/manifest.json\u0060, but no file or folder \u006001-resources/security/manifest.json\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Azure.benchmark/03-workload/README.md"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"0db52bf1dc20426db1ae9c84bcf58f239f121ddb59b7b1868e498b148bd7ebe5"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: website/docs/azure/quickstart.md documents the environment variable \u0060GARNET_HOST\u0060, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/docs/azure/quickstart.md"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f5807d2ead9646499ec9023a6d1f110b6f8665e7df8711fca1a24b3c8a5609c"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: website/docs/azure/quickstart.md documents the environment variable \u0060GARNET_PORT\u0060, but no code, script or configuration file names it. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/docs/azure/quickstart.md"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"8918a8f4782b38dc531a8dea6a5982df2da1ec297ba37fc7f6dc692e60071dc9"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: website/docs/benchmarking/overview.md links to \u0060resp-bench\u0060, but \u0060website/docs/benchmarking/resp-bench\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/docs/benchmarking/overview.md"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e48a60284441362836b2929ab78871dc05d2649fc6784f11e636778e968167"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: website/docs/benchmarking/results-resp-bench.md links to \u0060resp-bench\u0060, but \u0060website/docs/benchmarking/resp-bench\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/docs/benchmarking/results-resp-bench.md"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"125f7d12ad68929193cf00d8c3e0c573cfaf5df1aef9f7e36cb23d581eaef39e"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: website/docs/benchmarking/results-resp-bench.md runs \u0060dotnet run -c Release --framework=net10.0 --project Garnet/main/GarnetServer -- \\\u0060, but \u0060Garnet/main/GarnetServer\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/docs/benchmarking/results-resp-bench.md"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e209a527acac84851a155408204d4cde47b6cc082dac27d95bcf0728e058b67"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: website/docs/benchmarking/results-resp-bench.md runs \u0060dotnet run -c Release --framework=net10.0 --project Garnet/benchmark/Resp.benchmark -- \\\u0060, but \u0060Garnet/benchmark/Resp.benchmark\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/docs/benchmarking/results-resp-bench.md"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"222a735d1a1a091171941358e985d045210fefb0dae7113e56f9804e0390a705"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: website/docs/cluster/replication.md links to \u0060../dev/cluster/replication-dev\u0060, but \u0060website/docs/dev/cluster/replication-dev\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/docs/cluster/replication.md"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"befc03ded7381d3bd833fc0255999e37feb1c7fb0adcf6990654e93f53b52ea3"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: website/docs/commands/roaring-bitmap.md links to \u0060raw-string\u0060, but \u0060website/docs/commands/raw-string\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/docs/commands/roaring-bitmap.md"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b917991182a554ed53581d21ec4702fbe3391706afccdfe9c0a11dc1d5816598"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: website/docs/dev/range-index-resp-api.md names \u0060test/Garnet.test/ReadOptimizedLockTests.cs\u0060, but no file or folder \u0060test/Garnet.test/ReadOptimizedLockTests.cs\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/docs/dev/range-index-resp-api.md"},"region":{"startLine":1440}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d33505009b66a8f666446c7d4c18c15f74e8dccd0e0c901c91399a502821fa"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: website/docs/dev/range-index-resp-api.md names \u0060libs/server/Storage/Functions/MainStore/DisposeMethods.cs\u0060, but no file or folder \u0060libs/server/Storage/Functions/MainStore/DisposeMethods.cs\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/docs/dev/range-index-resp-api.md"},"region":{"startLine":1697}}}],"partialFingerprints":{"codehealthFindingId/v1":"3305dd6930bece912d5a783326e0280fd63a1215fcbf7e4078548fb611a58a79"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: website/docs/dev/range-index-resp-api.md names \u0060test/Garnet.test/RangeIndexTests.cs\u0060, but no file or folder \u0060test/Garnet.test/RangeIndexTests.cs\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/docs/dev/range-index-resp-api.md"},"region":{"startLine":2303}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53369c8e2dfdc4b9a783a4a65cdfadb3abbcf44d5931d59ea53bea3d10853c0"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: website/docs/getting-started/memory.md links to \u0060configuration\u0060, but \u0060website/docs/getting-started/configuration\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/docs/getting-started/memory.md"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4020be75d835d2fffeb386ea21e4fa2c0c4feb8f773abde482b5fae7f3b44a"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: website/docs/getting-started/memory.md links to \u0060compaction\u0060, but \u0060website/docs/getting-started/compaction\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/docs/getting-started/memory.md"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"9014e5afc11a61210ccd86ec87c992b55cc0ace8d838bd77b6586a7971c6bc17"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: website/docs/welcome/about-us.md links to \u0060/blog/brief-history\u0060, but \u0060blog/brief-history\u0060 does not exist. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"website/docs/welcome/about-us.md"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbb16a7df69c34b052c62944923be971799cde71eeca80e8ae7b842e47e640c4"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: libs/storage/Tsavorite/cc/README.md names \u0060src\\Release\\\u0060, but no file or folder \u0060src/Release\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cc/README.md"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"e149d047fa08cb998939ef290dc0a46fd08ca70bd5c22ecf2466a9a6bb791605"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: libs/storage/Tsavorite/cc/README.md names \u0060src\\Debug\\\u0060, but no file or folder \u0060src/Debug\u0060 exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cc/README.md"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d59932db18d3af8f5a2b29f02c1da1a22ae6e79f144406d16d30ec551ee4c79"}},{"ruleId":"M4","level":"note","message":{"text":"README/code drift: libs/storage/Tsavorite/cs/benchmark/Device.benchmark/README.md changes into \u0060benchmark/Device.benchmark\u0060, but no such folder exists. Checked without a model against the repository: its files and folders, the scripts and dependencies of every package.json, the projects, namespaces, package references and target frameworks of the .NET build, the SDK and Node pins, and the identifiers of every file that is not a document; the documents\u0027 own text never counts. A footprint generated at build time, read only by a platform, or living outside this repository is not seen, and this row is then wrong."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/Device.benchmark/README.md"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"eddc8949eb043342c4bcf2ca16cb3decb180654ca5c85453a5a82920b3d46bdc"}},{"ruleId":"P12","level":"note","message":{"text":"Sleep-based test synchronization: 341 Task.Delay/Thread.Sleep call(s) in test code synchronize with background work by sleeping \u2014 a known flakiness precursor on slow runners. Prefer polling with a deadline or completion signals."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6a03a2c4f0cdb020131eedb5050e85716d2d15c3e6c049458617ddd83166de9e"}},{"ruleId":"P4","level":"note","message":{"text":"No release approval gate: Deployment is automated and no gate that pauses it for a human is DECLARED IN THIS REPOSITORY\u0027S PIPELINE FILES. What was read: every file under \u0060.github/workflows/\u0060, \u0060.forgejo/workflows/\u0060, \u0060.gitea/workflows/\u0060, \u0060.azuredevops/\u0060 and \u0060.azure-pipelines/\u0060, plus \u0060.gitlab-ci*\u0060 and \u0060azure-pipelines*\u0060 \u2014 with comment text stripped, so documenting a gate is not declaring one. What would have counted: GitLab\u0027s \u0060when: manual\u0060, CircleCI\u0027s \u0060type: approval\u0060, an Azure \u0060ManualValidation@\u0060 task or an \u0060approvals:\u0060 block, a Jenkins \u0060input\u0060 step, a \u0060uses:\u0060 step naming an approval action, an \u0060environment:\u0060 paired with \u0060reviewers\u0060 / \u0060required_reviewers\u0060 / \u0060protection\u0060 / \u0060wait-timer\u0060 / \u0060deployment_branch_policy\u0060, a draft-release step, a \u0060workflow_dispatch\u0060 promotion, or a release-event gate. \u2605 What this cannot see, because none of it is a file: a GitHub environment whose required reviewers are configured in repo SETTINGS, a branch protection rule, or an organisation deployment policy \u2014 all of them real, enforced gates that live outside the repository. If yours is one of those, this row is wrong and nothing in the tree could have told us. Otherwise: whatever reaches the release trigger goes to production unreviewed, so a mistaken merge or tag is live before anyone can stop it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6c11e2dbd483b4b423b95ac61bfcc7af1d55351b28a20d2b1105b31cfe38cc60"}},{"ruleId":"P6","level":"note","message":{"text":"Changelog looks stale/thin: The changelog this check read carries 2 versioned entries, against a bar of 3. Counted as either the distinct \u0060x.y.z\u0060 versions it names (a link\u0027s target is not counted) or its version-shaped section headings (\u0060## [1.2.0]\u0060, \u0060## V14.x.x\u0060, \u0060## Updates in 8.0.x\u0060), whichever is the larger \u2014 so a log sectioned by minor series counts its sections, not its individual patch numbers. Entries recorded somewhere this check does not read \u2014 release notes generated at tag time from a generator config it did not recognise, or a log kept outside the repository \u2014 are not counted here, and this row is about what is re-findable in the tree rather than about how often you release."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c9a74c249fe67853238d9c15085f7f97d31f51bb82455046aa10c2cef82f67b8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: 126 blocking call(s) on async work (.Wait()/.GetAwaiter().GetResult()) \u2014 these waste a thread and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"2dedb76432d7d4f359386b5c37564c0f3de368182a77e31aa8af9ba73f9a4def"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Cluster/EpochBumpContention.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"550c81c894c1ca9d52bb45650fc503c07e531c46bd1160a02367fc50d98272c7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Cluster/EpochBumpContention.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"622c350b09c72bd372b87dda4870120be50f2364a9e33f19eec486dff5c68e4d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf65a76b92879483efbb8779dd515c507358eb8b94942a8cc65d7aa8cb08476"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"331ca28f7235d0fa43683b5389e433fbda1547ad1a085c2053edb007896605e2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b4ed8bfd7a3a8074ae4dd4e963213bf9f92afbd4f96593a83704da31bcb3b79"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"b926ec3b91610c4f8c40254bc9f9174e8df8c12f2b542bb91ab597fc2cd7e0e1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4e431bf3b128b298de212a15eba5e53c2811cdcb56ba3ebd1839bb54a987f9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5751e73da6e4923961c11ee2a9919bf37db626321cfb2a4ae4b7c812e7a4a21"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a9b32b00bc41a865d2d152b4f09e486f27d4d67da4fcd03f454bb51e91d9d39"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"737404bc259c6451dccf75c0ab2ea8ce892554bfb73eaa289fd94a19c51fafb6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"68a20977db1d26186709a55c4da57b4baf6cac24797929cc51cd56b5da0a3b13"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9f36b1f6572f74b31105f11ec58d5ee82633b687bcbce32b4d268d78fa4494"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"87f81908240bb77eced023566872f4cb538852ae1e6bb662d3ad7cada91345f3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c263bd7692d7ab8f067952c75166b2ed530251cbcc275101b511a43ea07b2a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d495ddffb9c654e503be1c9d7af84e0c400f77bae67e2b38e9603e00310ada"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"72c850995f2b656a887b68c52895c7181d06c5a332029254ea5bc58b481f4117"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6de8ec03eb70138e7278dd8b00175db7baee56c659041c6be66474bdebdcd87"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"dee3098354558e5ebfd4034e572212c91cb9d2d845b285379f3e6fe921b00fe5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca20883d4d355641afc0d6ef5902825b5011a98e3bd0da0cd412a0a982923df6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"be7046656f902544caafffb4d809b1da282dcb734a200c3564de39d209a93e77"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"6358963f4f74827eb973737a8ad3d5f97c889271af40dc8eaf1a4ddfd4ce7df0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe3a74d658da8ac3c3b153823808bb2a04b678b7683ce105983c4f1e4310cbc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0d0bdf327b8ed3865df506aa53780bf14db12eea1da2eddadf31c647eb22ab2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/AOFBench/AofBench.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fd786ae3a42c61d856744765538fd430852836b01e1be26dfbd4b67c93675a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/AOFBench/AofBench.cs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"532bdece95bef72691cbf108049dbd07510c9aa250b4cef6dabe34ef3ad8e4fb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/AOFBench/AofBench.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cddba9f61354f6168a5f5fe0c269ec94fdbabc4cd805fab696c271eaa56f9da"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/AOFBench/AofBench.cs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a01240647bd4008d03df407520705f778266438159b945d2fa310f8ff1f5c7b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/RespPerfBench.cs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"72da89b1a46f5fcaecb475d8587e18328e04f84b2aa88b85545409c06a468b01"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/RespPerfBench.cs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e056742b66f766b0dc18901cb26235b8f5c7355c0c28eaa0858065524eb951a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/RespPerfBench.cs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b6fc954de277cf61b2a08951bf898734941cb111b011c8bfc956695ba5f475"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/RespPerfBench.cs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"9db160c4da614f8606535308ea097016178e595cdf414fb334c566f40f322ac6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"277c2f5168837aa533ed1da68feb85dd610e39f3674776093d4c9c5ea4f34574"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"d336e069080ce8dec07c6fbd7b7425304aa4efc1e3f51088e261be386536b5b5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060WaitForEpochBump.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"c28c4666b1b10df74b31525f0da4941499d27b10cc586da751734f8807a5bc4c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":474}}}],"partialFingerprints":{"codehealthFindingId/v1":"e666c672cd253edcab2a5479f8520e7a3d0a20ceb5332d27dcd431ea9221efe3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcc71738bbcbf0490c68b9c38b331bc3649f5a6e52fc09bde9a8444d6f59e7bc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7a04f5b63a67a85dd54da4c986eb4e957591993c2866f2f15cb4beccb6a379f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ae5dd6a1e3e2646a8ff5ac8f1e046c3e75d5aec7a98f45803948226e081bd02"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waitCallback.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"47091960fb9106a6582799c16a845fff3ab9bdc8f11a1b462f307c3a63850b75"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea056ee4c651b94a92d631147fe88f2baf7fdc1e8b58b2a4b780874ed3b486f9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d2ca30e33306a8142d508d99047ae07e111ca06726f3d884159d57939a66da"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5bf8feeea145a706fdcd80673ef399841d0e896b761c013fb875b3f83e7c019"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fe0bbc28c3da931230b3d645aa5a472d18312e539a66588245d61718cd28e5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/TxnPerfBench.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1335135319cec05aa25f0d06ce90ed90902381b4e9ea7fb85fe6887077d06d2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/TxnPerfBench.cs"},"region":{"startLine":350}}}],"partialFingerprints":{"codehealthFindingId/v1":"bee0e0d85bea81b1cffeab389dbfe0d6138060c7cdf276eb4411b91f7ffaf408"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060handleAvailable.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/ClientSession/AsyncPool.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"a27fe2700d61096450a5d835634d4d6b22f702834d68ddb7720ae6333193799c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060throttle.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/ClientTcpNetworkSender.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8b347d84c984bc53a2d91317ac47f62650d2e8673e0589e1f8b1dd7c6b404c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"88a4b0dd4dac5d46caed8dc64eef9ff5604bc6071cc0dc6706688f2892a9b5f0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"7940c1bad06dfe101e1fe6ca3d2d37a8599aaf2c1777855e3183ec536eeb5c02"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/ReplicaOps/ReplicaDiskbasedSync.cs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfa9e27c300113454292c999961df10768d8bf3e419f81968e767073f29befc0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/AsyncUtils.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0701cdfdb366b39d6dc9fe8a1f3b406cd5c21aad4704daa74172ee0e816e8c2f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/AsyncUtils.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa3889e62c5f8a614082d97c4c5a3af30bf8fc6f0071e8c74e37f7c2c4dd6cd8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/AsyncUtils.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f26bbb088e209aa3ade956bc3d2e6ac6789ab3ef6d444eaf6aa48ff90e08a6f7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/AsyncUtils.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a17f3bdf5698a5504afc779b7c5b3c30e4e0522a13463b9537c4d3408e2b30a"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060throttle.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/GarnetTcpNetworkSender.cs"},"region":{"startLine":373}}}],"partialFingerprints":{"codehealthFindingId/v1":"743eb2e40713e39a961c49f053ae8f3389cc8a753dac5cea631ac84e41e7a159"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/GarnetServer.cs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d7a0f637fb89fe805edd3c010a05d1b45314c60b82199c1905f70d3a63ba299"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060done.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/ItemBroker/CollectionItemBroker.cs"},"region":{"startLine":773}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9f03afce5636bf1898c326f09f907b2bf512e0e9aafd49bb09e8124c12de12"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060asyncDone.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":1756}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6de8785789c3d7142897e24707dbb0010a25b0e10a379d10194a671809115d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060phase1Done.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"b85da8568f2a33bd919fbe830eab4e7056547cd04ab956fff8d0f9d6bdb71511"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060phase2Done.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":479}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c8ec519e09e1bee5e0d0d9a44e4d8fadd60a37166e08a76034815b22dcf90c8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060localFlushEvent.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":1755}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a380db8e02042504374a20aafda5585cff36ebb6b4857d5d77e60d5fa19ba65"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060completionEvent.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorScan.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"8641fc240bd484c146d598f52ff112e0e487967bcd009ecafe38b8a764b0f85f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060syncEvent.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/CountdownWrapper.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"01bc0b7d1fda58d11982c1fb9cc0a8452fd3835efcd8223218d1f939800ce82d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060handle.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":1168}}}],"partialFingerprints":{"codehealthFindingId/v1":"41ac811e2865d2ac86ae10f0fb33b7af0301c3d1d4250dc1f62b2658ca29da9e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060buffer.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectSerialization/CircularDiskWriteBuffer.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"21d0457fc970e7bd489911648a669324175fb86d7589ff13ebdcda88697c97c1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectSerialization/DiskWriteBuffer.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"de187fc464a2e8e0467ebf2bc3c4e31a410aa2261de390a3750c5e8bb598438e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectSerialization/DiskWriteBuffer.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"db07f44d1ed09803f0c74f4c068d38d1abcb654d9f0fd6b0ff1614eff4e0ed9d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060handleAvailable.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/AsyncPool.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"9656f7ccd15618382165aa1c2a648f4cef8d9a20a66aa67993239480e34e1a9e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060completionEvent.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/StorageDeviceBase.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"00d474184d09a3de9acfad6f3fb2f3f8339b80ec4fe066965095ff5e00cbeb25"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060completionEvent.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/StorageDeviceBase.cs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00267b62a390c395273c2c1126a50794979259b622a96825afc1cae960cee1e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060completionEvent.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/StorageDeviceBase.cs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"93ff162840f796eeafc57111589a2585923894fdc6120f4d95e67e0df6dcbea5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/IndexCheckpoint.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"501c785c37113231cb1106d8b0b28855ec7237fb79c6c3ade12843f12b78b3a4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060flushEvent.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/HandleOperationStatus.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b88976ba1457de9b0635504ce3fbf6e5aabd8fba3c4419d1be9661ca0a04d8f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f10a7c3582a55d06e1d67093ddde5a42a3fcf3506d36eb0018dbfe2dcd027a1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060flushEvent.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.Chunked.cs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d9616fae10d1997d5b8721564bd2a1d8b93f766a4ef98620e3a6a2c0f51fa75"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"29ce3cb8760dde0d2450676721e56bd1f3cdfb0ac61b075ec02831313fa712ef"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060flushEvent.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1451}}}],"partialFingerprints":{"codehealthFindingId/v1":"e378d4f00be1f5d7cf3ccbcf1e5e42328ebda67d5be78abab21d807f7addb8c1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060flushEvent.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1495}}}],"partialFingerprints":{"codehealthFindingId/v1":"72f7007f9408ed066eb2755b3a0691c0e6f218c1a17cade34b6eb4f3543b6f3e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Utilities/FlushCompletionTracker.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a49bb6426e04c795f48c6dd9cc888e519ebb54f651b455f205af940f99de8af"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"a308617e28d5c427ecf5d9364d1b2a9e89373955c4677e5dd8d99eb1de5e5417"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"f67961429c8404b1f90e37e147a90db7993614791c3f14135fffee761d522a6f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75a49b6fb3cd9061781198f7536df74d7ff6fe6bf6ee2122b5effc8a27e6da2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageNamedDeviceFactory.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfe66597d39f571df8f3e5d69dddeff0cf627a725b127b1e1f308f6688abcf83"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageNamedDeviceFactory.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc70513087a5c5a6716ca661d94083ee0a6c1c22ab2aee6c71fd42dc470f0cea"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageNamedDeviceFactory.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"fff21991adf63795982f1a0c820ec1635e10893f9ef9d4e16dc5c599b22a0a80"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageNamedDeviceFactory.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1d136165bbf945f99118d8612e013bce57bbf22b9a02960779273439cb21829"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageNamedDeviceFactory.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"01aa6fda6d09451d0868e788c337894594ad6d8554892b76b5c99c2d6b6f87af"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageNamedDeviceFactory.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c794efdcb801f027b3d6fcf22db315921f1287ff3597aa10b33556626d08911"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/BlobManager.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41b38e5e1fd753d0fff0a78e0451213f3fc769ba3b002162b6792379df36e3e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060NextLeaseRenewalTask.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/BlobManager.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"902d82befefe8674d24f55a6402d23b4d3acaf54dbf10113b8bff7e2e96fcc5e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/GarnetClientStress/SimpleStressTests.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d3a5c7e20256e1bdb9a9f2de645bc852a58a859149c5a873d1ea93d6b258321"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateRequest.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"3505cc1912f95d5079282c8bd32f2ddf53d9b15a13337a2718c2306a10baa1f2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateRequest.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"e58c9196a35949668797614f67bd07764394657c158179cd34cd5930b037c250"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateRequest.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"4569d10f63c2409e4153527c44a654525589879a9290b43fcad66d87a841e9a4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateRequest.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f3344f8e1e504b34816d990f903e6041d827362ffd74010de47d59288b4af9d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateRequest.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ba6270cf157005d714bf4437a15140de257b47c571a033e2105f8ab32d85e4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateRequest.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c9d03a30e4576cb11597a9e43285f2e4d3a1c9c172390b313719e14dc46e493"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateSlotWalk.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d05ca057f755f2dc7fc46350e188b7deb58b9c80e2ff965cbe61cbee98dab7d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateSlotWalk.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a043e5a81b56563557b92b0eedc3944ba1e941d3bb996627aec0883025416d2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateSlotWalk.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"585adc62187e146f032f261bdbdf8a02b28b5c55200d464d5f038535547258fb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateSlotWalk.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8f7cf93109e35d2fbe95dfd09693c7a14e1e4fe557f0cd5369e4e2eab43808"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateSlotWalk.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d7fbf740a7db8dcbdeb4a4651b14df88fe960b048758408db7f04bdc71abe6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateSlotWalk.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd281375edf75921139ac4dad58b9459189029346a6fecfd3e05b28b2f739c2b"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateSlotWalk.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ac43e999930568aca4f07ffa6936fb5dd930707ebaaaed105098ecc0ace0703"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/GarnetClientSamples.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"46f671855acc144efd91bcfdef44af74082d8ccc20573664f263f53cb8495431"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060e.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/GarnetClientSamples.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"2047b4183c6029c368da05f4e9349b6c4dc94caa3167bc73e810741eea5c2dfe"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060startEvent.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/Device.benchmark/BenchWorker.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbf4e4fdf408ff34f2a34a4780cf5a3ee3652d5bf138c320b5f54141fc3a1591"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060done.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/Device.benchmark/Program.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"775e434e17fb813c757cbc8311ee1a0cf194eb13560950dc154a85a75a4af065"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060ready.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"35b28625281956f6f355a2e80c57e5481abab23665a1ad4f0ba899333a01ff16"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/FixedLenYcsbBenchmark.cs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dd1023513cf1f32a5e4096cfaeec7ac481850e37d314ad682712acf2cc1ca75"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/FixedLenYcsbBenchmark.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"860c469d7c4c375f7eff517242d219cb02ff59f2823def0f779600ffdc2e4164"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/FixedLenYcsbBenchmark.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ceecf4297a8ad481c6ccab9dff5377e9db8c009007dcc9f7a553e1bb6f3e48"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/FixedLenYcsbBenchmark.cs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3409643cf1c8d996e9bd78db5f6d220756c28bd18367645328f9cd80b53ea45"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/FixedLenYcsbBenchmark.cs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3564cdf664bf86148bc29efbc43f4f8016f985c39daa08e6559744bd630449"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ObjectYcsbBenchmark.cs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e06fb1d0fe222ba201020be9b158bb8b845191a37cfea334f8d4de600332ca2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ObjectYcsbBenchmark.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"37b71e98d5817d2be5f09fc93dbf7e8a50f63062aea373569a11bcc0a5160d36"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ObjectYcsbBenchmark.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"444aaa4ab54fbb907c81a69c0a958d9118356ec39b864aafc4bbe3a96a646ae7"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ObjectYcsbBenchmark.cs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5be89e981ba1185c8c1c4fc44e47b5cc8c4c3f3951b13938aa55ca582a8a4b2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ObjectYcsbBenchmark.cs"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c0d430dcf4625843b06523377b0786bde15136a4a03baa308c0a40adb86ece4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SpanByteYcsbBenchmark.cs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2b6afe780e1d7012c49d9969245ec949f66058767f1e1e16ef316d3db907082"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SpanByteYcsbBenchmark.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98b32ab53288f2b703f4d6fe3af36ff7a9061e9234439f771d8b50faddd6843"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SpanByteYcsbBenchmark.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"b92f7dd97ca1ec8fc4daf1285cbd4f11b3fd96b7fa5aadc29b67f90758192d62"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SpanByteYcsbBenchmark.cs"},"region":{"startLine":434}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1ad2fcaf235dc84cd8db71949e3f06eea91193c14b3a19bc224e40a73ed4200"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060waiter.Wait()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SpanByteYcsbBenchmark.cs"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"527ada5bc9ac9a2129ee18ffbdcd99a61477000014084f4ca21feb945d094fc3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/TestLoader.cs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"729c39add1b57de1716e4a0408636ad5d7a1a97a0c0df8200e1e54db048c35e8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060.GetAwaiter().GetResult()\u0060 blocks this thread until the async work completes \u2014 it wastes a thread-pool thread for as long as the work runs and can deadlock wherever a synchronization context is in play (a UI thread, or a caller that has one)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/TestLoader.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ce299cd8931418395c7d49b27cdec2149e9a58df6dd33a027a5853b4f878c95"}},{"ruleId":"S1","level":"error","message":{"text":"Password hashing without a KDF: \u0060SHA256.HashData(\u2026)\u0060 puts the password \u0060password\u0060 through SHA256, a fast general-purpose digest, so a stolen hash is guessed at billions of candidates a second whether or not it is salted \u2014 no key-derivation function (PBKDF2/scrypt/Argon2/bcrypt) stands between the password and the stored value."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/ACL/ACLPassword.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"4502b570c41ddce005f88a7621429ff18569b2de6d253998b3742e4308bed015"}},{"ruleId":"S1","level":"error","message":{"text":"TLS certificate validation disabled: \u0060RemoteCertificateValidationCallback\u0060 is assigned a callback that returns \u0060true\u0060 unconditionally, so every TLS peer certificate is accepted \u2014 including one an attacker presents. Chain, expiry, revocation and hostname are all skipped, so an attacker on the network path can present any certificate and read or rewrite the traffic \u2014 the connection is encrypted to the attacker, not to the intended host. Delete the override and let the platform validate. If a specific self-signed or internally-issued certificate genuinely has to be trusted, pin THAT one \u2014 compare the presented certificate\u0027s public key or thumbprint against the expected value and return \u0060false\u0060 for everything else \u2014 and scope it to the single handler that talks to that host rather than to the whole process. If the override exists only to get past a development certificate, gate it on a build configuration or an explicit opt-in setting so it cannot ship."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/GarnetClientStress/StressTestUtil.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"431c8e8ee8ee4357aa02a749624cde83d743184af877918e948c19fd83216bdb"}},{"ruleId":"S1","level":"error","message":{"text":"Cryptographic key material is a compile-time constant: The value is the token-signing key and is a compile-time constant, so the secret this operation depends on is published with the source. A key that ships with the source is not secret: every contributor, fork, mirror and released binary carries it, so anyone holding the repository can decrypt what any installation encrypted, and there is no way to invalidate what was already protected because every deployment built from this source shares the value. Where the constant is a password salt the consequence differs but is no smaller \u2014 one global salt means precomputation amortises across every installation, which is the property salting exists to destroy. Read the value from configuration, an environment variable or a secrets manager at startup and FAIL FAST when it is absent, so a missing key stops the process instead of silently falling back to a shared default; treat the committed value as disclosed and rotate it rather than only deleting the line. For a salt, generate a fresh random one per password and store it alongside the hash."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Operations/OperationsBase.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dfc3f623d7c064b2605c9f722497f250b1110dc91041904f817faa6feb1e0d8"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Cluster/EpochBumpContention.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83bb5e1dba648582b46b03387ca5ec0b9938b7f2c60a0280499ac9cde869657"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Cluster/EpochBumpContention.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"a80fd50b52eb0b1ccac91c78486ae42164fab91a20ee8efd94999ac5e30931b1"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":623}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a399ba2a6851ca014251c09a664d9901ad2dfff3abddf8ce253311223dda65e"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":635}}}],"partialFingerprints":{"codehealthFindingId/v1":"db396982b9bbb35d375a59771dc15f60c820c653bda0ecaeb7016db4047ef2c0"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d81bc829eb3f2b042e6105665125225b72ab266f261b56c73698875878a4b02"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"cef91e33e09d7da6b815d4e15f2d2b811486390851d561ed3b4f8bdc0718ac70"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":698}}}],"partialFingerprints":{"codehealthFindingId/v1":"9570190f44ce57568cf88f8398ccf607018a387e0b4f417733ab653e8b17d884"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060Task.WaitAll\u0060: \u0060Task.WaitAll\u0060 blocks this thread until the tasks complete \u2014 sync-over-async: it can deadlock under a synchronization context and it parks a thread for as long as the work runs. \u0060await Task.WhenAll(\u2026)\u0060 instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":714}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a8265e3e7c5f8136b0d9ca0d53d93f4c03da876e22890fcfee9014aab0cb411"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":320}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0d71ee3e2c80a7804dc0926ce6542ba236aeb8daeabca96a8b7408ef6d5abd"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"9945a49859c7855f035f6a7f83cf5a6a2aad4c270790a42991307e27111021e9"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d7caa2a6582d70f503c0379e62df86ad404d2bd6163fe42ebf24263ff328ea0"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":391}}}],"partialFingerprints":{"codehealthFindingId/v1":"e07cf67fa2e082854bba7a7f6701244ff780bfa98d564c46d153212b318895b8"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":404}}}],"partialFingerprints":{"codehealthFindingId/v1":"59cb1bf30fa56ea0a7bb1a62c5158251ba6aaecc058fc9f32d64c01967af06fd"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060Task.WaitAll\u0060: \u0060Task.WaitAll\u0060 blocks this thread until the tasks complete \u2014 sync-over-async: it can deadlock under a synchronization context and it parks a thread for as long as the work runs. \u0060await Task.WhenAll(\u2026)\u0060 instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Online.cs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"cae5e7401b5dd6f72a8b79b5ea05ba85d652f5943b1b8de2915dbd293fa1b85f"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e2381b02ce911368fa41191793f37f055cfaf059a7e4a7b4b38b1acf608271a"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afa3fd7825eb4239bfcffae3099d4ddfaeae457aba0cb1e023840141dd5864e"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2e05b4ad5719643d50758490144b750145673788750c2926aecef3db93fcc58"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"70395b31279565d7671c67d57fe79e0075b5be79713661adeca00d611c36cce1"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdefcd13a61715b511b9fc99addd53de14e67b2394176dacfd91cb4df44b53ed"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"489276ccdd3ecae2aafc286678eb217d6ecc420c133165b9ffb237b85c38ce61"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"d949fbcdeb362800c92f3cb483104b9cfb54563a043c5b04e40dce15c00a3872"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":458}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e936c403abd7507742ee3317d993c231a1a1383516a64eb241352b4da23bb42"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060Task.WaitAll\u0060: \u0060Task.WaitAll\u0060 blocks this thread until the tasks complete \u2014 sync-over-async: it can deadlock under a synchronization context and it parks a thread for as long as the work runs. \u0060await Task.WhenAll(\u2026)\u0060 instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"250a11872769c4e5ad3807b316100cdb3fede012bd6b26c25c9202c2ccbd7c0b"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"abc8bd473b88163fdf96bf25f871f464c1cca89cf38c690f7ff8a46b5d092a0b"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060Task.WaitAll\u0060: \u0060Task.WaitAll\u0060 blocks this thread until the tasks complete \u2014 sync-over-async: it can deadlock under a synchronization context and it parks a thread for as long as the work runs. \u0060await Task.WhenAll(\u2026)\u0060 instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1929be00c85676dc199af7a8dfbb74d78d7929e4f14b09154789263a0aea18d"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":864}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f344ee15742a2c4632c905f0f0c9ba55f9080b21876486f8b3b75bd64da17ba"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060Task.WaitAll\u0060: \u0060Task.WaitAll\u0060 blocks this thread until the tasks complete \u2014 sync-over-async: it can deadlock under a synchronization context and it parks a thread for as long as the work runs. \u0060await Task.WhenAll(\u2026)\u0060 instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.WorkerPool.cs"},"region":{"startLine":869}}}],"partialFingerprints":{"codehealthFindingId/v1":"061858822473e28542c096237ed9e48fde13e0d6b5516a5f3c8880543214cd67"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060Task.WaitAll\u0060: \u0060Task.WaitAll\u0060 blocks this thread until the tasks complete \u2014 sync-over-async: it can deadlock under a synchronization context and it parks a thread for as long as the work runs. \u0060await Task.WhenAll(\u2026)\u0060 instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/RespPerfBench.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"892ccb62c7513e849dbc9529753ab13212c466ca2ea3833f495830f1653bf541"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060.Result\u0060: Reading \u0060.Result\u0060 of a task that has not completed blocks this thread until it does \u2014 the same block as \u0060.Wait()\u0060: under a synchronization context (Blazor, a UI thread, classic ASP.NET) it deadlocks, and on the thread pool it parks a thread for as long as the work runs. \u0060await\u0060 the task instead (make the caller \u0060async\u0060); where a synchronous entry point must stay, keep the block in ONE documented bridge with a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/RespPerfBench.cs"},"region":{"startLine":207}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e4db423d54a682334be34ffc83c1ed2c089f326997e9a6a961f15aece39076"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060Task.WaitAll\u0060: \u0060Task.WaitAll\u0060 blocks this thread until the tasks complete \u2014 sync-over-async: it can deadlock under a synchronization context and it parks a thread for as long as the work runs. \u0060await Task.WhenAll(\u2026)\u0060 instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/RespPerfBench.cs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4d17192a883549f5a2f8c4b8492797d3732070ea42fee5ebfec89e75a06d1c"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060.Result\u0060: Reading \u0060.Result\u0060 of a task that has not completed blocks this thread until it does \u2014 the same block as \u0060.Wait()\u0060: under a synchronization context (Blazor, a UI thread, classic ASP.NET) it deadlocks, and on the thread pool it parks a thread for as long as the work runs. \u0060await\u0060 the task instead (make the caller \u0060async\u0060); where a synchronous entry point must stay, keep the block in ONE documented bridge with a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/RespPerfBench.cs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"c80b92032ae77dbece33f8b00ae9d8955ec20adc128b684b2bfabb9edf969528"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060Task.WaitAll\u0060: \u0060Task.WaitAll\u0060 blocks this thread until the tasks complete \u2014 sync-over-async: it can deadlock under a synchronization context and it parks a thread for as long as the work runs. \u0060await Task.WhenAll(\u2026)\u0060 instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/RespPerfBench.cs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"5281e7f27ced6e7255ea358ad16638394f89c4f607a19d466662943730da49a2"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060Task.WaitAll\u0060: \u0060Task.WaitAll\u0060 blocks this thread until the tasks complete \u2014 sync-over-async: it can deadlock under a synchronization context and it parks a thread for as long as the work runs. \u0060await Task.WhenAll(\u2026)\u0060 instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/RespPerfBench.cs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"66d8d1a923f1b6ac7a8138b59c231e413e4a7d23b31dd16a6900d0f6ae36b5e9"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc30036cc3001912f42dc88988ce1990a175d4f325962cd3ad06f57d01346c1"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0232b3a3345fbf187197108ec657f7f28b78299fe6528f0d4d4e014b9a0d20d"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OpRunnerGarnetClientSession: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e003c46e7d23a982e8c5e9bf98ef8d79a95abcff35cb1eff829ec05671cba37"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060ManualResetEventSlim.Wait\u0060 inside an \u0060async\u0060 method: \u0060ManualResetEventSlim.Wait\u0060 parks the thread until another thread signals it \u2014 inside a method that is already \u0060async\u0060, the wait should be awaitable (a \u0060TaskCompletionSource\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, or \u0060WaitHandle\u0060 bridged with \u0060Task.Factory.FromAsync\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":580}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb3c551432e2efe73ee40160f232fae3221fea5c78db76d72454fc3e29f5fe80"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OpRunnerGarnetClientSessionParallel: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7c14e2bec0fe8f29ecc3aadb3dd7d883dc10fb087c16b4477e3bbc90707d70"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060ManualResetEventSlim.Wait\u0060 inside an \u0060async\u0060 method: \u0060ManualResetEventSlim.Wait\u0060 parks the thread until another thread signals it \u2014 inside a method that is already \u0060async\u0060, the wait should be awaitable (a \u0060TaskCompletionSource\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, or \u0060WaitHandle\u0060 bridged with \u0060Task.Factory.FromAsync\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"97154551bf09de934730090bcc3cce18cc74b259b667f5b8182bc9d11dd59d63"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OpRunnerGarnetClient: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fb1f34f1299cf115d6189e2d083b99276ee2876f4909a37bc46749887e16af"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060ManualResetEventSlim.Wait\u0060 inside an \u0060async\u0060 method: \u0060ManualResetEventSlim.Wait\u0060 parks the thread until another thread signals it \u2014 inside a method that is already \u0060async\u0060, the wait should be awaitable (a \u0060TaskCompletionSource\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, or \u0060WaitHandle\u0060 bridged with \u0060Task.Factory.FromAsync\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":866}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b6744da885132c4192a5f7c39de29f657a3b085ad2e9ed6fc2d8f777f575e3"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OpRunnerGarnetClientParallel: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad891d15f06f249787d310e7b125cbf0b9d54daf1daf348d50ef894480c1ad04"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060ManualResetEventSlim.Wait\u0060 inside an \u0060async\u0060 method: \u0060ManualResetEventSlim.Wait\u0060 parks the thread until another thread signals it \u2014 inside a method that is already \u0060async\u0060, the wait should be awaitable (a \u0060TaskCompletionSource\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, or \u0060WaitHandle\u0060 bridged with \u0060Task.Factory.FromAsync\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":947}}}],"partialFingerprints":{"codehealthFindingId/v1":"26caede9a4572e237618e3e8f3ace7b8baf17591f0ce9d31413bee60196afe41"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OpRunnerSERedis: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddf154e6ed43d1dd2b430404f2d4696dbde50215ffc8a6928963061f00dca10f"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060ManualResetEventSlim.Wait\u0060 inside an \u0060async\u0060 method: \u0060ManualResetEventSlim.Wait\u0060 parks the thread until another thread signals it \u2014 inside a method that is already \u0060async\u0060, the wait should be awaitable (a \u0060TaskCompletionSource\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, or \u0060WaitHandle\u0060 bridged with \u0060Task.Factory.FromAsync\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"9aa2f0272fda19b8ab9f6996a058fed6b84dafff86ea2468e5a76121130c4d9d"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: OpRunnerSERedisParallel: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"f28c6ef2198e485de20b661a7ae54a3ce45419060a09467046bbd8fe09c605bf"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060ManualResetEventSlim.Wait\u0060 inside an \u0060async\u0060 method: \u0060ManualResetEventSlim.Wait\u0060 parks the thread until another thread signals it \u2014 inside a method that is already \u0060async\u0060, the wait should be awaitable (a \u0060TaskCompletionSource\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, or \u0060WaitHandle\u0060 bridged with \u0060Task.Factory.FromAsync\u0060)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":1109}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e80685bf2933ea086c9464ab181163deb5d8ad8006014b79b532bf21f30caa"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e3dcb84b72766dabcbd5d86e7fd191f0bee90760b8195a23852bffc03ca35ea"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a85de7927918a81d987a0d4b1392146b6c9570c8fe06309240f8ba742bcbe2a"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060ClusterUtils.WriteInto\u0060 inside an \u0060async\u0060 method: \u0060ClusterUtils.WriteInto\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/ClusterManager.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ea7353c63059a266dc52f1889e677efadf5699308f3cf19f739231b743a17a7"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060ClusterManager.FlushConfig\u0060 inside an \u0060async\u0060 method: \u0060ClusterManager.FlushConfig\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/ClusterManagerWorkerState.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"489597efda9e33101057b54a20032257a1b87c636e9f793d86da8b1647b05a2c"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060ClusterManager.TryStopWrites\u0060 inside an \u0060async\u0060 method: \u0060ClusterManager.TryStopWrites\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Failover/PrimaryFailoverSession.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"32aada979859cc33c6e896d1df557b9fa8c7243f2cb6352282fb7d4a81aa732d"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060ClusterManager.TryTakeOverForPrimary\u0060 inside an \u0060async\u0060 method: \u0060ClusterManager.TryTakeOverForPrimary\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Failover/ReplicaFailoverSession.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"db0dce9b0b848c86a7632160b930216513a16a61a5164d3e259c87a150ef6d00"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060ReplicationManager.TryUpdateForFailover\u0060 inside an \u0060async\u0060 method: \u0060ReplicationManager.TryUpdateForFailover\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Failover/ReplicaFailoverSession.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf7f17bd0d6996847e1475b1da85281d632ab29aef361b7e5ffa4b96e437592b"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060ClusterManager.TryMerge\u0060 inside an \u0060async\u0060 method: \u0060ClusterManager.TryMerge\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Failover/ReplicaFailoverSession.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"d93d467a78b706a353d0ae798b5f2082e66010b772628d950b863268ee0dd0a6"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060ClusterManager.TryMerge\u0060 inside an \u0060async\u0060 method: \u0060ClusterManager.TryMerge\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Gossip/GarnetServerNode.cs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"473ccfa8a9baa7351a5ee86deb9488856a4e4469efc74edb49ec9330b5c8d17f"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060ClusterManager.TryMerge\u0060 inside an \u0060async\u0060 method: \u0060ClusterManager.TryMerge\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Gossip/Gossip.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a6c3dc876e7868922ec21d0dc2452f1d80dc7522d6e5128e8141206d09c7497"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060MigrateSession.ResetLocalSlot\u0060 inside an \u0060async\u0060 method: \u0060MigrateSession.ResetLocalSlot\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrationDriver.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"8751c59c1290be15c8cb1db202c595e421f900d9415ddb4dc18af6cdb2b0cb7b"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060MigrateSession.TryPrepareLocalForMigration\u0060 inside an \u0060async\u0060 method: \u0060MigrateSession.TryPrepareLocalForMigration\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrationDriver.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84c1869bbd4306c9fec8460bbe71b63d2eb8015bb2d6de397f05c7a1e823727"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060MigrateSession.RelinquishOwnership\u0060 inside an \u0060async\u0060 method: \u0060MigrateSession.RelinquishOwnership\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrationDriver.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"13e6d6628d99a2e03ba9348e7ee2880e552ac0ac4fb305d5bf097ce47df1295b"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060Thread.Sleep\u0060 inside an \u0060async\u0060 method: \u0060Thread.Sleep\u0060 parks the thread for the whole delay: no other work runs on it, and under load the pool must grow to make up for it. \u0060await Task.Delay(\u2026)\u0060 suspends only this method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/DisklessReplication/ReplicationSyncManager.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"bedf3805a58044d52591837a7bc1926aac6be8297176fb15a7c2f146fd171c0c"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060ClusterManager.TryResetReplica\u0060 inside an \u0060async\u0060 method: \u0060ClusterManager.TryResetReplica\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/ReplicaOps/ReplicaDiskbasedSync.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"df48a518414603eda1a7aae6c8ffe46297d7e0bf50054e1ac7ebbacf80b1f5d5"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/ReplicaOps/ReplicaDiskbasedSync.cs"},"region":{"startLine":301}}}],"partialFingerprints":{"codehealthFindingId/v1":"726ae9d1f1e42fb0b964ed6ac0e66649ed16ae3555f1b319a7c88f4012a4d3c3"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060ClusterManager.TryResetReplica\u0060 inside an \u0060async\u0060 method: \u0060ClusterManager.TryResetReplica\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/ReplicaOps/ReplicaDisklessSync.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"1734ac7a23c5fb7bb6d0ae4059941ebc48a16bdf54d87cc8ef1a2b89d1264b3a"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/AsyncUtils.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"637f288ea5752046f3e21c1c0d584d3d17a1d8362b144e54b950973489c62a0b"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060.Wait(\u2026)\u0060: \u0060.Wait(\u2026)\u0060 blocks this thread until the task completes or the bound expires \u2014 sync-over-async: it can deadlock under a synchronization context and it parks a thread while it waits. \u0060await\u0060 the task (with \u0060.WaitAsync(timeout, token)\u0060 where the bound matters)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/AsyncUtils.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb9b235b4d4e580de4240b85173457ab08b1ea46255b0c8b8fc9962871350192"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/AsyncUtils.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fdcaecc839108be96185753b672d9570753e761b353642b64f707b33703073a"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/AsyncUtils.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a23cbb82d83408561d91c66d44dac9c0369dea26f45263d15ea97153ccc514"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/AsyncUtils.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7eb9078efc3d0c1068fa89deafb49d32a208169e86ab1b10d293ce182e5c855"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/GarnetServer.cs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f18492dbe6e5d47b5508045bee762c680a1d785244acc1a8293d3b2efabc73e"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/IndexCheckpoint.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"3bdb28e9183332f23fd079ce95484c77b45033b1e2dc7b39c2841eb34fd683be"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteKV.Reset\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteKV.Reset\u0060 is a synchronous helper that blocks (\u0060ManualResetEventSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/Recovery.cs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"762d49fbfa3c4544f002cdb3dad45a6205adbaef91327a5c80aebba3c7c6aafd"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteKV.ReadPagesWithMemoryConstraint\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteKV.ReadPagesWithMemoryConstraint\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/Recovery.cs"},"region":{"startLine":805}}}],"partialFingerprints":{"codehealthFindingId/v1":"0693d9920dd983832373304c105412ea771773fd8b2d248340bbaeb442bf9d32"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteKV.RecoveryLoadObjectsPass2\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteKV.RecoveryLoadObjectsPass2\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/Recovery.cs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e1776037edcfb02506bd7fef825f0efa8416f680b74e7b8d03a135d22072930"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteKV.TrimResidentPagesToBudget\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteKV.TrimResidentPagesToBudget\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/Recovery.cs"},"region":{"startLine":863}}}],"partialFingerprints":{"codehealthFindingId/v1":"59b52827a5015238054858ff889e4b346d141750a3fca5681545875d836fe0ba"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteKV.RecoveryLoadObjectsPass2\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteKV.RecoveryLoadObjectsPass2\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/Recovery.cs"},"region":{"startLine":1044}}}],"partialFingerprints":{"codehealthFindingId/v1":"36660d6e88250a0f1d73fbfbb42b26d634abd8b5ab8c9fcb12c66d00a070b53c"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteKV.TrimResidentPagesToBudget\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteKV.TrimResidentPagesToBudget\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/Recovery.cs"},"region":{"startLine":1048}}}],"partialFingerprints":{"codehealthFindingId/v1":"a771cf5d230d5ef400219fc2efbb247270f99afd23d73dcebe08f38402b45ecd"}},{"ruleId":"X1","level":"warning","message":{"text":"async void method: LaunchWorker: \u0060async void\u0060 can\u0027t be awaited and its exceptions crash the process instead of propagating. Return \u0060Task\u0060 \u2014 or, where the delegate contract requires void (timer/event/callback registrations), make this a thin void shim that awaits a Task-returning inner method inside try/catch so exceptions are contained."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/Revivification/CheckEmptyWorker.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"37485117157b9126fa38c76a9f8f6fa04aafc2c1c7f86d807ceca5edcbe09153"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs"},"region":{"startLine":291}}}],"partialFingerprints":{"codehealthFindingId/v1":"c481fee267b42e9bee03f87ee2b259eba77974b36f2e24a61a7560980328da14"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"41406cb774a1cc4ef99fc6b792f63c34391fb9dfc714b78060639f32d6ab5486"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteLog.TryEnqueue\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteLog.TryEnqueue\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1694}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ca7cd4f734c288884ce0c660905b82bb282e354498b2e31022526fe09f55c5f"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteLog.TryEnqueue\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteLog.TryEnqueue\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1733}}}],"partialFingerprints":{"codehealthFindingId/v1":"36a45d0798cd02870499372e8f25e4ac5c87937e2b6c22a306c172c4515d67ae"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteLog.TryEnqueue\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteLog.TryEnqueue\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1813}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdea14e335aeb874af39cd7ef904ed18bf213b40cf05f95a13786638f88cd25"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteLog.TryEnqueue\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteLog.TryEnqueue\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1854}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d676cf212b2a9bc336ded501e10f6de5175299ea31b9dc41f5e7eeaf6015fb1"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteLog.TryEnqueue\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteLog.TryEnqueue\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2225}}}],"partialFingerprints":{"codehealthFindingId/v1":"6583e41a5ce7d89844ab2f97308d760162cf1bd33f356ce36269ea03b7ea31b4"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteLog.TryEnqueue\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteLog.TryEnqueue\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2281}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff989a47923052b5b782ab9138d6844727f8e432e96566d15ef2a2ba16b99d9c"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteLog.TryEnqueue\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteLog.TryEnqueue\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2394}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b932accd38bd33fc869930e0a12b0471337ba94d48259ffb2c699103ad5eaa7"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteLog.TryEnqueue\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteLog.TryEnqueue\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2452}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd44489d78e0410ffa741b69221f495c77cfeed9424b85bd7a71d708518b73f"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060LightEpoch.Resume\u0060 inside an \u0060async\u0060 method: \u0060LightEpoch.Resume\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2644}}}],"partialFingerprints":{"codehealthFindingId/v1":"75fb80f9d78bd24616940c76aaff7cb4e2b76e0ffa5d67d17fa6cc31fc4bc216"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060LightEpoch.Resume\u0060 inside an \u0060async\u0060 method: \u0060LightEpoch.Resume\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2675}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7db7f12007b7bfd5a762802e5411b7fd6f9ee3e20b0f6b547c2bc8ccbcd543e"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060LightEpoch.Resume\u0060 inside an \u0060async\u0060 method: \u0060LightEpoch.Resume\u0060 is a synchronous helper that blocks (\u0060SemaphoreSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2704}}}],"partialFingerprints":{"codehealthFindingId/v1":"486fd7c2cdee61496de1e57a33d035456fedad01978835ad63bce34c453452b4"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteLogScanIterator.ScanForwardForCommit\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteLogScanIterator.ScanForwardForCommit\u0060 is a synchronous helper that blocks (\u0060Thread.SpinWait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2989}}}],"partialFingerprints":{"codehealthFindingId/v1":"b331eb181a36cc46cc0f4ae0d15428cf421b07a90bf5f83fd01a1c1d8d0f6523"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteLogScanIterator.ScanForwardForCommit\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteLogScanIterator.ScanForwardForCommit\u0060 is a synchronous helper that blocks (\u0060Thread.SpinWait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":3090}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7f93343b9781d796081f1ef8c8c27f6e13e1d27ef88c865bcf7fc40fba074eb"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteLogScanIterator.GetNext\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteLogScanIterator.GetNext\u0060 is a synchronous helper that blocks (\u0060Thread.SpinWait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3b06df7a42bfde2b4a13e3288487cb4991006fd462ab6f7a95b80397d21ff9f"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteLogScanIterator.GetNext\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteLogScanIterator.GetNext\u0060 is a synchronous helper that blocks (\u0060Thread.SpinWait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"18d4ec17944766a2a220835b80d54c01e148e2a8ac8435b1a15cdaceaae0daa1"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteLogScanIterator.TryConsumeNext\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteLogScanIterator.TryConsumeNext\u0060 is a synchronous helper that blocks (\u0060Thread.SpinWait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"2424221487804a0aa79a0d36920d84a8c79faed56e6b8bd38346817291dc3890"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060TsavoriteLogScanIterator.TryBulkConsumeNext\u0060 inside an \u0060async\u0060 method: \u0060TsavoriteLogScanIterator.TryBulkConsumeNext\u0060 is a synchronous helper that blocks (\u0060Thread.SpinWait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"b723ee583cfc3eb0e3c40ee4b663c584dbf710bffa4ee45577e0905ff5fca9c9"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"204991900adcb6a479b5650dbba6255649ebf1b2dcc922ecca4f98892f8ca789"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4575e96ce7801f5d7e51cfb8077c147356f9ed4b3b4f40f9db00a6a9138f7cb"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 wastes a thread and, if the task needs a context this one is holding, deadlocks. \u0060Dispose()\u0060 returns void by contract, so it cannot simply \u0060await\u0060: signal the work to stop first (cancel its token, set its stop flag) so the wait is short, give the wait a TIMEOUT so a hung task cannot hang shutdown, and \u2014 where callers can use it \u2014 add an awaitable teardown (\u0060DisposeAsync\u0060/\u0060StopAsync\u0060) beside the synchronous one and let \u0060Dispose()\u0060 remain the bounded fallback."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"694eb3b5b3de6600702ec302d5978bf24d6170df7d6630a0f435ae812b08799a"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageNamedDeviceFactory.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"00272f2a9c7e0d68c192f2acacf7716042c282e9e66edcc916a4fc7216a68d59"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageNamedDeviceFactory.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"f47492b5a79ad6a5ca76df4a56f2542b487a0204525ac503546043a1a4b184a1"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageNamedDeviceFactory.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"74b105813d9b89c59b298611cd95765e4f4170f7884d0b3cac7b168227fc60c5"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageNamedDeviceFactory.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fee988a9961a13c524fd22ce4658e10c8a1109274caf6ce043d449d2d51fd6a"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageNamedDeviceFactory.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a6c729ce81096805da7eaf966fd353e3ad501ba46ad8f1dd6a5501248956c6a"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageNamedDeviceFactory.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f965286b28dc3f480a95959033a81313a21481a1c1991bf9f38d5b2ea73567c"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/BlobManager.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd55557235172284d0d10ebbfa0b396bb5e1ed6376223d9af13f333a01f059a2"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/BlobManager.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef1d98069001909fe1963e581b90feb8f9284f533d7f163cf922168be24740fa"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk) through \u0060.Result\u0060: Reading \u0060.Result\u0060 of a task that has not completed blocks this thread until it does \u2014 the same block as \u0060.Wait()\u0060: under a synchronization context (Blazor, a UI thread, classic ASP.NET) it deadlocks, and on the thread pool it parks a thread for as long as the work runs. \u0060await\u0060 the task instead (make the caller \u0060async\u0060); where a synchronous entry point must stay, keep the block in ONE documented bridge with a timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/GarnetClientStress/TaskScaling.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ecdc59b1aab1f3343680d556e1b97b3ec24f3247c89180212e7958a02c0aedc"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateRequest.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e3986d0bbdc7a386ea1e9149920fa94172caf77a504485d1405356cbdaa5965"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateRequest.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7d328383b99c46bc6b741b44eff25ab9c1f3498c19499ab7844247c57fb2aee"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateRequest.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"af0c1a44353eaacbd9f029d4d2b71ed3fbfe6295646813d13ff3e919493fcc12"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateRequest.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c526acba978e95a5c5dc388c900396cdd350736048f267cd642d91e5e64169f"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateRequest.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92e4e1b7208519fcccf04ba084d5167e03d8b515f26723c18156f9fd3cd1d6a"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateRequest.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9fb689e9499934a4ab26be9f2bfbe3ccdbec177f43c5dfe17a8cc159cd2ff8a"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateSlotWalk.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"610b6104c3406a095a978fdef2785c6750e74d9b54da61bc456f41cc8c29b158"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateSlotWalk.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"77017180802248af71396fe4ddfb7ebcf7996eb93fc33f9f3a516562a0cabe7f"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateSlotWalk.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0312dd312018c805b743242469d8d9461658d0b3d02b397519e30de977e827f"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateSlotWalk.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"001ffe72a63ac515ed7ca0575181a56b552d6e6717b6385259bf7aeac290228b"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateSlotWalk.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb180a228744f59e53133ebcf91062796ad32d87da01af62df00493fdb54e578"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateSlotWalk.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a90f899b95862d25ccc60836d77914d5ef5421d5948ba83c143b16fceefd1d6"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/MigrateBench/MigrateSlotWalk.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"09fde1743e47eed7bd9db39c6473cab54c4fda5fa318d70530fce5e60d41602c"}},{"ruleId":"X1","level":"warning","message":{"text":"Blocking \u0060GarnetClientSamples.SetGetSync\u0060 inside an \u0060async\u0060 method: \u0060GarnetClientSamples.SetGetSync\u0060 is a synchronous helper that blocks (\u0060ManualResetEventSlim.Wait\u0060): called from an \u0060async\u0060 method it parks the thread exactly as the inline call would. Make the helper \u0060async\u0060 and \u0060await\u0060 it (\u0060await Task.Delay\u0060, \u0060SemaphoreSlim.WaitAsync\u0060, a \u0060TaskCompletionSource\u0060 instead of the poll)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/GarnetClientSamples.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e422ef66250cb3123d9d48b9b712c22efcb7f49b44d31651cd074c424afb06b"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/GarnetClientSamples.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcc586b74d6dbd511b42b6f2cfd26729c6572ecfd1e7758249c6a858d5d3737a"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/FixedLenYcsbBenchmark.cs"},"region":{"startLine":379}}}],"partialFingerprints":{"codehealthFindingId/v1":"287e498a2defbe735f5cfe03e3d942200d10b5b89e752b6856978fdf5aaf97d2"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ObjectYcsbBenchmark.cs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b59ffaa4893aff3a4b685d0f667aae32402a866b107b1ca766835d2c7db4e09"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SpanByteYcsbBenchmark.cs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"17de24a5fb8a62862b5b71d2d6b13d848084cdefbbecdcb84229648c49d84d06"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/TestLoader.cs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"0430b36802b6cf07a28677945a5ed53370296690199bb854805437439c431ed4"}},{"ruleId":"X1","level":"warning","message":{"text":"Sync-over-async (deadlock risk): Blocking on a Task with \u0060.Wait()\u0060/\u0060.GetAwaiter().GetResult()\u0060 can deadlock (and wastes a thread). Prefer awaiting it: make the caller \u0060async\u0060 and \u0060await\u0060 instead. Where a synchronous entry point must stay \u2014 a public sync API you cannot break, or a process entry point that must not return until the work finishes \u2014 the block belongs in ONE documented bridge and never inside code that is already async; and where it already is that bridge, give the wait a TIMEOUT so a hung task fails the call instead of hanging the process."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/TestLoader.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d1cd2f5624048517a0597f8681f83f49521021dac1746c5aaefdd8e6b447074"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!IsInitialized \u0026\u0026 !TryInitialize(logger)\u0060 appears character-identically in 2 files \u2014 libs/server/Resp/RespCommandDocs.cs, libs/server/Resp/RespCommandsInfo.cs. 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":"libs/server/Resp/RespCommandDocs.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb97d996ace36f87b68547598d89928b7022cc613cf4f413841f5b4241b511ad"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Native32.IsExtendedLengthPath(filename) \u0026\u0026 filename.Length \u003E Native32.WIN32_MAX_PATH - 11\u0060 appears character-identically in 2 files \u2014 libs/storage/Tsavorite/cs/src/core/Device/LocalStorageDevice.cs, libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs. 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":"libs/storage/Tsavorite/cs/src/core/Device/LocalStorageDevice.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a92c4db3a832afedd2a331c31fb28e16c137d798444d688989a5920c8404c2a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!RevivificationManager.UseFreeRecordPool || !TryTransferToFreeList\u003CTInput, TOutput, TContext, TSessionFunctionsWrapper\u003E(sessionFunctions, ne\u2026\u0060 appears character-identically in 3 files \u2014 libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs, libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs, libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs. 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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a3e71fbe7961970f63e20e976ef8269d0ba1936a0a0283f14bfe2477d15baa5"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!Utf8Parser.TryParse(numSpan, out double value, out var bytesConsumed) || bytesConsumed != numSpan.Length\u0060 appears character-identically in 2 files \u2014 libs/server/Resp/Vector/AttributeExtractor.cs, libs/server/Resp/Vector/ExprCompiler.cs. 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":"libs/server/Resp/Vector/AttributeExtractor.cs"},"region":{"startLine":226}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a672ad03bd05c419fc12fb45457ecf89b1eaaa0e03196fc5e6f307e896d6b87"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!expirations.TryGetValue(kvp.Key, out var expiration) || expiration \u003E= now\u0060 appears character-identically in 2 files \u2014 libs/server/Objects/Hash/HashObject.cs, libs/server/Objects/SortedSet/SortedSetObject.cs. 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":"libs/server/Objects/Hash/HashObject.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"c32ac69fc6be12e1227bec43ed7f3ed1d5f534ce4654ec6c335de74366a2d46a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!includeClosedRecords \u0026\u0026 recordInfo.SkipOnScan\u0060 appears character-identically in 2 files \u2014 libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs, libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs. 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":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b7af68100caf179fe88a8eeb1a9291bd4d34340843136ef373825b7a54fae4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!limitArg.ReadOnlySpan.EqualsUpperCaseSpanIgnoringCase(CmdStrings.LIMIT) || parseState.Count != nKeys \u002B 3\u0060 appears character-identically in 2 files \u2014 libs/server/Resp/Objects/SetCommands.cs, libs/server/Resp/Objects/SortedSetCommands.cs. 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":"libs/server/Resp/Objects/SetCommands.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ff07f769fd4305c99bea57937c947746ae7cae68154695edfacdbda21601a81"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!logRecord.DataHeader.HasETag \u0026\u0026 !logRecord.DataHeader.HasExpiration\u0060 appears character-identically in 2 files \u2014 libs/server/Storage/Functions/MainStore/RMWMethods.cs, libs/server/Storage/Functions/ObjectStore/RMWMethods.cs. 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":"libs/server/Storage/Functions/MainStore/RMWMethods.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b6c942ed88ea1583023780c475c3cc64963b3382e767b9725d00f679d35db51"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!parseState.TryGetInt(1, out popCount) || (popCount \u003C 0)\u0060 appears character-identically in 2 files \u2014 libs/server/Resp/Objects/ListCommands.cs, libs/server/Resp/Objects/SortedSetCommands.cs. 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":"libs/server/Resp/Objects/ListCommands.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"00744d4403dc434b8e8ad766047ccdb147400206de6fe9b74f6e5b4e0c9e7cb8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!parseState.TryGetInt(currTokenId, out popCount) || popCount \u003C 1\u0060 appears character-identically in 2 files \u2014 libs/server/Resp/Objects/ListCommands.cs, libs/server/Resp/Objects/SortedSetCommands.cs. 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":"libs/server/Resp/Objects/ListCommands.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd983ca4c9fd658c308d33aab73acaec3d2a8a37e443ce8fbb6675f81fb296f3"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!sessionFunctions.IsTransactionalLocking || LockTable.IsLockedExclusive(ref stackCtx.hei)\u0060 appears character-identically in 3 files \u2014 libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs, libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs, libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs. 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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ecf4943c132bc88ca790748046a842600d388d3465a1e63f9a1b83891ed2cd"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!token.CanBeCanceled || task.IsCompleted\u0060 appears character-identically in 2 files \u2014 libs/client/Utility.cs, libs/storage/Tsavorite/cs/src/core/Utilities/Utility.cs. 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":"libs/client/Utility.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"b50f7a723bfa22ff9b8bd076de13eda7e3572469476bfcbe56f300088ce05dc8"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(_namespaces?.Count ?? 0) \u003E 0 \u0026\u0026 !await ReserveDestinationVectorSetsAsync().ConfigureAwait(false)\u0060 appears character-identically in 2 files \u2014 libs/cluster/Server/Migration/MigrateSessionKeys.cs, libs/cluster/Server/Migration/MigrationDriver.cs. 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":"libs/cluster/Server/Migration/MigrateSessionKeys.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"d057cdc1cdee1d5598a5ad9c341c9d4e4ba882bccf2ae58a90a86acc77500759"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(expireOption \u0026 ExpireOption.XX) == ExpireOption.XX || (expireOption \u0026 ExpireOption.GT) == ExpireOption.GT\u0060 appears character-identically in 2 files \u2014 libs/server/Objects/Hash/HashObject.cs, libs/server/Objects/SortedSet/SortedSetObject.cs. 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":"libs/server/Objects/Hash/HashObject.cs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ddfa734b842b69ee28471df58422096ff97ef62ba2d39a045794dc510bc1966"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060(testLoader.Options.NumaStyle == 0 \u0026\u0026 testLoader.Options.ThreadCount \u003C= (numProcs - 1)) || (testLoader.Options.NumaStyle == 1 \u0026\u0026 testLoader.\u2026\u0060 appears character-identically in 3 files \u2014 libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/FixedLenYcsbBenchmark.cs, libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/ObjectYcsbBenchmark.cs, libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/SpanByteYcsbBenchmark.cs. 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":"libs/storage/Tsavorite/cs/benchmark/YCSB.benchmark/FixedLenYcsbBenchmark.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cb566e3a491ccc4f45e7ad15e3c2fa50a3ee1a1bf43bc89025283828adb6eac"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060HasExpirableItems \u0026\u0026 expirationTimeSpanLookup.Remove(key)\u0060 appears character-identically in 2 files \u2014 libs/server/Objects/Hash/HashObject.cs, libs/server/Objects/Hash/HashObjectImpl.cs. 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":"libs/server/Objects/Hash/HashObject.cs"},"region":{"startLine":574}}}],"partialFingerprints":{"codehealthFindingId/v1":"895972f07abacc62f6b45d65267b936e251d1e691516d32719fd88d9d96ff5b1"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060OperationStatusUtils.IsAppend(status) || OperationStatusUtils.BasicOpCode(status) != OperationStatus.SUCCESS\u0060 appears character-identically in 2 files \u2014 libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs, libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs. 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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalDelete.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"79595ebaf4ce98a73b1d42090a24bf3a10777f981fbafc39bf0b49ebf388a4ef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060RevivificationManager.IsEnabled \u0026\u0026 stackCtx.recSrc.LogicalAddress \u003E= GetMinRevivifiableAddress()\u0060 appears character-identically in 2 files \u2014 libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs, libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalUpsert.cs. 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":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Implementation/InternalRMW.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"9060f4129bdcc3edd68a0f74964348adc49288b60a09fed4e53d53daa19fbff4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060StoreWrapper.serverOptions.EnableCluster \u0026\u0026 StoreWrapper.clusterProvider.IsReplica()\u0060 appears character-identically in 2 files \u2014 libs/server/Databases/DatabaseManagerBase.cs, libs/server/Databases/SingleDatabaseManager.cs. 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":"libs/server/Databases/DatabaseManagerBase.cs"},"region":{"startLine":576}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dbeaae730ae673b35969ea31d1af931af1ec12dac430dcab8400397a72bc0ec"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060StoreWrapper.serverOptions.EnableCluster \u0026\u0026 StoreWrapper.serverOptions.EnableAOF\u0060 appears character-identically in 2 files \u2014 libs/server/Databases/DatabaseManagerBase.cs, libs/server/Databases/SingleDatabaseManager.cs. 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":"libs/server/Databases/DatabaseManagerBase.cs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e4aa26dc5330cb01c05cb40946f27ebcfdb0ed95fb6e54bf70a48c0a26cfef"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060_authorized \u0026\u0026 nowTicks \u003E= _validFromTicks \u0026\u0026 nowTicks \u003C= _validToTicks\u0060 appears character-identically in 2 files \u2014 benchmark/BDN.benchmark/Auth/IsAuthorizedBenchmark.cs, libs/server/Auth/GarnetAadAuthenticator.cs. 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":"benchmark/BDN.benchmark/Auth/IsAuthorizedBenchmark.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"827b4b5b92b3fc9672fdd9cbb16731bdc21b5fc57b408679e130b8f91d5490a4"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060chunkLength \u003C 0 || payloadPtr \u002B chunkLength \u003E payloadEndPtr\u0060 appears character-identically in 2 files \u2014 libs/cluster/Session/RespClusterMigrateCommands.cs, libs/cluster/Session/RespClusterReplicationCommands.cs. 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":"libs/cluster/Session/RespClusterMigrateCommands.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec6f68ec7265626c5f8c995d9b2ef2683835ea7469014467102f349d4227d4dc"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060cmdInfo.KeySpecs == null || cmdInfo.KeySpecs.Length == 0\u0060 appears character-identically in 2 files \u2014 libs/server/Resp/RespServerSessionSlotVerify.cs, libs/server/Transaction/TxnKeyManager.cs. 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":"libs/server/Resp/RespServerSessionSlotVerify.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"145bb1d77331a87f7f31b44dc0f4e3a0307449e01bfcb1ff61a5e122d163de0f"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentAddress \u003C headAddress \u0026\u0026 !assumeInMemory\u0060 appears character-identically in 2 files \u2014 libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs, libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs. 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":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"beff587c3e68a552b7ca99cea9ad2b00af95bfd1abcda5d0cb3d567c9a4c8272"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060currentAddress \u003C hlogBase.BeginAddress \u0026\u0026 !assumeInMemory\u0060 appears character-identically in 2 files \u2014 libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs, libs/storage/Tsavorite/cs/src/core/Allocator/SpanByteScanIterator.cs. 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":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectScanIterator.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"42b96af3170af9171443579f657cc66573d0c42c8a22778ca791e8eac47b48a6"}},{"ruleId":"X13","level":"warning","message":{"text":"Redirected process stream is never drained (deadlock): \u0060RedirectStandardError\u0060 is set here, but nothing in this type ever reads \u0060StandardError\u0060 \u2014 while \u0060StandardOutput\u0060 is read to the end. The child blocks as soon as it fills the StandardError pipe (~4 KB, never more than 64 KB), and it can then never finish writing StandardOutput, so the read-to-end above never returns and the \u0060WaitForExit\u0060 timeout beside it does not help: the timeout bounds the WAIT, not the read that precedes it. Drain both \u2014 read one stream on a background thread (\u0060BeginErrorReadLine()\u0060 with an \u0060ErrorDataReceived\u0060 handler, or a \u0060Task\u0060 running the second \u0060ReadToEndAsync()\u0060) and await both before \u0060WaitForExit()\u0060 \u2014 or stop redirecting the stream you do not consume."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvOutput.cs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"36437f3cb02e1d88879ba73ecdb268a4c28e36b5b251c2d63b99a0b232dbc081"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060numWorkers\u0060 is read from the stream being parsed at line 184 (\u0060ReadInt32\u0060), then used to size an array at line 185 \u2014 and nowhere in this method is \u0060numWorkers\u0060 bounded from above \u2014 compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). A file the caller did not write therefore chooses the size directly: a value near \u0060int.MaxValue\u0060 allocates until the process dies, and a value that overflows the cast to \u0060int\u0060 goes negative and throws out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060numWorkers\u0060 against the bytes actually remaining in the stream before spending it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/ClusterConfigSerializer.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac6bf8e52faa66b5ab46e4216a8950fac6954fdb0b23052193fc4a1b9d6a957"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060keyLength\u0060 is read from the stream being parsed at line 109 (\u0060ReadInt32\u0060), then read in bulk from that same stream at line 112 \u2014 and nowhere in this method is \u0060keyLength\u0060 bounded from above \u2014 compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). A file the caller did not write therefore chooses the size directly: a value near \u0060int.MaxValue\u0060 allocates until the process dies, and a value that overflows the cast to \u0060int\u0060 goes negative and throws out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060keyLength\u0060 against the bytes actually remaining in the stream before spending it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/Hash/HashObject.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"61a1f5a07de7e8ad6af0f765f1a85a9e03d291c22e82bd7a2f14e5cbb98ce6c6"}},{"ruleId":"X15","level":"warning","message":{"text":"Length read from the parsed input is spent without ever being bounded: \u0060keyLength\u0060 is read from the stream being parsed at line 188 (\u0060ReadInt32\u0060), then read in bulk from that same stream at line 191 \u2014 and nowhere in this method is \u0060keyLength\u0060 bounded from above \u2014 compared to a limit, clamped, or checked against the input that remains (a zero or sign test, or the loop that counts up to it, bounds nothing). A file the caller did not write therefore chooses the size directly: a value near \u0060int.MaxValue\u0060 allocates until the process dies, and a value that overflows the cast to \u0060int\u0060 goes negative and throws out of a parser whose failure path was written for malformed input, not for hostile input. Bound \u0060keyLength\u0060 against the bytes actually remaining in the stream before spending it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/SortedSet/SortedSetObject.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf0e29e689ce3bb30d6bfa5cc86dbfd78bf286b0f5a30001a12750136d2bdb6"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060c\u0060 is a \u0060GarnetClientSession\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 464). Every use of it in \u0060GarnetClientSessionOperateThreadRunner\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var c = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OfflineBench/RespPerfBench.cs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"81f97526e815a19e86b084ae54a2f2bdecfc432d82aa77c952e552ce927262ee"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060client\u0060 is a \u0060LightClient\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 424). Every use of it in \u0060OpRunnerLightClient\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var client = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":424}}}],"partialFingerprints":{"codehealthFindingId/v1":"02a8621e47adbf3af14c3514a5c7a84947b5c894bfab0c2499005e878b2c16b6"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060waitCallback\u0060 is a \u0060ManualResetEventSlim\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 757). Every use of it in \u0060OpRunnerGarnetClientSync\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var waitCallback = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8d643d11ba65d0c5301ea0615f7535f7c7b305c3b52fea1a11a4a803a2dbb51"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060client\u0060 is a \u0060GarnetClientSession\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 326). Every use of it in \u0060LoadData\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var client = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/TxnPerfBench.cs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"96ba524177d1bac996b7fdc34337b9fa1d7f82a4721a131413e927fa24b5ed91"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060ReplicationManager\u0060 implements \u0060IDisposable\u0060 \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060resetHandler\u0060 itself (line 28), which makes that instance its own. But \u0060resetHandler\u0060 is named in none of the methods the disposal search covered: \u0060Dispose\u0060 (line 489) \u2014 that is \u0060Dispose\u0060 plus every method \u0060Dispose\u0060 calls BY NAME, so a release reached through an interface, a delegate or a base class is not followed and is worth checking before acting. On what was read, the type\u0027s disposal releases everything except the one thing it owns. A disposable the owner never disposes is held until finalization if its type has a finalizer, and forever if it does not \u2014 which for a synchronisation primitive, a timer, a stream or a handle means the resource accumulates once per instance for the life of the process. Release it in \u0060Dispose\u0060 (\u0060resetHandler?.Dispose();\u0060), or, if it truly does not need releasing, drop \u0060IDisposable\u0060 from the type so the claim and the behaviour agree."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/ReplicationManager.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6abe774fa6494a28a2a01825e9e04c4c8449311c60b39e48d4de71e99415f760"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060RangeIndexMigrationReceiveState\u0060 implements \u0060IDisposable\u0060 \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060currentDeserializer\u0060 itself (line 25), which makes that instance its own. But \u0060currentDeserializer\u0060 is named in none of the methods the disposal search covered: \u0060Dispose\u0060 (line 134), \u0060DisposeInternal\u0060 (line 145) \u2014 that is \u0060Dispose\u0060 plus every method \u0060Dispose\u0060 calls BY NAME, so a release reached through an interface, a delegate or a base class is not followed and is worth checking before acting. On what was read, the type\u0027s disposal releases everything except the one thing it owns. A disposable the owner never disposes is held until finalization if its type has a finalizer, and forever if it does not \u2014 which for a synchronisation primitive, a timer, a stream or a handle means the resource accumulates once per instance for the life of the process. Release it in \u0060Dispose\u0060 (\u0060currentDeserializer?.Dispose();\u0060), or, if it truly does not need releasing, drop \u0060IDisposable\u0060 from the type so the claim and the behaviour agree."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/RangeIndexMigrationReceiveSession.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaad4199bfbff49b84e1684793990ea6099084d5d4aae79d26b3c40ec55e70d7"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060GarnetTcpNetworkSender\u0060 implements \u0060IDisposable\u0060 \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060responseObject\u0060 itself (line 29), which makes that instance its own. But \u0060responseObject\u0060 is named in none of the methods the disposal search covered: \u0060Dispose\u0060 (line 282), \u0060DisposeNetworkSender\u0060 (line 285) \u2014 that is \u0060Dispose\u0060 plus every method \u0060Dispose\u0060 calls BY NAME, so a release reached through an interface, a delegate or a base class is not followed and is worth checking before acting. On what was read, the type\u0027s disposal releases everything except the one thing it owns. A disposable the owner never disposes is held until finalization if its type has a finalizer, and forever if it does not \u2014 which for a synchronisation primitive, a timer, a stream or a handle means the resource accumulates once per instance for the life of the process. Release it in \u0060Dispose\u0060 (\u0060responseObject?.Dispose();\u0060), or, if it truly does not need releasing, drop \u0060IDisposable\u0060 from the type so the claim and the behaviour agree."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/GarnetTcpNetworkSender.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"143be6da3b1ad0f7712ec4303d16e64d58661cabca802fd8167fd67c298c22e1"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060parser\u0060 is a \u0060Parser\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 48). Every use of it in \u0060TryParseCommandLineArguments\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var parser = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/ServerSettingsManager.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf6516ab5e1ebfd7096d115755923f03a3b5f402cacb4119928dc6565b57d79"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060logReader\u0060 is a \u0060ObjectLogReader\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 1226). Every use of it in \u0060VerifyRecordFromDiskCallback\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var logReader = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":1226}}}],"partialFingerprints":{"codehealthFindingId/v1":"39b852fe59393d1abfb6bc2fe83dc5cde0f5381dc1847ac619d8d70f88ea52d6"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060logReader\u0060 is a \u0060ObjectLogReader\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 1339). Every use of it in \u0060DeserializeObjectsOnPage\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var logReader = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":1339}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac20c3a8e97e55d876dc67183a7a9c1860088c4e830d51f3d2e33b5c0a9fd836"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060NativeStorageDevice\u0060 implements \u0060IDisposable\u0060 \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060shardIndex\u0060 itself (line 242), which makes that instance its own. But \u0060shardIndex\u0060 is named in none of the methods the disposal search covered: \u0060Dispose\u0060 (line 1924), \u0060NativeDevice_Destroy\u0060 (line 762), \u0060NativeDevice_WakeCompletionWorker\u0060 (line 792), \u0060GetNativeLastError\u0060 (line 817), \u0060TotalInFlight\u0060 (line 937), \u0060TotalLeases\u0060 (line 971) \u2014 that is \u0060Dispose\u0060 plus every method \u0060Dispose\u0060 calls BY NAME, so a release reached through an interface, a delegate or a base class is not followed and is worth checking before acting. On what was read, the type\u0027s disposal releases everything except the one thing it owns. A disposable the owner never disposes is held until finalization if its type has a finalizer, and forever if it does not \u2014 which for a synchronisation primitive, a timer, a stream or a handle means the resource accumulates once per instance for the life of the process. Release it in \u0060Dispose\u0060 (\u0060shardIndex?.Dispose();\u0060), or, if it truly does not need releasing, drop \u0060IDisposable\u0060 from the type so the claim and the behaviour agree."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"7480d790e3215e570b668a6ad884d3de4ee754f1b4a91c570be858373480d79d"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060completionEvent\u0060 is a \u0060ManualResetEventSlim\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 222). Every use of it in \u0060RemoveSegment\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var completionEvent = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/StorageDeviceBase.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"05799360408ee3c218fc08cc47a767a96f8b1e635dd9a82b0fda3ac846129471"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060DeviceLogCommitCheckpointManager\u0060 implements \u0060IDisposable\u0060 \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060deleteQueue\u0060 itself (line 70), which makes that instance its own. But \u0060deleteQueue\u0060 is named in none of the methods the disposal search covered: \u0060Dispose\u0060 (line 149) \u2014 that is \u0060Dispose\u0060 plus every method \u0060Dispose\u0060 calls BY NAME, so a release reached through an interface, a delegate or a base class is not followed and is worth checking before acting. On what was read, the type\u0027s disposal releases everything except the one thing it owns. A disposable the owner never disposes is held until finalization if its type has a finalizer, and forever if it does not \u2014 which for a synchronisation primitive, a timer, a stream or a handle means the resource accumulates once per instance for the life of the process. Release it in \u0060Dispose\u0060 (\u0060deleteQueue?.Dispose();\u0060), or, if it truly does not need releasing, drop \u0060IDisposable\u0060 from the type so the claim and the behaviour agree."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/CheckpointManagement/DeviceLogCommitCheckpointManager.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b03b0a4749e3a65f2ead107402ff7728446bbf5a8c3c885b86770e7a4b53da0"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060lightClient\u0060 is a \u0060LightClientRequest\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 188). Every use of it in \u0060TryGetCommandsInfo\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var lightClient = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/CommandInfoUpdater/CommandInfoUpdater.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"51355d659d583f8fe2cb99fc43e4ff3cfaef6e6b34dda2fdd85551de3825adc8"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060parser\u0060 is a \u0060Parser\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 34). Every use of it in \u0060Main\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var parser = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/CommandInfoUpdater/Program.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"37f99bedac09e0e3774ba4aed4b02c5727ccc99fad152fffbe66c4f4af50306f"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060progress\u0060 is a \u0060ProgressBar\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 16). Every use of it in \u0060RunPingDispose\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var progress = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/GarnetClientStress/SimpleStressTests.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd98b1fa1ca4cff81f066e12aba237fdc9a61e41bb39fb077bcfe11aad0988fa"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060cts\u0060 is a \u0060CancellationTokenSource\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 203). Every use of it in \u0060ShortRunningTask\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var cts = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/GarnetClientStress/TaskScaling.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"6810d540aba6979d0981519121eb2d83b55ea6c10a3375f5696b5fa7a2fde85e"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060cts\u0060 is a \u0060CancellationTokenSource\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 44). Every use of it in \u0060RunSimulation\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var cts = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ETag/Caching.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"444a4f561886b1f1b93cf2c0159c4e3f1ff5236e9869108c904b5667f1489b2a"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060cts\u0060 is a \u0060CancellationTokenSource\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 68). Every use of it in \u0060RunSimulation\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var cts = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ETag/OccSimulation.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd1e40a2f39c5aff33890743cff2917d7ae6f67c8fa0da0c518b9fe34bbdf1a1"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060e\u0060 is a \u0060ManualResetEventSlim\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 77). Every use of it in \u0060SetGetSync\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var e = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/GarnetClientSamples.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c8de3e2ccda2be8472fcd87479773a92d0cc53f2325ec6b7e62af05803f291"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060parser\u0060 is a \u0060Parser\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 22). Every use of it in \u0060Run\u0060 reads a member through it \u2014 it is never returned, never stored, never handed to anything else, and never disposed \u2014 so this method both creates the value and is the last thing that can release it, and does not. Nothing announces the leak: the object holds its resource until finalization if its type has a finalizer, and until the process ends if it does not, so the cost accumulates once per CALL rather than showing up as a failure. Declare it with \u0060using\u0060 (\u0060using var parser = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/EntryPoint.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ae1db118bb7943e686b1f7148f1c1abe89956b8f302efeb15e5d95fe0b15e4b"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 184/383 async methods accept a CancellationToken, so in-flight work can\u0027t be stopped early when the caller gives up \u2014 whatever ends it in your host (shutdown signal, timeout, abandoned request, user cancel). Thread a token through the call chain and honour it at each await and loop; where a method genuinely cannot be interrupted, omitting it is a deliberate choice \u2014 judge against your hosting model."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bf623a92fb752b336427856888a9b386c434e686662a2cdc1bba21832c0a048c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Send: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Embedded/EmbeddedNetworkHandler.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"918207264b564997382c00e9a65aed60ef1ceb1a4651ebb94dcf26caffe3370c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: InlinePing: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Network/BasicOperations.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"038844b2e4ddd560803b9a9f3a6184140c29e1f2797354c939b8d8a455814d73"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Set: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Network/RawStringOperations.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2c8cfdf870c10c7679aaffc5e84cf932c0cc01cae384a1c477d6d0434ddc9d0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SetEx: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Network/RawStringOperations.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ea90f6d96d398a013d3c43cdcb00008c4374bd97798fe35bb93da6d00f965d8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SetNx: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Network/RawStringOperations.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"63932757cb1a98b7045834c1b33c9d7685b9b7b13ee253ad93b76aa604a3dc56"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SetXx: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Network/RawStringOperations.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95ce7217ce78e040dbb0c5131bf28b5a420e2d2d4412bbc63096b191b1f8bce"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetFound: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Network/RawStringOperations.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"b176f245f9cf1fa4ecb5e7131b10cf4839bc687f1d612f112e0f93f55f884ca3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetNotFound: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Network/RawStringOperations.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"960c60e5820cc57d2ebe009fd9a43f2fb5f096401dcb0e4182b287a2cf29c740"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Increment: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Network/RawStringOperations.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7aec21509dddc25a2be4a07f6d88d62e81a1eafe37303a1b0b4337b2520ab11"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: Decrement: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Network/RawStringOperations.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae8e3016fe97c230be522c99e1f71b5ffd6070c67c04f66715ace1b1f62f1f18"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: IncrementBy: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Network/RawStringOperations.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"687e4d7107254c977bf2a80b31c24c43d8066470338bb286b38d0d825f85b5a6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DecrementBy: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/BDN.benchmark/Network/RawStringOperations.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb716b52f7cc55ee46fdf82723ebd4bb2196e7bac9f27360012b8ccec1107efc"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: OpRunnerGarnetClientSession: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":557}}}],"partialFingerprints":{"codehealthFindingId/v1":"b56316b7d45ca3c7eea5a1639d709bdd3e14949a866b358248e9887eb604ce7a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: ZADD: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"16129ddcb3da7c7732123cb987e056ee5b59883f7d63100e0ff91ed7d0dedd44"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: ZREM: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":631}}}],"partialFingerprints":{"codehealthFindingId/v1":"462b422a5d99110f21b0bf8ae59f3e561cce844068c91111c6aab23d07e19881"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: ZCARD: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"0911fa9b5d87fefb85fac43f338be89740956f313f30f16c54edba4ecc3baf50"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: OpRunnerGarnetClientSessionParallel: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":660}}}],"partialFingerprints":{"codehealthFindingId/v1":"481d0575211ae8c71ce450dafbd811b213afb5ca739bcc0d8e02714242010c01"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: OpRunnerGarnetClient: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":858}}}],"partialFingerprints":{"codehealthFindingId/v1":"31a053da634e1ccfab6a7e5a7c7f4d9599e0b7d83c9aa7fb8524e049c6e6456b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: OpRunnerGarnetClientParallel: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":937}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d16a82ecedbf27d5395017a1426895c2656026fc58a83d4d896735fec986409"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: ZADD: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":960}}}],"partialFingerprints":{"codehealthFindingId/v1":"21084851d8b3bd81f095b9313967577163dd47416d044902406a556eb09403d1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: ZREM: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":970}}}],"partialFingerprints":{"codehealthFindingId/v1":"b33acad5aa82c5d767475981753b876e3f99d856ce04aa1f6a13202dede1f69b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: OpRunnerSERedis: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":1013}}}],"partialFingerprints":{"codehealthFindingId/v1":"cfc34a24d95b83fa95a48d982da745ab6b81daf33a1399e371852840164b4816"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: OpRunnerSERedisParallel: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/OnlineBench/RespOnlineBench.cs"},"region":{"startLine":1099}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff15672abbf7d5a22a39d49de7c496c448b00814b498641aa04f8329defbc5bd"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: StringSetAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientBasicRespCommands.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a5944eb2c3ddf98ac100acfbf8f80d1d4384d1b3e651de211f95765ca08ebf"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: StringSetAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientBasicRespCommands.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"922d4ba31cddedcc844b7ab7194c9301ad6e646f6db7df5a4457b51590e7c5ad"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: KeyDeleteAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientBasicRespCommands.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5bddf11c19eeff4ea5fe6df9cc3d35d6c5ef4a46c510df3ba990c02de88423c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: KeyDeleteAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientBasicRespCommands.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66f5fa8cc16fb2680132af5980fd84501d16de2de8640727aaa510f5836fe06"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: KeyDeleteAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientBasicRespCommands.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c423c6601727df6e951211e3130112ff519dc6a8ec1de53b4d4305991669ac"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: KeyDeleteAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientBasicRespCommands.cs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ca900f88156a6493215b7e873e91d28c0cd9b3e1df4c2168711c2ae65db6ee3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: StringIncrement: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientBasicRespCommands.cs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"addfcad010cf2f2a47978d8c888a6b397f567e26d95cf90f29e0a89793899766"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: StringIncrement: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientBasicRespCommands.cs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"341447e17e8cb2c6407726609ece808049367f6e3dd2ad30f0294dab467dfdc3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: StringIncrement: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientBasicRespCommands.cs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bf1ee1e9d6355c9d43c96b900ec0506602ca3df0b6a1ab1886374fa8fd91a9d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: StringIncrement: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientBasicRespCommands.cs"},"region":{"startLine":446}}}],"partialFingerprints":{"codehealthFindingId/v1":"8340ac1d5ed1e12de352fab550cd2861fba45561c33ad1144fefc925140ba67d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: StringDecrement: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientBasicRespCommands.cs"},"region":{"startLine":488}}}],"partialFingerprints":{"codehealthFindingId/v1":"61178bc566b58e5d6f9de0af6d6be56c61d443b66f1c3fd7cd89df1defc51abd"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: StringDecrement: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientBasicRespCommands.cs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"289119335a52efe393fc96271a445fbd72de960bc23299749d4b2021f3770663"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: StringDecrement: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientBasicRespCommands.cs"},"region":{"startLine":545}}}],"partialFingerprints":{"codehealthFindingId/v1":"758b79e6bf1ebbec18388b983f74c756efd1bec7e8db63c7d12338b0205e8e9b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: StringDecrement: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientBasicRespCommands.cs"},"region":{"startLine":564}}}],"partialFingerprints":{"codehealthFindingId/v1":"08f3fec80c476c31ebcdd840ec0302c28699b07406157063f229d41ba50e2003"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteForStringResultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"28dde864171a6d4d40807c3b304bfc3beb062ba43b111ef9465f61a751a1484b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteForStringResultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aea91d8c90ac489f6777c23214174ee866ee30fc1374a506b6db42da2f92aa7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteForStringResultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"94622bce9d7d1b1f4b787d96f8b784f000a04d709a37f7b1f150f8bb5598853b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteForStringResultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f19570671b4288a5d94e5d149b973fe0d2a33aee8ba724c38c8c9a7180211c5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteForMemoryResultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f53d2963281ad56c09682b60da11c911aed5e0bfed1084c7b66927493c84a9b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteForMemoryResultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"c50bbc7cd37ef858b32a61f5f822a5bf8d03bf8bd0fa81fa1823be4871ebad18"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteForMemoryResultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"6179b7773171296f33ec2f12450c5f335857d285bdd97a7991f8129d3fad70f4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteForMemoryResultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"56e8e42573621c8e605c2352e0002f6b5f16cbffd73d831e36f498685dfa5721"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteForStringArrayResultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2dbbb85cfeb00ec26faa3cddd80b7b545f2c6ef49d8a6922cd49b0d3c8be98"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteForStringArrayResultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bafd6fe0f529b2c6c766f80c6a4c1b1f311244235171c2acaa86a54aabee163"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteForStringArrayResultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd55525e0faa9b4a3a71ac043df3e238fca997471608557754a78872292596c6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteForStringArrayResultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1b3f97b0a34b114ca3f8fe6215fa3eec874e5d510ce67f7096445fb3fc950ee"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteForMemoryResultArrayAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"49abaf96d52d002f8fbfe8b84681b48b1be2a0dd43e717d6239ef7a012e5bee3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteForMemoryResultArrayAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ecc2de4a921aafcecc92cebce2414383f0495d1c3197bb509b75fece741bf67"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteForMemoryResultArrayAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cbace80799db73126ba882a8a40f1a29cc247be131987f64e325b92a2d557f4"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteForMemoryResultArrayAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":749}}}],"partialFingerprints":{"codehealthFindingId/v1":"040c6331d0b6b05cadbf3cd6427067156b8140a865e3c0395b8bb64f82927f06"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteForLongResultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":940}}}],"partialFingerprints":{"codehealthFindingId/v1":"30d607068c4516d11cb26ff47d99494d3f7ecd4915a2ac64b61072555d7f0911"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteForLongResultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"585308d49ddacc80ecda63a60cf3c7cece4998192d728ca3743f99ada0a37906"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExecuteForLongResultAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientExecuteAPI.cs"},"region":{"startLine":967}}}],"partialFingerprints":{"codehealthFindingId/v1":"5998d03bcf6af0fcd6322b6c79f918d5106cf3c20ef7ee13370fb3909451780a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ListLeftPushAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientListCommands.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"09509cacd9931ee22ed0f606aabdc6a62de59bdde180fb61f1c49420225bad80"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ListRightPushAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientListCommands.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bf00920163f79d29702a43137209cf236f148a776cbe0b54fc1c232ec53509"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ListRangeAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientListCommands.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b29a938cc97252603df1814d8052ecb334f849e7c3c2fb3ad417d6fa1ab2dc39"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ListLengthAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClientAPI/GarnetClientListCommands.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"89597e087372eae18942535b14a69f83372a3b1a5287da2c4cd2fc87177d66f5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: TryAddReplicaAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/ClusterManagerWorkerState.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc86869e17500685e8b7f4d865029f4b42635876b3411c1690535c087f46a8b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: BumpAndWaitForEpochTransitionAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/ClusterProvider.cs"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"52f515358f0adffbfb53c81df4a899c64c8140d86a67b71e657d5b04ecb83e59"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: DelayToDefaultAsync: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Failover/PrimaryFailoverSession.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2261e5ec9f0b9527912853c204623afad9f1cbbb16c111d1d834e088a632047"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: BeginAsyncPrimaryFailoverAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Failover/PrimaryFailoverSession.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3b630909e72331d79dbbd43145719fda8e76d0b9a7c5e8ed86de2a30cd41fb8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: TakeOverAsPrimaryAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Failover/ReplicaFailoverSession.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"69c4554d2b193b08d81a9d76ebfd51ffe0215a9382803f62bc070564dc64e5b8"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: IssueAttachReplicasAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Failover/ReplicaFailoverSession.cs"},"region":{"startLine":246}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1011591500eefd2144701321bc77c57e9af93a62dca7c38604d091a7dd34bf0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: AddConnectionAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Gossip/GarnetClusterConnectionStore.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1a916c6d1a08120690d97485f6721c6a833d8d20bb845e6aeef04b8d93f71d5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetOrAddAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Gossip/GarnetClusterConnectionStore.cs"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb5d7ee9c0529be1cb919dd887d0a3cd8a50c1ef033b7da008ac8cebc6ab3571"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: TryRemoveConnectionAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Gossip/GarnetClusterConnectionStore.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cf43d6575dfdd8e755a33e4acddd0086e3340607533a894b9b78c0835c71d8e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: TryMeetAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Gossip/Gossip.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9726fb562aa24970544dcd815da663b600c1bd8efcd381d3ff0247936606e41"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: GoAsyncHelperAsync: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Gossip/Gossip.cs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"f211367d2483511e671587b7ebabcd2631e75b5387077593b1815456f4a6593f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: InitConnectionsAsync: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Gossip/Gossip.cs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd835e7a6eb7975a63e850535b06fe27f00eb88432423d3310284554f4ed691"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: DisposeBannedWorkerConnectionsAsync: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Gossip/Gossip.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"43ae7fbb195cee6ada33980af12080ead49c93b4e2bd9c1f37df203be93b9359"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: InitializeAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrateOperation.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"57dde13f6aea759bfcd7fa476f47903dd9b616bcb9f81e17f8103663f9b96799"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: TransmitSlotsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrateOperation.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"6af48ba5f5494f7a0ba2e44b3509adb27e67203f8ec75ed7c6d3c8a87befa630"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: TransmitKeysAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrateOperation.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"5167e86437bc7163fd89277d3881cce2283db0db4dfdb1e2c0793ccdc65e88c2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: TransmitKeysNamespacesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrateOperation.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb28546c3de11b87254875da5a2b155b0af578ff8f96212c1c1b9f3f16ac5319"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: WriteOrSendAccumulatedRecordAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrateSessionCommonUtils.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"be5ff939ac1513efa371c6ef7c74354f4d9ab821e0fcd97f47cbe4fda6e484c1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: WriteOrSendChunkedRecordAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrateSessionCommonUtils.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7cb998cc747140e80bdc6f3ab1df9484068e7596f915c9f8636456638a666a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: WriteOrSendSegmentedRecordAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrateSessionCommonUtils.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"f591963cf3206217c4b2fbf982cf7528320d086a34e564b791ac179bdef3cd33"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DeleteKeysAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrateSessionKeys.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03ce1e0ba4d11f48247cea27ae01278a6aba14c4305f90a0fc2fc33f51ff94a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: MigrateKeysAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrateSessionKeys.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21afd1865c30552f2cdb8543f137a3335a42c93fc14c09f19dc532d857bd12a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ReserveDestinationVectorSetsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrateSessionSlots.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"59af72a744464a9377a9b0efdfc604aa2b57983676f929bf665389f53fbe89eb"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: ScanStoreTaskAsync: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrateSessionSlots.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"07b215f4e3304716ec2a2f63d39fa2464d20b8e237d9cdc33ebcc9d73e2b22a0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: TryRecoverFromFailureAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrationDriver.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea539bd28ac758ec116ff08b8b45f46f1db9a1abbc7f2d4c19ae16a6448860dc"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: TryStartMigrationTaskAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Migration/MigrationDriver.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"444eff8c1d0fdf00494848721e4439eed8ec4bf42cb3bc59bd85b6e9c16d2610"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RunAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/AofOperations/AofSyncDriver.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f1b02449b198d82279d57448a822df3ed3c9cd80032d18bce1974684edfdbe"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: AcquireCheckpointEntryAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/DiskbasedReplication/ReplicaSyncSession.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c190ac914478fbbbdbf7ca5d10cb281262e88d3cb30a90ab2d05a7d14413d7d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: IssueFlushAllAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/DisklessReplication/ReplicaSyncSession.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1417c7468e380e309c8b087ad8ca7100678f589e53a1767b00985158a0a5b944"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: BeginAofSyncAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/DisklessReplication/ReplicaSyncSession.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1f0b5806792636040e889bb778178f2701ba607874ebbde461d167bf52828be"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: WaitForFlushAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/DisklessReplication/ReplicationSyncManager.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"f11f3bbcf15e1a7ac01e8324ae7c12c08a5e4b397b0aeac1802b4eca9deb40ba"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ReplicationSyncDriverAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/DisklessReplication/ReplicationSyncManager.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"993a2ec6730ee1dabbeadc3e1ee68468799c18730cc727823ca63ff0adb1f392"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: PrepareForSyncAsync: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/DisklessReplication/ReplicationSyncManager.cs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"4477265a39dddb91c658be96ab83469791a69b13b0cf1877b05018a8c83fca79"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: WaitOrDieAsync: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/DisklessReplication/ReplicationSyncManager.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"af13fe4e39e0960e61c97a342b01a1cd077ed96e3c6da4027c50cacb6eb4c789"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: TryBeginDisklessSyncAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/PrimarySync.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d4ca0fd434c2473c486d07d932b558e2f5a64e2e95a92ee477ccc95b4fe7416"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: ReplicaSyncSessionBackgroundTaskAsync: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/PrimarySync.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb085dca50611b714df9e996935afbf0a7fd14f4cee5e4ead8eed28dabfbc53e"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RecoverAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/ReplicationManager.cs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e8a507965a79b40c0a812996f631dcfc9488bc05d7cef036ce2ba12c0b8d568"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RecoverCheckpointAndAOFAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/ReplicationManager.cs"},"region":{"startLine":540}}}],"partialFingerprints":{"codehealthFindingId/v1":"efd8d90f8062bb565553651e16557c8ce4f72834be05cca33e449785002a210f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: UnsafeBumpAndWaitForEpochTransitionAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Session/ClusterSession.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"a57d4bae591dd177012a46a3a20d7981531312c4d5aabf870541c7b19fb41b6d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: TryCreateEndpointAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Format.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"51b8f1afe57026c44bf248e7f4f1b24d252ca157fd94a6540e7a534098f0c39f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: TryConnectAsync: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Format.cs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e0ce857767577a7efd78edb85ec81c517038111a534fdc57c2ca0d30af94a9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DrainSendsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/GarnetTcpNetworkSender.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"fba7211fc944da2d11449a0d906eda5fc3a6f1a4883f6c0ff6a03bbd2662f122"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleReceiveWithTLSAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/TcpNetworkHandlerBase.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"be76534e9e2575eee3e9ed641e172e14414d487d867ed7efcc81a4c1f368c56a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RecoverAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/AOF/ShardedLog.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"da54e0a3e4120d289c91caa0b265584528cab15a6af6cb614e462eb4c7ade3c2"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RecoverAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/AOF/SingleLog.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e4687514f00c7ad20700f53b301da58d8ea8e0c9d38b0506a9a5264f51b1c25"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RecoverDatabaseCheckpointAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/DatabaseManagerBase.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"4098bed6a0f0ade03962b5f0665a041ade04bf6c01c0d7867680c9a9cc1c2735"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RecoverDatabaseAOFAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/DatabaseManagerBase.cs"},"region":{"startLine":323}}}],"partialFingerprints":{"codehealthFindingId/v1":"6305625935e4e18ca2c8fc430460a3e3f5cf1a5b66068f434132a74f2da0d750"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GrowIndexesIfNeededAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/DatabaseManagerBase.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"822d768b6397139d385255e738a8819fd65666ed8030c8e9e9c2ee9cb78bce4c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DoCompactionAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/DatabaseManagerBase.cs"},"region":{"startLine":468}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cba3fdc8a588ba0c649b32461b27d02fc8cdc1a95e095e08902dadd6f579fa5"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DoCompactionAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/DatabaseManagerBase.cs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"61361f11a59402eab10c6d4831be251bf873dab291a0cb9cec5af7650df3f2f1"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CompactionCommitAofAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/DatabaseManagerBase.cs"},"region":{"startLine":569}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2439b9010f78ec5a4229e9fd09db12fef137b49f06ef15a299b9e29e8d7c839"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: InitiateCheckpointAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/DatabaseManagerBase.cs"},"region":{"startLine":594}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce2ca2e90c2f3dabdb1b222f404c38e39456c47759173467fc3bf924c5e75c50"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RecoverCheckpointAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/MultiDatabaseManager.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5a9a398d89b99491987a604dec0c79f7439d8495f02892ed54384dc5a096192"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: TakeOnDemandCheckpointAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/MultiDatabaseManager.cs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a9fffba29f7a12e098ad6c70aa9ef000618dc963062af8fa8b4bff98b4369f0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RecoverAOFAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/MultiDatabaseManager.cs"},"region":{"startLine":443}}}],"partialFingerprints":{"codehealthFindingId/v1":"826e2c52b74303a047a0ad73b9aa6bb95f6b9e4165e3b38126c93d04a9a5c4fc"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RecoverCheckpointAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/SingleDatabaseManager.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7dc5d6613a82fae09ef1a109236d4e7c78763fa30ca5f5ce06a7cb3c27ff8a6"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: TakeOnDemandCheckpointAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/SingleDatabaseManager.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb4d1f4041ad257033fc23e8590d8bbc7433f5ac022b2323b16464f82c285325"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GetCollectionItemAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/ItemBroker/CollectionItemBroker.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"852bab5efed06d453b7e6cab20624ce6afa01e71b73a944018d9f90c5b72bc0c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: MoveCollectionItemAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/ItemBroker/CollectionItemBroker.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeba75a219486b9ded184646867b31b62e6a09b9c0ce897afe0bdfd74ea15267"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CommitAofAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/AdminCommands.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"1382164c4a902df17268e782d00aaf35698f46d2af4867ec10cb81dc783f44e3"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: AsyncGetProcessorAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/AsyncProcessor.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdf7b0c91a67b6d8693fec86c06240e0ed235b6fc80354c13b642194532e2fb"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: WaitToReadAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/Cleanup/VectorSetCleanupWorkChannel.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"78a4f56f7e4d9eef93df50e06b4fd430499a79bbda929000bcc3082109503a7b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RunRequestDropTaskAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Cleanup.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"efa153cd52b10ef38780ff8f145ec2af6d579ac5be9c29d49b90e3f772972bc9"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RunRequestCleanupTaskAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Cleanup.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"37420e04c924d6a755fda39a12d23974d0e6cfc7f36db2f0500687e84aa78c34"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RunCleanupTaskAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Cleanup.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad5d0590d6ca13df352a6349eca71e48c02f8c0acfe962383d3d377270a46b87"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: QuantizationTaskAsync: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Quantization.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b5f6586448cc85f42480e85d04eaccccf42b86fcbb507dcc40ca668c3b3d33f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: HandleIndexSizeChangeAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/ServerConfig.cs"},"region":{"startLine":263}}}],"partialFingerprints":{"codehealthFindingId/v1":"fed44154364088fbc4ffc51b090c8a9744578302fbf998e705008dd30aa79739"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RecoverAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/StoreWrapper.cs"},"region":{"startLine":396}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5ddaa1419920970c1d284038442dc9aa5302e0b6511077b91a8b775361afb06"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: TakeOnDemandCheckpointAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/StoreWrapper.cs"},"region":{"startLine":452}}}],"partialFingerprints":{"codehealthFindingId/v1":"74d38953dcc408a56eddba736859bd73b1d559f30b96504923e13c24d42914fd"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RecoverCheckpointAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/StoreWrapper.cs"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5f614fed29263c58b0d39259f38ecdea5ec5c6856610534e48d5f9358348f24"}},{"ruleId":"X2","level":"warning","message":{"text":"Async local function without CancellationToken: WrapWithCleanupAsync: Neither takes a CancellationToken nor reads the one of the function it sits in, while it calls something that takes one \u2014 this work can\u0027t be stopped early once started. Take the token, or pass on the enclosing one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/TaskManager/TaskManager.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"390a200706cf25fe582aebb1a7b0d55dcf25aa118c5d284b7d4423a48e1a007f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ProcessQueue: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/WorkQueueLIFO.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"e90bf5879ba8e651d3dfa202fc4a078ad19323314192ea1731a56fb95e296a7a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ReadWorkerAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/RandomAccessLocalStorageDevice.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"49a0fb4f10b27adecb0e96abbf7b77cb9fbdc38df8bfc632b86fa02944d3ee05"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: WriteWorkerAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/RandomAccessLocalStorageDevice.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"930c1f28f22a3549183f448d39e80a14fe1d20258783a615cd49581e5a3f1f60"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: WaitForStateChange: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Checkpointing/StateMachineDriver.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f025d2c9d3ecde63a3009723c2f54d4a9ae65598ac187d5895e8f373e651c47"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: WaitForCompletion: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Checkpointing/StateMachineDriver.cs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b46712d79457c6ab89c9eefd74d67d74fc71cdb12010e31c21975bb1180910"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: GrowIndexAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs"},"region":{"startLine":862}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b6b1e5bc0cd4ff86a0cf076049ac205c17db11cfd7923e4207e3c4e2da95f0f"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: WriteToBlobAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/AzureStorageDevice.cs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a97bd8eca459df3bc3efa72c9fc36879a72b3bb63e4432400ade70cc2274f0b"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: StartAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/BlobManager.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbc36dd3d0718f55996022c38483dec955204af8b2c1b684393ceab4445cb831"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ForceDeleteAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/BlobUtilsV12.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad87dc8893652fe84dff652d86bfc1735ddaafcf9693145c8f7e26b312148ff7"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: WaitForTermination: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/StorageErrorHandler.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"8232ac20ef887cb0161b526349d507293ed7061793eb1ee2d95c473114c9ad3d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: PerformWithRetriesAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/StorageOperations.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"66a021121cb100c8546c93aae918fb85dd1d50d9946d4f53817491835d449309"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: CreateClients: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/GarnetClientStress/TaskScaling.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c45894bbe202c3e42bb065ce467f4d4b29b0afc61e8755d4dbec4bfe7f8cc425"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: InteractiveRepl: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ETag/Caching.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ad4aaf1f2627ab4f454af82f1d32537e4cdd0e89574d1d06c404b40baf3895"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: PerformLockFreeSafeUpdate: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/ETag/EtagAbstractions.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"20cae7d46d27b1c7302388ad02cb60388c48d3e1193718fce021541628859a45"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RunAll: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/GarnetClientSamples.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"59fd8e39228382b87c56d5aadfc6c802e20d764bf1a0e4ae9a8fe333acf81f5d"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: PingAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/GarnetClientSamples.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"413bd23c79bd7f4f42661a9800f57c3da800d67e552ca9c816c9739c0ff1911c"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SetGetAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/GarnetClientSamples.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a95a2d352bcada65b1397ff61926a0eadc9d16c70f40abd00b78b33c7c62230"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: IncrAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/GarnetClientSamples.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd731f9f79ac95be3c3f89e0f69b17e007c05f4418250b036d0d19ed0c713ed"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: IncrByAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/GarnetClientSamples.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0899d72dc3545f3ade173839b8bd9e31ebbdef6400b2cb38d16dafba34af0eab"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DecrByAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/GarnetClientSamples.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb8425af05ef4550595a4269c6c71bccfb45fa54d71490544435338fefb22cc"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DecrAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/GarnetClientSamples.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca57b9f39bc8f11c2f4502eb7b635ba64cfaf0817beb38cfb7bea4044dab4eb0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: IncrNoKeyAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/GarnetClientSamples.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2dbab533a17abd4a2629a3a0a337afaacc1852998c6411537a131930b4db61a"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: ExistsAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/GarnetClientSamples.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb976cbdf7a1110e31dfc3237cbbfc41dd9b7ec4285f120f5886f4950f5b9419"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: DeleteAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/GarnetClientSamples.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"966adb3e5f29f61898a7b43054d34494d1e6e473de13db243b198531fa89cfd0"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: SetGetMemoryAsync: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/GarnetClientSamples.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf182e14d009acf08ed92353c9eccc57d65e590d2825f3263cf2b0e516b75a11"}},{"ruleId":"X2","level":"warning","message":{"text":"Async method without CancellationToken: RunAll: No CancellationToken parameter \u2014 this work can\u0027t be stopped early once started."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/GarnetClientSample/SERedisSamples.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87ede70f53fabfeb0321bfca7c6b6d5c2f9d057f61b9a5204645da3e4303ad6"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 36 rejects \u0060name\u0060 and line 37 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrEmpty(name)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060name\u0060, and on that path \u0060name\u0060 was already proven non-null by the very expression that decided it (\u0060||\u0060 short-circuits, so the null test to its left had to be false to get here). So a caller who passes a valid empty argument is told a parameter was null. That is not a wording problem: the exception type is the contract. A caller catching \u0060ArgumentNullException\u0060 to handle a real null swallows the empty case with it, and whoever reads the stack trace later is told a failure the source disproves. .NET separates the two on purpose \u2014 \u0060ArgumentNullException.ThrowIfNull\u0060 and \u0060ArgumentException.ThrowIfNullOrEmpty\u0060 are two helpers because they are two failures. Throw \u0060ArgumentException\u0060 for the empty case, or split the guard and throw each on its own condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Custom/CustomProcedureWrapper.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"2752a0ffe3acb98f45f6f407171592cf64dbfcc04554d11c7e2da826f8f6906f"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: This condition tests \u0060remaining\u0060 for emptiness and then indexes it on a branch that test does not reach. \u0060remaining[0]\u0060 is evaluated whenever the guarded half is false \u2014 which includes the case the guard exists to anticipate, \u0060remaining\u0060 being empty \u2014 so an empty \u0060remaining\u0060 indexes position 0 of nothing and throws. This same condition already shows the intended bracketing: \u0060remaining[1]\u0060 sits INSIDE the guard. Either the guard is load-bearing, in which case this access escapes it and crashes, or \u0060remaining\u0060 cannot be empty here, in which case the guard beside it is dead code \u2014 the condition is wrong under both readings. Move the parenthesis so the emptiness test brackets every access to \u0060remaining\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/ExprCompiler.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8f416a5d27606485583913ef847495a3a3a564bcc0b8edf79184e8b5613350c"}},{"ruleId":"X28","level":"warning","message":{"text":"Index access outside its own emptiness guard: This condition tests \u0060remaining\u0060 for emptiness and then indexes it on a branch that test does not reach. \u0060remaining[0]\u0060 is evaluated whenever the guarded half is false \u2014 which includes the case the guard exists to anticipate, \u0060remaining\u0060 being empty \u2014 so an empty \u0060remaining\u0060 indexes position 0 of nothing and throws. This same condition already shows the intended bracketing: \u0060remaining[1]\u0060 sits INSIDE the guard. Either the guard is load-bearing, in which case this access escapes it and crashes, or \u0060remaining\u0060 cannot be empty here, in which case the guard beside it is dead code \u2014 the condition is wrong under both readings. Move the parenthesis so the emptiness test brackets every access to \u0060remaining\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/ExprCompiler.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc11b376dfcb8cc2ad50c7497bba1b2f7d8d51720d693ce4ab60e6219ee5317f"}},{"ruleId":"X29","level":"warning","message":{"text":"Per-element action decided by a fixed element: This loop runs once per element of \u0060workers\u0060, and the statement it guards acts on the element it is on \u2014 \u0060workers[i]\u0060. The test deciding whether that statement runs does not: \u0060replicaOf != null \u0026\u0026 replicaOf.Equals(workers[LOCAL_WORKER_ID].Nodeid, String...\u0060 reads \u0060workers[LOCAL_WORKER_ID]\u0060, a subscript that does not move, so whatever it answers for that one element it answers for ALL of them. One \u0060if\u0060 names the same collection at two different subscripts, which is the contradiction: either the test was meant to be per-element, in which case every element that differs from the fixed one is handled wrongly and all in the same direction, or it really is one answer for the whole collection, in which case it is being re-asked on every pass and belongs above the loop. The \u0060if\u0060 is in the wrong place under both readings. Give the test the loop variable, or hoist it out."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/ClusterConfig.cs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b94839492cd1f5633c453c41361cd862b78cecf7f5e394a8c68fe158e41c6de"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/ClientSession/GarnetClientSession.cs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"52d5913a111c16dfceac5dcb679586a4a5209f6ac073eedfc9e6108aee451abb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":508}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f99a9f249cc6fbb3dbdf4f0228bf7e947d4c087ea4b0745104b26a6f0095503"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/GarnetClient.cs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea5cd83664943c9dd309b589c223de5d41cce6391bc8f7a099bd968b8baa246"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/client/NetworkWriter.cs"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6165ab6f4b54cb40ff70fcd65d16da0427cbb6e852b7862cd68915454097b25"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060Dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: record it through whatever this codebase already uses to report problems \u2014 or, if one specific failure truly cannot matter, catch exactly that exception type and say why in a comment on the catch (a comment on a catch-all still swallows everything else)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Gossip/GarnetServerNode.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"0128cef634434ebcba57780190e7c7e0d58dc9942211ab6ba7a287f0c90f2601"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060Dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: record it through whatever this codebase already uses to report problems \u2014 or, if one specific failure truly cannot matter, catch exactly that exception type and say why in a comment on the catch (a comment on a catch-all still swallows everything else)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/AofOperations/AofSyncDriverStore.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"d83697c93e4979fc4db25b893a09b96475b739f255e0cc90573d432880ebe481"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/AofOperations/AofSyncDriverStore.cs"},"region":{"startLine":568}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10a37568f1eb49f9db7cd7bddf62781e785d3a2db0ff489de8facf7b2e61d8a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/AofOperations/AofSyncDriverStore.cs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dcf6dfd0e496bde7dc1cd8a33ae918500030bfeaf6284fa8eb7f7dc9e46598b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/AofOperations/AofSyncTask.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"426772e395a9b18ffe8658e1e387d1b5dcfc4bf213c453d5f3019745a76ae2eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060Dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: record it through whatever this codebase already uses to report problems \u2014 or, if one specific failure truly cannot matter, catch exactly that exception type and say why in a comment on the catch (a comment on a catch-all still swallows everything else)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/AofOperations/AofSyncTask.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b8c1a06d4fbd8ec5e8705d3d52338993d922ae4cb3d01982b1792bb439d9499"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060Dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: record it through whatever this codebase already uses to report problems \u2014 or, if one specific failure truly cannot matter, catch exactly that exception type and say why in a comment on the catch (a comment on a catch-all still swallows everything else)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/AofOperations/AofSyncTask.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"9747b14f4a66483e2444d44c486604d082d6b84bc28f4458943b157bcb5c7ded"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/DiskbasedReplication/FileDataSource.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e32921a9c5ea6d2381fa6d45a23318631a96935e3ffe2d0e0999ef6905b512"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/ReplicaOps/DiskbasedReplication/FileDataSink.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"5032b342c39bf0ae127fa0bad0574c5d182a690ea43b3bfb21cb7863b23381fd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/GarnetTcpNetworkSender.cs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"69abf7226eb36bd464a2ae8b88d6ecbc6ccfba533aa9105fad0e7edb1dcc5dd1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/common/Networking/TcpNetworkHandlerBase.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b52d8fe048bf301d2e16175535caf821d505ea05233ff99712e00b562c944d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/GarnetServer.cs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d848000bb5c4cb7125f0707059e426a72cb69b074f270b8b76144b64ae2c5fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/MultiDatabaseManager.cs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd21652ae236efe94d726e355b69aa17d740819078977a6c9b207dc7eebc603a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (Exception)\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/MultiDatabaseManager.cs"},"region":{"startLine":546}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6897eb41fcf2ec0560dd97bb5368c1646e2a1260db19cd6c51ffd36571f861d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Databases/MultiDatabaseManager.cs"},"region":{"startLine":1068}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8fdc3132e0965975b8d1e551e00d6d5f40a58fb76134e1095dd747b37b6525c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Lua/LuaRunner.cs"},"region":{"startLine":361}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e7345ab1b57c5d210ba6ae8769b16d93a44bc142bc4bd63f8f2b4892624b48f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Module/ModuleUtils.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"53245e562714220f1bc2a82019dd279aaabfa97f3e19a7468fd890ea30a169ab"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060Dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: record it through whatever this codebase already uses to report problems \u2014 or, if one specific failure truly cannot matter, catch exactly that exception type and say why in a comment on the catch (a comment on a catch-all still swallows everything else)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Objects/ItemBroker/CollectionItemBroker.cs"},"region":{"startLine":762}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae4423ec9c19af55ed80f4fa7f09b5a1f6a6c32623ceab60bf7598949636940a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/PubSubCommands.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e70a41f32686079915f587a21f7ef63b0aa8e4880367a7c74586e2627ad8191"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/PubSubCommands.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"61e1725b3a49d567326c8e6d5695e407b2df472139e71dc26a31c19f9374f51b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060Dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: record it through whatever this codebase already uses to report problems \u2014 or, if one specific failure truly cannot matter, catch exactly that exception type and say why in a comment on the catch (a comment on a catch-all still swallows everything else)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/RespServerSession.cs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"94bd863e9fb853fcf447a6ce99e213be91f2e9deb60b088319f8243cb6238881"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/VectorManager.Replication.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"f77582257c42e28068089edca8786ffaa21f638b50744b09a6d46b79b7fcde1f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Servers/GarnetServerTcp.cs"},"region":{"startLine":464}}}],"partialFingerprints":{"codehealthFindingId/v1":"fea9ec751a3e6095375db8fa8938647f00b40e06ec13b0dd59989567d43c9b68"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Transaction/TransactionManager.cs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1edb7ba33df6d4eda528d925edd9d32f2e055691a1a264b22537bee707be03b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":2854}}}],"partialFingerprints":{"codehealthFindingId/v1":"03934428c050b880e5caf29c394cd2a060398036a96e7ca2ce9e73a60f476dd1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":2872}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9c6e3b1f6d6602b557229a3d11e0d33a50881af2eac0746cce9dbba7d6b8d9a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/AllocatorBase.cs"},"region":{"startLine":2945}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59cf0dc8a254fac6c157dc981d62f60f9fe60b65adf069bdf32a6be989920a5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7e53722d1e76c1d1cde49e2ad5ad866fe66a831d89ccb519b97a871b3f5a904"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff231b978ea40441b3e5bbd784c0682c3b772aebb141d6c311d5c894548a7c36"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"fad605fb040c521b4dddefc1918a9efa35207201458576b44fa797e05bb257fa"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060Dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: record it through whatever this codebase already uses to report problems \u2014 or, if one specific failure truly cannot matter, catch exactly that exception type and say why in a comment on the catch (a comment on a catch-all still swallows everything else)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ScanIteratorBase.cs"},"region":{"startLine":555}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27a2970c4a43c8ce1b0f69c94f985b2dce2e29d1b0b7ff6c229031f716789e1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/WorkQueueFIFO.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"03fb2bc81a82e2b58ae9b8f9d96b8670bcd0913c27ccb0d87aa906f7947c7c9e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/WorkQueueLIFO.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecf3fdbd89d58aa7d16569de248fe863edf6518ba41f40b448358c9c4af0f7f3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/ManagedLocalStorageDevice.cs"},"region":{"startLine":365}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37d17bef095ba651803ad05ebc5bbbea75b8afe0bdffca372d2567b2bb0a5d6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":1074}}}],"partialFingerprints":{"codehealthFindingId/v1":"0934470c339019434654abc725fce2e1227dc29789d030446c34de0b558edfb6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":1882}}}],"partialFingerprints":{"codehealthFindingId/v1":"9055a6be1fc0ae5a4c338cf777c7c1aafdc3f53a305c7f9349151ee4771ff07f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":2158}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5a8b6edc2ffe0b54e1b0f3d12dab88101b44ea39d059d81b22c8c0d96a2a99"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":2159}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8855bd8683804f61e60497164e13125ce77b71a5d613514cc127c5194710f70"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":2202}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1c3205796bfb95e0067205dd11bb932361b3922e00fe3253008b945f7e094f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":2232}}}],"partialFingerprints":{"codehealthFindingId/v1":"abd55afd6ed3947874bf815dea0b9c6e7456177a8b8502688fb699e07b85e96a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":2233}}}],"partialFingerprints":{"codehealthFindingId/v1":"407d315b1120f6c6139c50d28052b8e7367d544f3d3794b56db61548ff139003"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/NativeStorageDevice.cs"},"region":{"startLine":2237}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc208536138b3cbdec93907a5a0342e8fdb54dfc3deb83145aab3c5e7fa1104"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Device/RandomAccessLocalStorageDevice.cs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe6cc62f0e10cc955f2e25bfb7d51f312295a5abf5ceba26bfb90ca0b1bf509"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/CheckpointManagement/LocalStorageNamedDeviceFactory.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"febf464550837682142db669f05b93b2904405edc840a31139467aeb440810e9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/CheckpointManagement/LocalStorageNamedDeviceFactory.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5d4072b281c9c56dac7785ffb06401ee1399dc0cc5304575ff6a41889f4fb23"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060Dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: record it through whatever this codebase already uses to report problems \u2014 or, if one specific failure truly cannot matter, catch exactly that exception type and say why in a comment on the catch (a comment on a catch-all still swallows everything else)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Common/KVSettings.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"70b53565b3e299cb4f1e12fa843b482f3cb776cb11825dfdd9e2d33da5ab1287"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/IndexCheckpoint.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"57c1a9809e093639130dbd0b23285312f572d4d59ba69f0352d40c4951439114"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 does nothing with the exception it caught \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch. Log it through whatever this codebase already uses to report problems, or let it propagate; if one specific failure genuinely cannot matter, catch exactly that exception type and say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Recovery/Recovery.cs"},"region":{"startLine":445}}}],"partialFingerprints":{"codehealthFindingId/v1":"426514246df75b213db6292dee61123a1d0daf4f34e84df4be5adeadd46f192c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03636b790f176321dae55868c0b054fa25f162598b75e29dfe684bc0ff02b3b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a34b4182c7c3d1dac7b8b0670b668eee91ed2f2e0c8d3bc531abbb35d1b5b8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc229f4aecf90a06fb20d804392b355831fb6b4f313948a6a0b4391bb1750226"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Index/Tsavorite/Tsavorite.cs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eda3632506b3a92fddef3f1bdeffbd3a3a5a70dc21b111c659f604f5957d982"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1701}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af42680571700c70b95777d18f3605102247de3c2455f260d78cc898fcb2314"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1740}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bb686b5fbdeedae8afab0bf5402c06dd037efb9051f477e150f3b9adc82533"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1779}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fee04614c794891fc79828320793d1ff7f67a78a620ff79fa107d360dfccc9b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1820}}}],"partialFingerprints":{"codehealthFindingId/v1":"f640224b19cbeef3c9f085a312c77b7982488dc249f036c9a2db15ed930c36a6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1861}}}],"partialFingerprints":{"codehealthFindingId/v1":"7758a5b50275f2a8808c7cf70120eca5f92677dcc68de4b9d61b5ab938ff578a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":1956}}}],"partialFingerprints":{"codehealthFindingId/v1":"707f9b04c81a534702de4a79901511fbe7643924d8749c59d77b6e27bd10be34"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2231}}}],"partialFingerprints":{"codehealthFindingId/v1":"56984830c8454d360032a1ce32611df714a1b85e8a94431343b6dad493e68254"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2287}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7cee4cb229f3d69160ce9322c7890487ff0ede0f8b7e0d0739ff14fe26ca02d"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2343}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba5e4b2b1250b3a318be173bdafc7084dc11a75ea8f4938cfcfe69944db0a533"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2400}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb193252bddf5e01dc3310f0c7fcc761e011035e06e78dab1939dc5c4bbaeb6"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.cs"},"region":{"startLine":2458}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3b1f12dbea53ea30ee3cde6c0d68bb7ec3416086307a4fddfb11edffd27b0eb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"479b4724a2cadea5c34b773b9b63ce642653cf5bc308ca0d16026fcb0528fca7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5719f392aa8679ce1b3637e40d05ac2945d3bf9cb73ce8bcc32510b107f11cd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogScanIterator.cs"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"871e1de747d713ed8fe56671db117c5e4fe1b07a193f0799b9c3025ddf175f1e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060Dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: record it through whatever this codebase already uses to report problems \u2014 or, if one specific failure truly cannot matter, catch exactly that exception type and say why in a comment on the catch (a comment on a catch-all still swallows everything else)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLogSettings.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"9411f1612607ff1904b8157ad29183cec2e9ed5ff5833e3b78348378618f8bb7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/devices/AzureStorageDevice/BlobUtilsV12.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9cd56df1bb7c8251c20e999c35dc58a1663047128b5993535fe9fb600d97874"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/EntryPoint.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8fc0f948dc0cba8509b5fe1018b39e47ae013742a21d8cf207c6da0c5449c9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/EntryPoint.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"122ccdaeda1465ad8f2cb812a5f2c794d2073d14b6d588238213f73066a87f54"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/EntryPoint.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"740e4c49699bfc3ce87b25879ee181877c140fdb7042fad0d8b6e21d6cfa1fc7"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/EntryPoint.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c7e52d80ab1cce1ec83460505b3c167b05deaba2d135552e203534023453e5"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060Dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: record it through whatever this codebase already uses to report problems \u2014 or, if one specific failure truly cannot matter, catch exactly that exception type and say why in a comment on the catch (a comment on a catch-all still swallows everything else)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.cs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e38480fab22927d013d2167ad6fd8310dcbf4fa0aa027b753a4a5201120f6a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060Dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: record it through whatever this codebase already uses to report problems \u2014 or, if one specific failure truly cannot matter, catch exactly that exception type and say why in a comment on the catch (a comment on a catch-all still swallows everything else)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.cs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74f53748018235826f52bf484798d10125b806d2acbd5f391ea1e9e29915453"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. On a teardown path letting it propagate is not an option (throwing out of \u0060Dispose()\u0060 masks the failure already in flight and abandons the rest of the cleanup), so make the swallow deliberate instead: record it through whatever this codebase already uses to report problems \u2014 or, if one specific failure truly cannot matter, catch exactly that exception type and say why in a comment on the catch (a comment on a catch-all still swallows everything else)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.cs"},"region":{"startLine":369}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7a5fd43e3eadf0e107155a9c17ebef4c5ee3c0e919c6382e01f292626a07a28"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.Setup.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adf0662f48bbb1e35f2d26c658ce4f2c029b774cc9f5e56323549110275a576"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.Setup.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b36441a80efccfb0a0b84894e3c6e758d591e8f0ef643a9a68b06442b25a6d8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.Setup.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf461ca40fb71dc8da105ce976659ba4198f806b472dcac9692b7e5ab8efd27b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvNumaPinning.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f33251781f3d067fa0b62806af27a2ef747017f747b05d15594b2ffa7f510fe"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvOutput.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"368495b7af869fc75b7239b6b4872fe6a940a1f308f9c3e7f3eb08053dc9163c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/Options.cs"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a4587c0e35f031e6d0e199e92e5b9cfbd6ff4faadabc235931eacce22eaa88c"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060primaryRedis\u0060: line 868 writes \u0060primaryRedis?.Dispose\u0060, which says \u0060primaryRedis\u0060 can be null, but line 753 then dereferences it directly as \u0060primaryRedis.GetDatabase\u0060 with no null test between them and no guard around it. If the \u0060?.\u0060 is right, that dereference throws NullReferenceException on the input it was written for; if \u0060primaryRedis\u0060 truly cannot be null here, the \u0060?.\u0060 is misleading. Settle it one way \u2014 test \u0060primaryRedis\u0060 once before the first use and handle the null case, or drop the \u0060?.\u0060 \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"benchmark/Resp.benchmark/ClusterBench/ClientRequestProvider.Offline.cs"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec181ba5b6ab1c7494f57abd0d075f7a356a815bead05f3a073c817ce082ed5"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060client\u0060: line 53 writes \u0060client?.Dispose\u0060, which says \u0060client\u0060 can be null, but line 46 then dereferences it directly as \u0060client.IsConnected\u0060 with no null test between them and no guard around it. If the \u0060?.\u0060 is right, that dereference throws NullReferenceException on the input it was written for; if \u0060client\u0060 truly cannot be null here, the \u0060?.\u0060 is misleading. Settle it one way \u2014 test \u0060client\u0060 once before the first use and handle the null case, or drop the \u0060?.\u0060 \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Failover/ReplicaFailoverSession.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5877e444c4d87a3240e2fd73d9c16dcb68ed8ee3fec6821385417158d6658b3"}},{"ruleId":"X5","level":"warning","message":{"text":"Null guard scopes only part of the work it protects: This method contradicts itself about \u0060task\u0060: line 141 tests it for null before doing anything with it \u2014 the author\u0027s own statement that null is an input this code expects \u2014 but that \u0060if\u0060 scopes only the block beneath it, and line 148 then dereferences \u0060task\u0060 as \u0060task.ConfigureAwait\u0060 AFTER the block has closed, where the guard no longer applies. A null \u0060task\u0060 skips the guarded body and reaches that line anyway, throwing NullReferenceException on exactly the input the guard was written for. If the dereference belongs to the guarded work, move it inside the block; if \u0060task\u0060 truly cannot be null by then, the guard above is misleading and should go."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/DisklessReplication/ReplicaSyncSession.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"831d518d583f30fbcaaeef87a49d8b1eec1f78d80e2cb62d81a5840ff37c9866"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060retSession\u0060: line 153 writes \u0060retSession?.Dispose\u0060, which says \u0060retSession\u0060 can be null, but line 131 then dereferences it directly as \u0060retSession.replicaNodeId\u0060 with no null test between them and no guard around it. If the \u0060?.\u0060 is right, that dereference throws NullReferenceException on the input it was written for; if \u0060retSession\u0060 truly cannot be null here, the \u0060?.\u0060 is misleading. Settle it one way \u2014 test \u0060retSession\u0060 once before the first use and handle the null case, or drop the \u0060?.\u0060 \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/cluster/Server/Replication/PrimaryOps/ReplicaSyncSessionTaskStore.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"110973a70f1d03719cd1315ca9573f351e33af53256a68ded5977132a21b724a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060icVal\u0060: line 517 assigns it with \u0060as IComparable\u0060, which hands back null rather than throwing when the value is not a \u0060IComparable\u0060, but line 518 then dereferences it directly as \u0060icVal.CompareTo\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060icVal\u0060 once before the first use and handle the null case, or cast with \u0060(IComparable)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/host/Configuration/OptionsValidators.cs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"58bb3f5efb13d37a1f3dca2452374b42a72571268b5feca3fa34e23a71785ecf"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060targetSession\u0060: line 1959 writes \u0060targetSession?.clusterSession\u0060, which says \u0060targetSession\u0060 can be null, but line 1952 then dereferences it directly as \u0060targetSession.Id\u0060 with no null test between them and no guard around it. If the \u0060?.\u0060 is right, that dereference throws NullReferenceException on the input it was written for; if \u0060targetSession\u0060 truly cannot be null here, the \u0060?.\u0060 is misleading. Settle it one way \u2014 test \u0060targetSession\u0060 once before the first use and handle the null case, or drop the \u0060?.\u0060 \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/BasicCommands.cs"},"region":{"startLine":1952}}}],"partialFingerprints":{"codehealthFindingId/v1":"a25c35955e7be350744304bbed06c6f6b84fe63f59c7aa6bddeeb173d745471a"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060endPoint\u0060: line 380 assigns it with \u0060as IPEndPoint\u0060, which hands back null rather than throwing when the value is not a \u0060IPEndPoint\u0060, but line 381 then dereferences it directly as \u0060endPoint.Address\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060endPoint\u0060 once before the first use and handle the null case, or cast with \u0060(IPEndPoint)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/StoreWrapper.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"a47039d154929093e993b30f2de1d35ed21f7876891ca0d0c90ce1bb0017e3f2"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060endPoint\u0060: line 389 assigns it with \u0060as IPEndPoint\u0060, which hands back null rather than throwing when the value is not a \u0060IPEndPoint\u0060, but line 390 then dereferences it directly as \u0060endPoint.Address\u0060 with no null test between them and no guard around it. If the \u0060as\u0060 is right, that dereference throws NullReferenceException on the input it was written for \u2014 and the NullReferenceException names neither the cast nor the type that failed. Settle it one way \u2014 test \u0060endPoint\u0060 once before the first use and handle the null case, or cast with \u0060(IPEndPoint)\u0060 so the failure is reported where it happens \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/StoreWrapper.cs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9650ce1dc44bd915e1e36b27e9b19f723282e9add3d6e1916bbf9451c065b2e"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060snapshotObjectReadBuffers\u0060: line 1031 writes \u0060snapshotObjectReadBuffers?.Dispose\u0060, which says \u0060snapshotObjectReadBuffers\u0060 can be null, but line 974 then dereferences it directly as \u0060snapshotObjectReadBuffers.OnBeginRecord\u0060 with no null test between them and no guard around it. If the \u0060?.\u0060 is right, that dereference throws NullReferenceException on the input it was written for; if \u0060snapshotObjectReadBuffers\u0060 truly cannot be null here, the \u0060?.\u0060 is misleading. Settle it one way \u2014 test \u0060snapshotObjectReadBuffers\u0060 once before the first use and handle the null case, or drop the \u0060?.\u0060 \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/Allocator/ObjectAllocatorImpl.cs"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fe56739ffa1b6ed91d5d27d105d2925104a5367b2af6ce13dd89bff77e7be0"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060epochAccessor\u0060: line 546 writes \u0060epochAccessor?.TrySuspend\u0060, which says \u0060epochAccessor\u0060 can be null, but line 556 then dereferences it directly as \u0060epochAccessor.Resume\u0060 with no null test between them and no guard around it. If the \u0060?.\u0060 is right, that dereference throws NullReferenceException on the input it was written for; if \u0060epochAccessor\u0060 truly cannot be null here, the \u0060?.\u0060 is misleading. Settle it one way \u2014 test \u0060epochAccessor\u0060 once before the first use and handle the null case, or drop the \u0060?.\u0060 \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/src/core/TsavoriteLog/TsavoriteLog.Chunked.cs"},"region":{"startLine":556}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7ad663a53462153bfbd1165fb6b670ed55eb4c07fd467a0ce4778a2cdf52ce4"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060args\u0060: line 61 writes \u0060args?.\u0060, which says \u0060args\u0060 can be null, but line 72 then dereferences it directly as \u0060args.Length\u0060 with no null test between them and no guard around it. If the \u0060?.\u0060 is right, that dereference throws NullReferenceException on the input it was written for; if \u0060args\u0060 truly cannot be null here, the \u0060?.\u0060 is misleading. Settle it one way \u2014 test \u0060args\u0060 once before the first use and handle the null case, or drop the \u0060?.\u0060 \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/BDN-Tsavorite.Benchmark/BenchmarkDotNetTestsApp.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb023229ad073f437dc64407e90220a46cb30418c9d9dcc325caabce03f22da8"}},{"ruleId":"X5","level":"note","message":{"text":"Nullable reference types not enabled everywhere: 5/32 NRT-eligible project(s) enable \u003CNullable\u003Eenable\u003C/Nullable\u003E (projects targeting a pre-C#-8 framework are excluded \u2014 NRTs aren\u0027t available there). NRTs catch a whole class of null-deref bugs at compile time."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"80b24de9378624a0ce4846d60457395befcaec8e109ea81d289a370c9f7bfd5d"}},{"ruleId":"X5","level":"note","message":{"text":"Null-forgiving operator (\u0060!\u0060) suppressions reduce the NRT score: ~0.8 \u0060!\u0060 suppressions per 1k syntax nodes \u2014 17 suppression(s) across the 20164 syntax node(s) in code where nullable warnings are ENABLED, which is the only code a \u0060!\u0060 can suppress anything in (a \u0060!\u0060 under \u0060#nullable disable\u0060 is inert and is not counted, and its file\u0027s nodes are not in the denominator). Each one tells the compiler to trust you about null, suppressing the very safety NRTs provide."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"93cfe05d4ad8c8c171267603b23dfe289b74842e38edd1b7bfed59cc32bda337"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060ToNum\u0060 falls back to \u00600\u0060 when \u0060Utf8Parser.TryParse(slice, out double result, out var consumed) \u0026\u0026 consumed == s\u2026\u0060 is false, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer to the test rather than a stand-in for a value that could not be read, this is not a silent default: say so in a comment on the member and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/server/Resp/Vector/ExprRunner.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c6c2cb984569238c3474e9a57e2312d4d8bfb86dca88fab1d2589729079fd7f"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default on parse failure: \u0060Reader\u0060 returns \u0060true\u0060 when \u0060TryParseArgs(ref input, ref writer, out var bit, out var from)\u0060 is false, with no log or throw \u2014 a malformed value silently becomes that default. Log the input or fail validation. If that constant is the correct answer to the test rather than a stand-in for a value that could not be read, this is not a silent default: say so in a comment on the member and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"modules/RoaringBitmap/RoaringBitmapCommands.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"27f57e8ff5255b6b7435b0e340ce961beb6ca1d022d8102a088675b75dd8f029"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060IsPidAlive\u0060 swallows every exception into \u0060return false;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvBenchmark.Setup.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"49caeb63b275674f532d79d709a96455df62faafcc21b6de85be6d7897075853"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryReadFirstLine\u0060 swallows every exception into \u0060return \u0022\u0022;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvOutput.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"caee81b3828a172af3ea0d6b293d057c3b4d7de2e6fb884a6bb91184e38afa4b"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060TryGitSha\u0060 swallows every exception into \u0060return \u0022\u0022;\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let validation throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"libs/storage/Tsavorite/cs/benchmark/KV.benchmark/KvOutput.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"11b2b15f56636faeea935c0a48e7b2ce0c528228d128a2c40c31e831e2a70a6c"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1059","guid":"a2381a08-60f6-9554-a8b8-f3018cfaaca5","name":"Insufficient Technical Documentation","shortDescription":{"text":"Insufficient Technical Documentation"},"helpUri":"https://cwe.mitre.org/data/definitions/1059.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-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-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-321","guid":"0ce564a5-a44c-3358-b3db-317712e6e019","name":"Use of Hard-coded Cryptographic Key","shortDescription":{"text":"Use of Hard-coded Cryptographic Key"},"helpUri":"https://cwe.mitre.org/data/definitions/321.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-552","guid":"3492436b-eca2-9c54-9ba3-5dade427c903","name":"Files or Directories Accessible to External Parties","shortDescription":{"text":"Files or Directories Accessible to External Parties"},"helpUri":"https://cwe.mitre.org/data/definitions/552.html"},{"id":"CWE-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":55,"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."]}]}