{"$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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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":"D22","name":"Internal API Consistency","shortDescription":{"text":"Internal API Consistency"},"helpUri":"https://codehealth.canine.dev/dimensions/D22"},{"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"]}],"properties":{"cwe":["CWE-798","CWE-259"]}},{"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"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"]}},{"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"]}],"properties":{"cwe":["CWE-1395","CWE-937"]}},{"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"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"]}},{"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"]}],"properties":{"cwe":["CWE-1357","CWE-494"]}},{"id":"D39","name":"IL Efficiency","shortDescription":{"text":"IL Efficiency"},"helpUri":"https://codehealth.canine.dev/dimensions/D39"},{"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"]}],"properties":{"cwe":["CWE-506"]}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AC1","name":"Text alternatives","shortDescription":{"text":"Text alternatives"},"helpUri":"https://codehealth.canine.dev/dimensions/AC1"},{"id":"AC2","name":"Forms \u0026 labels","shortDescription":{"text":"Forms \u0026 labels"},"helpUri":"https://codehealth.canine.dev/dimensions/AC2"},{"id":"AC3","name":"Page structure","shortDescription":{"text":"Page structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AC3"},{"id":"AC4","name":"Keyboard semantics","shortDescription":{"text":"Keyboard semantics"},"helpUri":"https://codehealth.canine.dev/dimensions/AC4"},{"id":"AC5","name":"ARIA correctness","shortDescription":{"text":"ARIA correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/AC5"},{"id":"AC6","name":"Visual \u0026 motion safety","shortDescription":{"text":"Visual \u0026 motion safety"},"helpUri":"https://codehealth.canine.dev/dimensions/AC6"},{"id":"AC7","name":"A11y enforcement","shortDescription":{"text":"A11y enforcement"},"helpUri":"https://codehealth.canine.dev/dimensions/AC7"},{"id":"AX1","name":"Captive dependencies","shortDescription":{"text":"Captive dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/AX1"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"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":"C2","name":"Access Controls","shortDescription":{"text":"Access Controls"},"helpUri":"https://codehealth.canine.dev/dimensions/C2"},{"id":"ED3","name":"Event naming","shortDescription":{"text":"Event naming"},"helpUri":"https://codehealth.canine.dev/dimensions/ED3"},{"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":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF1","name":"Benchmark discipline","shortDescription":{"text":"Benchmark discipline"},"helpUri":"https://codehealth.canine.dev/dimensions/PF1"},{"id":"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":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"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":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"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":"JournaledStateManager.WorkLoop (cyclomatic 59): JournaledStateManager.WorkLoop has cyclomatic complexity 59 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Journaling/JournaledStateManager.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"783eea85105612a32ca3c13478e75aeb5afb70fb2594aa17f37553fbfd1b41ca"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivationData.RunMessageLoop (cyclomatic 51): ActivationData.RunMessageLoop 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":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"58e5667660dd7c7290aa32078adf6bb3d9edc5306e56afd2eabc8c0ab1095a29"}},{"ruleId":"D1","level":"warning","message":{"text":"ReferenceAssemblyModelExtractor.ExtractReferenceAssemblyData (cyclomatic 49): ReferenceAssemblyModelExtractor.ExtractReferenceAssemblyData has cyclomatic complexity 49 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.CodeGenerator/Model/ReferenceAssemblyModelExtractor.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"29c835e68941df1ddf981c1f6dea8b67ff79ad53e16a0bcbd754b3e7f7a85f87"}},{"ruleId":"D1","level":"warning","message":{"text":"ProxyGenerator.CreateProxyMethods (cyclomatic 49): ProxyGenerator.CreateProxyMethods has cyclomatic complexity 49 (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":"src/Orleans.CodeGenerator/ProxyGenerator.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3d3cf647740054fab71ef77825ab31793d1da2510d3fd9549de1832e94fa94c"}},{"ruleId":"D1","level":"warning","message":{"text":"InvokableBaseTypeResolver.SatisfiesConstraints (cyclomatic 48): InvokableBaseTypeResolver.SatisfiesConstraints has cyclomatic complexity 48 (threshold 15). Of this number, 44 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. 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":"src/Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"f024fe0dd6a1b508b41af061ae5aa1b421aaec5a63711afc95d0a23754f6f6a0"}},{"ruleId":"D1","level":"warning","message":{"text":"PersistentStreamPullingAgent.RunConsumerCursor (cyclomatic 40): PersistentStreamPullingAgent.RunConsumerCursor has cyclomatic complexity 40 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"4056393468d5fb7d22cad29067a5d07c8c127ab6c8882dcbbb7fb52a32ddd937"}},{"ruleId":"D1","level":"warning","message":{"text":"PersistentStreamPullingAgent.DoHandshakeWithConsumer (cyclomatic 39): PersistentStreamPullingAgent.DoHandshakeWithConsumer has cyclomatic complexity 39 (threshold 15). Of this number, 37 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":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f5da54e6d1da9eab509cda573abb28583cb4eaf5ff9a6216c3de3266e07c2a2"}},{"ruleId":"D1","level":"warning","message":{"text":"MembershipModelExecutionContext.ExecuteAsync (cyclomatic 38): MembershipModelExecutionContext.ExecuteAsync has cyclomatic complexity 38 (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":"src/Orleans.Clustering.TestKit/MembershipTableModel.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"115adf5d887e32d1409ef87d8c8290d62361529cbd3fc530088c7abb039a7ea3"}},{"ruleId":"D1","level":"warning","message":{"text":"link-audit.probeExternalTargets (cyclomatic 34): link-audit.probeExternalTargets has cyclomatic complexity 34 (threshold 15). Of this number, 33 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":"docs/site/scripts/lib/link-audit.mjs"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"c763adea01e6dde833a9783d36540bd067b30dfd22379ce7cdc27f71cfd81607"}},{"ruleId":"D1","level":"warning","message":{"text":"link-audit.auditRenderedInternalLinks (cyclomatic 33): link-audit.auditRenderedInternalLinks has cyclomatic complexity 33 (threshold 15). Of this number, 32 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":"docs/site/scripts/lib/link-audit.mjs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"252b599af411a2f0842459fccfc6d295a5fafba8881ca98f001ae20425ef7234"}},{"ruleId":"D1","level":"warning","message":{"text":"Silo.render (cyclomatic 33): Silo.render has cyclomatic complexity 33 (threshold 15). Of this number, 31 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"src/Dashboard/Orleans.Dashboard.App/src/silos/silo.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"e419c4c42a053f24d765e36943e9e5da1c33881bddc731c1212d7a4f1f580d00"}},{"ruleId":"D1","level":"warning","message":{"text":"GrainInterfaceVersionCodeFix.AppendHistoricalContracts (cyclomatic 30): GrainInterfaceVersionCodeFix.AppendHistoricalContracts 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":"src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c24b78d41d77e2e0b4c324d9f5ed8ec292f96b187c3d46aaff0e11e31957eb0"}},{"ruleId":"D1","level":"warning","message":{"text":"LibraryTypes.IsShallowCopyable (cyclomatic 30): LibraryTypes.IsShallowCopyable has cyclomatic complexity 30 (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":"src/Orleans.CodeGenerator/LibraryTypes.cs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"db50692a077b7d763760c823342d8209deb106a994f0ac45e23194fde4fbd0d2"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivationData.ActivateAsync (cyclomatic 30): ActivationData.ActivateAsync 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":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34e1fef4a9ada5b7652e8d6c1678b94e01429d43712681fafa2b77c2ce6ca20"}},{"ruleId":"D1","level":"warning","message":{"text":"MembershipModel.CanApply (cyclomatic 29): MembershipModel.CanApply 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":"src/Orleans.Clustering.TestKit/MembershipTableModel.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff92cdf82bfa4b31855f05749cc06672bb97431f786d25091e58996ba0537da4"}},{"ruleId":"D1","level":"warning","message":{"text":"RuntimeTypeNameParser.ParseInternal (cyclomatic 29): RuntimeTypeNameParser.ParseInternal 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":"src/Orleans.Serialization/TypeSystem/RuntimeTypeNameParser.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb80ef35bece5156d64322b8cc388f88526330a4ccdb3a10003c8581c432da9"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivationData.FinishDeactivating (cyclomatic 28): ActivationData.FinishDeactivating 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":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":2054}}}],"partialFingerprints":{"codehealthFindingId/v1":"77acd2920aa6a52e21655331cd5bddee8140d3c297b0c4827962324fdb1edf7c"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisJournalStorageProvider.ListAsync (cyclomatic 28): RedisJournalStorageProvider.ListAsync 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":"src/Redis/Orleans.Journaling.Redis/RedisJournalStorageProvider.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"87001818e2afcd6ad09a9e8c42f55704498ac174383700560156862dc237b33f"}},{"ruleId":"D1","level":"warning","message":{"text":"GrainInterfaceVersionCodeFix.SortContractEntries (cyclomatic 27): GrainInterfaceVersionCodeFix.SortContractEntries 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":"src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"19d25db132b854c20930eb366ffa3002d7679a58aaaa53a53dcd262ca9cbec9e"}},{"ruleId":"D1","level":"warning","message":{"text":"link-audit.auditSourceLinks (cyclomatic 27): link-audit.auditSourceLinks has cyclomatic complexity 27 (threshold 15). Of this number, 26 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":"docs/site/scripts/lib/link-audit.mjs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9fb9bc5f2e31877f7074ddf6820e9aa49208da7432ca52b2535565e33ca949"}},{"ruleId":"D1","level":"warning","message":{"text":"GrainInterfaceUtils.GetMethods (cyclomatic 26): GrainInterfaceUtils.GetMethods 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":"src/Orleans.Core/CodeGeneration/GrainInterfaceUtils.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1886f688e79e55992373e4da75e38afbb4fadb3fe6e48f66f8dd5035aa1072ae"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterManifestProvider.UpdateManifest (cyclomatic 26): ClusterManifestProvider.UpdateManifest has cyclomatic complexity 26 (threshold 15). Of this number, 25 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":"src/Orleans.Runtime/Manifest/ClusterManifestProvider.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"d75f024b16644a523ce44cd805e427940413c361e0eed6fb7c0d7a0232135273"}},{"ruleId":"D1","level":"warning","message":{"text":"markdown-ranges.fallbackProtectedLineRanges (cyclomatic 26): markdown-ranges.fallbackProtectedLineRanges 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":"docs/site/scripts/lib/markdown-ranges.mjs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"258bfde7b34c566277212ebc60006471a1779acdb96271f9a36e7e10ffeabb7d"}},{"ruleId":"D1","level":"warning","message":{"text":"include-closure.collectIncludeTargets (cyclomatic 26): include-closure.collectIncludeTargets 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":"docs/site/scripts/lib/include-closure.mjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea515182d80708beeba5fe2eba26ee2a55820e1bd9d976324e0162b8f3a35c58"}},{"ruleId":"D1","level":"warning","message":{"text":"ProxyInterfaceDescription.ValidateBaseClass (cyclomatic 25): ProxyInterfaceDescription.ValidateBaseClass 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":"src/Orleans.CodeGenerator/Model/ProxyInterfaceDescription.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"6058ac40b17b18225363628fb4121c459989f14188f58e52c0c63b3b85ebe47e"}},{"ruleId":"D1","level":"warning","message":{"text":"SerializerGenerator.GetFieldDescriptions (cyclomatic 25): SerializerGenerator.GetFieldDescriptions 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":"src/Orleans.CodeGenerator/SerializerGenerator.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"09c7e4a9c7d370c008912e5a2dfed1ad30db3c74407be7f37cbf20fad203787d"}},{"ruleId":"D1","level":"warning","message":{"text":"Striped64.LongAccumulate (cyclomatic 25): Striped64.LongAccumulate 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":"src/Orleans.Core/Caching/Internal/Striped64.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7d147bcb504c4b9d1135361adcb4befd95baff7751b9b75cf2c901f1d3ac6a2"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivationRepartitioner.AcceptExchangeRequest (cyclomatic 25): ActivationRepartitioner.AcceptExchangeRequest 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":"src/Orleans.Runtime/Placement/Repartitioning/ActivationRepartitioner.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d66f886748a36fecc955f90999e7b90a5ae6b70ffa1b1ea4d105243bc4d5592"}},{"ruleId":"D1","level":"warning","message":{"text":"S3JournalStorageProvider.ListAsync (cyclomatic 25): S3JournalStorageProvider.ListAsync 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":"src/AWS/Orleans.Journaling.S3/S3JournalStorageProvider.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec6e2cd0d04c624e2897df7dff30ddbfaa867660159cea8216b944d418007d9"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDBReminderStorageOptionsExtensions.ParseConnectionString (cyclomatic 25): DynamoDBReminderStorageOptionsExtensions.ParseConnectionString 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":"src/AWS/Orleans.Reminders.DynamoDB/Reminders/DynamoDbReminderStorageOptionsExtensions.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8de49874b96b6a2731c87dda286b9ab331f11c2a4ac3d9cb4e21de1a8e3e1994"}},{"ruleId":"D1","level":"warning","message":{"text":"PooledQueueCache.TryGetNextMessageWithResult (cyclomatic 24): PooledQueueCache.TryGetNextMessageWithResult 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":"src/Orleans.Streaming/Common/PooledCache/PooledQueueCache.cs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"41b507e3b110a3d2ae9e667a477d93d4b9cc12e786628f0e843469b3b4763d15"}},{"ruleId":"D1","level":"warning","message":{"text":"project-policy.validateProjectEvaluations (cyclomatic 24): project-policy.validateProjectEvaluations 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":"docs/site/scripts/lib/project-policy.mjs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"9effd4d84512cc42490b8a3699b51c0d94ccc5c34e3895d3909aa1429c7a1f02"}},{"ruleId":"D1","level":"warning","message":{"text":"Impl.AnalyzeNamedType (cyclomatic 23): Impl.AnalyzeNamedType has cyclomatic complexity 23 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Analyzers/GrainInterfaceVersionAnalyzer.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"c67bdc6ce5c5ee73352f2e4fe3eaa85027daaa6e86e2ea473b452b56f893844e"}},{"ruleId":"D1","level":"warning","message":{"text":"BatchOperation.Flush (cyclomatic 23): BatchOperation.Flush 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":"src/Azure/Orleans.Transactions.AzureStorage/TransactionalState/AzureTableTransactionalStateStorage.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"154f3762fc242a4e9d40a7b74c95af089ac90fd46b757fcbc696d02b02804ed7"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadWriteLock.EnterLock (cyclomatic 23): ReadWriteLock.EnterLock 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":"src/Orleans.Transactions/State/ReaderWriterLock.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8f482e587c360e7058be2f87b36b24385a61bdf9532946553d007f7ac6e6679"}},{"ruleId":"D1","level":"warning","message":{"text":"TransactionQueue.NotifyOfAbort (cyclomatic 23): TransactionQueue.NotifyOfAbort 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":"src/Orleans.Transactions/State/TransactionQueue.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"70c3130800035afc3caf4f7bb1b72ef81372cca9733f5813918729a36d47d209"}},{"ruleId":"D1","level":"warning","message":{"text":"MembershipTableTestRunner.ConcurrentReads (cyclomatic 22): MembershipTableTestRunner.ConcurrentReads 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":"src/Orleans.Clustering.TestKit/MembershipTableTestRunner.cs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"dff4310c3d8853632536c4f36daa7224104a849ac6159ab4dd6ad9366b19a34e"}},{"ruleId":"D1","level":"warning","message":{"text":"JournaledJobShard.ProcessMutationBatchAsync (cyclomatic 22): JournaledJobShard.ProcessMutationBatchAsync has cyclomatic complexity 22 (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":"src/Orleans.DurableJobs/JournaledJobShard.cs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"270501b055da1c85cd7474a6db600f5043ad4cbcbfa5cf283c6635238ab1c7ee"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientDirectory.UpdateRoutingTable (cyclomatic 22): ClientDirectory.UpdateRoutingTable 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":"src/Orleans.Runtime/GrainDirectory/ClientDirectory.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0533e80a41be9a17aa15a4e2df41ed2e69d15d1e0ca1565607a81fa65663416"}},{"ruleId":"D1","level":"warning","message":{"text":"PersistentStreamPullingAgent.ReadFromQueue (cyclomatic 22): PersistentStreamPullingAgent.ReadFromQueue 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":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"41bf607040f85bd56464dab4e952b4eecfee7852bb115db0229c69d30fd0337b"}},{"ruleId":"D1","level":"warning","message":{"text":"SiloInstanceRecord.SiloInstanceRecord.ctor (cyclomatic 22): SiloInstanceRecord.SiloInstanceRecord.ctor 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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/SiloInstanceRecord.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"707a15f7b3f9958e307b037af87eddb199639db0598450bb472c32dec4a446cf"}},{"ruleId":"D1","level":"warning","message":{"text":"source-quality.parseDocumentedPackageTable (cyclomatic 22): source-quality.parseDocumentedPackageTable 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":"docs/site/scripts/lib/source-quality.mjs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"49ecd8b24ea02be263303fcbfb3a88967bae986b091504be8b561ef288a1c291"}},{"ruleId":"D1","level":"warning","message":{"text":"GrainInterfaceVersionCodeFix.CreateProjectRegenerationAsync (cyclomatic 21): GrainInterfaceVersionCodeFix.CreateProjectRegenerationAsync has cyclomatic complexity 21 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 6 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":"src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"16cd163443d856ac71be1372ddff3a8a5a848ef5a8297088fb7d1ac3f3c48595"}},{"ruleId":"D1","level":"warning","message":{"text":"GrainInterfaceVersionCodeFix.MergeHistoricalMembers (cyclomatic 21): GrainInterfaceVersionCodeFix.MergeHistoricalMembers 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":"src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07811ebbaa277af4e943399065140ea112c751dd031e594957b1a2219dabe02"}},{"ruleId":"D1","level":"warning","message":{"text":"CopierGenerator.GenerateCopier (cyclomatic 21): CopierGenerator.GenerateCopier 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":"src/Orleans.CodeGenerator/CopierGenerator.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ed0f0c22b31dbbf828999866ebabe4c9c2edf9960d763aa67b7753a7ef1dcbb"}},{"ruleId":"D1","level":"warning","message":{"text":"ProxyGenerator.CreateAsyncProxyMethodBody (cyclomatic 21): ProxyGenerator.CreateAsyncProxyMethodBody 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":"src/Orleans.CodeGenerator/ProxyGenerator.cs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"233a8d4dbd6a313e2c16d5d50aeb12cb33fbb10da2f43de48a943eb7ed7396f6"}},{"ruleId":"D1","level":"warning","message":{"text":"ShardExecutor.ExecuteJobAsync (cyclomatic 21): ShardExecutor.ExecuteJobAsync 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":"src/Orleans.DurableJobs/ShardExecutor.cs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc1b8144f35824edcb35ca2b815901d2653cacff0628de73ce7e6415cec8510"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalSiloHealthEventHistory.Aggregate (cyclomatic 21): LocalSiloHealthEventHistory.Aggregate has cyclomatic complexity 21 (threshold 15). Of this number, 20 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":"src/Orleans.Runtime/MembershipService/LocalSiloHealthEventHistory.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"2157c9bc3ae2d013263548695eb4002c201b0a4887224d081db46f102434665a"}},{"ruleId":"D1","level":"warning","message":{"text":"MembershipAgent.ValidateInitialConnectivity (cyclomatic 21): MembershipAgent.ValidateInitialConnectivity 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":"src/Orleans.Runtime/MembershipService/MembershipAgent.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7679ddd2f32779ad67a5a00b4b45acf43f1edea1e774622cf70f494084b679b5"}},{"ruleId":"D1","level":"warning","message":{"text":"ResourceOptimizedPlacementDirector.OnAddActivation (cyclomatic 21): ResourceOptimizedPlacementDirector.OnAddActivation 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":"src/Orleans.Runtime/Placement/ResourceOptimizedPlacementDirector.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe15fe8837d5c08077639652ea9d9dc409ea0f6184b75d5dd1c990245e4f8c4"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDBTransactionalStateStorage.Store (cyclomatic 21): DynamoDBTransactionalStateStorage.Store 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":"src/AWS/Orleans.Transactions.DynamoDB/TransactionalState/DynamoDBTransactionalStateStorage.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81f945a9d0602e0f28e6cb68551581931ecf94881c2509529fdf0fd2d077e3e"}},{"ruleId":"D1","level":"warning","message":{"text":"GrainInterfaceVersionCodeFix.AddInterfaceToFileAsync (cyclomatic 20): GrainInterfaceVersionCodeFix.AddInterfaceToFileAsync has cyclomatic complexity 20 (threshold 15). Of this number, 19 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":"src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecd3f5e54798239919bfdc4d75d6aff4379b68c1f4cff502307770f40f9f83b6"}},{"ruleId":"D1","level":"warning","message":{"text":"MembershipTableModelBasedTestRunner.RunGeneratedConformanceTests (cyclomatic 20): MembershipTableModelBasedTestRunner.RunGeneratedConformanceTests has cyclomatic complexity 20 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 5 belong to 2 function literals 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":"src/Orleans.Clustering.TestKit/MembershipTableModelBasedTestRunner.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"6edd0a09d4349145d87e773afc631cb7e7857d76be568dbdc37a375b2c26f8b6"}},{"ruleId":"D1","level":"warning","message":{"text":"SerializerGenerator.GenerateDeserializeMethod (cyclomatic 20): SerializerGenerator.GenerateDeserializeMethod 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":"src/Orleans.CodeGenerator/SerializerGenerator.cs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f6d2b0b4f9ed8d7afa618ed8f69e933091233ed5df96ec04817dbf2c42dbe09"}},{"ruleId":"D1","level":"warning","message":{"text":"Utils.EnumerableToString (cyclomatic 20): Utils.EnumerableToString 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":"src/Orleans.Core.Abstractions/Utils/Utils.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bdc72de9af5d599c48dbe7ec78e0d85db862df157dba7d03c07dc5f0d812213"}},{"ruleId":"D1","level":"warning","message":{"text":"DurableJobsOptionsValidator.ValidateConfiguration (cyclomatic 20): DurableJobsOptionsValidator.ValidateConfiguration 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":"src/Orleans.DurableJobs/Hosting/DurableJobsOptions.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"192db0471dd46889ada79944e526c5abd001dd7dfda9148e8a82209f11c678aa"}},{"ruleId":"D1","level":"warning","message":{"text":"JournaledJobShardManager.TryAssignShardAsync (cyclomatic 20): JournaledJobShardManager.TryAssignShardAsync 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":"src/Orleans.DurableJobs/JournaledJobShardManager.cs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"4768578675ea4031cb8e4ba326fc3cf4a8c104019d178b5a135e46263b566685"}},{"ruleId":"D1","level":"warning","message":{"text":"ShardExecutor.RunShardAsync (cyclomatic 20): ShardExecutor.RunShardAsync 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":"src/Orleans.DurableJobs/ShardExecutor.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c06e05226135b73e96cff2133d16e4707ecaddb0eafad4e6f8d69c631ea512b"}},{"ruleId":"D1","level":"warning","message":{"text":"ReminderServiceLifecycleTestRunner.RunReminderService_StaleOwnerRegistrationReconciles (cyclomatic 20): ReminderServiceLifecycleTestRunner.RunReminderService_StaleOwnerRegistrationReconciles has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 410, 496). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Reminders.TestKit/ReminderServiceLifecycleTestRunner.cs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"413ea44e540ba429f9e4e9f7d34fd94efd4656f0ce8ffeb828fb2d00a862717e"}},{"ruleId":"D1","level":"warning","message":{"text":"SiloClusteringValidator.ValidateConfiguration (cyclomatic 20): SiloClusteringValidator.ValidateConfiguration 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":"src/Orleans.Runtime/Configuration/Validators/SiloClusteringValidator.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b13a17275a013653160ad4b20d1efa5c911bf86987aa57607014f8d95ed9cf8c"}},{"ruleId":"D1","level":"warning","message":{"text":"PersistentStreamPullingAgent.RegisterStream (cyclomatic 20): PersistentStreamPullingAgent.RegisterStream 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":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"f996258b550d2e0a574a351551c8b255c5bcecd00ef1d547c8bf8bf31a676baa"}},{"ruleId":"D1","level":"warning","message":{"text":"TestingUtils.WaitUntilSucceededAsync (cyclomatic 20): TestingUtils.WaitUntilSucceededAsync 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":"src/Orleans.TestingHost/Utils/TestingUtils.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"347a376cb87ecf3c986c6a582d019b463f6f093adc5b1b0ebda52fc2a7d7b45e"}},{"ruleId":"D1","level":"warning","message":{"text":"markdown-ranges.startsHtmlBlock (cyclomatic 20): markdown-ranges.startsHtmlBlock 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":"docs/site/scripts/lib/markdown-ranges.mjs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"b66d97669e24300da3136b51706aaefa5ecf54cb245d5eddfac674768fa36217"}},{"ruleId":"D1","level":"warning","message":{"text":"compatibility-paths.compatibilityOutputPath (cyclomatic 20): compatibility-paths.compatibilityOutputPath has cyclomatic 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, 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":"docs/site/scripts/lib/compatibility-paths.mjs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"084125cfe40173c3042894da69a55ee9561555819b53d209e9245e4873d14c8b"}},{"ruleId":"D1","level":"warning","message":{"text":"InvokableMethodDescription.InvokableMethodDescription.ctor (cyclomatic 19): InvokableMethodDescription.InvokableMethodDescription.ctor 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":"src/Orleans.CodeGenerator/Model/InvokableMethodDescription.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"f17bd7b7c930f9959ee413773be7f83206a45937ceaeb6cd8e34a5a1860633c9"}},{"ruleId":"D1","level":"warning","message":{"text":"SerializableTypeModelExtractor.TryExtractSerializableTypeModel (cyclomatic 19): SerializableTypeModelExtractor.TryExtractSerializableTypeModel 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":"src/Orleans.CodeGenerator/Model/SerializableTypeModelExtractor.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"038aca97a33cbbb190005a98d438848ed9b161f10717063583000afe703a2a04"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncExecutorWithRetries.ExecuteWithRetriesHelper (cyclomatic 19): AsyncExecutorWithRetries.ExecuteWithRetriesHelper 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":"src/Orleans.Core/Async/AsyncExecutorWithRetries.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"b77afaaa887cee5d9dfc05f812b0579d877ae19291926d00a8955e7238cb0ee3"}},{"ruleId":"D1","level":"warning","message":{"text":"Message.TryFormat (cyclomatic 19): Message.TryFormat 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":"src/Orleans.Core/Messaging/Message.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcef2323014d700dea01ff4ae82becd1c7dc95b0ddb31c377a1fee6e6b58c8a"}},{"ruleId":"D1","level":"warning","message":{"text":"ConnectionManager.Close (cyclomatic 19): ConnectionManager.Close 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":"src/Orleans.Core/Networking/ConnectionManager.cs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"8851edfe6005535d16d081e486a00072cfe2f3f8e798cb7929726ec06b7b9751"}},{"ruleId":"D1","level":"warning","message":{"text":"ShallowCopyableTypes.IsShallowCopyableInternal (cyclomatic 19): ShallowCopyableTypes.IsShallowCopyableInternal has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (ShallowCopyableTypes.IsShallowCopyableInternal) 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":"src/Orleans.Serialization/Cloning/IDeepCopier.cs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb6571377a4d03ea9198631c7c8449815c221b426c6ac9ee2612576443ca346e"}},{"ruleId":"D1","level":"warning","message":{"text":"ShallowCopyableTypes.IsShallowCopyableInternal (cyclomatic 19): ShallowCopyableTypes.IsShallowCopyableInternal has cyclomatic complexity 19 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators. This shape REPEATS in the file: one other method here (ShallowCopyableTypes.IsShallowCopyableInternal) 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":"src/Orleans.Serialization/Cloning/IDeepCopier.cs"},"region":{"startLine":337}}}],"partialFingerprints":{"codehealthFindingId/v1":"32eebefa64ac7ca9e604f4ba1bbef85fa9e490cdc789336d03d9ed0de0d71f37"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDBMembershipHelper.ParseDataConnectionString (cyclomatic 19): DynamoDBMembershipHelper.ParseDataConnectionString 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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipHelper.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8689778dd1301409c1ba61879fc0936cec75ec8410911f22294acf26d4c5883a"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDBStorage.UpdateTableAsync (cyclomatic 19): DynamoDBStorage.UpdateTableAsync 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":"src/AWS/Shared/Storage/DynamoDBStorage.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"d17fa1d799bd45ce32c66787e0976dd0ba0d453e19e0f1ad5cbbd568a5ae8e7d"}},{"ruleId":"D1","level":"warning","message":{"text":"RedisJournalStorage.CreateStorageState (cyclomatic 19): RedisJournalStorage.CreateStorageState 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":"src/Redis/Orleans.Journaling.Redis/RedisJournalStorage.cs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"673d4cf30b246f1e57b1ad7844d03e16ab530d9ea75f7239a98a51b5b9241b5d"}},{"ruleId":"D1","level":"warning","message":{"text":"TransactionRecoveryTestsRunner.TransactionWillRecoverAfterTargetedPhase (cyclomatic 19): TransactionRecoveryTestsRunner.TransactionWillRecoverAfterTargetedPhase has cyclomatic complexity 19 (threshold 15). Of this number, 12 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. 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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryTestsRunner.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"5363641152cbbc8911d74467d015ae0ea0988c387293fa807a76aa1af18cdf78"}},{"ruleId":"D1","level":"warning","message":{"text":"source-quality.validateReferenceInventories (cyclomatic 19): source-quality.validateReferenceInventories has cyclomatic complexity 19 (threshold 15). Of this number, 18 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":"docs/site/scripts/lib/source-quality.mjs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"de2ff26acf198858b4973d9308ad10b44d6dfba58333707e75a4217670562335"}},{"ruleId":"D1","level":"warning","message":{"text":"InvokableBaseTypeResolver.TryConstructAndValidate (cyclomatic 18): InvokableBaseTypeResolver.TryConstructAndValidate 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":"src/Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b2ebf50fc069347957d7ced51a361e8575f10e369a4b28d40713ca20f55663f"}},{"ruleId":"D1","level":"warning","message":{"text":"SerializerGenerator.Generate (cyclomatic 18): SerializerGenerator.Generate 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":"src/Orleans.CodeGenerator/SerializerGenerator.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"72be2d718eae996c70c38e6e60462ff18966aaa46d7373df7b49713e49e00f12"}},{"ruleId":"D1","level":"warning","message":{"text":"SerializerConfigurationAnalyzer.AnalyzeSerializerAvailability (cyclomatic 18): SerializerConfigurationAnalyzer.AnalyzeSerializerAvailability 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":"src/Orleans.Serialization/Hosting/SerializerConfigurationAnalyzer.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca8e065e96ecc7036fc0341a103a9513e8b7dc60c075142a5197f5be8049c33"}},{"ruleId":"D1","level":"warning","message":{"text":"LifecycleStageInspector.CleanMethodName (cyclomatic 18): LifecycleStageInspector.CleanMethodName 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":"src/Dashboard/Orleans.Dashboard/Implementation/LifecycleStageInspector.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ffce88163422a27f2e294c66c36c85406be019a7f8c3be643563f8f7b25dad"}},{"ruleId":"D1","level":"warning","message":{"text":"AzureTableTransactionalStateStorage.StoreCore (cyclomatic 18): AzureTableTransactionalStateStorage.StoreCore 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":"src/Azure/Orleans.Transactions.AzureStorage/TransactionalState/AzureTableTransactionalStateStorage.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a85032bfa2093fbc8a17a3e5861ff9bd4938ddea542f97947b9b75caff16ac9"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadWriteLock.LockWork (cyclomatic 18): ReadWriteLock.LockWork 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":"src/Orleans.Transactions/State/ReaderWriterLock.cs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d042a8b03c92cfbd5ebd75a1bd4ce38033e571a62d3cd0a09adee089a7f77e3"}},{"ruleId":"D1","level":"warning","message":{"text":"docfx.collectMarkdownLinks (cyclomatic 18): docfx.collectMarkdownLinks 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":"docs/site/scripts/lib/docfx.mjs"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"674e40aa1e8f35213c28ad0854d1c6ffc0f2f6a463f47355c96c4ccb9ac74f16"}},{"ruleId":"D1","level":"warning","message":{"text":"docfx.collectUidMap (cyclomatic 18): docfx.collectUidMap 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":"docs/site/scripts/lib/docfx.mjs"},"region":{"startLine":1622}}}],"partialFingerprints":{"codehealthFindingId/v1":"132a2171d71e57c6a7ea6a5f5b92d471891b63337378a2a1d33cceaf2526e1f1"}},{"ruleId":"D1","level":"warning","message":{"text":"link-audit.renderedDocument (cyclomatic 18): link-audit.renderedDocument has cyclomatic complexity 18 (threshold 15). Most of this is not in the body itself: 5 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 604). 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":"docs/site/scripts/lib/link-audit.mjs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d3b5640eb5d72274ee1bf05829c397c4c258df7ddd7ef1661cf23e0b682d0aa"}},{"ruleId":"D1","level":"warning","message":{"text":"MembershipModel.Apply (cyclomatic 17): MembershipModel.Apply has cyclomatic complexity 17 (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":"src/Orleans.Clustering.TestKit/MembershipTableModel.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"62375d0491653ac98de30ea8de184d1a2b61ee67a23e833a293f3885726f99ff"}},{"ruleId":"D1","level":"warning","message":{"text":"ProxyGenerator.GenerateConstructors (cyclomatic 17): ProxyGenerator.GenerateConstructors 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":"src/Orleans.CodeGenerator/ProxyGenerator.cs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb17041bed84855d293c14da8f9f7dc3aa83356544cd5ca788ac4951da7a0bcb"}},{"ruleId":"D1","level":"warning","message":{"text":"ClientMessageCenter.GetGatewayConnection (cyclomatic 17): ClientMessageCenter.GetGatewayConnection 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":"src/Orleans.Core/Messaging/ClientMessageCenter.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"7001f6da4d842a62e484256233933d426f6c033817c65d95426f729d3417be18"}},{"ruleId":"D1","level":"warning","message":{"text":"ShardCatalogProperties.From (cyclomatic 17): ShardCatalogProperties.From has cyclomatic complexity 17 (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":"src/Orleans.DurableJobs/JournaledJobShardManager.cs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"129ad7c4713ef8dd83f56f322e2b68e88b1a7f952c8f389c7653acb85a34c388"}},{"ruleId":"D1","level":"warning","message":{"text":"JournalCatalogRange.JournalCatalogRange.ctor (cyclomatic 17): JournalCatalogRange.JournalCatalogRange.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":"src/Orleans.Journaling/JournalCatalogRange.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c6e4573001688edc2a24759a1706db45c20ffee3e87408f0e88f32e1f19156"}},{"ruleId":"D1","level":"warning","message":{"text":"ClusterHealthMonitor.UpdateMonitoredSilos (cyclomatic 17): ClusterHealthMonitor.UpdateMonitoredSilos 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":"src/Orleans.Runtime/MembershipService/ClusterHealthMonitor.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f60ec5c831e54a385cbc62f1b44ce8ac673f66059594eb7017639e2696f4a7b3"}},{"ruleId":"D1","level":"warning","message":{"text":"SiloHealthMonitor.Run (cyclomatic 17): SiloHealthMonitor.Run has cyclomatic complexity 17 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/MembershipService/SiloHealthMonitor.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"0beba1f22ac8ff3970ad89e7c940c5fced38b62538c9332a5a81855db8ed8d35"}},{"ruleId":"D1","level":"warning","message":{"text":"AsyncTimer.NextTick (cyclomatic 17): AsyncTimer.NextTick 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":"src/Orleans.Runtime/Timers/AsyncTimer.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"48d0604342f003f33b8b6408a068b8b3142eed51777885906513887eb16cd4b9"}},{"ruleId":"D1","level":"warning","message":{"text":"CodecProvider.CreateCodecInstance (cyclomatic 17): CodecProvider.CreateCodecInstance 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":"src/Orleans.Serialization/Serializers/CodecProvider.cs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"722f3eede61fcd5c035d1ad1bd4152258350ed5cc9cbc1d31ce997c2869607e2"}},{"ruleId":"D1","level":"warning","message":{"text":"TlsServerConnectionMiddleware.InnerOnConnectionAsync (cyclomatic 17): TlsServerConnectionMiddleware.InnerOnConnectionAsync has cyclomatic complexity 17 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Connections.Security/Security/TlsServerConnectionMiddleware.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b21cd21ec79c3534ddbc6419c558ab6597d1912058f58f2c8feb11ccb0c468dd"}},{"ruleId":"D1","level":"warning","message":{"text":"S3JournalStorage.ReplaceAsync (cyclomatic 17): S3JournalStorage.ReplaceAsync 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":"src/AWS/Orleans.Journaling.S3/S3JournalStorage.cs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"c03b80cf569581c2c94dbe7b272743e65656ef1dccc7fcbaf93b0f5bba01a906"}},{"ruleId":"D1","level":"warning","message":{"text":"TransactionQueue.StorageWork (cyclomatic 17): TransactionQueue.StorageWork 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":"src/Orleans.Transactions/State/TransactionQueue.cs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"5769ab13594301c94e77485f2604f17a2a8ec8be2d813ba335b2798146ce1eec"}},{"ruleId":"D1","level":"warning","message":{"text":"docfx.convertTabs (cyclomatic 17): docfx.convertTabs 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":"docs/site/scripts/lib/docfx.mjs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11b58596ad969178f38e5fdc5a1941d9c8c7535f499046d1e0f379b263275bf"}},{"ruleId":"D1","level":"warning","message":{"text":"docfx.convertLinkTarget (cyclomatic 17): docfx.convertLinkTarget 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":"docs/site/scripts/lib/docfx.mjs"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"b052bb19ebbf06d10740ca2090ad2cb8cd53101588824b8b75fb74cb0ab7ac7d"}},{"ruleId":"D1","level":"warning","message":{"text":"docfx.convertHubYaml (cyclomatic 17): docfx.convertHubYaml has cyclomatic complexity 17 (threshold 15). Of this number, 16 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/docfx.mjs"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"091f2a3ee700cd75c89a6bc5060c3d55f16101a7ec81e0317983fa1c676f9c91"}},{"ruleId":"D1","level":"warning","message":{"text":"Impl.OnCompilationEnd (cyclomatic 16): Impl.OnCompilationEnd 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":"src/Orleans.Analyzers/GrainInterfaceVersionAnalyzer.cs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04db6876967f22c1b838005d0d7f08d72e6950f2ddd634b41888d6be6050a6f"}},{"ruleId":"D1","level":"warning","message":{"text":"MetadataGenerator.GenerateIncrementalMetadata (cyclomatic 16): MetadataGenerator.GenerateIncrementalMetadata 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. This is NOT this file\u0027s highest cyclomatic complexity: MetadataGenerator.GetOpenTypeSyntax (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":"src/Orleans.CodeGenerator/MetadataGenerator.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f523c905650a6735267c95f4388c234ca327ea1220588130d9c68ab09aa0a11"}},{"ruleId":"D1","level":"warning","message":{"text":"SymbolExtensions.ToTypeSyntaxInner (cyclomatic 16): SymbolExtensions.ToTypeSyntaxInner 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":"src/Orleans.CodeGenerator/SyntaxGeneration/SymbolExtensions.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c5dcb4422caa218cc72dae64f350a0e302818faa2a688ab90dec26ce353245"}},{"ruleId":"D1","level":"warning","message":{"text":"LocalObjectData.CancelRequestAsync (cyclomatic 16): LocalObjectData.CancelRequestAsync 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":"src/Orleans.Core/Runtime/InvokableObjectManager.cs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"950e49856e256431dc6ed8974ff5e9a46e2db0952822bf91995c70be8765187c"}},{"ruleId":"D1","level":"warning","message":{"text":"JournalingHostingExtensions.AddJournalStorage (cyclomatic 16): JournalingHostingExtensions.AddJournalStorage has cyclomatic complexity 16 (threshold 15). Of this number, 12 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":"src/Orleans.Journaling/JournalingHostingExtensions.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8125451d84fd3f88e12889076e10ee50515e9d48a42e245dcf91762379276f4"}},{"ruleId":"D1","level":"warning","message":{"text":"ActivationData.CancelRequestAsyncCore (cyclomatic 16): ActivationData.CancelRequestAsyncCore 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":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"0312e7126a6e48ad206615fff359029b3528376a87557aa5cc183af28d323657"}},{"ruleId":"D1","level":"warning","message":{"text":"InsideRuntimeClient.Invoke (cyclomatic 16): InsideRuntimeClient.Invoke 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":"src/Orleans.Runtime/Core/InsideRuntimeClient.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"17a2f5981923abb59886a0af3027e13ec963285dc13d0029cd9ecf7729767edf"}},{"ruleId":"D1","level":"warning","message":{"text":"DirectoryMembershipSnapshot.DirectoryMembershipSnapshot.ctor (cyclomatic 16): DirectoryMembershipSnapshot.DirectoryMembershipSnapshot.ctor has cyclomatic complexity 16 (threshold 15). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. 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":"src/Orleans.Runtime/GrainDirectory/DirectoryMembershipSnapshot.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0cae447339de326271cdd5630230484759c2de25fe6b477305990d86c989c1e"}},{"ruleId":"D1","level":"warning","message":{"text":"MembershipTableCleanupAgent.CleanupDefunctSilos (cyclomatic 16): MembershipTableCleanupAgent.CleanupDefunctSilos 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":"src/Orleans.Runtime/MembershipService/MembershipTableCleanupAgent.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5cf7d96d9f006c43c1f3097a5665f6419a03de761dfe8c96824567f9e261e96"}},{"ruleId":"D1","level":"warning","message":{"text":"MessageCenter.SendMessage (cyclomatic 16): MessageCenter.SendMessage 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":"src/Orleans.Runtime/Messaging/MessageCenter.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d46e5d2986713c03cfff9d83b37c90f4cb4bc331f230a63864d77142582fe3b"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeConverter.ConsumeMetadata (cyclomatic 16): TypeConverter.ConsumeMetadata 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":"src/Orleans.Serialization/TypeSystem/TypeConverter.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2da52c0d982174eee7f80b98436d4ac82419b57b9598a1f557d4a8bcfc4808"}},{"ruleId":"D1","level":"warning","message":{"text":"PersistentStreamPullingAgent.GetBatchForConsumer (cyclomatic 16): PersistentStreamPullingAgent.GetBatchForConsumer 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":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"02e35b5a2cb0819440a65558c33e3da25a125fd2cb17355bceb726b5fa48d1b3"}},{"ruleId":"D1","level":"warning","message":{"text":"ServiceCollectionExtensions.MapOrleansDashboard (cyclomatic 16): ServiceCollectionExtensions.MapOrleansDashboard has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to 14 function literals inside it that branch (lines 108, 141, 157, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard/ServiceCollectionExtensions.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ae051e54cfb78489adfefebff91b09636311fdfe093e60da4918f779afbbd4f"}},{"ruleId":"D1","level":"warning","message":{"text":"TlsClientConnectionMiddleware.InnerOnConnectionAsync (cyclomatic 16): TlsClientConnectionMiddleware.InnerOnConnectionAsync has cyclomatic complexity 16 (threshold 15). Of this number, 9 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"c37d2cbe21f97b24ae4f5afc053ea3f1b48b43437b0304ac9076ae8d35eff26a"}},{"ruleId":"D1","level":"warning","message":{"text":"KubernetesClusterAgent.MonitorOrleansClustering (cyclomatic 16): KubernetesClusterAgent.MonitorOrleansClustering 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":"src/Orleans.Hosting.Kubernetes/KubernetesClusterAgent.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d8007da5d3398caf7615f32c5f82408f7f5c01f43041baa1456b67af13174ec"}},{"ruleId":"D1","level":"warning","message":{"text":"KubernetesClusterAgent.MonitorKubernetesPods (cyclomatic 16): KubernetesClusterAgent.MonitorKubernetesPods 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":"src/Orleans.Hosting.Kubernetes/KubernetesClusterAgent.cs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c66ce11e39e4d73e22b51a15e2c2ef89849242e1abf22944ccf659f2a403ca1"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDBGatewayListProviderHelper.ParseDataConnectionString (cyclomatic 16): DynamoDBGatewayListProviderHelper.ParseDataConnectionString 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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"347904919726ea53977c5946eb930faaf73e9c7773dca7b611e3412e4d7de3f3"}},{"ruleId":"D1","level":"warning","message":{"text":"DynamoDBGrainStorageProviderBuilder.Configure (cyclomatic 16): DynamoDBGrainStorageProviderBuilder.Configure has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 21). 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":"src/AWS/Orleans.Persistence.DynamoDB/Hosting/DynamoDBGrainStorageProviderBuilder.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"efeffba2a68a5e9db1cf9736a195f7881a58914fa105a8c646b59243f1d410a4"}},{"ruleId":"D1","level":"warning","message":{"text":"AzureBasedMembershipTable.Parse (cyclomatic 16): AzureBasedMembershipTable.Parse 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":"src/Azure/Orleans.Clustering.AzureStorage/AzureBasedMembershipTable.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f81a2966a166b5ce7ad4e868dc333dccf4850730bf204c0ab0d1f51b7bc65ed"}},{"ruleId":"D1","level":"warning","message":{"text":"AzureQueueJsonDataAdapter.RemoveUnreferencedIds (cyclomatic 16): AzureQueueJsonDataAdapter.RemoveUnreferencedIds 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":"src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/IAzureQueueDataAdapter.cs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"683a90c75128505623d7aee82e7f3f5162d98c900f56f9893a05a22dc026edfc"}},{"ruleId":"D1","level":"warning","message":{"text":"ReadWriteLock.LockExits (cyclomatic 16): ReadWriteLock.LockExits 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":"src/Orleans.Transactions/State/ReaderWriterLock.cs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1024269749a0b9d31f684e947883eb0bae4fff09108979178bcd7d0299a5d06"}},{"ruleId":"D1","level":"warning","message":{"text":"gallery.validateGallery (cyclomatic 16): gallery.validateGallery has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 2 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 28). 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":"docs/site/scripts/lib/gallery.mjs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdae89442859dc30495c25b11252d232f50b16056fcfb37ac7ad34d5a0607dec"}},{"ruleId":"D1","level":"warning","message":{"text":"GrainTable.render (cyclomatic 16): GrainTable.render has cyclomatic complexity 16 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/components/grain-table.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5571320dd8d97183bc8e78d165511499bad6caba177af5cc91fd9499f02344e"}},{"ruleId":"D2","level":"warning","message":{"text":"JournaledStateManager.WorkLoop (cognitive 195): JournaledStateManager.WorkLoop has cognitive complexity 195 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Journaling/JournaledStateManager.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa0c66b6ec693d65318e5a7dcbe84fc0b92fd2a9211a517e4bb181abf85c5e38"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistentStreamPullingAgent.RunConsumerCursor (cognitive 82): PersistentStreamPullingAgent.RunConsumerCursor has cognitive complexity 82 (threshold 15). Of this number, 81 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":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"11ec5f7d91450b5c0bd4c9e9258884145efc98168bc009e59324a316bdf0b227"}},{"ruleId":"D2","level":"warning","message":{"text":"link-audit.auditRenderedInternalLinks (cognitive 80): link-audit.auditRenderedInternalLinks has cognitive complexity 80 (threshold 15). Drivers by points: if/else 18 (57 pts), error handling 3 (10 pts), boolean chains 7, loops 2 (3 pts), ternaries 2 (3 pts) (nesting depth added 48). Of this number, 78 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/link-audit.mjs"},"region":{"startLine":692}}}],"partialFingerprints":{"codehealthFindingId/v1":"d80fc460711dbd16b8a80ad36cba5f2e0905aebdcd46e6a1b4830e3e6adb8f21"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferenceAssemblyModelExtractor.ExtractReferenceAssemblyData (cognitive 79): ReferenceAssemblyModelExtractor.ExtractReferenceAssemblyData 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":"src/Orleans.CodeGenerator/Model/ReferenceAssemblyModelExtractor.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fc85f0c2041b7d5d8a25d1d41afd9824b09741b99990c35b081a84260fedd49"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivationData.RunMessageLoop (cognitive 76): ActivationData.RunMessageLoop has cognitive complexity 76 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78221602802a327d40d2212e4a7f1b1ea5101c6b481aff328c05c5a365da32f"}},{"ruleId":"D2","level":"warning","message":{"text":"RedisJournalStorageProvider.ListAsync (cognitive 73): RedisJournalStorageProvider.ListAsync has cognitive complexity 73 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Redis/Orleans.Journaling.Redis/RedisJournalStorageProvider.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5116179794079e8881cc97f0dcd02b4a299bd19006eea999af351d254f0519a4"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadWriteLock.LockWork (cognitive 73): ReadWriteLock.LockWork has cognitive complexity 73 (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":"src/Orleans.Transactions/State/ReaderWriterLock.cs"},"region":{"startLine":336}}}],"partialFingerprints":{"codehealthFindingId/v1":"0149976dc1cf265678cc6a3f6427416bec060d0cdc61f2d43ff7f9714341ad60"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivationData.ActivateAsync (cognitive 64): ActivationData.ActivateAsync has cognitive complexity 64 (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":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"377a13a2ab9832bf187c7bb7ecacae99c7ed7524844004895f862153941300b4"}},{"ruleId":"D2","level":"warning","message":{"text":"BatchOperation.Flush (cognitive 60): BatchOperation.Flush has cognitive complexity 60 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Transactions.AzureStorage/TransactionalState/AzureTableTransactionalStateStorage.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"6449dcb752a2632786c37a42a2611077e5842553a037fa20568d4659f5b54ff0"}},{"ruleId":"D2","level":"warning","message":{"text":"link-audit.probeExternalTargets (cognitive 59): link-audit.probeExternalTargets has cognitive complexity 59 (threshold 15). Drivers by points: if/else 18 (35 pts), boolean chains 9, error handling 3 (7 pts), loops 4 (5 pts), ternaries 1 (3 pts) (nesting depth added 24). Of this number, 58 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":"docs/site/scripts/lib/link-audit.mjs"},"region":{"startLine":1141}}}],"partialFingerprints":{"codehealthFindingId/v1":"a134dd12f921f668445205ae2df655646518b39f5a4f0b4bfc1e4926caf76a8c"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistentStreamPullingAgent.DoHandshakeWithConsumer (cognitive 53): PersistentStreamPullingAgent.DoHandshakeWithConsumer has cognitive complexity 53 (threshold 15). Of this number, 52 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":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs"},"region":{"startLine":403}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbe48469e428a932f9052328ad986f3c43b71d8d6466f4fabd91e26920b818d"}},{"ruleId":"D2","level":"warning","message":{"text":"InvokableBaseTypeResolver.SatisfiesConstraints (cognitive 51): InvokableBaseTypeResolver.SatisfiesConstraints has cognitive complexity 51 (threshold 15). Of this number, 47 points are the body\u0027s own statements and 4 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":"src/Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93eff5dca6f9c70db04a68bca35b9f4e7ef7d7ef488b09b2f434b729424d18a"}},{"ruleId":"D2","level":"warning","message":{"text":"docfx.collectUidMap (cognitive 50): docfx.collectUidMap has cognitive complexity 50 (threshold 15). Drivers by points: if/else 8 (25 pts), loops 6 (18 pts), ternaries 1 (5 pts), boolean chains 2 (nesting depth added 33). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/docfx.mjs"},"region":{"startLine":1622}}}],"partialFingerprints":{"codehealthFindingId/v1":"be706cc1081be72490c5a1238a377ea4ebbb0785912231397b801479344f10b9"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainInterfaceVersionCodeFix.AppendHistoricalContracts (cognitive 49): GrainInterfaceVersionCodeFix.AppendHistoricalContracts 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":"src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"53299342f8231feaced2d7234bc966f1867045ddb03f3c19967f2829ef86d3a6"}},{"ruleId":"D2","level":"warning","message":{"text":"source-quality.parseDocumentedPackageTable (cognitive 47): source-quality.parseDocumentedPackageTable has cognitive complexity 47 (threshold 15). Drivers by points: if/else 13 (32 pts), ternaries 3 (9 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 26). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/source-quality.mjs"},"region":{"startLine":562}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fbc7510948bb88e8c81654cfb36bf6fe78b9a9cd12075bfcdd6b2a345b51e0"}},{"ruleId":"D2","level":"warning","message":{"text":"Striped64.LongAccumulate (cognitive 46): Striped64.LongAccumulate 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":"src/Orleans.Core/Caching/Internal/Striped64.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"01262a8943f68002af680801d325067d92ae282689ba0532bb885d09d55d2cf5"}},{"ruleId":"D2","level":"warning","message":{"text":"KubernetesClusterAgent.MonitorOrleansClustering (cognitive 46): KubernetesClusterAgent.MonitorOrleansClustering 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":"src/Orleans.Hosting.Kubernetes/KubernetesClusterAgent.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"9be6c9176dc781bb79517663021d7ea85246af990b37d0039531536bd7a18ff4"}},{"ruleId":"D2","level":"warning","message":{"text":"InvokableMethodDescription.InvokableMethodDescription.ctor (cognitive 45): InvokableMethodDescription.InvokableMethodDescription.ctor has cognitive complexity 45 (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":"src/Orleans.CodeGenerator/Model/InvokableMethodDescription.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"0428bc09ec53ece4e05f5f88109c940568889063bdbbe5d66f131588d7272d3f"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyInterfaceModelExtractor.ExtractCustomInitializers (cognitive 45): ProxyInterfaceModelExtractor.ExtractCustomInitializers has cognitive complexity 45 (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":"src/Orleans.CodeGenerator/Model/ProxyInterfaceModelExtractor.cs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51a23bff61d2f740c737b17b8995727f28fb0f8a624744f639f7efbb7aab12a"}},{"ruleId":"D2","level":"warning","message":{"text":"markdown-ranges.fallbackProtectedLineRanges (cognitive 45): markdown-ranges.fallbackProtectedLineRanges has cognitive complexity 45 (threshold 15). Drivers by points: if/else 15 (34 pts), boolean chains 10, loops 1 (nesting depth added 19). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/markdown-ranges.mjs"},"region":{"startLine":238}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b06b16e2ccaef93f9dce157c367225522592f5fcde21472ec2ec375d7ff6a67"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyInterfaceDescription.ValidateBaseClass (cognitive 44): ProxyInterfaceDescription.ValidateBaseClass 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":"src/Orleans.CodeGenerator/Model/ProxyInterfaceDescription.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa28da1ab8b6494bf2a904abb6f036d196e8d6ef49f46ff62cf371a0718c5b4d"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadWriteLock.EnterLock (cognitive 44): ReadWriteLock.EnterLock 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":"src/Orleans.Transactions/State/ReaderWriterLock.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe671184d0e5c7c47a53a6cd6b0e56481f9fd31fc3c541f2bcd8916080069a44"}},{"ruleId":"D2","level":"warning","message":{"text":"MembershipTableTestRunner.ConcurrentReads (cognitive 43): MembershipTableTestRunner.ConcurrentReads 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":"src/Orleans.Clustering.TestKit/MembershipTableTestRunner.cs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3db06a8f34624584b5bc07564f804447d90268dc9759e5d66dfe9a2d5fe2945"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeTypeNameParser.ParseInternal (cognitive 43): RuntimeTypeNameParser.ParseInternal 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":"src/Orleans.Serialization/TypeSystem/RuntimeTypeNameParser.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"565516809e0c624072b6140ac6d9134e9d8f5f690ea05b446baba832ed949f10"}},{"ruleId":"D2","level":"warning","message":{"text":"docfx.convertTabs (cognitive 43): docfx.convertTabs has cognitive complexity 43 (threshold 15). Drivers by points: if/else 6 (18 pts), loops 6 (14 pts), ternaries 3 (10 pts), boolean chains 1 (nesting depth added 27). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/docfx.mjs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"4edaaaaaa815cdab4c1b5ab44d1db22dcb7680681d4330a6c3eee1371d5f497f"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainInterfaceUtils.GetMethods (cognitive 42): GrainInterfaceUtils.GetMethods 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":"src/Orleans.Core/CodeGeneration/GrainInterfaceUtils.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"befc984c86a9caee5f835b1bab0e00096f86d5589b3ac78bf650fcc4f84e677a"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionQueue.StorageWork (cognitive 42): TransactionQueue.StorageWork 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":"src/Orleans.Transactions/State/TransactionQueue.cs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"432cdafccd14a9e712abd672e9b28a9adae9de34dfcd0b9e698aa5b56735e77a"}},{"ruleId":"D2","level":"warning","message":{"text":"link-audit.auditSourceLinks (cognitive 41): link-audit.auditSourceLinks has cognitive complexity 41 (threshold 15). Drivers by points: if/else 11 (26 pts), boolean chains 6, error handling 2 (5 pts), loops 2, ternaries 2 (nesting depth added 18). Of this number, 40 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":"docs/site/scripts/lib/link-audit.mjs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f7e655303081186ed81faa0d4aafc6c19a79c7e5fd314cca70c8b9fde39f52"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyGenerator.CreateProxyMethods (cognitive 40): ProxyGenerator.CreateProxyMethods 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":"src/Orleans.CodeGenerator/ProxyGenerator.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"06e3c99ddd7c8934432142f2984641bf90a73675d5ddc81cae79257f21a2f750"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncExecutorWithRetries.ExecuteWithRetriesHelper (cognitive 40): AsyncExecutorWithRetries.ExecuteWithRetriesHelper 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":"src/Orleans.Core/Async/AsyncExecutorWithRetries.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"52026d957d1b63550318681e9afc3dac0ea1ca25cd6f0cae11b2ac3a403cc747"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientDirectory.UpdateRoutingTable (cognitive 40): ClientDirectory.UpdateRoutingTable 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":"src/Orleans.Runtime/GrainDirectory/ClientDirectory.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5360c910babdb558db336e946b0d912ceb55c77d8a127a78c095062a988b0fe1"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterManifestProvider.UpdateManifest (cognitive 40): ClusterManifestProvider.UpdateManifest has cognitive complexity 40 (threshold 15). Of this number, 39 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":"src/Orleans.Runtime/Manifest/ClusterManifestProvider.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adcf52c993b6df737ab1d262a7a78e5c455489f4f2c15850c28661757d35825"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadWriteLock.LockExits (cognitive 40): ReadWriteLock.LockExits 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":"src/Orleans.Transactions/State/ReaderWriterLock.cs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe0bcd66f91029e522566236d1b000eebb23340e3940e22f340502800b68df8"}},{"ruleId":"D2","level":"warning","message":{"text":"PooledQueueCache.TryGetNextMessageWithResult (cognitive 39): PooledQueueCache.TryGetNextMessageWithResult 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":"src/Orleans.Streaming/Common/PooledCache/PooledQueueCache.cs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"84b0c8ce42a92908f3b95d9a3a40c6e91bf728b2c29a481099998d5eb1ef4773"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionQueue.NotifyOfAbort (cognitive 39): TransactionQueue.NotifyOfAbort has cognitive complexity 39 (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":"src/Orleans.Transactions/State/TransactionQueue.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"591cf673936f712ff19412fc5f956a1038a90989d17ebd7d3ba0a5d69e72aeb9"}},{"ruleId":"D2","level":"warning","message":{"text":"DistributedGrainDirectory.ProcessMembershipUpdates (cognitive 37): DistributedGrainDirectory.ProcessMembershipUpdates 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":"src/Orleans.Runtime/GrainDirectory/DistributedGrainDirectory.cs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccc43170f4daa9fb3e57d97e1942972e042a3d49814f4a86112f7f968e9096dc"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivationRepartitioner.AcceptExchangeRequest (cognitive 37): ActivationRepartitioner.AcceptExchangeRequest 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":"src/Orleans.Runtime/Placement/Repartitioning/ActivationRepartitioner.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd83b2c80c2ba101cab70d3ae0e017b091be46a0266df87864964b216baf1129"}},{"ruleId":"D2","level":"warning","message":{"text":"Utils.EnumerableToString (cognitive 36): Utils.EnumerableToString 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":"src/Orleans.Core.Abstractions/Utils/Utils.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e694e84d62ec9c70742fcc6e1f5f9c0a91ed52dbe8a522aa92f334253a92be4"}},{"ruleId":"D2","level":"warning","message":{"text":"MessageCenter.SendMessage (cognitive 36): MessageCenter.SendMessage 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":"src/Orleans.Runtime/Messaging/MessageCenter.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"49fe2c650c0890a5a14de808ee8c466174e445773ec746974e3beb634906e2a6"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistentStreamPullingAgent.GetBatchForConsumer (cognitive 36): PersistentStreamPullingAgent.GetBatchForConsumer 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":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs"},"region":{"startLine":1496}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dd176ea7227e6f6fbabfbc5e204322c2427530df09252189a9380c9d4dcedd7"}},{"ruleId":"D2","level":"warning","message":{"text":"ShardExecutor.ExecuteJobAsync (cognitive 35): ShardExecutor.ExecuteJobAsync has cognitive complexity 35 (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":"src/Orleans.DurableJobs/ShardExecutor.cs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bebdc1b7b8dad146531ed30ee368a12997204c30a9dc086738667f03bd191b"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivationData.FinishDeactivating (cognitive 35): ActivationData.FinishDeactivating 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":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":2054}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c9fe7db3880b692c2cac2ca149a7e5866222e5ac34f9b505f52424822bd125f"}},{"ruleId":"D2","level":"warning","message":{"text":"FieldIdAssignmentHelper.ExtractFieldIdAnnotations (cognitive 34): FieldIdAssignmentHelper.ExtractFieldIdAnnotations 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":"src/Orleans.CodeGenerator/FieldIdAssignmentHelper.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0aae878fab9467fbcbc8a9c2bc07f742f3b79cdc62fa8978915877b6b46117d"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalSiloHealthEventHistory.Aggregate (cognitive 34): LocalSiloHealthEventHistory.Aggregate has cognitive complexity 34 (threshold 15). Of this number, 33 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":"src/Orleans.Runtime/MembershipService/LocalSiloHealthEventHistory.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28055b0bf23d02b345866653c480ff6f7ea812dc3b4229fd80840220c3f517f"}},{"ruleId":"D2","level":"warning","message":{"text":"KubernetesClusterAgent.MonitorKubernetesPods (cognitive 34): KubernetesClusterAgent.MonitorKubernetesPods 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":"src/Orleans.Hosting.Kubernetes/KubernetesClusterAgent.cs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61d85faeec8e79e037d37ba790625d89b7816877b33929eed361c7bbdc61db6"}},{"ruleId":"D2","level":"warning","message":{"text":"Silo.render (cognitive 34): Silo.render has cognitive complexity 34 (threshold 15). Drivers by points: boolean chains 27, if/else 7. Of this number, 32 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. 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":"src/Dashboard/Orleans.Dashboard.App/src/silos/silo.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"de0f35d05ded7c1688220f1881a0dab76b529fbcb8678107421fa053070d8a7a"}},{"ruleId":"D2","level":"warning","message":{"text":"MembershipAgent.ValidateInitialConnectivity (cognitive 33): MembershipAgent.ValidateInitialConnectivity 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":"src/Orleans.Runtime/MembershipService/MembershipAgent.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"de520f063c06b142d41f297bfe434e5e7a12ba632b12faf09e5a8a5ebeb1cdb9"}},{"ruleId":"D2","level":"warning","message":{"text":"TestClusterPortAllocator.GetAvailableConsecutiveServerPorts (cognitive 33): TestClusterPortAllocator.GetAvailableConsecutiveServerPorts has cognitive complexity 33 (threshold 15). Of this number, 32 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"src/Orleans.TestingHost/TestClusterPortAllocator.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e5cd63e665c44800c3807163d0cd0d83ad130c3896df255ee4dd0fada38cef"}},{"ruleId":"D2","level":"warning","message":{"text":"TestingUtils.WaitUntilSucceededAsync (cognitive 33): TestingUtils.WaitUntilSucceededAsync 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":"src/Orleans.TestingHost/Utils/TestingUtils.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"34586b8740b15df83eadf4ac517d6d7607ced80ba6a115edb17d0841db93fac1"}},{"ruleId":"D2","level":"warning","message":{"text":"S3JournalStorage.ReplaceAsync (cognitive 33): S3JournalStorage.ReplaceAsync 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":"src/AWS/Orleans.Journaling.S3/S3JournalStorage.cs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"319453f5b3a6468b7db6cf0a8e64e66a4fb9a5981e576f831397ae5acaf61c6b"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainInterfaceVersionCodeFix.SortContractEntries (cognitive 32): GrainInterfaceVersionCodeFix.SortContractEntries 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":"src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs"},"region":{"startLine":1670}}}],"partialFingerprints":{"codehealthFindingId/v1":"4783dbd0e1528bf9055fd8bc44ca7522c0873ba9fd011815217a49dee7f475a4"}},{"ruleId":"D2","level":"warning","message":{"text":"ConnectionManager.Close (cognitive 32): ConnectionManager.Close 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":"src/Orleans.Core/Networking/ConnectionManager.cs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"6826d5a7b3d62822ea9a331f84319d695d317992d4bda3571a3bd14267bde862"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivationRepartitioner.ProcessPendingEdges (cognitive 32): ActivationRepartitioner.ProcessPendingEdges 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":"src/Orleans.Runtime/Placement/Repartitioning/ActivationRepartitioner.MessageSink.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"183bc249967491b6bd4fe7e1fd9901b0a3b52f531d3d7b687cf54c2e16699916"}},{"ruleId":"D2","level":"warning","message":{"text":"ResourceOptimizedPlacementDirector.OnAddActivation (cognitive 32): ResourceOptimizedPlacementDirector.OnAddActivation 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":"src/Orleans.Runtime/Placement/ResourceOptimizedPlacementDirector.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"782d69592fe3af51caa13e5b8a335a549771d5be1cb0027dd89031143b55342c"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDBReminderStorageOptionsExtensions.ParseConnectionString (cognitive 32): DynamoDBReminderStorageOptionsExtensions.ParseConnectionString 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":"src/AWS/Orleans.Reminders.DynamoDB/Reminders/DynamoDbReminderStorageOptionsExtensions.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"87ec19ce1f6e3b112a61b509b15a240559cb1aae16594ef568e9a9f51f768103"}},{"ruleId":"D2","level":"warning","message":{"text":"SerializerGenerator.Generate (cognitive 31): SerializerGenerator.Generate 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":"src/Orleans.CodeGenerator/SerializerGenerator.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"d07bef0d8ddbf774efa08efd04037c1f2e2c420ae43d3f33e700f7df4671fb13"}},{"ruleId":"D2","level":"warning","message":{"text":"SerializerGenerator.GetFieldDescriptions (cognitive 31): SerializerGenerator.GetFieldDescriptions 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":"src/Orleans.CodeGenerator/SerializerGenerator.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"575a495727518e25bf75b8dc181fc1e21e8f3995f5fe32989ce4c958a4c06e40"}},{"ruleId":"D2","level":"warning","message":{"text":"SerializerGenerator.GenerateDeserializeMethod (cognitive 31): SerializerGenerator.GenerateDeserializeMethod 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":"src/Orleans.CodeGenerator/SerializerGenerator.cs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"05ec675fd036a43d25abe71b30a67a125c7495fab1fd9ba0422f9372686835ae"}},{"ruleId":"D2","level":"warning","message":{"text":"ShardExecutor.RunShardAsync (cognitive 31): ShardExecutor.RunShardAsync 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":"src/Orleans.DurableJobs/ShardExecutor.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3eaa719c1e3cee04ea850afac71c6c152e1ec6009193092435d1ee41c3b11e4"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterHealthMonitor.UpdateMonitoredSilos (cognitive 31): ClusterHealthMonitor.UpdateMonitoredSilos 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":"src/Orleans.Runtime/MembershipService/ClusterHealthMonitor.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"f95b1ae3b8d59dc4b870a62c9fb37385d6aa627a0555a541e3c01c4b66c86928"}},{"ruleId":"D2","level":"warning","message":{"text":"docfx.collectMarkdownLinks (cognitive 31): docfx.collectMarkdownLinks has cognitive complexity 31 (threshold 15). Drivers by points: if/else 11 (24 pts), loops 2 (4 pts), boolean chains 3 (nesting depth added 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/docfx.mjs"},"region":{"startLine":1075}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e0e164e48342ab909d1eb1bc4f3c0ebe80ff340cf4994fadb0b4c55003a0296"}},{"ruleId":"D2","level":"warning","message":{"text":"project-policy.validateProjectEvaluations (cognitive 31): project-policy.validateProjectEvaluations has cognitive complexity 31 (threshold 15). Drivers by points: if/else 7 (16 pts), boolean chains 12, loops 2 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/project-policy.mjs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"cab118853e57679570885faf6a76c01baf00661bba11b7db120f9c377bc6273b"}},{"ruleId":"D2","level":"warning","message":{"text":"Impl.AnalyzeNamedType (cognitive 30): Impl.AnalyzeNamedType has cognitive complexity 30 (threshold 15). Of this number, 29 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Analyzers/GrainInterfaceVersionAnalyzer.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"389f959a79a21630e6020f97c11664c2144680bc5be3b38cc8693aaaa47a287f"}},{"ruleId":"D2","level":"warning","message":{"text":"Impl.OnCompilationEnd (cognitive 30): Impl.OnCompilationEnd 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":"src/Orleans.Analyzers/GrainInterfaceVersionAnalyzer.cs"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"b584041474ff97f40f8ffff8bcbe4d6b7fd64851779c7e889fd4ef2cc6f62541"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainInterfaceVersionCodeFix.AddInterfaceToFileAsync (cognitive 30): GrainInterfaceVersionCodeFix.AddInterfaceToFileAsync has cognitive complexity 30 (threshold 15). Of this number, 29 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":"src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs"},"region":{"startLine":1254}}}],"partialFingerprints":{"codehealthFindingId/v1":"a917791bee46845a52050683323c764826e8054e9da997639328fdb624a7d0ed"}},{"ruleId":"D2","level":"warning","message":{"text":"S3JournalStorage.DeleteAsync (cognitive 30): S3JournalStorage.DeleteAsync 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":"src/AWS/Orleans.Journaling.S3/S3JournalStorage.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcabea49a369b27da6338b5287fd49fb47a88f26e4a68f2dc949af2d1de5b74b"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDBTransactionalStateStorage.Store (cognitive 30): DynamoDBTransactionalStateStorage.Store 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":"src/AWS/Orleans.Transactions.DynamoDB/TransactionalState/DynamoDBTransactionalStateStorage.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"140c9edd682fc7e3f955816bcd3f68584571b6ed80a4b853c27f8b504ce88fad"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainInterfaceFileParser.Parse (cognitive 29): GrainInterfaceFileParser.Parse 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":"src/Orleans.Analyzers/GrainInterfaceVersionAnalyzer.cs"},"region":{"startLine":1444}}}],"partialFingerprints":{"codehealthFindingId/v1":"801929e46afe20c3d398048bbb15e5784da57fa4e05e64beb0832bbb15f2fc72"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainInterfaceVersionCodeFix.MergeHistoricalMembers (cognitive 29): GrainInterfaceVersionCodeFix.MergeHistoricalMembers has cognitive complexity 29 (threshold 15). Of this number, 28 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":"src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd9f8f9ba8d0bb174859e006d8416e3be624241f7f50184e59dbd1f395fdf032"}},{"ruleId":"D2","level":"warning","message":{"text":"GenerateAliasAttributesAnalyzer.AnalyzeNamedType (cognitive 29): GenerateAliasAttributesAnalyzer.AnalyzeNamedType 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":"src/Orleans.Analyzers/GenerateAliasAttributesAnalyzer.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"29dc911d37e7f90d94e0f16eafb303ac3d5bb2516a13f7437f9d683ae4459755"}},{"ruleId":"D2","level":"warning","message":{"text":"UniqueKey.CompareTo (cognitive 29): UniqueKey.CompareTo 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":"src/Orleans.Core.Abstractions/IDs/Legacy/UniqueKey.cs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ed06fe7d06dfa2593a1263e7eaface5b1010988b57e34e44376106d799d2c80"}},{"ruleId":"D2","level":"warning","message":{"text":"AsyncEnumerableGrainExtension.MoveNextCore (cognitive 29): AsyncEnumerableGrainExtension.MoveNextCore 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":"src/Orleans.Core/Runtime/AsyncEnumerableGrainExtension.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ac0f99671339c1ae0ee9907466fc1b03e7610195bb4156ab8ac3b33ab154e1d"}},{"ruleId":"D2","level":"warning","message":{"text":"DashboardGrain.GetGrainState (cognitive 29): DashboardGrain.GetGrainState has cognitive complexity 29 (threshold 15). Of this number, 28 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":"src/Dashboard/Orleans.Dashboard/Implementation/Grains/DashboardGrain.cs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed1aa04b44b1df54bbb14ea38a50178fbdc1193477e5bc56dbfca4f0472f7855"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureQueueJsonDataAdapter.RemoveUnreferencedIds (cognitive 29): AzureQueueJsonDataAdapter.RemoveUnreferencedIds 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":"src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/IAzureQueueDataAdapter.cs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f8048c48c72e43a35a0d0afd4ab71da960fb21863bdc7b407eea2fd1986e00d"}},{"ruleId":"D2","level":"warning","message":{"text":"CopierGenerator.GenerateCopier (cognitive 28): CopierGenerator.GenerateCopier 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":"src/Orleans.CodeGenerator/CopierGenerator.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"86a39d58ad8dcf2d53ac92c4a3bddeda659ec85bbae90c7f6a277333fcf69ca5"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalObjectData.CancelRequestAsync (cognitive 28): LocalObjectData.CancelRequestAsync 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":"src/Orleans.Core/Runtime/InvokableObjectManager.cs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1395ad47e18254a27ad061a3ed1f14dc6468cdd49f29d318eb02913d322590e"}},{"ruleId":"D2","level":"warning","message":{"text":"JournaledJobShard.ProcessMutationBatchAsync (cognitive 28): JournaledJobShard.ProcessMutationBatchAsync 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":"src/Orleans.DurableJobs/JournaledJobShard.cs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"27278a4cb1bb19c68f75c484cd958a5f7b725337281417771f4494d66fdaa6fa"}},{"ruleId":"D2","level":"warning","message":{"text":"SiloMetadataCache.ProcessMembershipUpdates (cognitive 28): SiloMetadataCache.ProcessMembershipUpdates 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":"src/Orleans.Runtime/MembershipService/SiloMetadata/SiloMetadaCache.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"652d31585b0223e937d95fa4eec99a72015ec2b4191dae4492b38aea293fd5d8"}},{"ruleId":"D2","level":"warning","message":{"text":"TlsServerConnectionMiddleware.InnerOnConnectionAsync (cognitive 28): TlsServerConnectionMiddleware.InnerOnConnectionAsync has cognitive complexity 28 (threshold 15). Most of this is not in the body itself: 12 of the 28 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 91, 137). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Connections.Security/Security/TlsServerConnectionMiddleware.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"34319416f15d652568e4f2c9751c211aeedbfc349bca626aae64b74c88bdd9d8"}},{"ruleId":"D2","level":"warning","message":{"text":"CommitQueue.Find (cognitive 28): CommitQueue.Find 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":"src/Orleans.Transactions/Utilities/CommitQueue.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdb099a13f89c785a799d4aa91633331a17a8a1129e620e1532f9a2ceda9f19"}},{"ruleId":"D2","level":"warning","message":{"text":"include-closure.collectIncludeTargets (cognitive 28): include-closure.collectIncludeTargets has cognitive complexity 28 (threshold 15). Drivers by points: if/else 11 (20 pts), boolean chains 4, loops 2, ternaries 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/include-closure.mjs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e91a2a5e7fb99a7231961f353ce88c23cf650d2a51caf9c256cad9dcfb91e6b"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainInterfaceTypeToGrainTypeResolver.BuildCache (cognitive 27): GrainInterfaceTypeToGrainTypeResolver.BuildCache 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":"src/Orleans.Core/Core/GrainInterfaceTypeToGrainTypeResolver.cs"},"region":{"startLine":201}}}],"partialFingerprints":{"codehealthFindingId/v1":"456dd4ed231f10a8e3bb95e5984343cc6dbcc89b21e2f2c31029c28e9490eb7b"}},{"ruleId":"D2","level":"warning","message":{"text":"Connection.ProcessIncoming (cognitive 27): Connection.ProcessIncoming 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":"src/Orleans.Core/Networking/Connection.cs"},"region":{"startLine":307}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d4a2641eba5c5b581b6875f163ca82ce11ad380b62c0b6391fe05d0c41e8c3d"}},{"ruleId":"D2","level":"warning","message":{"text":"Reader.Skip (cognitive 27): Reader.Skip 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":"src/Orleans.Serialization/Buffers/Reader.cs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"5947c1e6f7893a4e7d9d3ee12b58a3e221e736f83cb9d3dcfa3d426a91d6c95a"}},{"ruleId":"D2","level":"warning","message":{"text":"SerializerConfigurationAnalyzer.AnalyzeSerializerAvailability (cognitive 27): SerializerConfigurationAnalyzer.AnalyzeSerializerAvailability 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":"src/Orleans.Serialization/Hosting/SerializerConfigurationAnalyzer.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"047a2a942b16c86e96f99173d929ca0f6926ffb4050ecc72ee418d0fd0eb67cf"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistentStreamPullingAgent.ReadFromQueue (cognitive 27): PersistentStreamPullingAgent.ReadFromQueue 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":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs"},"region":{"startLine":884}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec72ef219b518d917e89950535bd0d5f4fe02d1500d0963c30a221756c2c81b"}},{"ruleId":"D2","level":"warning","message":{"text":"TlsClientConnectionMiddleware.InnerOnConnectionAsync (cognitive 27): TlsClientConnectionMiddleware.InnerOnConnectionAsync has cognitive complexity 27 (threshold 15). Most of this is not in the body itself: 11 of the 27 points are its own statements and the rest belongs to 2 function literals inside it that branch (lines 76, 119). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bbf4ecb9c18b0477a7edcf7051576073e5cfaf616536f7ed6d0df61677609f"}},{"ruleId":"D2","level":"warning","message":{"text":"S3JournalStorageProvider.ListAsync (cognitive 27): S3JournalStorageProvider.ListAsync 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":"src/AWS/Orleans.Journaling.S3/S3JournalStorageProvider.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"82796126c378ac1f5000623c9e0e073ac1e8cfef9c2d871ad4f0bec009edd45a"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureTableTransactionalStateStorage.StoreCore (cognitive 27): AzureTableTransactionalStateStorage.StoreCore 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":"src/Azure/Orleans.Transactions.AzureStorage/TransactionalState/AzureTableTransactionalStateStorage.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ac85db98412644ef746e005a67d5ae830de387f9ae0e85a20c701ecc4ca729"}},{"ruleId":"D2","level":"warning","message":{"text":"ImplicitChannelSubscriberTable.BuildCache (cognitive 26): ImplicitChannelSubscriberTable.BuildCache 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":"src/Orleans.BroadcastChannel/SubscriberTable/ImplicitChannelSubscriberTable.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"9838421716bfc5f950207bd390df3a89fec4355f49a76b293b9fc3fbc3972523"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainBindingsResolver.BuildCache (cognitive 26): GrainBindingsResolver.BuildCache 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":"src/Orleans.Core/Manifest/GrainBindings.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"026c79fb4ab71a273abc7b20df105bcfbe2fd8f017dcbe322939125cc43d4e3b"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainVersionManifest.BuildCache (cognitive 26): GrainVersionManifest.BuildCache 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":"src/Orleans.Core/Manifest/GrainVersionManifest.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ab3cea83c22abbdc0dd867d011069d31b721d1897e92c70ac49dc965f66cf25"}},{"ruleId":"D2","level":"warning","message":{"text":"DurableJobsDiagnostics.StartPersistBatchActivity (cognitive 26): DurableJobsDiagnostics.StartPersistBatchActivity 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":"src/Orleans.DurableJobs/DurableJobsDiagnostics.cs"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"b40f74765a4eb0636539268637e1452646e79bb78746b2f80624f40d1b1ea33e"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainDirectoryPartition.TransferSnapshotAsync (cognitive 26): GrainDirectoryPartition.TransferSnapshotAsync 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":"src/Orleans.Runtime/GrainDirectory/GrainDirectoryPartition.cs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"236b75d6452d626bdf74a5ed4501ae544e550d5b2dd5c95d01f7460697bdc822"}},{"ruleId":"D2","level":"warning","message":{"text":"PlacementWorker.ProcessLoop (cognitive 26): PlacementWorker.ProcessLoop 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":"src/Orleans.Runtime/Placement/PlacementService.cs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"20c7d6d42611e1af0f7eee172911bdc6cdbb8e679219ba15690fbf328b18f353"}},{"ruleId":"D2","level":"warning","message":{"text":"ImplicitStreamSubscriberTable.BuildCache (cognitive 26): ImplicitStreamSubscriberTable.BuildCache 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":"src/Orleans.Streaming/PubSub/ImplicitStreamSubscriberTable.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"72db7537b1a419fb927affa40e2e839bc3ed2747a9320ffabb811b53adee2887"}},{"ruleId":"D2","level":"warning","message":{"text":"markdown-ranges.startsHtmlBlock (cognitive 26): markdown-ranges.startsHtmlBlock has cognitive complexity 26 (threshold 15). Drivers by points: if/else 8 (11 pts), ternaries 4 (10 pts), boolean chains 4, loops 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/markdown-ranges.mjs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"4350f8d8673f637d0fc4a6a377f9f44cd1f8ccff018f5324466c3c4b9798e9fd"}},{"ruleId":"D2","level":"warning","message":{"text":"Message.TryFormat (cognitive 25): Message.TryFormat 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":"src/Orleans.Core/Messaging/Message.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9cf69a1a7791e38a4ff150377d3d756a5556281163165ee4ad6093b6674b0be"}},{"ruleId":"D2","level":"warning","message":{"text":"JournaledJobShardManager.DiscoverJobShardsAsync (cognitive 25): JournaledJobShardManager.DiscoverJobShardsAsync 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":"src/Orleans.DurableJobs/JournaledJobShardManager.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61e421d807c1bedb5ba05775efde3bfb5d84693deaffc8c0cbbff45c138e8cf"}},{"ruleId":"D2","level":"warning","message":{"text":"docfx.convertHubYaml (cognitive 25): docfx.convertHubYaml has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (18 pts), loops 3 (5 pts), boolean chains 1, ternaries 1 (nesting depth added 10). Of this number, 24 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/docfx.mjs"},"region":{"startLine":1752}}}],"partialFingerprints":{"codehealthFindingId/v1":"74434b4cbca23957efb4456988ffcd47c0c640726b9f9c2e07f17b22f42f5549"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainInterfaceVersionCodeFix.GetProjectsToRegenerateAsync (cognitive 24): GrainInterfaceVersionCodeFix.GetProjectsToRegenerateAsync 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":"src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs"},"region":{"startLine":848}}}],"partialFingerprints":{"codehealthFindingId/v1":"0629aca771723e6f70389b1a65362946452cf84d5410f034eec007a15e68a67e"}},{"ruleId":"D2","level":"warning","message":{"text":"MembershipModelExecutionContext.ExecuteAsync (cognitive 24): MembershipModelExecutionContext.ExecuteAsync 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":"src/Orleans.Clustering.TestKit/MembershipTableModel.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75dae37271807ca0348617dda59b00a6b4eb92898b30dcb2c3fdf624a3fd156"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyGenerator.CreateAsyncProxyMethodBody (cognitive 24): ProxyGenerator.CreateAsyncProxyMethodBody 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":"src/Orleans.CodeGenerator/ProxyGenerator.cs"},"region":{"startLine":279}}}],"partialFingerprints":{"codehealthFindingId/v1":"86ac060aae346f4de523515642dae72c0f9e8682d05c321ebe663602f70cfa6e"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalReminderData.WaitForNextTick (cognitive 24): LocalReminderData.WaitForNextTick 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":"src/Orleans.Reminders/ReminderService/LocalReminderService.cs"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"f21fea4f8be59cbb9ab49ddbc884e6d2c8a5e5392dddbf528cb5875969f84502"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainDirectoryPartition.CleanupExpiredLeasesCore (cognitive 24): GrainDirectoryPartition.CleanupExpiredLeasesCore 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":"src/Orleans.Runtime/GrainDirectory/GrainDirectoryPartition.cs"},"region":{"startLine":1259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea673fba52630882cf77036a39f965fb537999d5ce84f1365f80442ce6ef469d"}},{"ruleId":"D2","level":"warning","message":{"text":"MembershipTableCleanupAgent.CleanupDefunctSilos (cognitive 24): MembershipTableCleanupAgent.CleanupDefunctSilos 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":"src/Orleans.Runtime/MembershipService/MembershipTableCleanupAgent.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"48c19f396c1f4932adb571159df04cb5739c47ee19e969bf4c4f739fe2e34c1d"}},{"ruleId":"D2","level":"warning","message":{"text":"MembershipTableManager.ProcessSuspectOrKillLists (cognitive 24): MembershipTableManager.ProcessSuspectOrKillLists 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":"src/Orleans.Runtime/MembershipService/MembershipTableManager.cs"},"region":{"startLine":828}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5ea2a0e5cc547deecee8d01d34ae581ad2f970027acbdcf6b359b6852d556e"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDBMembershipHelper.ParseDataConnectionString (cognitive 24): DynamoDBMembershipHelper.ParseDataConnectionString 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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipHelper.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dbdf02611edce5ff9789dbb2ded9cadb0a8f7f255abbfc99f829d8ee63702eb"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureBlobJournalStorage.ReplaceAsync (cognitive 24): AzureBlobJournalStorage.ReplaceAsync 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":"src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2a7f1098d84a444cc2c8cb8dced01c6354ca238e7ababaff25cf963f734d31"}},{"ruleId":"D2","level":"warning","message":{"text":"docfx.convertCodeDirectives (cognitive 24): docfx.convertCodeDirectives has cognitive complexity 24 (threshold 15). Drivers by points: if/else 7 (15 pts), ternaries 4 (8 pts), loops 1 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/docfx.mjs"},"region":{"startLine":650}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cbb2784601fcb1aae5209ce632957dd2ce111cf6ac75d4ddf433a6a02dd09d5"}},{"ruleId":"D2","level":"warning","message":{"text":"docfx.convertImages (cognitive 24): docfx.convertImages has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (19 pts), loops 2 (3 pts), boolean chains 2 (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/docfx.mjs"},"region":{"startLine":887}}}],"partialFingerprints":{"codehealthFindingId/v1":"b51d59c4f763f1379961ea8e236540dbd8e1502f0b1a64ab568290e0d5e57a8b"}},{"ruleId":"D2","level":"warning","message":{"text":"source-quality.validateReferenceInventories (cognitive 24): source-quality.validateReferenceInventories has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 6, boolean chains 3, ternaries 1 (nesting depth added 6). Of this number, 23 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":"docs/site/scripts/lib/source-quality.mjs"},"region":{"startLine":747}}}],"partialFingerprints":{"codehealthFindingId/v1":"422cc40839f00f7a6f4dd7be40b7df3fee51699bfad3262e23d870816d23c527"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryJobQueue.GetAsyncEnumerator (cognitive 23): InMemoryJobQueue.GetAsyncEnumerator 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":"src/Orleans.DurableJobs/InMemoryJobQueue.cs"},"region":{"startLine":258}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c107639e68128a703ec34b791e2f65102c40432194caf82a075759c89543d87"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivationData.AnalyzeWorkload (cognitive 23): ActivationData.AnalyzeWorkload 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":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"786342464bf62a2e2f64aa99e370601ae049cd7ca9792c479a35d9e2006828d6"}},{"ruleId":"D2","level":"warning","message":{"text":"SiloClusteringValidator.ValidateConfiguration (cognitive 23): SiloClusteringValidator.ValidateConfiguration 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Configuration/Validators/SiloClusteringValidator.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1da9d63dc60f27c651ea70cbfe4185dc2ece969469be09a3d136d21a27e8280"}},{"ruleId":"D2","level":"warning","message":{"text":"InsideRuntimeClient.Invoke (cognitive 23): InsideRuntimeClient.Invoke 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":"src/Orleans.Runtime/Core/InsideRuntimeClient.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"618d84809b1b2e395bc93cc4ac3472baf2900e2acedd60ac09a56690fbf619a1"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainDirectoryPartition.RegisterAsync (cognitive 23): GrainDirectoryPartition.RegisterAsync 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":"src/Orleans.Runtime/GrainDirectory/GrainDirectoryPartition.Interface.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"f841482cd028e6afe2e9f2d61ed7ecaf1b8a89957c8a20b1f46093c060be1223"}},{"ruleId":"D2","level":"warning","message":{"text":"OrleansGeneratedCodeHelper.GetMethodInfoOrDefaultCore (cognitive 23): OrleansGeneratedCodeHelper.GetMethodInfoOrDefaultCore 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. This shape REPEATS in the file: one other method here (OrleansGeneratedCodeHelper.GetMethodInfoOrDefaultCore) 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":"src/Orleans.Serialization/GeneratedCodeHelpers/OrleansGeneratedCodeHelper.cs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d2bb54ab607974dd1cc762f3ccf27d3f504220367671de154bc0acb7cf354d8"}},{"ruleId":"D2","level":"warning","message":{"text":"OrleansGeneratedCodeHelper.GetMethodInfoOrDefaultCore (cognitive 23): OrleansGeneratedCodeHelper.GetMethodInfoOrDefaultCore 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. This shape REPEATS in the file: one other method here (OrleansGeneratedCodeHelper.GetMethodInfoOrDefaultCore) 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":"src/Orleans.Serialization/GeneratedCodeHelpers/OrleansGeneratedCodeHelper.cs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"767b8f7c03295759915fdc8236f95a7464fc994cccf71dd3d6cbec2eb0dbf077"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamSubscriptionHandleImpl.DeliverBatch (cognitive 23): StreamSubscriptionHandleImpl.DeliverBatch 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":"src/Orleans.Streaming/Internal/StreamSubscriptionHandleImpl.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d097c65bf2a3a55e9707c1d262ce9b56019d4095b56127dbe72ee337e5c2ef8"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureTableJournalStorageProvider.GetCatalogFilter (cognitive 23): AzureTableJournalStorageProvider.GetCatalogFilter 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":"src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorageProvider.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc36124a829fef53f2623a9f2be2a54126073c39d00923ae3a10f35d33d46aa3"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionRequestBase.Invoke (cognitive 23): TransactionRequestBase.Invoke 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":"src/Orleans.Transactions/TransactionAttribute.cs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ccad7ee4e45b6d3c63e4b99cc81610eeb2457eb44d61d4218cc789c47880c0e"}},{"ruleId":"D2","level":"warning","message":{"text":"SerializationAttributesHelper.AnalyzeTypeDeclaration (cognitive 22): SerializationAttributesHelper.AnalyzeTypeDeclaration has cognitive complexity 22 (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":"src/Orleans.Analyzers/SerializationAttributesHelper.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f0fbf2d75b624cd8a2b868d14dd01afcf5136d157b4b0d4db81a2a0a814127"}},{"ruleId":"D2","level":"warning","message":{"text":"MembershipTableModelBasedTestRunner.RunGeneratedConformanceTests (cognitive 22): MembershipTableModelBasedTestRunner.RunGeneratedConformanceTests has cognitive complexity 22 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 5 belong to 2 function literals inside it that branch. 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":"src/Orleans.Clustering.TestKit/MembershipTableModelBasedTestRunner.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f10899dca5a2b5c0ae6b18b21bd3bd9c4f91d3c2852e4424ee12e198b7f1176"}},{"ruleId":"D2","level":"warning","message":{"text":"LibraryTypes.IsShallowCopyable (cognitive 22): LibraryTypes.IsShallowCopyable 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":"src/Orleans.CodeGenerator/LibraryTypes.cs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24ffff9cb18a0882632efc87a11090abf1017e91c1113aa8d161ce2dd11d731"}},{"ruleId":"D2","level":"warning","message":{"text":"SerializableTypeModelExtractor.TryExtractSerializableTypeModel (cognitive 22): SerializableTypeModelExtractor.TryExtractSerializableTypeModel 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":"src/Orleans.CodeGenerator/Model/SerializableTypeModelExtractor.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ade3d85372bda864db2eb3c10c37fd9ebc7473b80d0db64d25cd8275e0825ae"}},{"ruleId":"D2","level":"warning","message":{"text":"LogFormatter.PrintException_Helper (cognitive 22): LogFormatter.PrintException_Helper 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":"src/Orleans.Core.Abstractions/Logging/LogFormatter.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e05733273eeca8f9cbe065a1c351a58543973c3d6393cc01274a5d36f982af7a"}},{"ruleId":"D2","level":"warning","message":{"text":"CustomStorageAdaptor.WriteAsync (cognitive 22): CustomStorageAdaptor.WriteAsync 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":"src/Orleans.EventSourcing/CustomStorage/LogViewAdaptor.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dec5d837d1605f2359df4d6a5ab7353480e861f7865006edbee74ef951aebd1"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonLinesJournalFormat.ReadEntryPayload (cognitive 22): JsonLinesJournalFormat.ReadEntryPayload 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":"src/Orleans.Journaling/Formats/Json/JsonLinesJournalFormat.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"0244c45f43f6696cd7210f2e945f167df5b9252f7fb9b031b6fdfaf4a7c0913b"}},{"ruleId":"D2","level":"warning","message":{"text":"ReminderTableRetryPolicy.ExecuteUntilAsync (cognitive 22): ReminderTableRetryPolicy.ExecuteUntilAsync 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":"src/Orleans.Reminders.TestKit/ReminderTableRetryPolicy.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"a875c8facc60c9b2b102514e0d8649c57757e41732014059a414915b1de72b97"}},{"ruleId":"D2","level":"warning","message":{"text":"RingRange.Intersections (cognitive 22): RingRange.Intersections 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":"src/Orleans.Runtime/GrainDirectory/RingRange.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4c20035ffde3ab31b819e75f9b66b40d917766ce70d97b8f30197e4d49ee1c1"}},{"ruleId":"D2","level":"warning","message":{"text":"SiloHealthMonitor.Run (cognitive 22): SiloHealthMonitor.Run has cognitive complexity 22 (threshold 15). Of this number, 21 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/MembershipService/SiloHealthMonitor.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e90d084175533ccd8f28fceed72f65dd2982ca6e9e19947e72eda019f47474f"}},{"ruleId":"D2","level":"warning","message":{"text":"KubernetesClusterAgent.OnStart (cognitive 22): KubernetesClusterAgent.OnStart has cognitive complexity 22 (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":"src/Orleans.Hosting.Kubernetes/KubernetesClusterAgent.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"847924906fa72a86b6ba62b2798dd5a7d3c1b0e97476f73505b10c99ffd0fd2e"}},{"ruleId":"D2","level":"warning","message":{"text":"S3JournalStorage.UpdateMetadataAsync (cognitive 22): S3JournalStorage.UpdateMetadataAsync 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":"src/AWS/Orleans.Journaling.S3/S3JournalStorage.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8c08fabf070a2e9cd80d9faf065cc71f97d80d5458e38f647a9da3373e7ee1e"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureBlobJournalStorageProvider.ListAsync (cognitive 22): AzureBlobJournalStorageProvider.ListAsync 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":"src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorageProvider.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd6707f2a5eb6c0aab6c3bb65be53c5ce6a0183d9d94f678078a98a8cf06250f"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionQueue.CheckProgressOfCommitQueue (cognitive 22): TransactionQueue.CheckProgressOfCommitQueue 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":"src/Orleans.Transactions/State/TransactionQueue.cs"},"region":{"startLine":1188}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ede18bff66285d3d76b3a3942af66832e3a3f0335e5d39d3c0d58ae6e7be57"}},{"ruleId":"D2","level":"warning","message":{"text":"docfx.transformOutsideInlineCode (cognitive 22): docfx.transformOutsideInlineCode has cognitive complexity 22 (threshold 15). Drivers by points: if/else 5 (12 pts), loops 5 (10 pts) (nesting depth added 12). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/docfx.mjs"},"region":{"startLine":1363}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1116ec8998c47984c1f5cf67c07a4d5490f62ca5f101b23e5186be63f4e25ae"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeSymbolResolver.TryGetAssembly (cognitive 21): TypeSymbolResolver.TryGetAssembly 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":"src/Orleans.CodeGenerator/TypeSymbolResolver.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"0558e2e8c811832cb98b0a6de7d118964772476fbf45b299d74b4c3e8bc87f7e"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientClusterManifestProvider.RunAsync (cognitive 21): ClientClusterManifestProvider.RunAsync 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":"src/Orleans.Core/Manifest/ClientClusterManifestProvider.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd250e43f3d6c4a1cfecea0729a307feb88c94186d009b48ec47e82a851072a4"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalDurableJobManager.CancelAsync (cognitive 21): LocalDurableJobManager.CancelAsync 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":"src/Orleans.DurableJobs/LocalDurableJobManager.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"367b7842de6eebdd7c8ab382cd21686ecb644d9c07a675edac142db79b168f64"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivationData.CancelRequestAsyncCore (cognitive 21): ActivationData.CancelRequestAsyncCore 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":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":2369}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa95d749a8600044a2010d9f64149e7d709c89041a14bc18aa50f092df3eb546"}},{"ruleId":"D2","level":"warning","message":{"text":"CodecProvider.TryCreateBaseCodec (cognitive 21): CodecProvider.TryCreateBaseCodec 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":"src/Orleans.Serialization/Serializers/CodecProvider.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bfaab7b18f54e73570ae6f74bc07fe7ad6a089068316a453e61f69964c42cad"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistentStreamPullingAgent.TryGetDeliveryProgress (cognitive 21): PersistentStreamPullingAgent.TryGetDeliveryProgress 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":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs"},"region":{"startLine":1023}}}],"partialFingerprints":{"codehealthFindingId/v1":"be19cdfb51835a87d02b73c1d78497ba65e2f72dfcb85f6599663b73a28743c6"}},{"ruleId":"D2","level":"warning","message":{"text":"PubSubRendezvousGrain.RegisterProducer (cognitive 21): PubSubRendezvousGrain.RegisterProducer 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":"src/Orleans.Streaming/PubSub/PubSubRendezvousGrain.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"92fcfc089456534778a51ac65f36eaedf617479fc5efc0a77f8217cc15e70fae"}},{"ruleId":"D2","level":"warning","message":{"text":"InMemoryLogBuffer.PrintException (cognitive 21): InMemoryLogBuffer.PrintException 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":"src/Orleans.TestingHost/Logging/InMemoryLoggerProvider.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f538334a7b3a634d9c9f5b565a656b67519611b96dd6a29f5fde2706faeebff"}},{"ruleId":"D2","level":"warning","message":{"text":"SiloInstanceRecord.SiloInstanceRecord.ctor (cognitive 21): SiloInstanceRecord.SiloInstanceRecord.ctor has cognitive complexity 21 (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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/SiloInstanceRecord.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34f7c86178460137a9c7e5f0c54ebdeef28375a4a4696457b1864fca6853c11"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionRecoveryTestsRunner.ValidateResults (cognitive 21): TransactionRecoveryTestsRunner.ValidateResults 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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryTestsRunner.cs"},"region":{"startLine":920}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4337131bdb1cd98a8dfdbbb2d72bd24ffa7f199c4f340ddbbb0092aaf2bdde"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionAgent.CollateParticipants (cognitive 21): TransactionAgent.CollateParticipants 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":"src/Orleans.Transactions/DistributedTM/TransactionAgent.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbb1cf679b287d9882963817ab54659e49c692fa541ab145d969221a183e7ec"}},{"ruleId":"D2","level":"warning","message":{"text":"docfx.findRegion (cognitive 21): docfx.findRegion has cognitive complexity 21 (threshold 15). Drivers by points: if/else 5 (14 pts), loops 2 (3 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 11). Of this number, 18 points are the body\u0027s own statements and 3 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":"docs/site/scripts/lib/docfx.mjs"},"region":{"startLine":513}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee7641f4d0f1a96299db4dadd991efa0f6be7f24240860b79798e9ef67029709"}},{"ruleId":"D2","level":"warning","message":{"text":"docfx.convertZones (cognitive 21): docfx.convertZones has cognitive complexity 21 (threshold 15). Drivers by points: if/else 8 (18 pts), boolean chains 2, loops 1 (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/docfx.mjs"},"region":{"startLine":961}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d8d1a69d44390f3136f58679d11de5f0ff96ed4ae5b1646843ff77e9e7229c"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyInterfaceModelExtractor.ExtractInterfaceMethods (cognitive 20): ProxyInterfaceModelExtractor.ExtractInterfaceMethods 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":"src/Orleans.CodeGenerator/Model/ProxyInterfaceModelExtractor.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf97b8e75fc27df0dcdb7303e27778fd7358404c592fd5091a1ff6d3fd4b1a15"}},{"ruleId":"D2","level":"warning","message":{"text":"ProxyGenerationContext.GetProxyMethodDescription (cognitive 20): ProxyGenerationContext.GetProxyMethodDescription has cognitive complexity 20 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.CodeGenerator/ProxyGenerationContext.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"37be5748d68cea87c7ac0e222001cf1d0449733f3c5bc009dc412ef2534ba41c"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainInterfaceTypeToGrainTypeResolver.GetGrainType (cognitive 20): GrainInterfaceTypeToGrainTypeResolver.GetGrainType 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":"src/Orleans.Core/Core/GrainInterfaceTypeToGrainTypeResolver.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d1a32615407e5f91816d38da88f18c07cc0bcc3428d8f7fcd2d2b719e8b4521"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainInterfaceTypeToGrainTypeResolver.TryGetGrainType (cognitive 20): GrainInterfaceTypeToGrainTypeResolver.TryGetGrainType has cognitive complexity 20 (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":"src/Orleans.Core/Core/GrainInterfaceTypeToGrainTypeResolver.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"20503615cbcd2b8210a0ee9fff7a00d6b2cf58c9e90d69b5e8b0edc5bb22bd91"}},{"ruleId":"D2","level":"warning","message":{"text":"JournaledJobShardManager.TryAssignShardAsync (cognitive 20): JournaledJobShardManager.TryAssignShardAsync 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":"src/Orleans.DurableJobs/JournaledJobShardManager.cs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"264f8e7c17403ec2ffb5b56e2bcd610689202d2499bfea7dfb078e5bbf905de1"}},{"ruleId":"D2","level":"warning","message":{"text":"ReminderServiceLifecycleTestRunner.RunReminderService_StaleOwnerRegistrationReconciles (cognitive 20): ReminderServiceLifecycleTestRunner.RunReminderService_StaleOwnerRegistrationReconciles has cognitive complexity 20 (threshold 15). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 496, 410). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Reminders.TestKit/ReminderServiceLifecycleTestRunner.cs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6a101056a43c6d3f023a581751c92b7fee70bfd9f313c138a5d9204ee545b98"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalGrainDirectory.CalculateGrainDirectoryPartition (cognitive 20): LocalGrainDirectory.CalculateGrainDirectoryPartition 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":"src/Orleans.Runtime/GrainDirectory/LocalGrainDirectory.cs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6b2f1e8aa9fc0bccd1b48a0e5287852598739694fcf6a3cb77dcfc31cfb0c9"}},{"ruleId":"D2","level":"warning","message":{"text":"MultiDimensionalArrayCopier.DeepCopy (cognitive 20): MultiDimensionalArrayCopier.DeepCopy has cognitive 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":"src/Orleans.Serialization/Codecs/MultiDimensionalArrayCodec.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd1ada4cf1808977c94c06afd222f01f5859db14c89ed0a8fa421f78598b55ef"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeConverter.ConsumeMetadata (cognitive 20): TypeConverter.ConsumeMetadata 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":"src/Orleans.Serialization/TypeSystem/TypeConverter.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d336cb68142aaaddd2333c3ecfd62a4ddf3d5da9e7c670711ced346d427ae67e"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistentStreamPullingAgent.GetRecoveryCursor (cognitive 20): PersistentStreamPullingAgent.GetRecoveryCursor 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":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs"},"region":{"startLine":617}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca393de67b60d91d7f11f6296e2b52bf08b1b9c366e8806886e120b508edf47d"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistentStreamPullingAgent.RegisterStream (cognitive 20): PersistentStreamPullingAgent.RegisterStream has cognitive complexity 20 (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":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs"},"region":{"startLine":1076}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fdfc78f3c0b078c8cd4d357417ec33217321cd297f0a0832eab229f21ed00b"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDBGatewayListProviderHelper.ParseDataConnectionString (cognitive 20): DynamoDBGatewayListProviderHelper.ParseDataConnectionString 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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"639265852f3242c83b85a81088b1197a68cce9357e537ea57980eb74cf8632eb"}},{"ruleId":"D2","level":"warning","message":{"text":"link-audit.collectYamlLinkReferences (cognitive 20): link-audit.collectYamlLinkReferences has cognitive complexity 20 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (4 pts), ternaries 1 (3 pts), boolean chains 2 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/link-audit.mjs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"89bcd3c09a4c792100c1dc8b4d0579232e7d140622430ca090353f89fe62a406"}},{"ruleId":"D2","level":"warning","message":{"text":"link-audit.renderedDocument (cognitive 20): link-audit.renderedDocument has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (12 pts), boolean chains 5, loops 2 (3 pts) (nesting depth added 5). Most of this is not in the body itself: 7 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 604). 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":"docs/site/scripts/lib/link-audit.mjs"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fe0c1a34f9568626832f199ca35c3551d92a91525be5c74814f4506fecc8da0"}},{"ruleId":"D2","level":"warning","message":{"text":"source-quality.renderedText (cognitive 20): source-quality.renderedText has cognitive complexity 20 (threshold 15). Drivers by points: if/else 5 (7 pts), ternaries 3 (7 pts), loops 3 (4 pts), boolean chains 2 (nesting depth added 7). Most of this is not in the body itself: 8 of the 20 points are its own statements and the rest belongs to one function literal inside it that branches (line 75). 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":"docs/site/scripts/lib/source-quality.mjs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"660998891fbc699fcb8f15cbd4a64cc21915f60cb48ca0d3061059f40600047a"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainTable.render (cognitive 20): GrainTable.render has cognitive complexity 20 (threshold 15). Drivers by points: ternaries 10 (15 pts), if/else 4, boolean chains 1 (nesting depth added 5). Of this number, 17 points are the body\u0027s own statements and 3 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/components/grain-table.tsx"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebc5f9991141a65b626e1f585eebbdb99a6105a473ffb42ae6c5a1b08214d08e"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterDiagnosticsService.GetGrainCallFrequencies (cognitive 19): ClusterDiagnosticsService.GetGrainCallFrequencies 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":"playground/ActivationRepartitioning/ActivationRepartitioning.Frontend/Data/ClusterDiagnosticsService.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2e52bb6ad1bbb7abfff0f3dbd5ded04f3a314cce3c2891104818248203f6966"}},{"ruleId":"D2","level":"warning","message":{"text":"SerializableTypeDescription.SerializableTypeDescription.ctor (cognitive 19): SerializableTypeDescription.SerializableTypeDescription.ctor 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":"src/Orleans.CodeGenerator/Model/SerializableTypeDescription.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efccbddd7f864c2af12cb25144b7edb2c7237984ed0074ec657d902c8113fb7"}},{"ruleId":"D2","level":"warning","message":{"text":"SymbolExtensions.ToTypeSyntaxInner (cognitive 19): SymbolExtensions.ToTypeSyntaxInner 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":"src/Orleans.CodeGenerator/SyntaxGeneration/SymbolExtensions.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"da12f7ad038ab51dcd1c19c9331420ac0929dffad7473fe52d74c83f741a876a"}},{"ruleId":"D2","level":"warning","message":{"text":"DurableJobsStorageInspector.InspectAsync (cognitive 19): DurableJobsStorageInspector.InspectAsync 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":"src/Orleans.DurableJobs/DurableJobsStorageInspector.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"91908eaabcf04454a3c5600bc0837cb9fd417e1009318414007c1ceb0a8db999"}},{"ruleId":"D2","level":"warning","message":{"text":"DurableJobsOptionsValidator.ValidateConfiguration (cognitive 19): DurableJobsOptionsValidator.ValidateConfiguration has cognitive complexity 19 (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":"src/Orleans.DurableJobs/Hosting/DurableJobsOptions.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede9b6ca27bd76d54e82b7d5299839f2b5a98ef3618b07a8306c2919bd9c44a6"}},{"ruleId":"D2","level":"warning","message":{"text":"StatelessWorkerGrainContext.ReceiveMessageInternal (cognitive 19): StatelessWorkerGrainContext.ReceiveMessageInternal 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":"src/Orleans.Runtime/Catalog/StatelessWorkerGrainContext.cs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"f268d8c1b25d5601a7f3c72c656a929f5a1f0997403d85d8a7e68bda955da918"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientDirectory.PublishUpdates (cognitive 19): ClientDirectory.PublishUpdates 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":"src/Orleans.Runtime/GrainDirectory/ClientDirectory.cs"},"region":{"startLine":505}}}],"partialFingerprints":{"codehealthFindingId/v1":"690e2841f5b4a3416ff9224cdafb9ebf13b3726c8952a1368a796a34e1bb8c47"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainDirectoryPartition.CheckIntegrityAsync (cognitive 19): GrainDirectoryPartition.CheckIntegrityAsync 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":"src/Orleans.Runtime/GrainDirectory/GrainDirectoryPartition.cs"},"region":{"startLine":1058}}}],"partialFingerprints":{"codehealthFindingId/v1":"64c89c808204fcd13e8a9617ba260376415c331d5d2a6b555d86f2a1e370ee05"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalSiloHealthEventHistory.RemoveExpired (cognitive 19): LocalSiloHealthEventHistory.RemoveExpired 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":"src/Orleans.Runtime/MembershipService/LocalSiloHealthEventHistory.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"f994b03f17a5c3f5456f0e406b7206fcf43085a475488664a1eb7d37f45fc550"}},{"ruleId":"D2","level":"warning","message":{"text":"Gateway.DropDisconnectedClients (cognitive 19): Gateway.DropDisconnectedClients 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":"src/Orleans.Runtime/Messaging/Gateway.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"dccd21e12878425267e4de0eb85500fdb222dc7373265ee4a64e58680bd4a922"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivationCountPlacementDirector.SelectSiloPowerOfK (cognitive 19): ActivationCountPlacementDirector.SelectSiloPowerOfK 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":"src/Orleans.Runtime/Placement/ActivationCountPlacementDirector.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cd6cf71fb44fabab2b068cc47190dde90ee354c11ede17dc8f0ef85002b806"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivationRepartitioner.FinalizeProtocol (cognitive 19): ActivationRepartitioner.FinalizeProtocol 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":"src/Orleans.Runtime/Placement/Repartitioning/ActivationRepartitioner.cs"},"region":{"startLine":542}}}],"partialFingerprints":{"codehealthFindingId/v1":"096d6c31b5132e357c5d1738ba345ba9cb38b08040835186c24811cc5e4f0f2b"}},{"ruleId":"D2","level":"warning","message":{"text":"StreamSubscriptionHandleImpl.DeliverItem (cognitive 19): StreamSubscriptionHandleImpl.DeliverItem 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":"src/Orleans.Streaming/Internal/StreamSubscriptionHandleImpl.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"471520ff70791119da9ff946b5c698422ad99d4b8e6fcb2d94b44a54b2fac8a3"}},{"ruleId":"D2","level":"warning","message":{"text":"DynamoDBStorage.UpdateTableAsync (cognitive 19): DynamoDBStorage.UpdateTableAsync has cognitive complexity 19 (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":"src/AWS/Shared/Storage/DynamoDBStorage.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"737713d0e3228106e3f45d421c268d8ed1178d7cc9cf96c8659fea73a9c6e85b"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureBlobJournalStorage.UpdateMetadataAsync (cognitive 19): AzureBlobJournalStorage.UpdateMetadataAsync 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":"src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec5eab7507477da1cfda97b2f0012e808b51f195acc6ee989f04fc94f0a5c561"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureBlobJournalStorage.DeleteAsync (cognitive 19): AzureBlobJournalStorage.DeleteAsync 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":"src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs"},"region":{"startLine":287}}}],"partialFingerprints":{"codehealthFindingId/v1":"4c0fa5ae1dbbb92ad3d68148c9b22a787bad5d14ece75eeca3ed31f0e5d77cf7"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureTableJournalStorage.UpdateMetadataAsync (cognitive 19): AzureTableJournalStorage.UpdateMetadataAsync 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":"src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorage.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"a72b7d70e05d13f602f36f19927d46e3de294e3eab58c253f0bbb273c52f2b76"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureTableTransactionalStateStorage.Load (cognitive 19): AzureTableTransactionalStateStorage.Load 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":"src/Azure/Orleans.Transactions.AzureStorage/TransactionalState/AzureTableTransactionalStateStorage.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"219329ebb353b1f4bcc7ca9f14003332df19985dcd138d45a505382479419f13"}},{"ruleId":"D2","level":"warning","message":{"text":"NatsStreamConsumer.GetMessages (cognitive 19): NatsStreamConsumer.GetMessages 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":"src/Orleans.Streaming.NATS/Providers/NatsStreamConsumer.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"154dcaeb6f42488d80061f050d01338bc0c554ed86bbc38059494dc1787c6396"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionalStateStorageProviderWrapper.Store (cognitive 19): TransactionalStateStorageProviderWrapper.Store 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":"src/Orleans.Transactions/State/TransactionalStateStorageProviderWrapper.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de70868d5ff851ac7939d34a0ce678d8e31b6339de57277b0c56537f7dedbfd"}},{"ruleId":"D2","level":"warning","message":{"text":"docfx.convertLearnBlocks (cognitive 19): docfx.convertLearnBlocks has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 1 (3 pts), ternaries 2, loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/docfx.mjs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2e5c98abd68c27a98c71ad804583e07ad98105bb6cf1902c981504554615653"}},{"ruleId":"D2","level":"warning","message":{"text":"source-quality.validatePackageInventory (cognitive 19): source-quality.validatePackageInventory has cognitive complexity 19 (threshold 15). Drivers by points: if/else 5 (9 pts), ternaries 2 (5 pts), loops 3, boolean chains 2 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/source-quality.mjs"},"region":{"startLine":675}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab2e6729b8c0d2c989bb39590a45d86dc533362a76056ac1ff4b57e067c2ce88"}},{"ruleId":"D2","level":"warning","message":{"text":"IdClashAttributeAnalyzer.AnalyzeNamedType (cognitive 18): IdClashAttributeAnalyzer.AnalyzeNamedType 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":"src/Orleans.Analyzers/IdClashAttributeAnalyzer.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"18880f13296460bff176c0f742c12f9f7122132c0504f75e703c170105994f35"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivityPropagationIncomingGrainCallFilter.Invoke (cognitive 18): ActivityPropagationIncomingGrainCallFilter.Invoke 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":"src/Orleans.Core/Diagnostics/ActivityPropagationGrainCallFilter.cs"},"region":{"startLine":147}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c7944aaba44e67330d50532c112910993ad949e0328a6901840568cbaffc24d"}},{"ruleId":"D2","level":"warning","message":{"text":"GatewayManager.UpdateLiveGatewaysSnapshot (cognitive 18): GatewayManager.UpdateLiveGatewaysSnapshot 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":"src/Orleans.Core/Messaging/GatewayManager.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"0112d22cb3862d3346a8996fac2a8af61a054de0f48c757e3bfed97d327d99aa"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivationCollector.DeactivateInDueTimeOrder (cognitive 18): ActivationCollector.DeactivateInDueTimeOrder 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":"src/Orleans.Runtime/Catalog/ActivationCollector.cs"},"region":{"startLine":407}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5c3e0ea0a686aa7fd0bb476eb3902b7b52129f74a430c8423c3758866f1b245"}},{"ruleId":"D2","level":"warning","message":{"text":"Catalog.GetOrCreateActivation (cognitive 18): Catalog.GetOrCreateActivation has cognitive complexity 18 (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":"src/Orleans.Runtime/Catalog/Catalog.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb39465de1a37dc9fad8483919d08d4c1200b2b495500e308288dd1152730022"}},{"ruleId":"D2","level":"warning","message":{"text":"DirectoryMembershipSnapshot.DirectoryMembershipSnapshot.ctor (cognitive 18): DirectoryMembershipSnapshot.DirectoryMembershipSnapshot.ctor has cognitive complexity 18 (threshold 15). Of this number, 16 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":"src/Orleans.Runtime/GrainDirectory/DirectoryMembershipSnapshot.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c9207af2d35df185bed042560a172ac113c9db45ad2ffe093ab04adc5cd765"}},{"ruleId":"D2","level":"warning","message":{"text":"DistributedGrainDirectory.GetRegisteredActivations (cognitive 18): DistributedGrainDirectory.GetRegisteredActivations 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":"src/Orleans.Runtime/GrainDirectory/DistributedGrainDirectory.cs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"f37646c5ba477d4f104aec2280ca483dc3aaee0ef49a702f553b67aa2cc20899"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferencedAssemblyProvider.AddFromDependencyContext (cognitive 18): ReferencedAssemblyProvider.AddFromDependencyContext 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":"src/Orleans.Serialization/Hosting/ReferencedAssemblyProvider.cs"},"region":{"startLine":131}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ca043e7438fb33a5660cb3d34ba31ecc52f656e90af8305e2082054c41ea22"}},{"ruleId":"D2","level":"warning","message":{"text":"CodecProvider.CreateCodecInstance (cognitive 18): CodecProvider.CreateCodecInstance has cognitive complexity 18 (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":"src/Orleans.Serialization/Serializers/CodecProvider.cs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"d628cb218e437e8d3bcd1d779c4d1eb315f6dc2ca34f7171acc3eece77ca1c2b"}},{"ruleId":"D2","level":"warning","message":{"text":"ReferencedObjectCollection.AddToReferences (cognitive 18): ReferencedObjectCollection.AddToReferences 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":"src/Orleans.Serialization/Session/ReferencedObjectCollection.cs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8444e86186ced2c7f8b00071fb3b77d2d425c97ce53f6fad04635f158d167b6"}},{"ruleId":"D2","level":"warning","message":{"text":"IPAddressSelector.PickIPAddress (cognitive 18): IPAddressSelector.PickIPAddress 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":"src/Orleans.Hosting.Kubernetes/ConfigureKubernetesHostingOptions.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"374da497ac4cbe3d435113766d3d9817550485a08490381e3065aac734d4b15e"}},{"ruleId":"D2","level":"warning","message":{"text":"CosmosGrainStorage.TryCreateResources (cognitive 18): CosmosGrainStorage.TryCreateResources 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":"src/Azure/Orleans.Persistence.Cosmos/CosmosGrainStorage.cs"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"254d921841bcf7d09b114b90e72df149f55ee8d50a6ba6f17c61d570aa28c552"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureQueueStreamProviderBuilder.GetQueueOptionBuilder (cognitive 18): AzureQueueStreamProviderBuilder.GetQueueOptionBuilder has cognitive complexity 18 (threshold 15). Most of this is not in the body itself: 0 of the 18 points are its own statements and the rest belongs to one function literal inside it that branches (line 48). 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":"src/Azure/Orleans.Streaming.AzureStorage/Hosting/AzureQueueStreamProviderBuilder.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a324b542e4a86cc009436ea69c06fefd6559d562b07c55f1252e13cc94066d"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsistencyTestGrain.Recurse (cognitive 18): ConsistencyTestGrain.Recurse 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":"src/Orleans.Transactions.TestKit.Base/Consistency/ConsistencyTestGrain.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"608c9f9026437dea88b00514e54901f30038281935501e6a7ab453b765071b1b"}},{"ruleId":"D2","level":"warning","message":{"text":"ReadWriteLock.Find (cognitive 18): ReadWriteLock.Find 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":"src/Orleans.Transactions/State/ReaderWriterLock.cs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"538bf8e5216bd353412d93fae19fa91f14432330a174b11d06c1bd36f723b4f0"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.assertUniqueApiRoutes (cognitive 18): packages.assertUniqueApiRoutes has cognitive complexity 18 (threshold 15). Drivers by points: if/else 4 (12 pts), loops 3 (6 pts) (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/src/lib/api/packages.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9b6cf895539be1dc5d7a095bcaa02a57c9937b224d35909e473f096724bd38c"}},{"ruleId":"D2","level":"warning","message":{"text":"clean-markdown-output.publishMarkdownOverview (cognitive 18): clean-markdown-output.publishMarkdownOverview has cognitive complexity 18 (threshold 15). Drivers by points: if/else 8 (12 pts), loops 3, ternaries 2, boolean chains 1 (nesting depth added 4). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/src/plugins/clean-markdown-output.mjs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"47c0d0da1b5a4aa95aea037fd34582869e9c4ce4bae7064793463f1b70968348"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivationSheddingToyHostedService.ExecuteAsync (cognitive 17): ActivationSheddingToyHostedService.ExecuteAsync 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/ActivationSheddingToy/ActivationSheddingToyHostedService.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9ea5345b6519bf9eb98c708520906cc073f5c0466465765c8a083bdae96ab7a"}},{"ruleId":"D2","level":"warning","message":{"text":"InvokableBaseTypeResolver.TryConstructAndValidate (cognitive 17): InvokableBaseTypeResolver.TryConstructAndValidate 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":"src/Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"7803c9c1b5111dccb83b4272b4a7d4799917c0feed28a70b34d44779b19ca1ec"}},{"ruleId":"D2","level":"warning","message":{"text":"AliasClashAttributeAnalyzer.CheckMethodAliases (cognitive 17): AliasClashAttributeAnalyzer.CheckMethodAliases 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":"src/Orleans.Analyzers/AliasClashAttributeAnalyzer.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"be82656bed15cbb3e664250b7bc7cfb7831bcc5235b1658bf2d56dad17dee922"}},{"ruleId":"D2","level":"warning","message":{"text":"CopierGenerator.GetFieldDescriptions (cognitive 17): CopierGenerator.GetFieldDescriptions 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":"src/Orleans.CodeGenerator/CopierGenerator.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"3607a1219017987c267d0cf52d07cf901caed193b919d1891e33de25c322cd33"}},{"ruleId":"D2","level":"warning","message":{"text":"MetadataGenerator.GenerateIncrementalMetadata (cognitive 17): MetadataGenerator.GenerateIncrementalMetadata 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":"src/Orleans.CodeGenerator/MetadataGenerator.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"165267a50e0d20a0ab2c3339a17d1203e6d3337ff15393241f81ed82d9de33aa"}},{"ruleId":"D2","level":"warning","message":{"text":"SerializerGenerator.AddSerializationMembers (cognitive 17): SerializerGenerator.AddSerializationMembers has cognitive complexity 17 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 2 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":"src/Orleans.CodeGenerator/SerializerGenerator.cs"},"region":{"startLine":465}}}],"partialFingerprints":{"codehealthFindingId/v1":"9548e099a838b8770fa920294657f147a555f8a6a4b7a9a807acc36ead8a1c35"}},{"ruleId":"D2","level":"warning","message":{"text":"ConfigUtilities.GetLocalIPAddress (cognitive 17): ConfigUtilities.GetLocalIPAddress 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":"src/Orleans.Core/Configuration/ConfigUtilities.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"a33125069ac90fa87d82a02a845ddfbd150013a095152b04583a89aaaf4b93a3"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientMessageCenter.GetGatewayConnection (cognitive 17): ClientMessageCenter.GetGatewayConnection 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":"src/Orleans.Core/Messaging/ClientMessageCenter.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6975fa9b35183a669dceae573d1da300f2e2d21e92c0e30d265cbe97d1ef1f"}},{"ruleId":"D2","level":"warning","message":{"text":"Connection.ProcessOutgoing (cognitive 17): Connection.ProcessOutgoing 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":"src/Orleans.Core/Networking/Connection.cs"},"region":{"startLine":383}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e8b400c35edb031412ccbd78b76008b469d39d358d8556cb46df64d55624f4"}},{"ruleId":"D2","level":"warning","message":{"text":"OutsideRuntimeClient.ReceiveResponse (cognitive 17): OutsideRuntimeClient.ReceiveResponse 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":"src/Orleans.Core/Runtime/OutsideRuntimeClient.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"169d41ec7a3399221bd6cf50932edb5891d792c8862f5b70d67a1bb6aa3b0d6c"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivationMigrationManager.PumpMigrationQueue (cognitive 17): ActivationMigrationManager.PumpMigrationQueue 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":"src/Orleans.Runtime/Catalog/ActivationMigrationManager.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"011523e50d715dbefbb0932d9cf45ed49b6598e63ab9289420a4537006153c8c"}},{"ruleId":"D2","level":"warning","message":{"text":"IncomingRequestMonitor.Run (cognitive 17): IncomingRequestMonitor.Run 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":"src/Orleans.Runtime/Catalog/IncomingRequestMonitor.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37d51335457bf84b86d605f0595854fd1b1151150001024c019965fc7427aae"}},{"ruleId":"D2","level":"warning","message":{"text":"StatelessWorkerGrainContext.RunMessageLoop (cognitive 17): StatelessWorkerGrainContext.RunMessageLoop 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":"src/Orleans.Runtime/Catalog/StatelessWorkerGrainContext.cs"},"region":{"startLine":139}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4766d7f4a2cd8ee771dc9cbdd03a48994a5417cedd8d70a57908308bb4c963e"}},{"ruleId":"D2","level":"warning","message":{"text":"ClientDirectory.Run (cognitive 17): ClientDirectory.Run 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":"src/Orleans.Runtime/GrainDirectory/ClientDirectory.cs"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"a59a3221dd3bef06043025788b8c2f5373a1f235aa17a61b4532674b70a3a7c0"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainDirectoryPartition.OnSiloRemovedFromCluster (cognitive 17): GrainDirectoryPartition.OnSiloRemovedFromCluster 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":"src/Orleans.Runtime/GrainDirectory/GrainDirectoryPartition.cs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"36837e4cb49199b851272dd7d62fe8c1a5a001b17bd2754fa11b094e987433aa"}},{"ruleId":"D2","level":"warning","message":{"text":"LocalGrainDirectory.LookupAsync (cognitive 17): LocalGrainDirectory.LookupAsync 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":"src/Orleans.Runtime/GrainDirectory/LocalGrainDirectory.cs"},"region":{"startLine":839}}}],"partialFingerprints":{"codehealthFindingId/v1":"b372fc4242d7dd290eea1d3eae7464c209f738838b5855961af515f2c47e16dc"}},{"ruleId":"D2","level":"warning","message":{"text":"SiloStatusListenerManager.NotifyObservers (cognitive 17): SiloStatusListenerManager.NotifyObservers 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":"src/Orleans.Runtime/MembershipService/SiloStatusListenerManager.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"51eeee94cd2d8a0ef2190ed5eef6ca6d97d4ff2d59ca15dfb0ffe39dc96b9f07"}},{"ruleId":"D2","level":"warning","message":{"text":"UnknownSiloStatusCache.ValidateSiloStatuses (cognitive 17): UnknownSiloStatusCache.ValidateSiloStatuses 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":"src/Orleans.Runtime/MembershipService/UnknownSiloStatusCache.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"8039f87ebcf9f3f815c602bb9aa74c35002eb40cb2a2472fd0a08af62f9d6114"}},{"ruleId":"D2","level":"warning","message":{"text":"JsonCodec.ReadValue (cognitive 17): JsonCodec.ReadValue 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":"src/Orleans.Serialization.SystemTextJson/JsonCodec.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"36465e88efd5b25a66e5480ef5d9d97e760237928e8b7e960e1e8735010b7634"}},{"ruleId":"D2","level":"warning","message":{"text":"PooledBufferStream.SetLength (cognitive 17): PooledBufferStream.SetLength 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":"src/Orleans.Serialization/Buffers/Adaptors/PooledBufferStream.cs"},"region":{"startLine":240}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce0b0ce807896acb48fbad2c43b04907198fe31d72823b35b9a0d416bbe3e90d"}},{"ruleId":"D2","level":"warning","message":{"text":"Reader.ForkFrom (cognitive 17): Reader.ForkFrom 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":"src/Orleans.Serialization/Buffers/Reader.cs"},"region":{"startLine":586}}}],"partialFingerprints":{"codehealthFindingId/v1":"627a9d2df78977e73612e0409afb3a73a0e552d56781d1aa7a44bebb2f0796b1"}},{"ruleId":"D2","level":"warning","message":{"text":"WellKnownStringComparerCodec.ReadValue (cognitive 17): WellKnownStringComparerCodec.ReadValue 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":"src/Orleans.Serialization/Codecs/WellKnownStringComparerCodec.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"439b5d6ecbe529f9e24ca88ea179277eed488f4def80b17e8a7e19e711dbdb37"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeConverter.InspectTypeCore (cognitive 17): TypeConverter.InspectTypeCore 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":"src/Orleans.Serialization/TypeSystem/TypeConverter.cs"},"region":{"startLine":563}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4863b97a739a603f222c470569d94b242c45bb4646f3248cf489e3660d43495"}},{"ruleId":"D2","level":"warning","message":{"text":"BitStreamFormatter.FormatField (cognitive 17): BitStreamFormatter.FormatField 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":"src/Orleans.Serialization/Utilities/BitStreamFormatter.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c19de00a5ea653f1263f66ac69506ce42331b3d74b05325243df954587a715"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainDirectoryObserver.HasConverged (cognitive 17): GrainDirectoryObserver.HasConverged 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":"src/Orleans.TestingHost/GrainDirectoryObserver.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a96010fd83a21800663ba2efc882d1bada192674a72b09bab5c9812a212e903d"}},{"ruleId":"D2","level":"warning","message":{"text":"StandaloneSiloHandle.StandaloneSiloHandle.ctor (cognitive 17): StandaloneSiloHandle.StandaloneSiloHandle.ctor has cognitive complexity 17 (threshold 15). Most of this is not in the body itself: 3 of the 17 points are its own statements and the rest belongs to 3 function literals inside it that branch (lines 79, 130, 114). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/StandaloneSiloHandle.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"338164e4fd92b6ea7f73f318ba50896ce7adc446cda278feb6162ffae231b417"}},{"ruleId":"D2","level":"warning","message":{"text":"LifecycleStageInspector.CleanMethodName (cognitive 17): LifecycleStageInspector.CleanMethodName 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":"src/Dashboard/Orleans.Dashboard/Implementation/LifecycleStageInspector.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"22aca1a46ea814567582b9f986c7904dc4a83af5cb964faba6065bbfd2e8c293"}},{"ruleId":"D2","level":"warning","message":{"text":"ZooKeeperBasedMembershipTable.ReadCoreAsync (cognitive 17): ZooKeeperBasedMembershipTable.ReadCoreAsync 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":"src/Orleans.Clustering.ZooKeeper/ZooKeeperBasedMembershipTable.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"19be335b5f7150708eece324918f9486832b9b5d60c986c91c9ced54282490ac"}},{"ruleId":"D2","level":"warning","message":{"text":"SQSStorage.ParseDataConnectionString (cognitive 17): SQSStorage.ParseDataConnectionString 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":"src/AWS/Orleans.Streaming.SQS/Storage/SQSStorage.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"83db03808a84dd3277cea4b1ce0fd0297039d61fe06d3de30465baf72157ad28"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureBasedMembershipTable.Parse (cognitive 17): AzureBasedMembershipTable.Parse 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":"src/Azure/Orleans.Clustering.AzureStorage/AzureBasedMembershipTable.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"51fd6ffe4b16e01d7b0d0914860dbde06d5cf77578169b5792e8b2674e3a222c"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureTableJournalStorageProvider.ListAsync (cognitive 17): AzureTableJournalStorageProvider.ListAsync 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":"src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorageProvider.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f70e8c9735767ef5ca27f2b0abfdc499ad5aa7a7d463cef9d32a67d333b433d8"}},{"ruleId":"D2","level":"warning","message":{"text":"ConsistencyTestHarness.RunRandomTransactionSequence (cognitive 17): ConsistencyTestHarness.RunRandomTransactionSequence 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":"src/Orleans.Transactions.TestKit.Base/Consistency/ConsistencyTestHarness.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"61cc8e912f237a0083b9fc52306c6e7652561f59310148ad50800e43e0ca6847"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionRecoveryTestsRunner.TransactionWillRecoverAfterTargetedPhase (cognitive 17): TransactionRecoveryTestsRunner.TransactionWillRecoverAfterTargetedPhase has cognitive complexity 17 (threshold 15). Of this number, 13 points are the body\u0027s own statements and 4 belong to 2 function literals inside it that branch. 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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryTestsRunner.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd21e2afcbbe96d2487beafbc8350e4017771a936fafac1c2483c9756621805b"}},{"ruleId":"D2","level":"warning","message":{"text":"docfx.convertLinkTarget (cognitive 17): docfx.convertLinkTarget has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (9 pts), boolean chains 7, ternaries 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/docfx.mjs"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cff54b4d28743a6b02bea924c5f4ed5721980ed86f9068033f9388e47f024d1"}},{"ruleId":"D2","level":"warning","message":{"text":"CopierGenerator.GenerateMemberwiseDeepCopyMethod (cognitive 16): CopierGenerator.GenerateMemberwiseDeepCopyMethod 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":"src/Orleans.CodeGenerator/CopierGenerator.cs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"31d3d3f4190eb4f05426336b58e90b7509b2817422bd006facfae76f9a615507"}},{"ruleId":"D2","level":"warning","message":{"text":"SerializableSourceOutputGenerator.CreateReferencedSerializableSourceOutputs (cognitive 16): SerializableSourceOutputGenerator.CreateReferencedSerializableSourceOutputs 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":"src/Orleans.CodeGenerator/SerializableSourceOutputGenerator.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b7518682856045c4b7decbdd1a4f7f3afee32f24269b3922ba9e3fba5b775a4"}},{"ruleId":"D2","level":"warning","message":{"text":"DefaultOptionsFormatter.FormatProperty (cognitive 16): DefaultOptionsFormatter.FormatProperty 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":"src/Orleans.Core/Configuration/OptionLogger/DefaultOptionsFormatter.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"93029951ea2ebc3a559f2b61b84cf69799eae90f12824ab9a1292439611302f7"}},{"ruleId":"D2","level":"warning","message":{"text":"JournalCatalogRange.JournalCatalogRange.ctor (cognitive 16): JournalCatalogRange.JournalCatalogRange.ctor 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":"src/Orleans.Journaling/JournalCatalogRange.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"3042bfda5803f1cd0c7f2177fed96c2f70398f180addaed254ae720ab0f095d0"}},{"ruleId":"D2","level":"warning","message":{"text":"JournalingHostingExtensions.AddJournalStorage (cognitive 16): JournalingHostingExtensions.AddJournalStorage has cognitive complexity 16 (threshold 15). Of this number, 14 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":"src/Orleans.Journaling/JournalingHostingExtensions.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bffb424032e4296779d007e9b89cd8c5ed155eb6163892a38b60f214e25dfc"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivationCollector.TryRescheduleCollection (cognitive 16): ActivationCollector.TryRescheduleCollection 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":"src/Orleans.Runtime/Catalog/ActivationCollector.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"cffa68d3afe239ce503b233fb9f9d4504bfa980a90102c8a44658ba007e21d21"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivationCollector.RunMemoryBasedDeactivationLoop (cognitive 16): ActivationCollector.RunMemoryBasedDeactivationLoop 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":"src/Orleans.Runtime/Catalog/ActivationCollector.cs"},"region":{"startLine":730}}}],"partialFingerprints":{"codehealthFindingId/v1":"6caa1c70523bedbde2b42dcb91f6b7a6d3ad398609174af5997508148a014370"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtualBucketsRingProvider.CalculateTargetSilo (cognitive 16): VirtualBucketsRingProvider.CalculateTargetSilo 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":"src/Orleans.Runtime/ConsistentRing/VirtualBucketsRingProvider.cs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4195b2bf1965aadda0f7b7f45983e0b6cbd72aeca97b7327b0658c24c25f8f4"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainDirectoryPartition.GetSnapshotAsync (cognitive 16): GrainDirectoryPartition.GetSnapshotAsync 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":"src/Orleans.Runtime/GrainDirectory/GrainDirectoryPartition.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"03b8ae4e1d81d735b997e1e9f6c7c3bd859549677b07c045ddb8bc555d5c313f"}},{"ruleId":"D2","level":"warning","message":{"text":"GrainDirectoryPartition.AcquireRangeAsync (cognitive 16): GrainDirectoryPartition.AcquireRangeAsync 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":"src/Orleans.Runtime/GrainDirectory/GrainDirectoryPartition.cs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9665a4d2577d48e9ae0a7234dd5ae3a01b1876fc81bbcd2aa02062b4b4cbff"}},{"ruleId":"D2","level":"warning","message":{"text":"RingRangeCollection.Difference (cognitive 16): RingRangeCollection.Difference 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":"src/Orleans.Runtime/GrainDirectory/RingRangeCollection.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0de937e71cb5b34831f21a155c93b3c9d7ffe5b154e3e2098933f325fb6be25"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterManifestProvider.ProcessMembershipUpdates (cognitive 16): ClusterManifestProvider.ProcessMembershipUpdates 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":"src/Orleans.Runtime/Manifest/ClusterManifestProvider.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbac4085ce45ffebfe6c1f77f879d1114f7b26e618f9e8db13d59e61051298f"}},{"ruleId":"D2","level":"warning","message":{"text":"ClusterManifestProvider.TryFillMissingManifestsFromPeers (cognitive 16): ClusterManifestProvider.TryFillMissingManifestsFromPeers 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":"src/Orleans.Runtime/Manifest/ClusterManifestProvider.cs"},"region":{"startLine":356}}}],"partialFingerprints":{"codehealthFindingId/v1":"13a66c980ad0e4b131131eeb0f70f6f1aec55bb38b130bcfe463948c8aa99ab2"}},{"ruleId":"D2","level":"warning","message":{"text":"PlacementService.GetCompatibleSilos (cognitive 16): PlacementService.GetCompatibleSilos 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":"src/Orleans.Runtime/Placement/PlacementService.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"881e9739fa91ab51826cfd96c5a1029f456b2a6fb91e99e8611ff129ac3034e9"}},{"ruleId":"D2","level":"warning","message":{"text":"ActivationRebalancerWorker.RunRebalancingCycle (cognitive 16): ActivationRebalancerWorker.RunRebalancingCycle 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":"src/Orleans.Runtime/Placement/Rebalancing/ActivationRebalancerWorker.cs"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"332807ae8e2f63a14327bfa08561d8a151ec3cfc9beb3b1fadfe44db1b35d37e"}},{"ruleId":"D2","level":"warning","message":{"text":"BufferSliceReaderInput.GetNext (cognitive 16): BufferSliceReaderInput.GetNext 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":"src/Orleans.Serialization/Buffers/Adaptors/BufferSliceReaderInput.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"c779dd192a24c7c322dd93c3c1e870f6c5dd59b38ab4dc3876c0b2ed45456882"}},{"ruleId":"D2","level":"warning","message":{"text":"SpanEnumerator.MoveNext (cognitive 16): SpanEnumerator.MoveNext 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. This shape REPEATS in the file: one other method here (MemoryEnumerator.MoveNext) 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":"src/Orleans.Serialization/Buffers/PooledBuffer.cs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f47de0781bc522f10885ecd07b1fb8f8b84f68018fff44f036f1b71bbf10696"}},{"ruleId":"D2","level":"warning","message":{"text":"MemoryEnumerator.MoveNext (cognitive 16): MemoryEnumerator.MoveNext 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. This shape REPEATS in the file: one other method here (SpanEnumerator.MoveNext) 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":"src/Orleans.Serialization/Buffers/PooledBuffer.cs"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce50e6087d8c3ca511aee5e7dbfb81f65850a459dbc2cfaa425f3ff125a03cea"}},{"ruleId":"D2","level":"warning","message":{"text":"FieldHeaderCodec.ReadTypeForAnalysis (cognitive 16): FieldHeaderCodec.ReadTypeForAnalysis 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":"src/Orleans.Serialization/Buffers/Writer.FieldHeader.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"58cb142d992d4b3edfda535618f3d22f0371a9ffb071c518de0e6ad85cfd2f87"}},{"ruleId":"D2","level":"warning","message":{"text":"DictionaryBaseCodec.Deserialize (cognitive 16): DictionaryBaseCodec.Deserialize 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":"src/Orleans.Serialization/Codecs/DictionaryCodec.cs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2aca1cc4a449d2fc38a679a7a3cf39ff1bb707f632fd63cf79d083ccf362ab7"}},{"ruleId":"D2","level":"warning","message":{"text":"CodecProvider.ConsumeMetadata (cognitive 16): CodecProvider.ConsumeMetadata 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":"src/Orleans.Serialization/Serializers/CodecProvider.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"59d3b3976013fbdde0d38d24edf1d5ea4ea2db5b6e5145fc36110f90e1fd866e"}},{"ruleId":"D2","level":"warning","message":{"text":"PooledQueueCache.SetCursor (cognitive 16): PooledQueueCache.SetCursor 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":"src/Orleans.Streaming/Common/PooledCache/PooledQueueCache.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6ded6b5d0dc7bdabbc0172cbd337212d2c97eeddce351dd683080b7b3032fe"}},{"ruleId":"D2","level":"warning","message":{"text":"PersistentStreamPullingManager.AddNewQueues (cognitive 16): PersistentStreamPullingManager.AddNewQueues 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":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingManager.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"a21cab0f11d4504da493e7198c96fc625c020c06fd358937e21690de3dee8803"}},{"ruleId":"D2","level":"warning","message":{"text":"PubSubRendezvousGrain.RemoveDefunctSystemTargetProducers (cognitive 16): PubSubRendezvousGrain.RemoveDefunctSystemTargetProducers 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":"src/Orleans.Streaming/PubSub/PubSubRendezvousGrain.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"afb68af4a74184b6cb850d36e601531dd5a39f87ea80394dc5dcfeb17582f510"}},{"ruleId":"D2","level":"warning","message":{"text":"AzureTableJournalStorage.ReplaceAsync (cognitive 16): AzureTableJournalStorage.ReplaceAsync 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":"src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorage.cs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"66626f8202e09e6bfe734fcc0d1d2d3da3a8f09539aafc476c9da7dbd6852d6e"}},{"ruleId":"D2","level":"warning","message":{"text":"CassandraClusteringTable.ReadConsistentAsync (cognitive 16): CassandraClusteringTable.ReadConsistentAsync 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":"src/Cassandra/Orleans.Clustering.Cassandra/CassandraClusteringTable.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"c14b680b26b689ce05e4b451bb50b7ae3762854268dd3052ec2a575aec006886"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionRecoveryTestsRunner.TransactionWillRecoverAfterRandomSiloFailure (cognitive 16): TransactionRecoveryTestsRunner.TransactionWillRecoverAfterRandomSiloFailure 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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryTestsRunner.cs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"a302206de0046bdf9ff363987a3a71eefe9ee38faab1182ca137ed957860dd01"}},{"ruleId":"D2","level":"warning","message":{"text":"TransactionRecoveryTestsRunner.RecoverTransactions (cognitive 16): TransactionRecoveryTestsRunner.RecoverTransactions 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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryTestsRunner.cs"},"region":{"startLine":691}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a823365421fd9c039ee86cf9934dd46572d747e1f6785450cbb8981ef4e270"}},{"ruleId":"D2","level":"warning","message":{"text":"docfx.expandIncludesInternal (cognitive 16): docfx.expandIncludesInternal has cognitive complexity 16 (threshold 15). Drivers by points: if/else 4 (9 pts), ternaries 3 (6 pts), loops 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/scripts/lib/docfx.mjs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc2b25d9c550c1032bcb5b0ec4b389b67ba0e17f20d2154671f77ad229fd565f"}},{"ruleId":"D2","level":"warning","message":{"text":"docfx.convertLinks (cognitive 16): docfx.convertLinks has cognitive complexity 16 (threshold 15). Drivers by points: if/else 8 (10 pts), boolean chains 4, ternaries 2 (nesting depth added 2). Most of this is not in the body itself: 0 of the 16 points are its own statements and the rest belongs to one function literal inside it that branches (line 1258). 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":"docs/site/scripts/lib/docfx.mjs"},"region":{"startLine":1257}}}],"partialFingerprints":{"codehealthFindingId/v1":"2afee08f89129f5fe6e0a2cfc48bf39da8759dd679a20d979daee5eb9aca3925"}},{"ruleId":"D2","level":"warning","message":{"text":"packages.buildTypeSignature (cognitive 16): packages.buildTypeSignature has cognitive complexity 16 (threshold 15). Drivers by points: ternaries 7 (9 pts), if/else 3 (4 pts), boolean chains 2, loops 1 (nesting depth added 3). Of this number, 14 points are the body\u0027s own statements and 2 belong to one function literal inside it that branches. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/site/src/lib/api/packages.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff0c5f9e5a72abed8e9b6ad514be6686efbbba11ac573ca0fa111cddf55667ce"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ActivationData: TooManyMethods \u2014 1374 significant lines (blank, comment-only and punctuation-only lines excluded), 118 methods. The bar is 30 methods; this is 88 over it, 3.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":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ade75f7f63bc0b47ce3c97b615a5991c04810293d3132e63d3e3649b63764d8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalReminderService: TooManyMethods \u2014 773 significant lines (blank, comment-only and punctuation-only lines excluded), 101 methods. The bar is 30 methods; this is 71 over it, 3.37\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Reminders/ReminderService/LocalReminderService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb12d6e94893039efc1d58b99167d33088bce24e3ebf36bf9e08883387070e7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Catalog/ActivationData.cs: FileTooLong \u2014 1496 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 996 over it, 2.99\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":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"56ee4fd77d23ebce308051311a02275cbb640bd401d49c6eb55da55f56149f7f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GrainDirectoryPartition: TooManyMethods \u2014 927 significant lines (blank, comment-only and punctuation-only lines excluded), 89 methods, declared across 2 files: GrainDirectory/GrainDirectoryPartition.cs (78), GrainDirectory/GrainDirectoryPartition.Interface.cs (11). 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":"src/Orleans.Runtime/GrainDirectory/GrainDirectoryPartition.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec6894eeaa270447806fc849e8a02efbc5d8f532e1d5b2b583720c63fefa905"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MembershipTableManager: TooManyMethods \u2014 820 significant lines (blank, comment-only and punctuation-only lines excluded), 85 methods. The bar is 30 methods; this is 55 over it, 2.83\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":"src/Orleans.Runtime/MembershipService/MembershipTableManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10586a724dff03764d5b02fca03ae66fc7ffa58931b37387be564f73e34a455"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/docfx.mjs: FileTooLong \u2014 1308 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 808 over it, 2.62\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":"docs/site/scripts/lib/docfx.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b604548be6c9d6611eea34a609a990e1d889f5265ba9b3f3a91aefad00f39ebe"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs: FileTooLong \u2014 1219 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 719 over it, 2.44\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"450a726e9b909c5294fa3df2109427cbbb26700dea0b67f715abafafd123a10a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PersistentStreamPullingAgent: TooManyMethods \u2014 1108 significant lines (blank, comment-only and punctuation-only lines excluded), 72 methods. The bar is 30 methods; this is 42 over it, 2.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":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b751721c484cf0901d18c0af768e8677ede1d2128e08f27dcd2de8fb76f24c28"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PersistentStreams/PersistentStreamPullingAgent.cs: FileTooLong \u2014 1150 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 650 over it, 2.30\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":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8487af70dc1a1a0c835dbbafd909af5dc0e393f4f98604bdd9448a02dff275e2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: S3JournalStorage: TooManyMethods \u2014 944 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":"src/AWS/Orleans.Journaling.S3/S3JournalStorage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4e1c4c66f2ab21442fb80074e788be048956618119e45073f025dc27c5bd65b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalGrainDirectory: TooManyMethods \u2014 578 significant lines (blank, comment-only and punctuation-only lines excluded), 64 methods. 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":"src/Orleans.Runtime/GrainDirectory/LocalGrainDirectory.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8977d7ffd5a87d96c03cfbd8dcc6f540e7b8ad90394a10a3edbf3aadc7f39d57"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TransactionQueue: TooManyMethods \u2014 1004 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":"src/Orleans.Transactions/State/TransactionQueue.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4787e6a61406348d79cfd263bc1d362123bde84c82d60ceea159a33fd3a9b10e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ReminderService/LocalReminderService.cs: FileTooLong \u2014 1041 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 541 over it, 2.08\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":"src/Orleans.Reminders/ReminderService/LocalReminderService.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c11c077ade02810d56df64a70da754d444a4edd5b8a075b96fb60c5b2c56f8"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InProcessTestCluster: TooManyMethods \u2014 513 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":"src/Orleans.TestingHost/InProcTestCluster.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"44a1df98c0211a03bc8866f524aac4119095b297df5a05b3cd48e553ebe5d29a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: State/TransactionQueue.cs: FileTooLong \u2014 1030 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 530 over it, 2.06\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Transactions/State/TransactionQueue.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd0d76c4026502983e71bcd8990367ebabf874ca070130e92135cf5ebd52ba6"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: JournaledStateManager.WorkLoop: MethodTooLong \u2014 WorkLoop runs 202 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 102 over it, 2.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Journaling/JournaledStateManager.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8e014cc698e094004a1c4d2d0554461eadbec94ef7fb8f70b9e397824404c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.Journaling.S3/S3JournalStorage.cs: FileTooLong \u2014 992 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 492 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":"src/AWS/Orleans.Journaling.S3/S3JournalStorage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"62d892ee0639ac2718eb244db3cd64977b8379cfc432c53e0d0d29dfef30d149"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DynamoDBStorage: TooManyMethods \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded), 58 methods. 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":"src/AWS/Shared/Storage/DynamoDBStorage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a627017e8546a543c55f1f61114ab46a562969875f3d4ac2f0796a00c32115"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/link-audit.mjs: FileTooLong \u2014 935 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 435 over it, 1.87\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":"docs/site/scripts/lib/link-audit.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03caa1be2e9de0c5709067c392f67321b56cf8d7ec094e0bd262a5c017870a5b"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: GrainInterfaceVersionCodeFix: TooManyMethods \u2014 1135 significant lines (blank, comment-only and punctuation-only lines excluded), 56 methods. The bar is 30 methods; this is 26 over it, 1.87\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":"src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d42151af9429127a716bf34d5f0b46197b507769c7284784915bb8d5aca1cf0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TestCluster: TooManyMethods \u2014 498 significant lines (blank, comment-only and punctuation-only lines excluded), 56 methods. The bar is 30 methods; this is 26 over it, 1.87\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":"src/Orleans.TestingHost/TestCluster.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2aaa348b23f74df8d4df1bd44823782f2d66a17bedf34d667d170757efcdd64e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs: FileTooLong \u2014 912 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 412 over it, 1.82\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":"src/Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"80da0e55302ddcee80a44825688f881b01e119ec5cd1b1e58b8195a54fe5b654"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.Analyzers/GrainInterfaceVersionAnalyzer.cs: FileTooLong \u2014 897 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 397 over it, 1.79\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":"src/Orleans.Analyzers/GrainInterfaceVersionAnalyzer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"97f9b2a0cc0b45418d22b970b9e30b6846cb4b46747a66ce5c7aa8e6486fdccb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AzureTableJournalStorage: TooManyMethods \u2014 689 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. 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":"src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"433d718fc8229e36feeb3c84c3b4df7a6d1a1cf0c8e5c20c61f97e9804cdd0bc"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ManagementGrain: TooManyMethods \u2014 356 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. 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":"src/Orleans.Runtime/Core/ManagementGrain.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e63a837e3fd50eaa2df86cf431f7fca9219202feadc1a24505d63a693a46f3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ActivationRepartitioner: TooManyMethods \u2014 540 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods, declared across 3 files: Repartitioning/ActivationRepartitioner.cs (23), Repartitioning/ActivationRepartitioner.Log.cs (20), Repartitioning/ActivationRepartitioner.MessageSink.cs (9). 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":"src/Orleans.Runtime/Placement/Repartitioning/ActivationRepartitioner.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec19f1f9b46fa59ffc2d04cd51c172655907df87004f2c47df3fcba1f5cc88b2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalDurableJobManager: TooManyMethods \u2014 494 significant lines (blank, comment-only and punctuation-only lines excluded), 52 methods, declared across 2 files: Orleans.DurableJobs/LocalDurableJobManager.Log.cs (27), Orleans.DurableJobs/LocalDurableJobManager.cs (25). 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":"src/Orleans.DurableJobs/LocalDurableJobManager.Log.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"edc5bc6c6336a5470837cb9456f7a9597e30e3a2f261df357d038aea9ff74a04"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: MembershipService/MembershipTableManager.cs: FileTooLong \u2014 864 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 364 over it, 1.73\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":"src/Orleans.Runtime/MembershipService/MembershipTableManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c34a2154ec939bf3be0e2df3d7177182e30ce3a85f23875786d6c5d5a6e0abab"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TransactionRecoveryTestsRunner.TransactionWillRecoverAfterRandomSiloFailure: MethodTooLong \u2014 TransactionWillRecoverAfterRandomSiloFailure runs 172 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 72 over it, 1.72\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryTestsRunner.cs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"53644ae2eafee9c77009861d918a843d0cc68d31b78dcbdb840a123b6dc4d496"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Codecs/TupleCodec.cs: FileTooLong \u2014 855 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 355 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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5682fbfd314d48e76a4f9a8101b53b6ad6af2f9cfda7936c1d893f9d23dab0a6"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: GrainDirectory/GrainDirectoryPartition.cs: FileTooLong \u2014 835 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 335 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":"src/Orleans.Runtime/GrainDirectory/GrainDirectoryPartition.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb44da57ae12b63af91535c13a68b0ca1ca8bcc6d78e15e09a36351275f238f0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LibraryTypes.LibraryTypes(\u2026): MethodTooLong \u2014 LibraryTypes(\u2026) runs 167 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 67 over it, 1.67\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":"src/Orleans.CodeGenerator/LibraryTypes.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6990038b3ff9390e580a8d1b01afbe3de26c808e6b63fff199d6aed3aae0506d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AzureTableDataManager: TooManyMethods \u2014 455 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":"src/Azure/Shared/Storage/AzureTableDataManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4601eade6d19455c5f7d8bcb8ba0a29c2cd4bc9eee3e7848e38e7ef3c1e4c998"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Silo: TooManyMethods \u2014 358 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":"src/Orleans.Runtime/Silo/Silo.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abb565d8a68f0a95e2f00b4fe61f8832bd1415dc716139fd83f03684d3e98fa"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Diagnostics/TransactionDiagnosticEvents.cs: FileTooLong \u2014 826 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 326 over it, 1.65\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":"src/Orleans.Transactions/Diagnostics/TransactionDiagnosticEvents.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d2107e977fa4b6558cc914f18d4b4bfb1e8d4886d4431a0b50e15da887ad4aa"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Silo.render: MethodTooLong \u2014 render 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":"src/Dashboard/Orleans.Dashboard.App/src/silos/silo.tsx"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"b82600eae145dcfa4d4df205fa60386e2cc7fa05f1cc5b965d926d82b2be0d69"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: JournaledStateManager: TooManyMethods \u2014 588 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":"src/Orleans.Journaling/JournaledStateManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c3614dd8e53a118ba15317668cab49980c4db502008bba9d1ba742f5aead245"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ActivationCollector: TooManyMethods \u2014 459 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":"src/Orleans.Runtime/Catalog/ActivationCollector.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f5f3ada9fadc8334106edd1e79fa18c109eda9b60b2ea4d226b1ca18f388a40"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ActivationData.ActivateAsync: MethodTooLong \u2014 ActivateAsync runs 162 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 62 over it, 1.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":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":1760}}}],"partialFingerprints":{"codehealthFindingId/v1":"a488c39459201e730c3061b3247171f4daecdc5675f6b075e2b649855da8ea13"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AzureBlobJournalStorage: TooManyMethods \u2014 628 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e25954eccbea6da2c5f498d50d6e8b1f6a2abc6c46a9068287e33110b8201c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DynamoDBMembershipTable: TooManyMethods \u2014 462 significant lines (blank, comment-only and punctuation-only lines excluded), 48 methods. The bar is 30 methods; this is 18 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"11d5789b3a0d3e4d01edd3a6a8cdb905e1ef94c71efa690f41ac83ef5bb07d9c"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ReferenceAssemblyModelExtractor.ExtractReferenceAssemblyData: MethodTooLong \u2014 ExtractReferenceAssemblyData runs 160 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 60 over it, 1.60\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":"src/Orleans.CodeGenerator/Model/ReferenceAssemblyModelExtractor.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b9f1c571dd6179d6640b0941b21508b2906af1b382cf8d24fcc33644858cd2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: SerializerGenerator: ClassTooLong \u2014 639 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 239 over it, 1.60\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.CodeGenerator/SerializerGenerator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f59d242ff85c4cebe877b5dd8321f2c638aa80f5a6ab2a8e08b79b32861982"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.CodeGenerator/SerializerGenerator.cs: FileTooLong \u2014 793 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 293 over it, 1.59\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":"src/Orleans.CodeGenerator/SerializerGenerator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be6a69edbb8dda921e529bc6185bb72adff69fa2fb24b8ee9288eac196f5aa5"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PrimaryBasedLogViewAdaptor: TooManyMethods \u2014 360 significant lines (blank, comment-only and punctuation-only lines excluded), 47 methods. The bar is 30 methods; this is 17 over it, 1.57\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.EventSourcing/Common/PrimaryBasedLogViewAdaptor.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e02e8d7a0bb9cefa1d7ddf8fce2d6eadc6fb7699fb2a0f2391f94cd2aecfe9a9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TransactionRecoveryTestsRunner: ClassTooLong \u2014 613 significant lines (blank, comment-only and punctuation-only lines excluded), 25 methods. The bar is 400 significant lines; this is 213 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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryTestsRunner.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59959fd2e465788a7ed8b55824bf570324e4e7ed1f64e3624985f3a8a78ce169"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.Journaling.AzureStorage/AzureTableJournalStorage.cs: FileTooLong \u2014 753 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 253 over it, 1.51\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":"src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35e12990cf172c82f20f466b723b2f91d01864d78108a816829040ee09dcecf9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CosmosMembershipTable: TooManyMethods \u2014 394 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":"src/Azure/Orleans.Clustering.Cosmos/Membership/CosmosMembershipTable.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3298d992d002cbe719472abccaa2937ff2788c25c564a985b16bb3ec7439e360"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConcurrentLruCache: TooManyMethods \u2014 378 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":"src/Orleans.Core/Caching/ConcurrentLruCache.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"daa018426f394edf2415ce3f070c38a6782f59b99af771cd5d1b78b89d7cd545"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ServiceCollectionExtensions.MapOrleansDashboard: MethodTooLong \u2014 MapOrleansDashboard runs 149 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 49 over it, 1.49\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard/ServiceCollectionExtensions.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"94c796f7a49ea23d113bbc3a44817dcc8b5af1a93445cbfe3a4e5bf0cf779f62"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/source-quality.mjs: FileTooLong \u2014 740 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 240 over it, 1.48\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":"docs/site/scripts/lib/source-quality.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4abfc6a7adabd2c457f91d54df43fa66ed0c3dfcd7004cdbfc8ef4211fac29d2"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: InvokableGenerator: ClassTooLong \u2014 588 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 188 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":"src/Orleans.CodeGenerator/InvokableGenerator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab7a40881e5697aab2728a8b67b8c099e8f6abd4782c8bccfe79214a9554a7aa"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LegacyGrainId: TooManyMethods \u2014 188 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":"src/Orleans.Core.Abstractions/IDs/Legacy/LegacyGrainId.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2bec6be5f48add1b8e82b0e7cc64154f63429267d122bf12d5a8b466bb3af92"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Buffers/ArcBufferWriter.cs: FileTooLong \u2014 730 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 230 over it, 1.46\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":"src/Orleans.Serialization/Buffers/ArcBufferWriter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a115b51d3abddd4e138e154a67f7160ffbf27360648dc189a37caf9529129f4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InvokableBaseTypeResolver: TooManyMethods \u2014 794 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. 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":"src/Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3d195ec0b7c6848df3fd5c8d666304e08d3c677e19612174e0c9f39c9376409"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PubSubRendezvousGrain: TooManyMethods \u2014 488 significant lines (blank, comment-only and punctuation-only lines excluded), 43 methods. 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":"src/Orleans.Streaming/PubSub/PubSubRendezvousGrain.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b577410645339c5cb6120fed5b2e77d4f99dbb762c276d234c4e94f331193a5a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ActivationData.RunMessageLoop: MethodTooLong \u2014 RunMessageLoop runs 141 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 41 over it, 1.41\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"8477681b7fb3d5471cfcf894553b7fe0997223536c27b66872110429500a222b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs: FileTooLong \u2014 693 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 193 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d6fd6c9b466e1868cf884a7891014bb27a3819f635985e251a688ddc8b0dd8"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.Journaling/JournaledStateManager.cs: FileTooLong \u2014 693 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 193 over it, 1.39\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Journaling/JournaledStateManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5eeb9d628d4f6a57a093bbc6bc2acda9fa5215655126f2601c13d117baa191ae"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: PersistentStreamPullingAgent.RunConsumerCursor: MethodTooLong \u2014 RunConsumerCursor runs 138 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 38 over it, 1.38\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":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b0fd7b34d503f75dd00ff31dc54511e20043dc05ba5118aa2c679d569d15373"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.Serialization.FSharp/FSharpCodecs.cs: FileTooLong \u2014 688 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 188 over it, 1.38\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.FSharp/FSharpCodecs.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c49e90af0b42b2ecaf31136ab3b66cde762c16931f63641ea84cbf96ddf9ad1"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: OrleansSerializationSourceGenerator.Initialize: MethodTooLong \u2014 Initialize 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":"src/Orleans.CodeGenerator/OrleansSourceGenerator.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"94717be69ec3eeb716587236b6260f31ff6613a65dd8c13b9fce5c1f867e61be"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AdoNetClusteringTable: TooManyMethods \u2014 210 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":"src/AdoNet/Orleans.Clustering.AdoNet/Messaging/AdoNetClusteringTable.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"83a8e35c8ab5e52c0d089cf5aa70ab4f5f3d4db0e5e5ae0fbd19456125873d5b"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: TestRunners/TransactionRecoveryTestsRunner.cs: FileTooLong \u2014 665 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 165 over it, 1.33\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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryTestsRunner.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"29cacdef2119d897c98f399c5aac65bdfffd8917babfb42bc3be495438b4a390"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TransactionQueue.NotifyOfAbort: MethodTooLong \u2014 NotifyOfAbort runs 133 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 33 over it, 1.33\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":"src/Orleans.Transactions/State/TransactionQueue.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"421f8e67a3de53da97aea33d9dbb25b91e323d9444959101ff6b2f590d29b955"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Codecs/ValueTupleCodec.cs: FileTooLong \u2014 661 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 161 over it, 1.32\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":"src/Orleans.Serialization/Codecs/ValueTupleCodec.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc8f9dc4b92f47e934cb8b1be45d9929b9e722584546a83fbd170b5c647f0f1f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.CodeGenerator/InvokableGenerator.cs: FileTooLong \u2014 655 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 155 over it, 1.31\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":"src/Orleans.CodeGenerator/InvokableGenerator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa115cd6c9ec2174a812ed190cb20dec6e29ecc1e6df8392e8abf900866ac590"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ShardExecutor.ExecuteJobAsync: MethodTooLong \u2014 ExecuteJobAsync runs 131 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 31 over it, 1.31\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":"src/Orleans.DurableJobs/ShardExecutor.cs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"8555c88bdc8c051ac29dfb0d0253d02ec3ecbe4958836fe2202c65ed2ea91281"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: InsideRuntimeClient: TooManyMethods \u2014 383 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. 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":"src/Orleans.Runtime/Core/InsideRuntimeClient.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"347e276b7415bfdcb18a7cde56a330671a7e1ecd3e592c9787d36b2410d34331"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: PersistentStreamPullingManager: TooManyMethods \u2014 382 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. 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":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"60cdca445e01a948f9753544d60c8cef186073e99cb6237e715fb0d7967f7a07"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DistributedGrainDirectory: TooManyMethods \u2014 357 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. 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":"src/Orleans.Runtime/GrainDirectory/DistributedGrainDirectory.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"91160e73167b17c926877843ac1098152ff7bdc9ce39b078575fc5daf9cf0172"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ZooKeeperBasedMembershipTable: TooManyMethods \u2014 299 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. 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":"src/Orleans.Clustering.ZooKeeper/ZooKeeperBasedMembershipTable.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0af40205fca619bde611343d85d12fb22a409055b86f22e611ea6ab48efe4ed3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Writer: TooManyMethods \u2014 257 significant lines (blank, comment-only and punctuation-only lines excluded), 39 methods, declared across 4 files: Buffers/Writer.cs (25), Buffers/Writer.VarInt.cs (8), Buffers/Writer.FieldHeader.cs (3), Buffers/Writer.TagDelimitedField.cs (3). The bar is 30 methods; this is 9 over it, 1.30\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization/Buffers/Writer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"38df35f888ecfcb26c4c13c4a17bc1ba6654a72909c66148f21d758407fbf3f7"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.Serialization/Serializer.cs: FileTooLong \u2014 637 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 137 over it, 1.27\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization/Serializer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad8a1896facfbae285526d81c79c69b5c05e49ccf6b83c1f294bc221df53562f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OutsideRuntimeClient: TooManyMethods \u2014 357 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":"src/Orleans.Core/Runtime/OutsideRuntimeClient.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"863f5ceeabecd531612418caa5e732c2819b01f39df946bce83c988a7841b047"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Catalog/ActivationCollector.cs: FileTooLong \u2014 620 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 120 over it, 1.24\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":"src/Orleans.Runtime/Catalog/ActivationCollector.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a097f9c6c054ce9e539e2980ad6b74e33126a0ff14fd0981e16186c7acde40ac"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ActivationRebalancerWorker: TooManyMethods \u2014 345 significant lines (blank, comment-only and punctuation-only lines excluded), 37 methods, declared across 2 files: Rebalancing/ActivationRebalancerWorker.cs (22), Rebalancing/ActivationRebalancerWorker.Log.cs (15). 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":"src/Orleans.Runtime/Placement/Rebalancing/ActivationRebalancerWorker.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8df19fd0300f587336909824d6b1a624a8c6f02003cd259030897ef0eccb9cd1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Connection: TooManyMethods \u2014 326 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":"src/Orleans.Core/Networking/Connection.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b536ec9b11f80a8d94b19b398945ecf134d412e25bebf69723043556ba76d87c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SiloAddress: TooManyMethods \u2014 220 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":"src/Orleans.Core.Abstractions/IDs/SiloAddress.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"04cce681b6474e5ef3273d159e72e39647f2b2fa9eaa49dd606523949dd1905f"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ProxyGenerator.CreateProxyMethods: MethodTooLong \u2014 CreateProxyMethods 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":"src/Orleans.CodeGenerator/ProxyGenerator.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"19f6e5e58076231011480e95c640b9ce43ef1f5a8018907627f436fbec7d479c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: GrainDirectory/LocalGrainDirectory.cs: FileTooLong \u2014 611 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 111 over it, 1.22\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/GrainDirectory/LocalGrainDirectory.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"705bb1ce6f117d27c32217063e234e0c05fca6b07ccbfccfa10e37770477ddb2"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CodecProvider: TooManyMethods \u2014 364 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. 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":"src/Orleans.Serialization/Serializers/CodecProvider.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d2453421f1f0b1acd28af4d34a5f46118744e1fe3f32deba84c54872359389"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: OrleansSiloInstanceManager: TooManyMethods \u2014 319 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. 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":"src/Azure/Orleans.Clustering.AzureStorage/OrleansSiloInstanceManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a885024d2032c2e07e20261a64b02d015d53207c1a0a7a8f48fd22f9009519a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AzureBasedMembershipTable: TooManyMethods \u2014 291 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. 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":"src/Azure/Orleans.Clustering.AzureStorage/AzureBasedMembershipTable.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e0fa28da4a26f4aa44ea8b194336621e989a67b0bb3f9fd19ba3e56608119fb"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FirestoreMembershipTable: TooManyMethods \u2014 261 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. 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":"src/Google/Orleans.Clustering.Firestore/FirestoreMembershipTable.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d67243cd9ca334e3fb0db33c50783373c1ecac9c26f57de4cc4742b63743020"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Overview.render: MethodTooLong \u2014 render runs 120 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 20 over it, 1.20\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":"src/Dashboard/Orleans.Dashboard.App/src/overview/overview.tsx"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4631b23a6d5aa2e850dc3d89e27df256d48c5e0e0abb57b29a52c754d295ab0"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Storage/DynamoDBStorage.cs: FileTooLong \u2014 593 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 93 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":"src/AWS/Shared/Storage/DynamoDBStorage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35ae236a479f74037119e9a6fd15d731cbde64b3d96060461ed61c2d7169c901"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: UniqueKey: TooManyMethods \u2014 190 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":"src/Orleans.Core.Abstractions/IDs/Legacy/UniqueKey.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d1f062e89519f7baf1f31ded3de4870cbec8317a7a2f340c06b1a5f5ad0162"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Serializer: TooManyMethods \u2014 190 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":"src/Orleans.Serialization/Serializer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"95eba2de805c15fc8c3ad969f6cc1e84dc565e863f8d83f4eb827b8235dd7d85"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Impl.AnalyzeNamedType: MethodTooLong \u2014 AnalyzeNamedType runs 116 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 16 over it, 1.16\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Analyzers/GrainInterfaceVersionAnalyzer.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb853b880ecbb198fe1b5c78c323a25164a3b4680f1ad435fc46832ae28070d"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Reader: ClassTooLong \u2014 461 significant lines (blank, comment-only and punctuation-only lines excluded), 30 methods. The bar is 400 significant lines; this is 61 over it, 1.15\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization/Buffers/Reader.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8035e4b4cb79380fc9bea408903d876486dcfab602b22b8aba2b7979df7d6a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TransactionRecoveryTestsRunner.TransactionWillRecoverAfterTargetedPhase: MethodTooLong \u2014 TransactionWillRecoverAfterTargetedPhase runs 114 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 14 over it, 1.14\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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryTestsRunner.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fb11655565372ebcfa2e7a5652620cf85b3d97a73045b1f40dca3a7f3157b4d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MessageCenter: TooManyMethods \u2014 374 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":"src/Orleans.Runtime/Messaging/MessageCenter.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18c3e4244928e858a2548e872068b4f6513f766bd934c01e5877fd1d230dccf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AzureBlobGrainStorage: TooManyMethods \u2014 289 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":"src/Azure/Orleans.Persistence.AzureStorage/Providers/Storage/AzureBlobStorage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfc92dd5fcab8bcc7afc0e521522d77cba743ca647b6f11966d63c31f3e50426"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AzureQueueDataManager: TooManyMethods \u2014 258 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":"src/Azure/Orleans.Streaming.AzureStorage/Storage/AzureQueueDataManager.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a17c19709ff9061ac10425b15ce1ea80670fd81c45be05344823c986f36e3c89"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ClusterManifestProvider: ClassTooLong \u2014 445 significant lines (blank, comment-only and punctuation-only lines excluded), 29 methods. The bar is 400 significant lines; this is 45 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":"src/Orleans.Runtime/Manifest/ClusterManifestProvider.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88939ef4e4e33e589b2459d3319b531ce0f603bee270d869ff479a649a116e74"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: TransactionRecoveryEventObserver.TryCreateTransition: MethodTooLong \u2014 TryCreateTransition runs 111 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 11 over it, 1.11\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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryEventObserver.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d425fa399d865ec33c0fb15eb3d027ad252fa690993012724ecd1027d20983c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MetadataGenerator: TooManyMethods \u2014 409 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":"src/Orleans.CodeGenerator/MetadataGenerator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d79a518448556176015a019a5a29f65898a571960ca479e9b0acd0f76a05f493"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: MembershipAgent: TooManyMethods \u2014 347 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":"src/Orleans.Runtime/MembershipService/MembershipAgent.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16246c81f6070e24b4f053f8844182b410eebe436f0aaad12ddb96c4cfd293c"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SystemTarget: TooManyMethods \u2014 226 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":"src/Orleans.Runtime/Core/SystemTarget.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e6442e77a817abb33d5fb538763ab435e39fe63137865db3813e5e5d3ac9c29"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DurableSet: TooManyMethods \u2014 88 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":"src/Orleans.Journaling/DurableSet.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"723d6550713066d473fb58db7461b191427fa4d145d698dcd12ffa7a64086c8f"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Buffers/Reader.cs: FileTooLong \u2014 550 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 50 over it, 1.10\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":"src/Orleans.Serialization/Buffers/Reader.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0458085f5b166debde813a0ae5ba9b927f3dfb87fc43dbaa0b79bbdcb6de87ce"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: PubSub/PubSubRendezvousGrain.cs: FileTooLong \u2014 543 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 43 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":"src/Orleans.Streaming/PubSub/PubSubRendezvousGrain.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7baae0ae9d2336f6100fd452eb7441885c8674a92d0d2f05ebf48779086cf9dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.TestingHost/InProcTestCluster.cs: FileTooLong \u2014 542 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 42 over it, 1.08\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":"src/Orleans.TestingHost/InProcTestCluster.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ae1786128b7a219df9cad35888acfa4618f8a464718cc2f025ef4b43d2b9bd"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Identifier.IsCSharpKeyword: MethodTooLong \u2014 IsCSharpKeyword 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":"src/Orleans.CodeGenerator/SyntaxGeneration/Identifier.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d5791cab7911bc2a2e72fb32068cd62ba5c59d8db224690b1bd1e0becdaad4"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RedisJournalStorage: TooManyMethods \u2014 432 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Redis/Orleans.Journaling.Redis/RedisJournalStorage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd59fc527c9e4da8329b94433f7b08677fb3068bb9c893e4194adcc375bd3090"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LocalSiloHealthMonitor: TooManyMethods \u2014 424 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/MembershipService/LocalSiloHealthMonitor.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e3b6a3815f17fc2bfc476b033ccf629e094d6f0d4a2f51052f9ab948a4a5605"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ReadWriteLock: TooManyMethods \u2014 369 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Transactions/State/ReaderWriterLock.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7069e0a9fbac846211016d267335e9c0c47366d6222bda1b21bd735c411e7314"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: LeaseBasedQueueBalancer: TooManyMethods \u2014 278 significant lines (blank, comment-only and punctuation-only lines excluded), 32 methods. The bar is 30 methods; this is 2 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Streaming/QueueBalancer/LeaseBasedQueueBalancer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35169dba7cc5b8389b29aba68de282bea107d3134a5e2e713ae0099baf975849"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: TransactionalStateStorageTestRunner: ClassTooLong \u2014 426 significant lines (blank, comment-only and punctuation-only lines excluded), 19 methods. The bar is 400 significant lines; this is 26 over it, 1.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16567690307c33f2b510c5eab84ad6c8b1978ef8632bbeb812d23fed81a1f3e4"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: SerializerGenerator.GenerateDeserializeMethod: MethodTooLong \u2014 GenerateDeserializeMethod runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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":"src/Orleans.CodeGenerator/SerializerGenerator.cs"},"region":{"startLine":539}}}],"partialFingerprints":{"codehealthFindingId/v1":"94912274f97c80102d5f39e6dde0b80e3aefc2983dce34192e73b217bab624ac"}},{"ruleId":"D3","level":"warning","message":{"text":"FunctionTooLong: link-audit.auditSourceLinks: FunctionTooLong \u2014 auditSourceLinks runs 105 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 5 over it, 1.05\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":"docs/site/scripts/lib/link-audit.mjs"},"region":{"startLine":418}}}],"partialFingerprints":{"codehealthFindingId/v1":"30297ad393ad9e8d197084a8ea769f26c789f6e31f5d5481fe0b08dbc3000b6d"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Orleans.TestingHost/TestCluster.cs: FileTooLong \u2014 523 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 23 over it, 1.05\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":"src/Orleans.TestingHost/TestCluster.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"674cff191140653cbe963f7fdd34320cf4d767f3ab66114339e40aa539f7e3ed"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: DynamoDBTransactionalStateStorage.Store: MethodTooLong \u2014 Store runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AWS/Orleans.Transactions.DynamoDB/TransactionalState/DynamoDBTransactionalStateStorage.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1742426609467bec3df628e5573231d672ac20446d0f60970c94cb4cb9412d0"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InvokableBaseTypeResolver.SatisfiesConstraints: MethodTooLong \u2014 SatisfiesConstraints runs 104 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 4 over it, 1.04\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs"},"region":{"startLine":628}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca6195953c843a680adb93299d9c07d03005652a4d00f9551302e589b5ca0297"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TransactionDiagnosticEvents: TooManyMethods \u2014 518 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 30 methods; this is 1 over it, 1.03\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":"src/Orleans.Transactions/Diagnostics/TransactionDiagnosticEvents.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99723658b87fdbc8207cca697b939417eb759c5d5543454d7eb27ba1e43ed97d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: SiloControl: TooManyMethods \u2014 276 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Silo/SiloControl.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"310b549fae4bc4fe14122b2d24f03a384f0a71cc11b012219766c5729a591b8e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AzureTableGrainStorage: TooManyMethods \u2014 246 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Persistence.AzureStorage/Providers/Storage/AzureTableStorage.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"99e5fbbd631264d2229c3e588722e1df3df6702a98760b879044d3cb422294a9"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: AzureBasedReminderTable: TooManyMethods \u2014 246 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Reminders.AzureStorage/Storage/AzureBasedReminderTable.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d943f43652e58fea229c63483d07e8f8a8cc5996c1d33686b90a11e781619ea"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: RedisMembershipTable: TooManyMethods \u2014 227 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Redis/Orleans.Clustering.Redis/Storage/RedisMembershipTable.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d45b0e5436cf76c7abb8ce12d86fa22f4093251e585faff333b9dd0e7abf754f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ConsulBasedMembershipTable: TooManyMethods \u2014 213 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Clustering.Consul/ConsulBasedMembershipTable.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"72b3383de95d740b25ab28aa92e730332cfe8119b8abf4a74c2443b311ffe818"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Serializer: TooManyMethods \u2014 158 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization/Serializer.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2630e3449b5f640607f7d53cef6aef28bf18f598efa44c339a34eb8a96649de3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DurableDictionary: TooManyMethods \u2014 87 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Journaling/DurableDictionary.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d16129ecd28a37d8834cd50ce3daa2f09b80e6ea87a49cc3f62d68a5fce1bb8f"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DurableList: TooManyMethods \u2014 84 significant lines (blank, comment-only and punctuation-only lines excluded), 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Journaling/DurableList.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"45ab440b9289213001d9b31361eef3a644037c7eb4f117d4220273aa47750bd9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: CopierGenerator: ClassTooLong \u2014 411 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 11 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.CodeGenerator/CopierGenerator.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"15d0272827be23c017d11a60dfd8edb865fffddf7f946c4145ecca60952ef1b3"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ActivationRepartitioner.AcceptExchangeRequest: MethodTooLong \u2014 AcceptExchangeRequest runs 102 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 2 over it, 1.02\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Placement/Repartitioning/ActivationRepartitioner.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a378698aaf342e83cc5a4832d8adcae5f2a4c538f98be08f7f02c0315514cd7"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (33 shared lines): src/Orleans.CodeGenerator/CopierGenerator.cs:170-227 | src/Orleans.CodeGenerator/SerializerGenerator.cs:206-255 \u2014 These two members are variants of one another: 33 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":"src/Orleans.CodeGenerator/CopierGenerator.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeceec528174a1ae5fc824f7528b200fd044a80b447623957f49077cf2e93eb6"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (43 corresponding lines): src/Orleans.CodeGenerator/CopierGenerator.cs:120-166 | src/Orleans.CodeGenerator/SerializerGenerator.cs:142-202 \u2014 These two members are one piece of code written twice and then edited apart: 43 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.CodeGenerator/CopierGenerator.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"197880061ca033603f580e21d24b226f99111dda2c75c19366b4850694fdb29f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): src/Orleans.Serialization/ISerializableSerializer/ExceptionCodec.cs:72-112 | src/Orleans.Serialization/ISerializableSerializer/ExceptionCodec.cs:367-449 \u2014 These two members are one piece of code written twice and then edited apart: 37 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization/ISerializableSerializer/ExceptionCodec.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"b445a31ad36a9e4941fe9b9c65fb2c45355006e606dd06fdd6118ee97d2fc789"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): src/Orleans.CodeGenerator/Model/GeneratedInvokableDescription.cs:87-97 | src/Orleans.CodeGenerator/Model/ProxyMethodDescription.cs:160-170 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.CodeGenerator/Model/GeneratedInvokableDescription.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2891f65ed63f82429338bb1330f538533e4046d9d31f09f999aada64e59f25a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (19 members, 50\u002B identical tokens): src/Azure/Orleans.Clustering.AzureStorage/AzureTableStorageClusteringProviderBuilder.cs:20-60 | src/Azure/Orleans.Clustering.AzureStorage/AzureTableStorageClusteringProviderBuilder.cs:63-103 | src/Azure/Orleans.Clustering.Cosmos/CosmosClusteringProviderBuilder.cs:16-63 | src/Azure/Orleans.Clustering.Cosmos/CosmosClusteringProviderBuilder.cs:66-114 | src/Azure/Orleans.GrainDirectory.AzureStorage/Hosting/AzureTableStorageGrainDirectoryProviderBuilder.cs:18-58 | src/Azure/Orleans.Journaling.AzureStorage/AzureBlobStorageJournalingProviderBuilder.cs:13-61 | src/Azure/Orleans.Journaling.AzureStorage/AzureTableStorageJournalingProviderBuilder.cs:13-68 | src/Azure/Orleans.Persistence.AzureStorage/Hosting/AzureBlobStorageGrainStorageProviderBuilder.cs:18-64 | src/Azure/Orleans.Persistence.AzureStorage/Hosting/AzureTableStorageGrainStorageProviderBuilder.cs:20-66 | src/Azure/Orleans.Reminders.AzureStorage/AzureTableStorageRemindersProviderBuilder.cs:20-60 | src/Azure/Orleans.Streaming.AzureStorage/Hosting/AzureQueueStreamProviderBuilder.cs:45-101 | src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs:23-53 | src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs:56-86 | src/Redis/Orleans.GrainDirectory.Redis/Hosting/RedisGrainDirectoryProviderBuilder.cs:20-51 | src/Redis/Orleans.Journaling.Redis/RedisJournalingProviderBuilder.cs:15-75 | src/Redis/Orleans.Persistence.Redis/Hosting/RedisGrainStorageProviderBuilder.cs:21-58 | src/Redis/Orleans.Reminders.Redis/Hosting/RedisRemindersProviderBuilder.cs:19-49 | src/Redis/Orleans.Streaming.Redis/Hosting/RedisStreamingProviderBuilder.cs:20-58 | src/Redis/Orleans.Streaming.Redis/Hosting/RedisStreamingProviderBuilder.cs:61-99 \u2014 These 19 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 19 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 19 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Clustering.AzureStorage/AzureTableStorageClusteringProviderBuilder.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"884bd7b69c6325291e2302faef25250077e4ee212c4295ecd15d998538e31d21"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (14 members, 50\u002B identical tokens): src/Orleans.Serialization/Codecs/TupleCodec.cs:158-171 | src/Orleans.Serialization/Codecs/TupleCodec.cs:306-320 | src/Orleans.Serialization/Codecs/TupleCodec.cs:473-488 | src/Orleans.Serialization/Codecs/TupleCodec.cs:660-676 | src/Orleans.Serialization/Codecs/TupleCodec.cs:864-881 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1085-1104 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1324-1343 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:183-191 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:300-309 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:433-443 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:579-590 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:739-752 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:914-928 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1105-1119 \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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d22825e25143e0ab1b32f1c95f5c14c9b58747d77761c7613b0cdc3a35554d"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (8 members, 50\u002B identical tokens): src/Orleans.Serialization/Codecs/TupleCodec.cs:108-128 | src/Orleans.Serialization/Codecs/TupleCodec.cs:246-268 | src/Orleans.Serialization/Codecs/TupleCodec.cs:406-429 | src/Orleans.Serialization/Codecs/TupleCodec.cs:583-607 | src/Orleans.Serialization/Codecs/TupleCodec.cs:780-805 | src/Orleans.Serialization/Codecs/TupleCodec.cs:994-1020 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1226-1253 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1474-1502 \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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8fd0fbde934828cff849a184f7b6d39a5795fde44c55a2d0251462bc70067eda"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): src/Orleans.Serialization.FSharp/FSharpCodecs.cs:898-905 | src/Orleans.Serialization/Codecs/TupleCodec.cs:850-857 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1070-1078 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1308-1317 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:725-732 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:899-907 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1088-1097 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.FSharp/FSharpCodecs.cs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"50966d9b7ba05021fa4dc5f9db919b7cd70ad04210fdcb36149966bff4126937"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): src/Orleans.Serialization/Codecs/TupleCodec.cs:176-214 | src/Orleans.Serialization/Codecs/TupleCodec.cs:325-367 | src/Orleans.Serialization/Codecs/TupleCodec.cs:493-539 | src/Orleans.Serialization/Codecs/TupleCodec.cs:681-731 | src/Orleans.Serialization/Codecs/TupleCodec.cs:886-940 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1109-1167 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1348-1410 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"71920d460d3059851294311b5e8428827ecbfc82556012f4cc9c3d96e368e8f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (7 members, 50\u002B identical tokens): src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:196-221 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:314-340 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:448-475 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:595-623 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:757-786 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:934-964 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1125-1156 \u2014 These 7 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 7 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 7 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization/Codecs/ValueTupleCodec.cs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d49a6a2b8ed45981e3104ffee5e3181de8764f4c48328ff40a8a260f236e3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (6 members, 50\u002B identical tokens): src/Orleans.Serialization/Serializer.cs:80-87 | src/Orleans.Serialization/Serializer.cs:98-104 | src/Orleans.Serialization/Serializer.cs:182-190 | src/Orleans.Serialization/Serializer.cs:232-239 | src/Orleans.Serialization/Serializer.cs:250-256 | src/Orleans.Serialization/Serializer.cs:266-273 \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":"src/Orleans.Serialization/Serializer.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dc81c92a5a935005c15629d90e96a872942d1be78fdfe64910df4d1711c5e90"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/Orleans.Serialization/Codecs/ImmutableHashSetCodec.cs:79-100 | src/Orleans.Serialization/Codecs/ImmutableListCodec.cs:67-88 | src/Orleans.Serialization/Codecs/ImmutableQueueCodec.cs:67-88 | src/Orleans.Serialization/Codecs/ImmutableSortedSetCodec.cs:79-100 | src/Orleans.Serialization/Codecs/ImmutableStackCodec.cs:69-90 \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":"src/Orleans.Serialization/Codecs/ImmutableHashSetCodec.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"c427da125ac83677dae3af856100aa0fbc726b4f3aba8ebd299e1ff35ac2ef26"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProvider.cs:38-63 | src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs:46-84 | src/AWS/Orleans.Persistence.DynamoDB/Provider/DynamoDBGrainStorage.cs:65-115 | src/AWS/Orleans.Reminders.DynamoDB/Reminders/DynamoDBReminderTable.cs:52-104 | src/AWS/Orleans.Transactions.DynamoDB/TransactionalState/DynamoDBTransactionalStateStorageFactory.cs:96-147 \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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProvider.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c63bcccc628dc5b9c4b81ba7c73a86454be14a744fd9d1720cce036279e7035"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1102-1172 | src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1405-1459 | src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1468-1531 | src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1538-1585 \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":"src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6bcb4a84e8a4b56b47d402d3e55e9492955d2f029d71bc73cd31b5854bc6767"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Orleans.CodeGenerator/Model/InvokableMethodDescription.cs:129-140 | src/Orleans.CodeGenerator/Model/ProxyInterfaceDescription.cs:56-67 | src/Orleans.CodeGenerator/Model/ProxyMethodDescription.cs:59-70 | src/Orleans.CodeGenerator/Model/SerializableTypeDescription.cs:88-99 \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":"src/Orleans.CodeGenerator/Model/InvokableMethodDescription.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"612dfa9ba7b0e139db93ca99497e18cabc319ce73a0fd550d43e022409ec9a92"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Orleans.Core.Abstractions/Runtime/GrainReference.cs:639-655 | src/Orleans.Core.Abstractions/Runtime/GrainReference.cs:785-801 | src/Orleans.Transactions/TransactionAttribute.cs:500-516 | src/Orleans.Transactions/TransactionAttribute.cs:669-686 \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":"src/Orleans.Core.Abstractions/Runtime/GrainReference.cs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"95c152e0d51fcb3a7b59a88ebcf9f7fe1c1030a529f0c2d0be02f14740ab224e"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Orleans.Journaling/Formats/Json/JsonDurableCollectionCommandCodecs.cs:119-161 | src/Orleans.Journaling/Formats/Json/JsonDurableCollectionCommandCodecs.cs:244-274 | src/Orleans.Journaling/Formats/Json/JsonDurableCollectionCommandCodecs.cs:362-392 | src/Orleans.Journaling/Formats/Json/JsonDurableDictionaryCommandCodec.cs:103-136 \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":"src/Orleans.Journaling/Formats/Json/JsonDurableCollectionCommandCodecs.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fffa1f4a372a38431653f764cc856d6f8eeb3dd8c87d28fd93b440239b02a9"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableDictionaryCommandCodec.cs:57-75 | src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableListCommandCodec.cs:82-100 | src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableQueueCommandCodec.cs:53-71 | src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableSetCommandCodec.cs:55-73 \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":"src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableDictionaryCommandCodec.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbe024789a04d4abd1483fd4920de75bfa65a93461b5cc0b1c66b5c1cbb8c95a"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Orleans.Serialization.MessagePack/MessagePackCodec.cs:64-97 | src/Orleans.Serialization.NewtonsoftJson/NewtonsoftJsonCodec.cs:60-82 | src/Orleans.Serialization.SystemTextJson/JsonCodec.cs:58-96 | src/Serializers/Orleans.Serialization.Protobuf/ProtobufCodec.cs:243-275 \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":"src/Orleans.Serialization.MessagePack/MessagePackCodec.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"f126cd6251d09d35333f421d941f0ee25c633c53b658965348ce237e41254e68"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Orleans.Serialization.MessagePack/MessagePackCodec.cs:101-157 | src/Orleans.Serialization.NewtonsoftJson/NewtonsoftJsonCodec.cs:85-130 | src/Orleans.Serialization.SystemTextJson/JsonCodec.cs:100-173 | src/Serializers/Orleans.Serialization.Protobuf/ProtobufCodec.cs:168-232 \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":"src/Orleans.Serialization.MessagePack/MessagePackCodec.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"906740075daa498cd91c40b7c99c21be6d403f656d18640163944b04a1461ce6"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Orleans.Serialization/Codecs/ArrayCodec.cs:58-116 | src/Orleans.Serialization/Codecs/ArrayCodec.cs:213-265 | src/Orleans.Serialization/Codecs/ArrayCodec.cs:373-425 | src/Orleans.Serialization/Codecs/ArrayCodec.cs:536-588 \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":"src/Orleans.Serialization/Codecs/ArrayCodec.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aef4b43a2bdde841b2508366e38dab5af0720ae8f338b02603f6be3301011d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Orleans.Serialization/Codecs/TupleCodec.cs:1210-1218 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1457-1466 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1006-1014 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1202-1211 \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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e18ea193ac4fe5518357f2f6c08ef9afbb22826a330f492083a640b95f93a982"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/AdoNet/Orleans.Clustering.AdoNet/AdoNetClusteringProviderBuilder.cs:18-39 | src/AdoNet/Orleans.Clustering.AdoNet/AdoNetClusteringProviderBuilder.cs:42-63 | src/AdoNet/Orleans.Persistence.AdoNet/AdoNetGrainStorageProviderBuilder.cs:18-45 | src/AdoNet/Orleans.Reminders.AdoNet/AdoNetRemindersProviderBuilder.cs:17-38 \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":"src/AdoNet/Orleans.Clustering.AdoNet/AdoNetClusteringProviderBuilder.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3c27dbe6f1a74fe1f4f695568fa8c10b3b7fe8900ee25ef6ef9baf7397d56f2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/AWS/Orleans.Clustering.DynamoDB/DynamoDBClusteringProviderBuilder.cs:15-79 | src/AWS/Orleans.Clustering.DynamoDB/DynamoDBClusteringProviderBuilder.cs:82-146 | src/AWS/Orleans.Persistence.DynamoDB/Hosting/DynamoDBGrainStorageProviderBuilder.cs:18-106 | src/AWS/Orleans.Reminders.DynamoDB/DynamoDBRemindersProviderBuilder.cs:13-77 \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":"src/AWS/Orleans.Clustering.DynamoDB/DynamoDBClusteringProviderBuilder.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"6814c9dbb3c3a9c316097d4b85ae5c1b60ebde4af91d067a0002e959785f14c2"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs:288-380 | src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs:473-590 | src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorage.cs:321-391 | src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorage.cs:470-568 \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":"src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca87f6450554f06dc5b103cfd9ab275d5040c4a5e256c5057e4fa2ecee9d4eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamBuilder.cs:89-104 | src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamBuilder.cs:124-137 | src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamBuilder.cs:200-218 | src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamBuilder.cs:270-286 \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":"src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamBuilder.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"5899e82bb4071f4a64c5f9f2281e227218a5a8ae37782f154f8034a0e274130d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (69\u2013103 lines \u00D7 2): src/Orleans.Core.Abstractions/Logging/ErrorCodes.cs:1708-1776 | src/Orleans.Reminders/ErrorCodes.cs:10-112 \u2014 before extracting anything, compare \u0060src/Orleans.Core.Abstractions/Logging/ErrorCodes.cs\u0060 and \u0060src/Orleans.Reminders/ErrorCodes.cs\u0060 as WHOLE FILES: 89% 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":"src/Orleans.Core.Abstractions/Logging/ErrorCodes.cs"},"region":{"startLine":1708}}}],"partialFingerprints":{"codehealthFindingId/v1":"611e760cb536d50c606a7624d13359535e92bea610c6c861cb617d6283bda9df"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (63 lines \u00D7 2): src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs:144-206 | src/Orleans.Connections.Security/Security/TlsServerConnectionMiddleware.cs:171-233 \u2014 before extracting anything, compare \u0060src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs\u0060 and \u0060src/Orleans.Connections.Security/Security/TlsServerConnectionMiddleware.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 139 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 \u0060src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs:144\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":"src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"13cb2c5f0c218f5b881354092148f27ec3faf21b48528bfa71dc7ea367802553"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (48 lines \u00D7 2): src/Orleans.Serialization/Buffers/PooledBuffer.cs:649-696 | src/Orleans.Serialization/Buffers/PooledBuffer.cs:763-810 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Serialization/Buffers/PooledBuffer.cs:649\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":"src/Orleans.Serialization/Buffers/PooledBuffer.cs"},"region":{"startLine":649}}}],"partialFingerprints":{"codehealthFindingId/v1":"64681c9db64dbf41f0766b1367c842538865db045808828ce0d47b9ebf285a94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (47 lines \u00D7 4): src/Orleans.Serialization/Codecs/ArrayCodec.cs:61-107 | src/Orleans.Serialization/Codecs/ArrayCodec.cs:216-262 | src/Orleans.Serialization/Codecs/ArrayCodec.cs:376-422 | src/Orleans.Serialization/Codecs/ArrayCodec.cs:539-585 \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 \u0060src/Orleans.Serialization/Codecs/ArrayCodec.cs:61\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":"src/Orleans.Serialization/Codecs/ArrayCodec.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d376966f4524f456f881d0a07c5b5949ae1dc480e2dc225e046dd6498a9232a8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37\u201345 lines \u00D7 3): src/AWS/Orleans.Journaling.S3/S3JournalStorageOptions.cs:121-157 | src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorageOptions.cs:72-116 | src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorageOptions.cs:86-130 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AWS/Orleans.Journaling.S3/S3JournalStorageOptions.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"b921befb5c64dc8d452ecf86f9622e184eff52dad65fadb538ab0947b418831b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (45 lines \u00D7 2): src/Orleans.CodeGenerator/Model/ProxyInterfaceDescription.cs:121-165 | src/Orleans.CodeGenerator/Model/ProxyInterfaceDescription.cs:195-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.CodeGenerator/Model/ProxyInterfaceDescription.cs:121\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.CodeGenerator/Model/ProxyInterfaceDescription.cs"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"094f2fb59786e8f77b42200588cc9d6587aec1e9f2840205721e1558b6630bb8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201341 lines \u00D7 2): src/Orleans.CodeGenerator/Model/SerializableTypeModelExtractor.cs:398-438 | src/Orleans.CodeGenerator/SerializableSourceOutputGenerator.cs:387-422 \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":"src/Orleans.CodeGenerator/Model/SerializableTypeModelExtractor.cs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb266574a42d4c4affef9548e3c7b1ea8f1727b4b3691b797d8806ac8a352244"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (38 lines \u00D7 2): src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs:69-106 | src/Orleans.Connections.Security/Security/TlsServerConnectionMiddleware.cs:84-121 \u2014 before extracting anything, compare \u0060src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs\u0060 and \u0060src/Orleans.Connections.Security/Security/TlsServerConnectionMiddleware.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 139 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 \u0060src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs:69\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":"src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"abee38993f5ffeed043f4935d7d8bc2990b14867c5927aa0664bcc947c22dbec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (37 lines \u00D7 2): src/AWS/Orleans.Persistence.DynamoDB/Options/DynamoDBStorageOptions.cs:11-47 | src/AWS/Orleans.Transactions.DynamoDB/Options/DynamoDBTransactionalStorageOptions.cs:21-57 \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 \u0060src/AWS/Orleans.Persistence.DynamoDB/Options/DynamoDBStorageOptions.cs:11\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":"src/AWS/Orleans.Persistence.DynamoDB/Options/DynamoDBStorageOptions.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f63d4b6409288378c599a3a2fe2c0c14cb3053a352b1823ce841b699957004d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36\u201337 lines \u00D7 2): src/Azure/Orleans.Clustering.Cosmos/CosmosClusteringProviderBuilder.cs:16-51 | src/Azure/Orleans.Clustering.Cosmos/CosmosClusteringProviderBuilder.cs:66-102 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Azure/Orleans.Clustering.Cosmos/CosmosClusteringProviderBuilder.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":"src/Azure/Orleans.Clustering.Cosmos/CosmosClusteringProviderBuilder.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"a318bb2d6f00c7032c720af14e8e984827e5d9637ce565f88f0dd8d6423089f4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33\u201336 lines \u00D7 2): src/Orleans.Serialization/Codecs/CollectionCodec.cs:127-159 | src/Orleans.Serialization/Codecs/ListCodec.cs:126-161 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/CollectionCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ListCodec.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 142 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":"src/Orleans.Serialization/Codecs/CollectionCodec.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad38fed375286a57df5a4a6b4cd7fa1b4a7a0cec76d10c298760d440ac32af3e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/AzureTableStreamQueueCheckpointer.cs:160-195 | src/Orleans.Streaming/Checkpointers/StreamQueueCheckpointer.cs:121-156 \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 \u0060src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/AzureTableStreamQueueCheckpointer.cs:160\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":"src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/AzureTableStreamQueueCheckpointer.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ed835957581cc505ff4b4eda72dae633eaf7b861b669d59c8f1aef1577d4023"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs:31-65 | src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipHelper.cs:40-74 \u2014 before extracting anything, compare \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs\u0060 and \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipHelper.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 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 \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs:31\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 \u0060options\u0060 to \u0060DynamoDBGatewayOptions\u0060 in one and \u0060DynamoDBClusteringOptions\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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ec3d2085533864fe6989ae9d9f60002df25d342e8040ec6cc3418deb6c934bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2): src/Orleans.Transactions/State/TransactionalState.cs:138-172 | src/Orleans.Transactions/TOC/TransactionCommitter.cs:75-109 \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 \u0060src/Orleans.Transactions/State/TransactionalState.cs:138\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":"src/Orleans.Transactions/State/TransactionalState.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"41807d3ee784e8a229aae8ef117b869e20e1421e1d6f101f94cbd6a485f9e9db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32\u201333 lines \u00D7 4): src/Orleans.Serialization.MessagePack/MessagePackCodec.cs:101-132 | src/Orleans.Serialization.NewtonsoftJson/NewtonsoftJsonCodec.cs:85-116 | src/Orleans.Serialization.SystemTextJson/JsonCodec.cs:100-131 | src/Serializers/Orleans.Serialization.Protobuf/ProtobufCodec.cs:168-200 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization.MessagePack/MessagePackCodec.cs\u0060 and \u0060src/Orleans.Serialization.NewtonsoftJson/NewtonsoftJsonCodec.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 74 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 \u0060src/Orleans.Serialization.MessagePack/MessagePackCodec.cs:101\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":"src/Orleans.Serialization.MessagePack/MessagePackCodec.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"29addbb10d07cc9147742c06c7a90ccb1cdbaf598584cbccced1f2257500e5ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 3): src/AWS/Orleans.Clustering.DynamoDB/DynamoDBClusteringProviderBuilder.cs:16-48 | src/AWS/Orleans.Persistence.DynamoDB/Hosting/DynamoDBGrainStorageProviderBuilder.cs:21-53 | src/AWS/Orleans.Reminders.DynamoDB/DynamoDBRemindersProviderBuilder.cs:14-46 \u2014 before extracting anything, compare \u0060src/AWS/Orleans.Clustering.DynamoDB/DynamoDBClusteringProviderBuilder.cs\u0060 and \u0060src/AWS/Orleans.Persistence.DynamoDB/Hosting/DynamoDBGrainStorageProviderBuilder.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 87 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 \u0060src/AWS/Orleans.Clustering.DynamoDB/DynamoDBClusteringProviderBuilder.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":"src/AWS/Orleans.Clustering.DynamoDB/DynamoDBClusteringProviderBuilder.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d042f857929b9cc38d620687c0b7266be313ca7e6555ac94dfd08acf075d6ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (33 lines \u00D7 3): src/AWS/Orleans.Clustering.DynamoDB/DynamoDBClusteringProviderBuilder.cs:45-77 | src/AWS/Orleans.Persistence.DynamoDB/Hosting/DynamoDBGrainStorageProviderBuilder.cs:56-88 | src/AWS/Orleans.Reminders.DynamoDB/DynamoDBRemindersProviderBuilder.cs:43-75 \u2014 before extracting anything, compare \u0060src/AWS/Orleans.Clustering.DynamoDB/DynamoDBClusteringProviderBuilder.cs\u0060 and \u0060src/AWS/Orleans.Persistence.DynamoDB/Hosting/DynamoDBGrainStorageProviderBuilder.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 87 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 \u0060src/AWS/Orleans.Clustering.DynamoDB/DynamoDBClusteringProviderBuilder.cs:45\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":"src/AWS/Orleans.Clustering.DynamoDB/DynamoDBClusteringProviderBuilder.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0d895fb953e26815adc32655d9ee783bb230f92ccbad7f5664dd0cc8f00f13e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 3): src/AWS/Orleans.Clustering.DynamoDB/Options/DynamoDBClusteringOptions.cs:8-39 | src/AWS/Orleans.Clustering.DynamoDB/Options/DynamoDBGatewayOptions.cs:8-39 | src/AWS/Orleans.Reminders.DynamoDB/Reminders/DynamoDbReminderStorageOptions.cs:8-39 \u2014 before extracting anything, compare \u0060src/AWS/Orleans.Clustering.DynamoDB/Options/DynamoDBClusteringOptions.cs\u0060 and \u0060src/AWS/Orleans.Clustering.DynamoDB/Options/DynamoDBGatewayOptions.cs\u0060 as WHOLE FILES: 90% 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/AWS/Orleans.Clustering.DynamoDB/Options/DynamoDBClusteringOptions.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AWS/Orleans.Clustering.DynamoDB/Options/DynamoDBClusteringOptions.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"1128d0572f3837f9284389d1288ac233f1e5dc24e8dba12046eb21775d5ff406"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/Orleans.Serialization.NewtonsoftJson/NewtonsoftJsonCodec.cs:133-163 | src/Orleans.Serialization.SystemTextJson/JsonCodec.cs:177-207 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization.NewtonsoftJson/NewtonsoftJsonCodec.cs\u0060 and \u0060src/Orleans.Serialization.SystemTextJson/JsonCodec.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 131 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.NewtonsoftJson/NewtonsoftJsonCodec.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"09e488c2a5f3b4627e4a69186a429cf66c14c2646092f8b215a6ec14e68654d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2): src/Orleans.Serialization/Buffers/Adaptors/BufferSliceReaderInput.cs:45-75 | src/Orleans.Serialization/Buffers/PooledBuffer.cs:643-673 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Buffers/Adaptors/BufferSliceReaderInput.cs\u0060 and \u0060src/Orleans.Serialization/Buffers/PooledBuffer.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 70 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 \u0060src/Orleans.Serialization/Buffers/Adaptors/BufferSliceReaderInput.cs:45\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":"src/Orleans.Serialization/Buffers/Adaptors/BufferSliceReaderInput.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad7f0b373bd05f83bee75aaacbc730571e669c6cb0f91ba6e9d83bb4d13deaa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/Orleans.BroadcastChannel/SubscriberTable/Predicates/ImplicitChannelSubscriptionAttribute.cs:74-102 | src/Orleans.Streaming/Predicates/StreamSubscriptionAttributes.cs:75-103 \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":"src/Orleans.BroadcastChannel/SubscriberTable/Predicates/ImplicitChannelSubscriptionAttribute.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"8962527db7f063d2d4d0f1d1ab13dd5defc1f9f64d51e001fb9ed2a56fdc27fc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/Orleans.Serialization/ISerializableSerializer/DotNetSerializableCodec.cs:149-177 | src/Orleans.Serialization/ISerializableSerializer/ValueTypeSerializer.cs:99-127 \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":"src/Orleans.Serialization/ISerializableSerializer/DotNetSerializableCodec.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd352a038ecb1197eb1ee5eb815cc42a03585b8a88b2ca820c0f696700126542"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 3): src/Orleans.Serialization/Buffers/Adaptors/BufferSliceReaderInput.cs:51-77 | src/Orleans.Serialization/Buffers/PooledBuffer.cs:649-675 | src/Orleans.Serialization/Buffers/PooledBuffer.cs:763-789 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Buffers/Adaptors/BufferSliceReaderInput.cs\u0060 and \u0060src/Orleans.Serialization/Buffers/PooledBuffer.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 70 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 \u0060src/Orleans.Serialization/Buffers/Adaptors/BufferSliceReaderInput.cs:51\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":"src/Orleans.Serialization/Buffers/Adaptors/BufferSliceReaderInput.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"5866998ed37ff64e05565d5cfa26cfe4c682677ae1600b85a4199a34c8f96cf9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/AdoNet/Shared/Storage/RelationalOrleansQueries.cs:552-578 | src/AdoNet/Shared/Storage/RelationalOrleansQueries.cs:593-619 \u2014 both copies are in the same file, so extract the block 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":"src/AdoNet/Shared/Storage/RelationalOrleansQueries.cs"},"region":{"startLine":552}}}],"partialFingerprints":{"codehealthFindingId/v1":"af5f32f5f94846d91e5720d72fd509deb197e75dc5e016b93d69155a204686ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (27 lines \u00D7 2): src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs:59-85 | src/Redis/Orleans.Streaming.Redis/Hosting/RedisStreamingProviderBuilder.cs:66-92 \u2014 before extracting anything, compare \u0060src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs\u0060 and \u0060src/Redis/Orleans.Streaming.Redis/Hosting/RedisStreamingProviderBuilder.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 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 \u0060src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs:59\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":"src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f7a0f96a27991e36a612aa648462e79df919981da9919fac0a19f423399e8c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 4): src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs:26-51 | src/Redis/Orleans.GrainDirectory.Redis/Hosting/RedisGrainDirectoryProviderBuilder.cs:23-48 | src/Redis/Orleans.Persistence.Redis/Hosting/RedisGrainStorageProviderBuilder.cs:24-49 | src/Redis/Orleans.Reminders.Redis/Hosting/RedisRemindersProviderBuilder.cs:22-47 \u2014 before extracting anything, compare \u0060src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs\u0060 and \u0060src/Redis/Orleans.GrainDirectory.Redis/Hosting/RedisGrainDirectoryProviderBuilder.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 69 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 \u0060src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs:26\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":"src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b97e9317a052553b876b88d8a3604e03ec5e102f8ff2fd7061ebd234e201d2db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/Orleans.Serialization.NewtonsoftJson/NewtonsoftJsonCodec.cs:199-224 | src/Orleans.Serialization.SystemTextJson/JsonCodec.cs:260-285 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization.NewtonsoftJson/NewtonsoftJsonCodec.cs\u0060 and \u0060src/Orleans.Serialization.SystemTextJson/JsonCodec.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 131 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.NewtonsoftJson/NewtonsoftJsonCodec.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"6280551454b6ce51e4342d9de852a15bfb251035598a8f9d5be1097fce2f56fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (26 lines \u00D7 2): src/Orleans.Serialization/Codecs/InterfaceCollectionCodecs.cs:234-259 | src/Orleans.Serialization/Codecs/InterfaceCollectionCodecs.cs:352-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 \u0060src/Orleans.Serialization/Codecs/InterfaceCollectionCodecs.cs:234\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":"src/Orleans.Serialization/Codecs/InterfaceCollectionCodecs.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d2e3f9b23d4f7b266284a4cd23689b40abe50faf684510d75c1c39f0e42e578"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/Orleans.Serialization/Codecs/DictionaryCodec.cs:91-115 | src/Orleans.Serialization/Codecs/HashSetCodec.cs:70-94 \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 \u0060src/Orleans.Serialization/Codecs/DictionaryCodec.cs:91\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":"src/Orleans.Serialization/Codecs/DictionaryCodec.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff87c2d0820c1076d0deaf599b8fc3a49e6c22ce0b5e57896c44358b3846fbf2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25 lines \u00D7 2): src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs:45-69 | src/Orleans.Connections.Security/Security/TlsServerConnectionMiddleware.cs:59-83 \u2014 before extracting anything, compare \u0060src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs\u0060 and \u0060src/Orleans.Connections.Security/Security/TlsServerConnectionMiddleware.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 139 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 \u0060src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs:45\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":"src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaf78c11444c4325392854c74acc54bed74b37d17e7bf8e759207d418847d079"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201325 lines \u00D7 2): src/Google/Orleans.Clustering.Firestore/FirestoreMembershipTable.cs:200-223 | src/Google/Orleans.Clustering.Firestore/FirestoreMembershipTable.cs:242-266 \u2014 both copies are in the same file, so extract the block 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":"src/Google/Orleans.Clustering.Firestore/FirestoreMembershipTable.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af4bd3ed013d8f6dd5fdd0a6bd916380d6d3d5121f101c7cfe7773518204c28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 4): src/Azure/Orleans.Clustering.AzureStorage/AzureTableStorageClusteringProviderBuilder.cs:21-44 | src/Azure/Orleans.GrainDirectory.AzureStorage/Hosting/AzureTableStorageGrainDirectoryProviderBuilder.cs:19-42 | src/Azure/Orleans.Persistence.AzureStorage/Hosting/AzureTableStorageGrainStorageProviderBuilder.cs:21-44 | src/Azure/Orleans.Reminders.AzureStorage/AzureTableStorageRemindersProviderBuilder.cs:21-44 \u2014 before extracting anything, compare \u0060src/Azure/Orleans.GrainDirectory.AzureStorage/Hosting/AzureTableStorageGrainDirectoryProviderBuilder.cs\u0060 and \u0060src/Azure/Orleans.Persistence.AzureStorage/Hosting/AzureTableStorageGrainStorageProviderBuilder.cs\u0060 as WHOLE FILES: 82% 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 2 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Azure/Orleans.Clustering.AzureStorage/AzureTableStorageClusteringProviderBuilder.cs:21\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":"src/Azure/Orleans.Clustering.AzureStorage/AzureTableStorageClusteringProviderBuilder.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"13d628c4202856a1e650ab5d6e407c99c0e3b3fd036e7eaa64dcb8951abaa1c8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 3): src/Orleans.Serialization.MessagePack/MessagePackCodec.cs:162-185 | src/Orleans.Serialization.NewtonsoftJson/NewtonsoftJsonCodec.cs:139-162 | src/Orleans.Serialization.SystemTextJson/JsonCodec.cs:183-206 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization.MessagePack/MessagePackCodec.cs\u0060 and \u0060src/Orleans.Serialization.NewtonsoftJson/NewtonsoftJsonCodec.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 74 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. 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":"src/Orleans.Serialization.MessagePack/MessagePackCodec.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"36bcbb577cd6e15f8eb430cfd38f26fc440e5ed519a31427dbc91ac0737661fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201324 lines \u00D7 2): src/Orleans.CodeGenerator/CopierGenerator.cs:684-707 | src/Orleans.CodeGenerator/SerializerGenerator.cs:736-753 \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 \u0060src/Orleans.CodeGenerator/CopierGenerator.cs:684\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":"src/Orleans.CodeGenerator/CopierGenerator.cs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"595c3bd3af629ea81f480c76cbd6c00bd15b16b7eacf34b4433b31feb6d6c19c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Orleans.Core.Abstractions/Manifest/GrainInterfaceProperties.cs:81-104 | src/Orleans.Core.Abstractions/Manifest/GrainProperties.cs:82-105 \u2014 before extracting anything, compare \u0060src/Orleans.Core.Abstractions/Manifest/GrainInterfaceProperties.cs\u0060 and \u0060src/Orleans.Core.Abstractions/Manifest/GrainProperties.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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":"src/Orleans.Core.Abstractions/Manifest/GrainInterfaceProperties.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"84c1b524d049968444fb24bf7ce2b720d57a831c3b64ea040c16afd02fc49b1b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Orleans.Core/Utils/ObserverManager.cs:160-183 | src/Orleans.Core/Utils/ObserverManager.cs:208-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 \u0060src/Orleans.Core/Utils/ObserverManager.cs:160\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":"src/Orleans.Core/Utils/ObserverManager.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ff6ae80900f20426cfc35e1ac690258c2ae23a071756c69bce02253704a8dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/Orleans.Serialization/Codecs/DictionaryCodec.cs:111-134 | src/Serializers/Orleans.Serialization.Protobuf/MapFieldCodec.cs:97-120 \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 \u0060src/Orleans.Serialization/Codecs/DictionaryCodec.cs:111\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":"src/Orleans.Serialization/Codecs/DictionaryCodec.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d48735f7ff6cf1c30aadf9d7ac2fed1086da0c2ebcb657a7e6e6d3f143358fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2): src/AWS/Orleans.Persistence.DynamoDB/Provider/DynamoDBGrainStorage.cs:77-100 | src/AWS/Orleans.Transactions.DynamoDB/TransactionalState/DynamoDBTransactionalStateStorageFactory.cs:108-131 \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 \u0060src/AWS/Orleans.Persistence.DynamoDB/Provider/DynamoDBGrainStorage.cs:77\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":"src/AWS/Orleans.Persistence.DynamoDB/Provider/DynamoDBGrainStorage.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e412a9035e065e469322cce804e2cb38e41873b0ba0b642ee210b117ac6c6ccc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 3): src/Orleans.Journaling/Formats/Json/JsonDurableCollectionCommandCodecs.cs:79-101 | src/Orleans.Journaling/Formats/Json/JsonDurableCollectionCommandCodecs.cs:204-226 | src/Orleans.Journaling/Formats/Json/JsonDurableCollectionCommandCodecs.cs:322-344 \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":"src/Orleans.Journaling/Formats/Json/JsonDurableCollectionCommandCodecs.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"462df583a76171750aeb4665d94b4ee9d9e0df47f557edda94accc95fd6cc633"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): src/Orleans.BroadcastChannel/ChannelId.cs:170-191 | src/Orleans.Streaming/StreamId.cs:186-208 \u2014 before extracting anything, compare \u0060src/Orleans.BroadcastChannel/ChannelId.cs\u0060 and \u0060src/Orleans.Streaming/StreamId.cs\u0060 as WHOLE FILES: this scan already matched 4 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. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.BroadcastChannel/ChannelId.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"8efa760f2b1ccd685103d5a67a63c70f0e411f83d7d426fdb9ea605d0602b7d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/Orleans.CodeGenerator/SerializableSourceOutputGenerator.cs:86-108 | src/Orleans.CodeGenerator/SerializableSourceOutputGenerator.cs:179-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.CodeGenerator/SerializableSourceOutputGenerator.cs:86\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, \u0060src/Orleans.CodeGenerator/SerializableSourceOutputGenerator.cs:203\u0060 calls \u0060DeduplicateSourceOutputs\u0060 and \u0060src/Orleans.CodeGenerator/SerializableSourceOutputGenerator.cs:109\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":"src/Orleans.CodeGenerator/SerializableSourceOutputGenerator.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbb8b139429f7f3615cd04f28df5b400ba221fc48ec3a59c60d3cd9dd9c4d92a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/Orleans.CodeGenerator/SyntaxGeneration/FSharpUtils.cs:38-60 | src/Orleans.CodeGenerator/SyntaxGeneration/FSharpUtils.cs:79-101 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"src/Orleans.CodeGenerator/SyntaxGeneration/FSharpUtils.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb0e8c85daeeda7571b3c23feb210683d79e2698b1c4c3fb2603b6c28ba1359e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/Orleans.Core/Configuration/ServiceCollectionExtensions.cs:33-55 | src/Orleans.Serialization/Utilities/ServiceCollectionExtensions.cs:32-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.Core/Configuration/ServiceCollectionExtensions.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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Orleans.Core/Configuration/ServiceCollectionExtensions.cs:31\u0060 calls \u0060ThrowIfNull\u0060 and \u0060src/Orleans.Serialization/Utilities/ServiceCollectionExtensions.cs:30\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":"src/Orleans.Core/Configuration/ServiceCollectionExtensions.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72e47ac59760986a1cc4ba353f921877543e8b25cb2d113962f5f8c1d15a091"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22\u201323 lines \u00D7 2): src/Orleans.EventSourcing/CustomStorage/LogViewAdaptor.cs:127-149 | src/Orleans.EventSourcing/CustomStorage/LogViewAdaptor.cs:211-232 \u2014 both copies are in the same file, so extract the block 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, \u0060src/Orleans.EventSourcing/CustomStorage/LogViewAdaptor.cs:209\u0060 calls \u0060DelayBeforeRetry\u0060 and \u0060src/Orleans.EventSourcing/CustomStorage/LogViewAdaptor.cs:126\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":"src/Orleans.EventSourcing/CustomStorage/LogViewAdaptor.cs"},"region":{"startLine":127}}}],"partialFingerprints":{"codehealthFindingId/v1":"1187f5de870ea7fe6210f25f8531b3c6500132d447fc916aa04f3d94a3964515"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20\u201323 lines \u00D7 2): src/Azure/Shared/Storage/AzureTableDataManager.cs:674-696 | src/Azure/Shared/Storage/AzureTableDataManager.cs:734-753 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Azure/Shared/Storage/AzureTableDataManager.cs:674\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":"src/Azure/Shared/Storage/AzureTableDataManager.cs"},"region":{"startLine":674}}}],"partialFingerprints":{"codehealthFindingId/v1":"9834c91c96b00388c1864e6fb8ad87e3c68dbaa7ce37233055a51a4f677ca23a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 3): src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs:34-55 | src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipHelper.cs:43-64 | src/AWS/Orleans.Reminders.DynamoDB/Reminders/DynamoDbReminderStorageOptionsExtensions.cs:35-56 \u2014 before extracting anything, compare \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs\u0060 and \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipHelper.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 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 \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs:34\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 \u0060options\u0060 to \u0060DynamoDBGatewayOptions\u0060 in one and \u0060DynamoDBClusteringOptions\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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"e268de6dd663ab76d22896fa2378286d802fcd17085ebaa598cef1230ff837e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Orleans.BroadcastChannel/IdMapping/DefaultChannelIdMapper.cs:29-50 | src/Orleans.Streaming/Core/DefaultStreamIdMapper.cs:27-48 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.BroadcastChannel/IdMapping/DefaultChannelIdMapper.cs:29\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 \u0060streamId\u0060 to \u0060ChannelId\u0060 in one and \u0060StreamId\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":"src/Orleans.BroadcastChannel/IdMapping/DefaultChannelIdMapper.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"23254a5a908a4cc37e160908047fb51046b4d686d96498e6fb02ee4cf1bbf3ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Orleans.CodeGenerator/ProxySourceOutputGenerator.cs:51-72 | src/Orleans.CodeGenerator/ProxySourceOutputGenerator.cs:128-149 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.CodeGenerator/ProxySourceOutputGenerator.cs:51\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Orleans.CodeGenerator/ProxySourceOutputGenerator.cs:128\u0060 calls \u0060GetGeneratedInvokables\u0060, \u0060ToImmutableArray\u0060 and \u0060src/Orleans.CodeGenerator/ProxySourceOutputGenerator.cs:51\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":"src/Orleans.CodeGenerator/ProxySourceOutputGenerator.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"1202e14ce7c16d347bc61f7832ac751c1e7f57a30ca5558f608ec42ab3a044c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryJournalFormat.cs:200-221 | src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryV0JournalReader.cs:58-79 \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 \u0060src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryJournalFormat.cs:200\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":"src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryJournalFormat.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb5a71ddd2212ab359b23f9fb2362bd6e9e1e95216ba92c3886c96150b6f7cca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Orleans.Runtime/Catalog/ActivationData.cs:1057-1078 | src/Orleans.Runtime/Core/SystemTarget.cs:273-294 \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":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":1057}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b671760d81fb2740a590ece790de71cb44124de5d1a23e3b88ed8abd78a2f94"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Orleans.Serialization/Codecs/InterfaceCollectionCodecs.cs:413-434 | src/Orleans.Serialization/Codecs/InterfaceCollectionCodecs.cs:546-567 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Serialization/Codecs/InterfaceCollectionCodecs.cs:413\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":"src/Orleans.Serialization/Codecs/InterfaceCollectionCodecs.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"c94693a95f5cc60c23dfcd578a37907672acf7384a73b897dd1d6b0d8d9bcdc6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Orleans.Serialization/Codecs/QueueCodec.cs:32-53 | src/Orleans.Serialization/Codecs/StackCodec.cs:35-56 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/QueueCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/StackCodec.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 57 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, \u0060src/Orleans.Serialization/Codecs/StackCodec.cs:33\u0060 calls \u0060MethodImpl\u0060 and \u0060src/Orleans.Serialization/Codecs/QueueCodec.cs:28\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":"src/Orleans.Serialization/Codecs/QueueCodec.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"af871936b55a213bd63a01d66a0d99606efece2c8f7b74b4feeff07d45d1f576"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:57-78 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:79-100 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e3734b580c649b1b892157424b331baa4bb7dcf9b2af31a2828eb9d9e5b54d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Orleans.Serialization/Serializer.cs:117-138 | src/Orleans.Serialization/Serializer.cs:151-172 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Serialization/Serializer.cs:117\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":"src/Orleans.Serialization/Serializer.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"491f8b83b4b963c7c8c874f2a17a5e037a308c7f6c20131169c2271c1a54eb02"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Orleans.Serialization/Serializer.cs:1210-1231 | src/Orleans.Serialization/Serializer.cs:1243-1264 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Serialization/Serializer.cs:1210\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":"src/Orleans.Serialization/Serializer.cs"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f973c36811edb2ca2775a18de5a9f3a933ec38c435561f5627d294211fab9eb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs:565-586 | src/Azure/Orleans.Clustering.AzureStorage/AzureBasedMembershipTable.cs:348-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs:565\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, \u0060src/Azure/Orleans.Clustering.AzureStorage/AzureBasedMembershipTable.cs:371\u0060 calls \u0060ConstructRowKey\u0060 and \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs:588\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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs"},"region":{"startLine":565}}}],"partialFingerprints":{"codehealthFindingId/v1":"9638e652b3c5c8f37fd95c02f95ff9d639e40e77b31151675c24a418ebb733b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 4): src/AWS/Orleans.Clustering.DynamoDB/DynamoDBClusteringProviderBuilder.cs:49-69 | src/AWS/Orleans.Clustering.DynamoDB/DynamoDBClusteringProviderBuilder.cs:116-136 | src/AWS/Orleans.Persistence.DynamoDB/Hosting/DynamoDBGrainStorageProviderBuilder.cs:60-80 | src/AWS/Orleans.Reminders.DynamoDB/DynamoDBRemindersProviderBuilder.cs:47-67 \u2014 before extracting anything, compare \u0060src/AWS/Orleans.Clustering.DynamoDB/DynamoDBClusteringProviderBuilder.cs\u0060 and \u0060src/AWS/Orleans.Persistence.DynamoDB/Hosting/DynamoDBGrainStorageProviderBuilder.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 87 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":"src/AWS/Orleans.Clustering.DynamoDB/DynamoDBClusteringProviderBuilder.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"71c6d917789f6c088f4d7631e1b3414b555ee0539449a640298cd637aa7765fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Orleans.CodeGenerator/CopierGenerator.cs:124-144 | src/Orleans.CodeGenerator/SerializerGenerator.cs:160-180 \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 \u0060src/Orleans.CodeGenerator/CopierGenerator.cs:124\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":"src/Orleans.CodeGenerator/CopierGenerator.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a521bc9e2e76610abb2e77bbf1b13c7b241428ab52c286f7f2dcf9738c5cb4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Orleans.Core/Runtime/OutsideRuntimeClient.cs:535-555 | src/Orleans.Runtime/Core/InsideRuntimeClient.cs:624-644 \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 \u0060src/Orleans.Core/Runtime/OutsideRuntimeClient.cs:535\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":"src/Orleans.Core/Runtime/OutsideRuntimeClient.cs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2436ff06dc5fb2156a10bdfac0f5048acb673c5ed86c1c127093bd43b20ab99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18\u201321 lines \u00D7 2): src/Orleans.EventSourcing/LogStorage/LogViewAdaptor.cs:115-135 | src/Orleans.EventSourcing/LogStorage/LogViewAdaptor.cs:185-202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Orleans.EventSourcing/LogStorage/LogViewAdaptor.cs:183\u0060 calls \u0060DelayBeforeRetry\u0060 and \u0060src/Orleans.EventSourcing/LogStorage/LogViewAdaptor.cs:114\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":"src/Orleans.EventSourcing/LogStorage/LogViewAdaptor.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"46ab42011965bd003e9d54fe6d609970764c8e9220d2eb1be37b2f2e346058c9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Orleans.EventSourcing/LogStorage/LogViewAdaptor.cs:286-306 | src/Orleans.EventSourcing/StateStorage/LogViewAdaptor.cs:254-274 \u2014 \u0060src/Orleans.EventSourcing/LogStorage/LogViewAdaptor.cs\u0060 and \u0060src/Orleans.EventSourcing/StateStorage/LogViewAdaptor.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 47 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. 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":"src/Orleans.EventSourcing/LogStorage/LogViewAdaptor.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e79dd7484a7ce327ec837c34f9913415dd7383673b2bef997bf6cfe5ef4339"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Orleans.Serialization/Codecs/ArrayCodec.cs:188-208 | src/Orleans.Serialization/Codecs/ArrayCodec.cs:348-368 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"src/Orleans.Serialization/Codecs/ArrayCodec.cs"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fdc979072ce5bfd3ca688232b9e1b7f512160b377c6379c0821abf8db865045"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Orleans.Serialization/Codecs/CollectionCodec.cs:80-100 | src/Serializers/Orleans.Serialization.Protobuf/RepeatedFieldCodec.cs:88-108 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/CollectionCodec.cs\u0060 and \u0060src/Serializers/Orleans.Serialization.Protobuf/RepeatedFieldCodec.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 74 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 \u0060src/Orleans.Serialization/Codecs/CollectionCodec.cs:80\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":"src/Orleans.Serialization/Codecs/CollectionCodec.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"29f09ccbaf1ee92d80ef51ccb9c4cc3edeb65ab8002b00b654c02486e4ca2800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/Orleans.Serialization/Codecs/HashSetCodec.cs:66-86 | src/Orleans.Serialization/Codecs/InterfaceCollectionCodecs.cs:407-427 \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 \u0060src/Orleans.Serialization/Codecs/HashSetCodec.cs:66\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":"src/Orleans.Serialization/Codecs/HashSetCodec.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8c15d20054ac0cb1bd800040659f4156fbb6aff6ad888e94015f55a888ca0fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): src/AWS/Orleans.Journaling.S3/S3JournalStorage.cs:1406-1426 | src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs:1000-1020 \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":"src/AWS/Orleans.Journaling.S3/S3JournalStorage.cs"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"39733926615b2e09f442ddd6276e9f1290d53fb4b2d6d9a6a83e448e5f723865"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1405-1424 | src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1468-1487 | src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1538-1557 \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 \u0060src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1405\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":"src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs"},"region":{"startLine":1405}}}],"partialFingerprints":{"codehealthFindingId/v1":"da195f25f77660275595f614184ee37cdfab5ec4f923822d9e7bb276e9eb618d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 3): src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs:975-994 | src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorage.cs:1132-1151 | src/Redis/Orleans.Journaling.Redis/RedisJournalStorage.cs:894-913 \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. 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":"src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"e54355e845a98dfc52addce19bfd189f0aa2751dc842d82dbf98ac2833acf73d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Orleans.Core/Core/ClientBuilderExtensions.cs:237-256 | src/Orleans.Runtime/Hosting/CoreHostingExtensions.cs:69-88 \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 \u0060src/Orleans.Core/Core/ClientBuilderExtensions.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":"src/Orleans.Core/Core/ClientBuilderExtensions.cs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d7926552a34ac333d563e4640aa606626317b3339bd65b1f0fe4adb2019cc2f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Orleans.Core/Core/DefaultClientServices.cs:38-57 | src/Orleans.Runtime/Hosting/DefaultSiloServices.cs:53-72 \u2014 before extracting anything, compare \u0060src/Orleans.Core/Core/DefaultClientServices.cs\u0060 and \u0060src/Orleans.Runtime/Hosting/DefaultSiloServices.cs\u0060 as WHOLE FILES: this scan already matched 5 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. 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 \u0060src/Orleans.Core/Core/DefaultClientServices.cs:38\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 \u0060builder\u0060 to \u0060IClientBuilder\u0060 in one and \u0060ISiloBuilder\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":"src/Orleans.Core/Core/DefaultClientServices.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"14161180b9a2a317cc7164473cd66fc660370867324e2759e1f93571c5f9cec4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Orleans.Serialization/Serializer.cs:746-765 | src/Orleans.Serialization/Serializer.cs:777-796 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Serialization/Serializer.cs:746\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":"src/Orleans.Serialization/Serializer.cs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"51a6ae0ac5b4e4f30dae70458bf4ef6e08e6ba83b66d6b3ac113b79c5039b9ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Redis/Orleans.GrainDirectory.Redis/RedisGrainDirectory.cs:253-272 | src/Redis/Orleans.GrainDirectory.Redis/RedisGrainDirectory.cs:282-301 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Redis/Orleans.GrainDirectory.Redis/RedisGrainDirectory.cs:253\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":"src/Redis/Orleans.GrainDirectory.Redis/RedisGrainDirectory.cs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"759ce03d06f3000fe571f78bbb3a3b36f148bb6b99089b669cfab1709a81e529"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 7): src/Orleans.Serialization/Codecs/TupleCodec.cs:186-204 | src/Orleans.Serialization/Codecs/TupleCodec.cs:336-354 | src/Orleans.Serialization/Codecs/TupleCodec.cs:505-523 | src/Orleans.Serialization/Codecs/TupleCodec.cs:694-712 | src/Orleans.Serialization/Codecs/TupleCodec.cs:900-918 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1124-1142 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1364-1382 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:186\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 before the matched lines, \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:502\u0060 calls \u0060default\u0060 and \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:184\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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":186}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78ce0755d656100f0a9c2a3489d2f2a89c7c4ab7deae3debee54382a7146180"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableListCommandCodec.cs:82-100 | src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableQueueCommandCodec.cs:53-71 | src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableSetCommandCodec.cs:55-73 \u2014 before extracting anything, compare \u0060src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableListCommandCodec.cs\u0060 and \u0060src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableQueueCommandCodec.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 36 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableListCommandCodec.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd2aa55b32033fccc830d8f64143888b9572e2d151ee37cf3b537568a4c6e4cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 3): src/AdoNet/Orleans.Clustering.AdoNet/AdoNetClusteringProviderBuilder.cs:19-37 | src/AdoNet/Orleans.Persistence.AdoNet/AdoNetGrainStorageProviderBuilder.cs:19-37 | src/AdoNet/Orleans.Reminders.AdoNet/AdoNetRemindersProviderBuilder.cs:18-36 \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 \u0060src/AdoNet/Orleans.Clustering.AdoNet/AdoNetClusteringProviderBuilder.cs:19\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":"src/AdoNet/Orleans.Clustering.AdoNet/AdoNetClusteringProviderBuilder.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2df5b0905d6c1e766979947413f75320007b726e6ffc9020bbff263cc4594da9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Orleans.BroadcastChannel/SubscriberTable/ImplicitChannelSubscriberTable.cs:41-59 | src/Orleans.Streaming/PubSub/ImplicitStreamSubscriberTable.cs:41-59 \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":"src/Orleans.BroadcastChannel/SubscriberTable/ImplicitChannelSubscriberTable.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51c88747c75e356bb26ef3ce310decb6e34b1176119291852caf7b29ba26ec5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Orleans.CodeGenerator/CopierGenerator.cs:148-166 | src/Orleans.CodeGenerator/SerializerGenerator.cs:184-202 \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 \u0060src/Orleans.CodeGenerator/CopierGenerator.cs:148\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":"src/Orleans.CodeGenerator/CopierGenerator.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"784cb7c62040f1a0fa36a4fc942fefe9211f29850da243d842efb1de044d4b2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Orleans.EventSourcing/LogStorage/LogViewAdaptor.cs:257-275 | src/Orleans.EventSourcing/StateStorage/LogViewAdaptor.cs:225-243 \u2014 \u0060src/Orleans.EventSourcing/LogStorage/LogViewAdaptor.cs\u0060 and \u0060src/Orleans.EventSourcing/StateStorage/LogViewAdaptor.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 47 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.EventSourcing/LogStorage/LogViewAdaptor.cs:257\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":"src/Orleans.EventSourcing/LogStorage/LogViewAdaptor.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"217fa153681fc53316c8500e8e9a1ca91a1655eda425df8229c1c0aa64667102"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Orleans.Journaling/Formats/Json/JsonDurableCollectionCommandCodecs.cs:143-161 | src/Orleans.Journaling/Formats/Json/JsonDurableCollectionCommandCodecs.cs:374-392 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.Journaling/Formats/Json/JsonDurableCollectionCommandCodecs.cs:143\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060consumer\u0060 to \u0060IDurableListCommandHandler\u003CT\u003E\u0060 in one and \u0060IDurableSetCommandHandler\u003CT\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":"src/Orleans.Journaling/Formats/Json/JsonDurableCollectionCommandCodecs.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2f1df030467e7f75dc7677bfbf25db940a73755502bb0caa499dbb5f6c5fad8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/AWS/Orleans.Transactions.DynamoDB/TransactionalState/DynamoDBTransactionalStateStorage.cs:754-772 | src/Azure/Orleans.Transactions.AzureStorage/TransactionalState/AzureTableTransactionalStateStorage.cs:607-625 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AWS/Orleans.Transactions.DynamoDB/TransactionalState/DynamoDBTransactionalStateStorage.cs"},"region":{"startLine":754}}}],"partialFingerprints":{"codehealthFindingId/v1":"5853ac353807f1880a20b698c89ade5776e8d9ff20acbeac0c47c2188f7283bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): src/Azure/Orleans.Journaling.AzureStorage/AzureTableStorageJournalingProviderBuilder.cs:43-61 | src/Azure/Orleans.Reminders.AzureStorage/AzureTableStorageRemindersProviderBuilder.cs:41-59 \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 \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureTableStorageJournalingProviderBuilder.cs:43\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 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":"src/Azure/Orleans.Journaling.AzureStorage/AzureTableStorageJournalingProviderBuilder.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"287ea982e93a99d8cd78655dcc703388ed335b630f35bd4d66eb18c460abac2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 6): src/Orleans.Serialization/Codecs/CollectionCodec.cs:63-80 | src/Orleans.Serialization/Codecs/ListCodec.cs:62-79 | src/Orleans.Serialization/Codecs/QueueCodec.cs:67-83 | src/Orleans.Serialization/Codecs/StackCodec.cs:71-88 | src/Serializers/Orleans.Serialization.Protobuf/MapFieldCodec.cs:80-97 | src/Serializers/Orleans.Serialization.Protobuf/RepeatedFieldCodec.cs:71-88 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/CollectionCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ListCodec.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 142 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 \u0060src/Orleans.Serialization/Codecs/CollectionCodec.cs:63\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":"src/Orleans.Serialization/Codecs/CollectionCodec.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bf6ae88450c15eb3b0117b0928c0742094abc02e5eaf628a6367f285332150a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 4): src/Orleans.Serialization/Codecs/DictionaryCodec.cs:92-109 | src/Orleans.Serialization/Codecs/DictionaryCodec.cs:286-303 | src/Orleans.Serialization/Codecs/HashSetCodec.cs:71-88 | src/Orleans.Serialization/Codecs/HashSetCodec.cs:146-163 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.Serialization/Codecs/DictionaryCodec.cs:92\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/Orleans.Serialization/Codecs/DictionaryCodec.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"14487a1cebd12ac3f23e7f1acda228f57ba50cbe8b164055c250ff58f550a4e9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 3): src/Orleans.Serialization/Codecs/CollectionCodec.cs:86-103 | src/Orleans.Serialization/Codecs/ListCodec.cs:85-102 | src/Serializers/Orleans.Serialization.Protobuf/RepeatedFieldCodec.cs:94-111 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/CollectionCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ListCodec.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 142 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 \u0060src/Orleans.Serialization/Codecs/CollectionCodec.cs:86\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":"src/Orleans.Serialization/Codecs/CollectionCodec.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"e96b94afd3978068131bb873bc14bcc76d2da01991b04bf5fd4a83aade922f5f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Orleans.CodeGenerator/Model/SerializableTypeModelExtractor.cs:441-458 | src/Orleans.CodeGenerator/SerializableSourceOutputGenerator.cs:323-340 \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":"src/Orleans.CodeGenerator/Model/SerializableTypeModelExtractor.cs"},"region":{"startLine":441}}}],"partialFingerprints":{"codehealthFindingId/v1":"7409e14b631552fbf1a3b374c8d784766ac9b4d4de5a6f9d13caec5a36571a7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Orleans.Serialization.NewtonsoftJson/NewtonsoftJsonCodec.cs:61-78 | src/Serializers/Orleans.Serialization.Protobuf/ProtobufCodec.cs:244-261 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization.NewtonsoftJson/NewtonsoftJsonCodec.cs\u0060 and \u0060src/Serializers/Orleans.Serialization.Protobuf/ProtobufCodec.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 68 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.NewtonsoftJson/NewtonsoftJsonCodec.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5086e6c1989b9e6e501a2cede1cb43627f34dd9b1b2254817b81c723d3ae4e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Orleans.Serialization/Serializers/CodecProvider.cs:113-130 | src/Orleans.Serialization/TypeSystem/TypeConverter.cs:175-192 \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 \u0060src/Orleans.Serialization/Serializers/CodecProvider.cs:113\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":"src/Orleans.Serialization/Serializers/CodecProvider.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4bf7cbbdcf2ff8f0a91174d504ac716cecd735cece9a501812709b575f76dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Azure/Orleans.Journaling.AzureStorage/AzureBlobStorageJournalingProviderBuilder.cs:29-46 | src/Azure/Orleans.Journaling.AzureStorage/AzureTableStorageJournalingProviderBuilder.cs:36-53 \u2014 before extracting anything, compare \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureBlobStorageJournalingProviderBuilder.cs\u0060 and \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureTableStorageJournalingProviderBuilder.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 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 \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureBlobStorageJournalingProviderBuilder.cs:29\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":"src/Azure/Orleans.Journaling.AzureStorage/AzureBlobStorageJournalingProviderBuilder.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"60d9d9b12e94c37dc831c996490f4a07330e3ffa37e1d94e365872b4aa6fc833"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Azure/Orleans.Journaling.AzureStorage/AzureBlobStorageJournalingProviderBuilder.cs:36-53 | src/Azure/Orleans.Persistence.AzureStorage/Hosting/AzureBlobStorageGrainStorageProviderBuilder.cs:39-56 \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 \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureBlobStorageJournalingProviderBuilder.cs:36\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":"src/Azure/Orleans.Journaling.AzureStorage/AzureBlobStorageJournalingProviderBuilder.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"11c8b44747b809f4738304d98717f4590048975c654da37c4aae870df1acc34b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Redis/Orleans.Streaming.Redis/Hosting/RedisStreamingProviderBuilder.cs:40-57 | src/Redis/Orleans.Streaming.Redis/Hosting/RedisStreamingProviderBuilder.cs:81-98 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Redis/Orleans.Streaming.Redis/Hosting/RedisStreamingProviderBuilder.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Redis/Orleans.Streaming.Redis/Hosting/RedisStreamingProviderBuilder.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f8c2a014da70129daa257839ed091dbb314b22c0a9a1cf1269a1291a00547f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 8): src/Orleans.Serialization/Codecs/CollectionCodec.cs:63-78 | src/Orleans.Serialization/Codecs/CollectionCodec.cs:132-148 | src/Orleans.Serialization/Codecs/ListCodec.cs:62-77 | src/Orleans.Serialization/Codecs/ListCodec.cs:131-147 | src/Orleans.Serialization/Codecs/QueueCodec.cs:67-82 | src/Orleans.Serialization/Codecs/StackCodec.cs:71-86 | src/Serializers/Orleans.Serialization.Protobuf/MapFieldCodec.cs:80-95 | src/Serializers/Orleans.Serialization.Protobuf/RepeatedFieldCodec.cs:71-86 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/CollectionCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ListCodec.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 142 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 \u0060src/Orleans.Serialization/Codecs/CollectionCodec.cs:63\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, \u0060src/Orleans.Serialization/Codecs/CollectionCodec.cs:81\u0060 calls \u0060RecordObject\u0060 and \u0060src/Orleans.Serialization/Codecs/CollectionCodec.cs:150\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":"src/Orleans.Serialization/Codecs/CollectionCodec.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"e20bee146c9e2665cf72ab9966596292eb0de62044fdc88fa1140f1b2730fddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 3): src/AWS/Orleans.Journaling.S3/S3JournalStorageInstruments.cs:50-66 | src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorageInstruments.cs:50-66 | src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorageInstruments.cs:50-66 \u2014 before extracting anything, compare \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorageInstruments.cs\u0060 and \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorageInstruments.cs\u0060 as WHOLE FILES: 82% 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 2 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":"src/AWS/Orleans.Journaling.S3/S3JournalStorageInstruments.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"7adc70c53f33cccd1f203bfebdfb15e32bcfde6d82bf3b94bba648821ee50a72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Orleans.CodeGenerator/CopierGenerator.cs:181-197 | src/Orleans.CodeGenerator/SerializerGenerator.cs:210-226 \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 \u0060src/Orleans.CodeGenerator/CopierGenerator.cs:181\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":"src/Orleans.CodeGenerator/CopierGenerator.cs"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"db9acb10360be91c58953d92a65927a5439441cb73873d8d45c49a3c6c234a3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Orleans.CodeGenerator/InvokableGenerator.cs:450-466 | src/Orleans.CodeGenerator/InvokableGenerator.cs:511-527 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.CodeGenerator/InvokableGenerator.cs:450\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, \u0060src/Orleans.CodeGenerator/InvokableGenerator.cs:510\u0060 calls \u0060IdentifierName\u0060 and \u0060src/Orleans.CodeGenerator/InvokableGenerator.cs:448\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":"src/Orleans.CodeGenerator/InvokableGenerator.cs"},"region":{"startLine":450}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58ad5d29874bdad50a2bc827d19c8b98c2755cae8c0598642bbb34ab152cf34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Orleans.CodeGenerator/SerializableSourceOutputGenerator.cs:63-79 | src/Orleans.CodeGenerator/SerializableSourceOutputGenerator.cs:159-175 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"src/Orleans.CodeGenerator/SerializableSourceOutputGenerator.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"babbaecb4631d56e76580300e8976295f2150de7bdc3fc103188bb3ca2e58c72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Orleans.Journaling/JournalStorageConsumerExtensions.cs:56-72 | src/Orleans.Journaling/JournalStorageConsumerExtensions.cs:84-100 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Journaling/JournalStorageConsumerExtensions.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":"src/Orleans.Journaling/JournalStorageConsumerExtensions.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"b837291264e0839e15584e19efda2872ee81a04c2da488f38911f41f054c1437"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Orleans.Serialization/Codecs/DictionaryCodec.cs:91-107 | src/Orleans.Serialization/Codecs/InterfaceCollectionCodecs.cs:544-560 \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 \u0060src/Orleans.Serialization/Codecs/DictionaryCodec.cs:91\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":"src/Orleans.Serialization/Codecs/DictionaryCodec.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce930d535eb967833bbeec7f12518eb2497dd8d4aa1e910338ceddb93a4e2af7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Orleans.Serialization/Codecs/ImmutableDictionaryCodec.cs:93-109 | src/Orleans.Serialization/Codecs/ImmutableSortedDictionaryCodec.cs:98-114 \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":"src/Orleans.Serialization/Codecs/ImmutableDictionaryCodec.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2ce4b623dac7a8d88919ee30f03ebb66f4ec4da8a8210d20667e7c0da651134"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Orleans.Serialization/Codecs/InterfaceCollectionCodecs.cs:289-305 | src/Orleans.Serialization/Codecs/ListCodec.cs:59-75 \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 \u0060src/Orleans.Serialization/Codecs/InterfaceCollectionCodecs.cs:289\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":"src/Orleans.Serialization/Codecs/InterfaceCollectionCodecs.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"273b4d5df80f5aa2af2775adfabb01633158a1f2f2a5cb97225c8e7586fffa15"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:1034-1050 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:863-879 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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 \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:1034\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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":1034}}}],"partialFingerprints":{"codehealthFindingId/v1":"867fde04a6dbd15a76513f57c475bb9967be63019bbb3702f9990c440927642e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 7): src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs:26-41 | src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs:59-74 | src/Redis/Orleans.GrainDirectory.Redis/Hosting/RedisGrainDirectoryProviderBuilder.cs:23-38 | src/Redis/Orleans.Persistence.Redis/Hosting/RedisGrainStorageProviderBuilder.cs:24-39 | src/Redis/Orleans.Reminders.Redis/Hosting/RedisRemindersProviderBuilder.cs:22-37 | src/Redis/Orleans.Streaming.Redis/Hosting/RedisStreamingProviderBuilder.cs:25-40 | src/Redis/Orleans.Streaming.Redis/Hosting/RedisStreamingProviderBuilder.cs:66-81 \u2014 before extracting anything, compare \u0060src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs\u0060 and \u0060src/Redis/Orleans.GrainDirectory.Redis/Hosting/RedisGrainDirectoryProviderBuilder.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 69 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 \u0060src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs:26\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":"src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4f2b4654ccc104776669bd6fc0ec3079a70b304d9e7f2945bb9ffb2b0dbdab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 4): src/AdoNet/Orleans.Clustering.AdoNet/AdoNetClusteringProviderBuilder.cs:19-34 | src/AdoNet/Orleans.Clustering.AdoNet/AdoNetClusteringProviderBuilder.cs:43-58 | src/AdoNet/Orleans.Persistence.AdoNet/AdoNetGrainStorageProviderBuilder.cs:19-34 | src/AdoNet/Orleans.Reminders.AdoNet/AdoNetRemindersProviderBuilder.cs:18-33 \u2014 there are 4 copies across 3 file(s) \u2014 more copies than files, so at least one file holds the block twice. Extract it once into a single shared function every call site can reach and call it from all 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/AdoNet/Orleans.Clustering.AdoNet/AdoNetClusteringProviderBuilder.cs:19\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 \u0060builder\u0060 to \u0060ISiloBuilder\u0060 in one and \u0060IClientBuilder\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":"src/AdoNet/Orleans.Clustering.AdoNet/AdoNetClusteringProviderBuilder.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dda25684b5618e158b4f0e9844682f1f76342e4989984d02ea502d8c5e6efe6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/Orleans.Serialization/Codecs/CollectionCodec.cs:89-104 | src/Orleans.Serialization/Codecs/ListCodec.cs:88-103 | src/Orleans.Serialization/Codecs/QueueCodec.cs:92-107 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/CollectionCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ListCodec.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 142 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 \u0060src/Orleans.Serialization/Codecs/CollectionCodec.cs:89\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":"src/Orleans.Serialization/Codecs/CollectionCodec.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e17f38c9c944b07fc7b2a5b2c9f89924a3a500e2c9fedf93b0f2738f699556c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/Orleans.Serialization/Codecs/HashSetCodec.cs:69-84 | src/Orleans.Serialization/Codecs/HashSetCodec.cs:143-159 | src/Orleans.Serialization/Codecs/InterfaceCollectionCodecs.cs:410-425 \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 \u0060src/Orleans.Serialization/Codecs/HashSetCodec.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization/Codecs/HashSetCodec.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe669245bddeb2d8fe967298b01fcbaf87efa9aa71de5713985f1d9f40e85f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 3): src/Orleans.Serialization/Codecs/ImmutableHashSetCodec.cs:82-97 | src/Orleans.Serialization/Codecs/ImmutableListCodec.cs:70-85 | src/Orleans.Serialization/Codecs/ImmutableSortedSetCodec.cs:82-97 \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. 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 \u0060value\u0060 to \u0060ImmutableHashSet\u003CT\u003E\u0060 in one and \u0060ImmutableSortedSet\u003CT\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":"src/Orleans.Serialization/Codecs/ImmutableHashSetCodec.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"90f0697a789624590539c84902fae8548c8fc19db51efe0a7de039b5f0043054"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): playground/DurableJobsJournaling/DurableJobsJournaling.Web/WorkflowMetrics.cs:68-83 | playground/DurableJobsJournaling/DurableJobsJournaling.Web/WorkflowMetrics.cs:96-111 \u2014 both copies are in the same file, so extract the block 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/DurableJobsJournaling/DurableJobsJournaling.Web/WorkflowMetrics.cs:68\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, \u0060playground/DurableJobsJournaling/DurableJobsJournaling.Web/WorkflowMetrics.cs:67\u0060 calls \u0060AddSample\u0060 and \u0060playground/DurableJobsJournaling/DurableJobsJournaling.Web/WorkflowMetrics.cs:95\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":"playground/DurableJobsJournaling/DurableJobsJournaling.Web/WorkflowMetrics.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb179d752292fa7551cd7ef0ee20f6bf4447479f91bb22f8378347719f34e996"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Orleans.BroadcastChannel/SubscriberTable/Predicates/DefaultStreamNamespacePredicateProvider.cs:60-75 | src/Orleans.Streaming/PubSub/DefaultStreamNamespacePredicateProvider.cs:60-75 \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 \u0060src/Orleans.BroadcastChannel/SubscriberTable/Predicates/DefaultStreamNamespacePredicateProvider.cs:60\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060predicate\u0060 to \u0060out IChannelNamespacePredicate?\u0060 in one and \u0060out IStreamNamespacePredicate\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":"src/Orleans.BroadcastChannel/SubscriberTable/Predicates/DefaultStreamNamespacePredicateProvider.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9e57afa2b7f1d21e223dd859d2bb3ad988a8dec8d2dec4e8af3edf767b9b79"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Orleans.CodeGenerator/SerializerGenerator.cs:873-888 | src/Orleans.CodeGenerator/SerializerGenerator.cs:1036-1051 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.CodeGenerator/SerializerGenerator.cs:873\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":"src/Orleans.CodeGenerator/SerializerGenerator.cs"},"region":{"startLine":873}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f280e70482e515fe50c2494063664d3aaac92ae6b7c1c856c72dbd4005b8998"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Orleans.Core.Abstractions/Runtime/GrainReference.cs:688-703 | src/Orleans.Transactions/TransactionAttribute.cs:557-572 \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":"src/Orleans.Core.Abstractions/Runtime/GrainReference.cs"},"region":{"startLine":688}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd3c8d99bdf13667fd3e1422ebd117ebdd77be1a06237f1c46b2153fcaf76c91"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Orleans.Serialization/Codecs/DictionaryCodec.cs:56-71 | src/Orleans.Serialization/Codecs/DictionaryCodec.cs:258-273 \u2014 both copies are in the same file, so extract the block 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":"src/Orleans.Serialization/Codecs/DictionaryCodec.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c34aa033fb21be4047e92a57b3939a30fb316b4e1f43c710b2968a2043e5134"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Orleans.Serialization/Codecs/ImmutableQueueCodec.cs:70-85 | src/Orleans.Serialization/Codecs/ImmutableStackCodec.cs:72-87 \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":"src/Orleans.Serialization/Codecs/ImmutableQueueCodec.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cc6c4d7036a79d25e39cf46434f2590c0f174afc0aced1dbdcf294a68af718f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:1271-1286 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1051-1066 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a7918ae3866638da244d68df3d5129819cc97b0e3401b08275edf8663fb6dc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorage.cs:357-372 | src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorage.cs:518-533 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorage.cs:357\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":"src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorage.cs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01142f76fa3c3be1b4fdfdef891eb114efab1519d5fe924af19b034b4bb29b4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15\u201316 lines \u00D7 2): src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamBuilder.cs:89-103 | src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamBuilder.cs:200-215 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamBuilder.cs:89\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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":"src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamBuilder.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"7497a183a4b3770c04cd3bb0cf5ca4503acaae86f3804943fad7cbb662be1b09"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 10): src/Azure/Orleans.Clustering.AzureStorage/AzureTableStorageClusteringProviderBuilder.cs:34-48 | src/Azure/Orleans.Clustering.Cosmos/CosmosClusteringProviderBuilder.cs:46-59 | src/Azure/Orleans.GrainDirectory.AzureStorage/Hosting/AzureTableStorageGrainDirectoryProviderBuilder.cs:32-46 | src/Azure/Orleans.Persistence.AzureStorage/Hosting/AzureBlobStorageGrainStorageProviderBuilder.cs:32-46 | src/Azure/Orleans.Persistence.AzureStorage/Hosting/AzureTableStorageGrainStorageProviderBuilder.cs:34-48 | src/Azure/Orleans.Reminders.AzureStorage/AzureTableStorageRemindersProviderBuilder.cs:34-48 | src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs:34-48 | src/Redis/Orleans.GrainDirectory.Redis/Hosting/RedisGrainDirectoryProviderBuilder.cs:31-45 | src/Redis/Orleans.Persistence.Redis/Hosting/RedisGrainStorageProviderBuilder.cs:32-46 | src/Redis/Orleans.Reminders.Redis/Hosting/RedisRemindersProviderBuilder.cs:30-44 \u2014 before extracting anything, compare \u0060src/Azure/Orleans.GrainDirectory.AzureStorage/Hosting/AzureTableStorageGrainDirectoryProviderBuilder.cs\u0060 and \u0060src/Azure/Orleans.Persistence.AzureStorage/Hosting/AzureTableStorageGrainStorageProviderBuilder.cs\u0060 as WHOLE FILES: 82% 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 2 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Azure/Orleans.Clustering.AzureStorage/AzureTableStorageClusteringProviderBuilder.cs:34\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":"src/Azure/Orleans.Clustering.AzureStorage/AzureTableStorageClusteringProviderBuilder.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c43e570d60355971eb45b0b13a8b4d7a456ac5a092b3bd7a0f04f2c83ea86d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 8): src/Orleans.Serialization/Codecs/TupleCodec.cs:111-125 | src/Orleans.Serialization/Codecs/TupleCodec.cs:249-263 | src/Orleans.Serialization/Codecs/TupleCodec.cs:409-423 | src/Orleans.Serialization/Codecs/TupleCodec.cs:586-600 | src/Orleans.Serialization/Codecs/TupleCodec.cs:783-797 | src/Orleans.Serialization/Codecs/TupleCodec.cs:997-1011 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1229-1243 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1477-1491 \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 \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:249\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:425\u0060 calls \u0060DeepCopy\u0060 and \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:265\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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e5963c7217d80b9df0d395b5110a36cc08acbceb981d78481b221b8a79b92ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 7): src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:199-213 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:317-331 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:451-465 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:598-612 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:760-774 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:937-951 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1128-1142 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:199\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 \u0060reader\u0060 to \u0060T2) ReadValue\u003CTInput\u003E(ref Reader\u003CTInput\u003E\u0060 in one and \u0060T3) ReadValue\u003CTInput\u003E(ref Reader\u003CTInput\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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:332\u0060 calls \u0060ReadValue\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:214\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":"src/Orleans.Serialization/Codecs/ValueTupleCodec.cs"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"08025970a607c68bcc1f9213766fb199bfd9416ae9def05fc01e9d119fe43353"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1128-1142 | src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1407-1423 | src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1470-1486 | src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1540-1556 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just after the matched lines, \u0060src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1487\u0060 calls \u0060StringBuilder\u0060 and \u0060src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1143\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":"src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1700ce4b13c4808e8f1121edb6a9cf30ea235c8c1abae84a7b9d7f0830c856c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 4): src/Azure/Orleans.Clustering.AzureStorage/AzureTableStorageClusteringProviderBuilder.cs:77-91 | src/Azure/Orleans.Clustering.Cosmos/CosmosClusteringProviderBuilder.cs:96-110 | src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs:67-81 | src/Redis/Orleans.Streaming.Redis/Hosting/RedisStreamingProviderBuilder.cs:74-88 \u2014 before extracting anything, compare \u0060src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs\u0060 and \u0060src/Redis/Orleans.Streaming.Redis/Hosting/RedisStreamingProviderBuilder.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 70 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 \u0060src/Azure/Orleans.Clustering.AzureStorage/AzureTableStorageClusteringProviderBuilder.cs:77\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":"src/Azure/Orleans.Clustering.AzureStorage/AzureTableStorageClusteringProviderBuilder.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"f41a502bb24c0c88801d7b88e34c93ebc823cc46d868b53968ec35b0bde7eba4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 4): src/Azure/Orleans.Journaling.AzureStorage/AzureBlobStorageJournalingProviderBuilder.cs:29-43 | src/Azure/Orleans.Journaling.AzureStorage/AzureTableStorageJournalingProviderBuilder.cs:36-50 | src/Redis/Orleans.Journaling.Redis/RedisJournalingProviderBuilder.cs:24-37 | src/Redis/Orleans.Streaming.Redis/Hosting/RedisStreamingProviderBuilder.cs:33-47 \u2014 before extracting anything, compare \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureBlobStorageJournalingProviderBuilder.cs\u0060 and \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureTableStorageJournalingProviderBuilder.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 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 \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureBlobStorageJournalingProviderBuilder.cs:29\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":"src/Azure/Orleans.Journaling.AzureStorage/AzureBlobStorageJournalingProviderBuilder.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"39537aed4af4f56c361817487a1499cae9d4d41b0b6f51bae06db17808bc344d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 3): src/Orleans.Core/Networking/ClientOutboundConnection.cs:128-141 | src/Orleans.Runtime/Networking/GatewayInboundConnection.cs:188-202 | src/Orleans.Runtime/Networking/SiloConnection.cs:304-317 \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 \u0060src/Orleans.Core/Networking/ClientOutboundConnection.cs:128\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Networking/ClientOutboundConnection.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"f46915c10ea534d981b1cea9b00aa3ccf6dc1e808fd4a701cbb10758e3528245"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/Orleans.Serialization/Codecs/InterfaceCollectionCodecs.cs:230-244 | src/Orleans.Serialization/Codecs/InterfaceCollectionCodecs.cs:348-362 | src/Orleans.Serialization/Codecs/InterfaceCollectionCodecs.cs:478-492 \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 \u0060src/Orleans.Serialization/Codecs/InterfaceCollectionCodecs.cs:230\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":"src/Orleans.Serialization/Codecs/InterfaceCollectionCodecs.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"5791b6cf9aae62d248df0c89edbf16df8742b58ff4ba8c6774d928ab57c4a764"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 3): src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs:953-967 | src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorage.cs:1115-1129 | src/Redis/Orleans.Journaling.Redis/RedisJournalStorage.cs:877-891 \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. 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":"src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs"},"region":{"startLine":953}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4ad958cbdabb1e6f30fdd9207efb320ef80fe9dacfc9d9d88b8042cf1bd238"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1179-1193 | src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1221-1235 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1179\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":"src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs"},"region":{"startLine":1179}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f2733f16045ac8bdeb90db779dd3b3ee20563771c51d4fe08e2d468b5c937c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Orleans.Core.Abstractions/Runtime/GrainReference.cs:639-653 | src/Orleans.Transactions/TransactionAttribute.cs:500-514 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.Core.Abstractions/Runtime/GrainReference.cs:639\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":"src/Orleans.Core.Abstractions/Runtime/GrainReference.cs"},"region":{"startLine":639}}}],"partialFingerprints":{"codehealthFindingId/v1":"595ed004af2e755a91e411bc14bb61872e28678c14e00df28784f86ba2058ea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Orleans.Core/Async/TaskExtensions.cs:217-231 | src/Orleans.TestingHost/StandaloneSiloHost.cs:166-180 \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":"src/Orleans.Core/Async/TaskExtensions.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b20841c51e2240db9dfc02f5917c2c0a31bd1b1e1d9e75e60bbc933c7292b5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Orleans.Core/Runtime/ClientGrainContext.cs:117-131 | src/Orleans.Runtime/Core/HostedClient.cs:369-383 \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":"src/Orleans.Core/Runtime/ClientGrainContext.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e30d389644d49ce9e33ece333fee8909d266ab545c6c89453f778bd7f39998f1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Orleans.Serialization.MessagePack/MessagePackCodec.cs:83-97 | src/Orleans.Serialization.SystemTextJson/JsonCodec.cs:82-96 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization.MessagePack/MessagePackCodec.cs\u0060 and \u0060src/Orleans.Serialization.SystemTextJson/JsonCodec.cs\u0060 as WHOLE FILES: this scan already matched 6 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. 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 \u0060src/Orleans.Serialization.MessagePack/MessagePackCodec.cs:83\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.MessagePack/MessagePackCodec.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fc6280d5bd7f10c73f45d9e13c5499e139b9b393d496b43181d8455e8c2e064"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Orleans.Serialization/Codecs/ArrayCodec.cs:308-322 | src/Orleans.Serialization/Codecs/ArrayCodec.cs:468-482 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Serialization/Codecs/ArrayCodec.cs:308\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 \u0060input\u0060 to \u0060ReadOnlyMemory\u003CT\u003E\u0060 in one and \u0060Memory\u003CT\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":"src/Orleans.Serialization/Codecs/ArrayCodec.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4c837b8ae68e745705105fa7e5ae47eb73a86e7598203e53d250df0c624dfa2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Orleans.Serialization/ISerializableSerializer/ExceptionCodec.cs:77-91 | src/Orleans.Serialization/ISerializableSerializer/ExceptionCodec.cs:376-390 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Serialization/ISerializableSerializer/ExceptionCodec.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":"src/Orleans.Serialization/ISerializableSerializer/ExceptionCodec.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d82c390cc5cfc46f7a2c8ccfb4df44d4c4e4ed967f3ed489c7605ce645e62b7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/AWS/Orleans.Persistence.DynamoDB/Provider/DynamoDBGrainStorage.cs:399-413 | src/AWS/Orleans.Transactions.DynamoDB/TransactionalState/DynamoDBTransactionalStateStorageFactory.cs:163-177 \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 \u0060src/AWS/Orleans.Persistence.DynamoDB/Provider/DynamoDBGrainStorage.cs:399\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":"src/AWS/Orleans.Persistence.DynamoDB/Provider/DynamoDBGrainStorage.cs"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"911b16c2028714e57f8fddbe5b34de512a5a4a66a7b17bf9e4010408e68559d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201315 lines \u00D7 2): src/Google/Shared/Storage/FirestoreDataManager.cs:309-322 | src/Google/Shared/Storage/FirestoreDataManager.cs:382-396 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Google/Shared/Storage/FirestoreDataManager.cs:309\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":"src/Google/Shared/Storage/FirestoreDataManager.cs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb32be4fd00540ab8d99a91be83459efde8b6c23eb86ce153b634c4fa1ba474f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4): src/Orleans.Core.Abstractions/Runtime/GrainReference.cs:642-655 | src/Orleans.Core.Abstractions/Runtime/GrainReference.cs:788-801 | src/Orleans.Transactions/TransactionAttribute.cs:503-516 | src/Orleans.Transactions/TransactionAttribute.cs:673-686 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.Core.Abstractions/Runtime/GrainReference.cs:642\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":"src/Orleans.Core.Abstractions/Runtime/GrainReference.cs"},"region":{"startLine":642}}}],"partialFingerprints":{"codehealthFindingId/v1":"68c70d444171c1306ea2e20c30300f39688a19823100149feee224d5d2295a7f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201314 lines \u00D7 4): src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamBuilder.cs:91-103 | src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamBuilder.cs:125-136 | src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamBuilder.cs:202-215 | src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamBuilder.cs:271-283 \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. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamBuilder.cs:90\u0060 calls \u0060ConfigureComponent\u0060 and \u0060src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamBuilder.cs:124\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":"src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamBuilder.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"66edc97015b2193e0b01d18d1e40dacd2e0b9a322fc481735943687dedbaccdc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1446-1459 | src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1518-1531 | src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1572-1585 \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 \u0060src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1446\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":"src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs"},"region":{"startLine":1446}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b5d42e3c0484b843db24e4f77cb2c32b37795fb19e6d3e7fce0ec8b6ead9b8f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/Orleans.Serialization.FSharp/FSharpCodecs.cs:598-611 | src/Orleans.Serialization.FSharp/FSharpCodecs.cs:763-776 | src/Orleans.Serialization.FSharp/FSharpCodecs.cs:942-955 \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 \u0060src/Orleans.Serialization.FSharp/FSharpCodecs.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. 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":"src/Orleans.Serialization.FSharp/FSharpCodecs.cs"},"region":{"startLine":598}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b50c784af99579aad956c8743cd9766d12c0f0a6f31eb65d7342ad8be7cc9e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 3): src/AWS/Orleans.Journaling.S3/S3JournalStorageInstruments.cs:11-24 | src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorageInstruments.cs:21-34 | src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorageInstruments.cs:21-34 \u2014 before extracting anything, compare \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorageInstruments.cs\u0060 and \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorageInstruments.cs\u0060 as WHOLE FILES: 82% 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 2 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":"src/AWS/Orleans.Journaling.S3/S3JournalStorageInstruments.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"ede1588c972504961941ff868b9fe6c969e0d92a3fc55f705d6c013ea4ada6da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Orleans.CodeGenerator/Model/ProxyInterfaceModelExtractor.cs:189-202 | src/Orleans.CodeGenerator/Model/ProxyInterfaceModelExtractor.cs:385-398 \u2014 both copies are in the same file, so extract the block 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":"src/Orleans.CodeGenerator/Model/ProxyInterfaceModelExtractor.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"12276deb493868799abeb3bbee8ee91f3ef82e101f8c7a48d045027a67c30096"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): src/Orleans.CodeGenerator/SerializerGenerator.cs:438-451 | src/Orleans.CodeGenerator/SerializerGenerator.cs:618-630 \u2014 both copies are in the same file, so extract the block 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, \u0060src/Orleans.CodeGenerator/SerializerGenerator.cs:631\u0060 calls \u0060AddTypeParameterListParameters\u0060, \u0060TypeParameter\u0060 and \u0060src/Orleans.CodeGenerator/SerializerGenerator.cs:452\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":"src/Orleans.CodeGenerator/SerializerGenerator.cs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"6575f922ec890bf144c702071d3d0214180969a67de160d8a4de01d6a8f5ca67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Orleans.Core/Core/DefaultClientServices.cs:220-233 | src/Orleans.Runtime/Hosting/DefaultSiloServices.cs:504-517 \u2014 before extracting anything, compare \u0060src/Orleans.Core/Core/DefaultClientServices.cs\u0060 and \u0060src/Orleans.Runtime/Hosting/DefaultSiloServices.cs\u0060 as WHOLE FILES: this scan already matched 5 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. 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 \u0060src/Orleans.Core/Core/DefaultClientServices.cs:220\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":"src/Orleans.Core/Core/DefaultClientServices.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"6befb31b9db277c1bbd7594bae92561221f91315a8b899355d7f8e68a8bd3aae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Orleans.EventSourcing/StateStorage/LogViewAdaptor.cs:88-101 | src/Orleans.EventSourcing/StateStorage/LogViewAdaptor.cs:157-170 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.EventSourcing/StateStorage/LogViewAdaptor.cs:88\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":"src/Orleans.EventSourcing/StateStorage/LogViewAdaptor.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"133ab7b9cffd6a0d3a3ecd30fc4c03d50c5e09d32dbbeb868a7b77a48fd8b706"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Orleans.Serialization.MessagePack/MessagePackCodec.cs:65-78 | src/Orleans.Serialization.SystemTextJson/JsonCodec.cs:59-78 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization.MessagePack/MessagePackCodec.cs\u0060 and \u0060src/Orleans.Serialization.SystemTextJson/JsonCodec.cs\u0060 as WHOLE FILES: this scan already matched 6 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. 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.MessagePack/MessagePackCodec.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"da6ba6b537922728b7f85226e1c317547a2a212526d5f7719a8775012a5031c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Orleans.Serialization/Buffers/Writer.cs:482-495 | src/Orleans.Serialization/Buffers/Writer.cs:507-520 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Serialization/Buffers/Writer.cs:482\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 \u0060value\u0060 to \u0060uint\u0060 in one and \u0060ulong\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":"src/Orleans.Serialization/Buffers/Writer.cs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab6ae34f972a38fcdf9e29c34ed93e3eff2a17a52ec686b292c45a22675d278d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:1144-1157 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1384-1397 \u2014 both copies are in the same file, so extract the block 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, \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:1399\u0060 calls \u0060ReadValue\u0060 and \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:1158\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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":1144}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f66d5952b70c99ccdef5d4851e45accb70b8963958d0548f4b42e3667262ba2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Serializers/Orleans.Serialization.Protobuf/MapFieldCodec.cs:43-56 | src/Serializers/Orleans.Serialization.Protobuf/RepeatedFieldCodec.cs:37-50 \u2014 before extracting anything, compare \u0060src/Serializers/Orleans.Serialization.Protobuf/MapFieldCodec.cs\u0060 and \u0060src/Serializers/Orleans.Serialization.Protobuf/RepeatedFieldCodec.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 49 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 \u0060src/Serializers/Orleans.Serialization.Protobuf/MapFieldCodec.cs:43\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":"src/Serializers/Orleans.Serialization.Protobuf/MapFieldCodec.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea03b66c39fa85e6b3e9ad2f0b570ec0aa15485e2d1faf77920ec47697d6d690"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Dashboard/Orleans.Dashboard/Metrics/History/TraceHistory.cs:123-136 | src/Dashboard/Orleans.Dashboard/Metrics/History/TraceHistory.cs:160-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 \u0060src/Dashboard/Orleans.Dashboard/Metrics/History/TraceHistory.cs:123\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard/Metrics/History/TraceHistory.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99b224f2117b960ac05851038484ab036d296cafe32ea9964508753f4320a83"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/AWS/Orleans.Transactions.DynamoDB/TransactionalState/DynamoDBTransactionalStateStorage.cs:93-106 | src/Azure/Orleans.Transactions.AzureStorage/TransactionalState/AzureTableTransactionalStateStorage.cs:87-100 \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 \u0060src/AWS/Orleans.Transactions.DynamoDB/TransactionalState/DynamoDBTransactionalStateStorage.cs:93\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":"src/AWS/Orleans.Transactions.DynamoDB/TransactionalState/DynamoDBTransactionalStateStorage.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"06a7e49b341b0accd11b4eadc5443c567db5309aecb9ba17abbe1f8cff3e9630"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 4): src/Orleans.Serialization.MessagePack/MessagePackCodec.cs:64-76 | src/Orleans.Serialization.NewtonsoftJson/NewtonsoftJsonCodec.cs:60-75 | src/Orleans.Serialization.SystemTextJson/JsonCodec.cs:58-73 | src/Serializers/Orleans.Serialization.Protobuf/ProtobufCodec.cs:243-259 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization.MessagePack/MessagePackCodec.cs\u0060 and \u0060src/Orleans.Serialization.NewtonsoftJson/NewtonsoftJsonCodec.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 74 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 \u0060src/Orleans.Serialization.MessagePack/MessagePackCodec.cs:64\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":"src/Orleans.Serialization.MessagePack/MessagePackCodec.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fd9900b2fb0c2234db865d49730b9085b74ea69a554ff6b3953fa4d1fad4e40"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/Orleans.Serialization.FSharp/FSharpCodecs.cs:868-880 | src/Orleans.Serialization/Codecs/TupleCodec.cs:820-832 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:695-707 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.FSharp/FSharpCodecs.cs"},"region":{"startLine":868}}}],"partialFingerprints":{"codehealthFindingId/v1":"cda9f3c68b99a881a846931c797f4c2d74e5e789748eab724bad59e11661456e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/Orleans.Serialization/Codecs/CollectionCodec.cs:37-49 | src/Orleans.Serialization/Codecs/HashSetCodec.cs:43-55 | src/Orleans.Serialization/Codecs/ListCodec.cs:36-48 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/CollectionCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ListCodec.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 142 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":"src/Orleans.Serialization/Codecs/CollectionCodec.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ec8d8a9e3dd7d0e5cfc9e43a035f594ab816cda85eec58a1a13a9321cef0135"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 3): src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs:550-562 | src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorage.cs:360-372 | src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorage.cs:521-533 \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 \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs:550\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":"src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs"},"region":{"startLine":550}}}],"partialFingerprints":{"codehealthFindingId/v1":"30bdc569a51f97e3044d6dc74075d32d6dbdad4e30859c9ec6d3b30db8f676bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Orleans.CodeGenerator/SerializerGenerator.cs:990-1002 | src/Orleans.CodeGenerator/SerializerGenerator.cs:1073-1085 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.CodeGenerator/SerializerGenerator.cs:990\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":"src/Orleans.CodeGenerator/SerializerGenerator.cs"},"region":{"startLine":990}}}],"partialFingerprints":{"codehealthFindingId/v1":"097adb34d1ab8cdfbb8535c8b9d6953cfe6faaa252607ffad96091602b094c78"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Orleans.Core.Abstractions/Runtime/GrainReference.cs:739-751 | src/Orleans.Transactions/TransactionAttribute.cs:617-629 \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 \u0060src/Orleans.Core.Abstractions/Runtime/GrainReference.cs:739\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":"src/Orleans.Core.Abstractions/Runtime/GrainReference.cs"},"region":{"startLine":739}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec49a607d1cca4f25bceda9feb77d19a5298a1efdee7952f7386ffb56820427a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Orleans.Core/CodeGeneration/GrainInterfaceUtils.cs:90-102 | src/Orleans.Core/Manifest/ImplementedInterfaceProvider.cs:52-64 \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":"src/Orleans.Core/CodeGeneration/GrainInterfaceUtils.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f82e8a523ebcda939997ec48cd0829152d59a16f2eb3ea725473e813de89c1f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableDictionaryCommandCodec.cs:102-114 | src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableSetCommandCodec.cs:97-109 \u2014 before extracting anything, compare \u0060src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableDictionaryCommandCodec.cs\u0060 and \u0060src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableSetCommandCodec.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 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 \u0060src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableDictionaryCommandCodec.cs:102\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060consumer\u0060 to \u0060IDurableDictionaryCommandHandler\u003CTKey, TValue\u003E\u0060 in one and \u0060IDurableSetCommandHandler\u003CT\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":"src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableDictionaryCommandCodec.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"5dc81b4c3dda5c27105a7b77500425168a50cb4e0f3c33f56801b3678b6a6ea2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Orleans.Serialization/Codecs/CollectionCodec.cs:110-122 | src/Orleans.Serialization/Codecs/ListCodec.cs:109-121 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/CollectionCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ListCodec.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 142 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 \u0060src/Orleans.Serialization/Codecs/CollectionCodec.cs:110\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":"src/Orleans.Serialization/Codecs/CollectionCodec.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c11e9ef7e7d7e492a9f2c2e801dba2f0e5fe453746da82cb925ad3b33585748"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Orleans.Streaming/Internal/StreamConsumerExtension.cs:132-144 | src/Orleans.Streaming/Internal/StreamConsumerExtension.cs:165-177 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Streaming/Internal/StreamConsumerExtension.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. 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":"src/Orleans.Streaming/Internal/StreamConsumerExtension.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf97cfa487246313afcccee6f1ef0aec85c83d56c1ee268c1f5c808749fa703b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs:250-262 | src/Orleans.Connections.Security/Security/TlsServerConnectionMiddleware.cs:253-265 \u2014 before extracting anything, compare \u0060src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs\u0060 and \u0060src/Orleans.Connections.Security/Security/TlsServerConnectionMiddleware.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 139 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":"src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"75b45f55994f2a3123aa49fd3da0e89c9826c848932e79de556192bd92576340"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProvider.cs:38-50 | src/AWS/Orleans.Reminders.DynamoDB/Reminders/DynamoDBReminderTable.cs:52-64 \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 \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProvider.cs:38\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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProvider.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"0366417510ffeea8ec21bb8f67fe35a2b0ef585f000b4ad3b97932ff56566cec"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/AWS/Orleans.Journaling.S3/S3ReadOnlySequenceStream.cs:74-86 | src/Azure/Orleans.Journaling.AzureStorage/ReadOnlySequenceStream.cs:71-83 \u2014 before extracting anything, compare \u0060src/AWS/Orleans.Journaling.S3/S3ReadOnlySequenceStream.cs\u0060 and \u0060src/Azure/Orleans.Journaling.AzureStorage/ReadOnlySequenceStream.cs\u0060 as WHOLE FILES: 92% 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 2 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":"src/AWS/Orleans.Journaling.S3/S3ReadOnlySequenceStream.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9218530e8ebafc0230a0bf6969292c879c4286948d172203a0d6c11f63325ce"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs:125-137 | src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorage.cs:159-171 \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 \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs:125\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":"src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"33c51106e70de406f375e87b4bcb3d651f855da6092050c81bbb6aa3562fd9c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Azure/Orleans.Persistence.AzureStorage/Providers/Storage/AzureBlobStorage.cs:218-230 | src/Azure/Orleans.Persistence.AzureStorage/Providers/Storage/AzureBlobStorage.cs:252-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 \u0060src/Azure/Orleans.Persistence.AzureStorage/Providers/Storage/AzureBlobStorage.cs:218\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":"src/Azure/Orleans.Persistence.AzureStorage/Providers/Storage/AzureBlobStorage.cs"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"155fde28e82eb6593f7d05aa2f4859d8d611a1d4af6c4aeee83d301392983c67"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Azure/Orleans.Persistence.AzureStorage/Providers/Storage/AzureBlobStorage.cs:284-296 | src/Azure/Orleans.Persistence.AzureStorage/Providers/Storage/AzureBlobStorage.cs:304-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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Azure/Orleans.Persistence.AzureStorage/Providers/Storage/AzureBlobStorage.cs:284\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":"src/Azure/Orleans.Persistence.AzureStorage/Providers/Storage/AzureBlobStorage.cs"},"region":{"startLine":284}}}],"partialFingerprints":{"codehealthFindingId/v1":"de79c76bf67931bd5c7ce39733c629e6e1bc3ef2a17b9f79e6b4234e6b1a7bf8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Redis/Orleans.Journaling.Redis/RedisJournalingProviderBuilder.cs:30-42 | src/Redis/Orleans.Persistence.Redis/Hosting/RedisGrainStorageProviderBuilder.cs:39-51 \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 \u0060src/Redis/Orleans.Journaling.Redis/RedisJournalingProviderBuilder.cs:30\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":"src/Redis/Orleans.Journaling.Redis/RedisJournalingProviderBuilder.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c44ba21bf981b629790153887c7a116f2233581ae9fede3ef092c9d26b3c6633"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 8): src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs:40-51 | src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs:73-84 | src/Redis/Orleans.GrainDirectory.Redis/Hosting/RedisGrainDirectoryProviderBuilder.cs:37-48 | src/Redis/Orleans.Journaling.Redis/RedisJournalingProviderBuilder.cs:29-40 | src/Redis/Orleans.Persistence.Redis/Hosting/RedisGrainStorageProviderBuilder.cs:38-49 | src/Redis/Orleans.Reminders.Redis/Hosting/RedisRemindersProviderBuilder.cs:36-47 | src/Redis/Orleans.Streaming.Redis/Hosting/RedisStreamingProviderBuilder.cs:39-50 | src/Redis/Orleans.Streaming.Redis/Hosting/RedisStreamingProviderBuilder.cs:80-91 \u2014 before extracting anything, compare \u0060src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs\u0060 and \u0060src/Redis/Orleans.GrainDirectory.Redis/Hosting/RedisGrainDirectoryProviderBuilder.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 69 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 \u0060src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Redis/Orleans.Clustering.Redis/Hosting/RedisClusteringProviderBuilder.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bfaa50755cc2fb1a4d272d33b9e86bbe6fdce7858f38a13738da067e807c64"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 5): src/Orleans.Serialization/Codecs/ImmutableHashSetCodec.cs:82-93 | src/Orleans.Serialization/Codecs/ImmutableListCodec.cs:70-81 | src/Orleans.Serialization/Codecs/ImmutableQueueCodec.cs:70-81 | src/Orleans.Serialization/Codecs/ImmutableSortedSetCodec.cs:82-93 | src/Orleans.Serialization/Codecs/ImmutableStackCodec.cs:72-83 \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 5 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. 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 \u0060value\u0060 to \u0060ImmutableHashSet\u003CT\u003E\u0060 in one and \u0060ImmutableSortedSet\u003CT\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":"src/Orleans.Serialization/Codecs/ImmutableHashSetCodec.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae80906b2e1009e1cbb62591e33b4a927d48068248e874e3d617dd5e0f91d995"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/Orleans.CodeGenerator/Model/InvokableMethodDescription.cs:129-140 | src/Orleans.CodeGenerator/Model/ProxyMethodDescription.cs:59-70 | src/Orleans.CodeGenerator/Model/SerializableTypeDescription.cs:88-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 all 3 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":"src/Orleans.CodeGenerator/Model/InvokableMethodDescription.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45df1f2a065b0a8f9c1f646e26597b2c0d231ffecf90ff3a0982d58ec3449d0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/Orleans.Serialization.FSharp/FSharpCodecs.cs:694-705 | src/Orleans.Serialization/Codecs/TupleCodec.cs:620-631 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:539-550 \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 \u0060src/Orleans.Serialization.FSharp/FSharpCodecs.cs:694\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":"src/Orleans.Serialization.FSharp/FSharpCodecs.cs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc4cf825ad4be234e088298a2b6655442eb1e865262b610bb34ec4f8d6d1252"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 3): src/Orleans.Serialization/Buffers/Adaptors/BufferSliceReaderInput.cs:85-93 | src/Orleans.Serialization/Buffers/PooledBuffer.cs:684-695 | src/Orleans.Serialization/Buffers/PooledBuffer.cs:798-809 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Buffers/Adaptors/BufferSliceReaderInput.cs\u0060 and \u0060src/Orleans.Serialization/Buffers/PooledBuffer.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 70 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 \u0060src/Orleans.Serialization/Buffers/Adaptors/BufferSliceReaderInput.cs:85\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":"src/Orleans.Serialization/Buffers/Adaptors/BufferSliceReaderInput.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"96a8b153b39a2b4423c61cb4d9657153276864044a4dedfb6e1106f483fc3256"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/Orleans.Serialization/Codecs/ByteArrayCodec.cs:149-160 | src/Orleans.Serialization/Codecs/ByteArrayCodec.cs:248-259 | src/Orleans.Serialization/Codecs/ByteArrayCodec.cs:359-370 \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":"src/Orleans.Serialization/Codecs/ByteArrayCodec.cs"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fb33ee1104ca80122505997cd4f78d6362623b7d380728b2c36a83415b89681"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201312 lines \u00D7 2): src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1102-1110 | src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1259-1270 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs:1102\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":"src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs"},"region":{"startLine":1102}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9f390e80f6047d66a93d3674bb1323e8959dfb874927d02b1822a9d1a618a07"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/Orleans.Analyzers/AliasClashAttributeCodeFix.cs:46-56 | src/Orleans.Analyzers/IdClashAttributeCodeFix.cs:41-52 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.Analyzers/AliasClashAttributeCodeFix.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Analyzers/AliasClashAttributeCodeFix.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b35bf687cdab9c60459836b7284a2249e1d351431292e7a0c8dbdaea9c86b0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Orleans.Runtime/Diagnostics/DispatcherEvents.cs:60-71 | src/Orleans.Runtime/Diagnostics/DispatcherEvents.cs:74-85 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Runtime/Diagnostics/DispatcherEvents.cs:60\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Diagnostics/DispatcherEvents.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"85597bd7b395d80f64b6eb9a300e9c6bb83f83919de6114e9ec1b0d297f1a392"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Orleans.Serialization/Buffers/Reader.cs:1187-1198 | src/Orleans.Serialization/Buffers/Reader.cs:1202-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 \u0060src/Orleans.Serialization/Buffers/Reader.cs:1187\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":"src/Orleans.Serialization/Buffers/Reader.cs"},"region":{"startLine":1187}}}],"partialFingerprints":{"codehealthFindingId/v1":"95f3ec959b75cb60413537871f3bb035231210a716a60228a916dff5651c6395"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Orleans.Serialization/Buffers/Writer.FieldHeader.cs:100-111 | src/Orleans.Serialization/Buffers/Writer.FieldHeader.cs:124-135 \u2014 both copies are in the same file, so extract the block 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":"src/Orleans.Serialization/Buffers/Writer.FieldHeader.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bca0a77cebae6808288107a60d57df009b060f144345d54e913080a5bd59532"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Orleans.Serialization/ISerializableSerializer/SerializationCallbacksFactory.cs:141-152 | src/Orleans.Serialization/ISerializableSerializer/SerializationConstructorFactory.cs:120-131 \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 after the matched lines, \u0060src/Orleans.Serialization/ISerializableSerializer/SerializationConstructorFactory.cs:131\u0060 calls \u0060Emit\u0060 and \u0060src/Orleans.Serialization/ISerializableSerializer/SerializationCallbacksFactory.cs:152\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":"src/Orleans.Serialization/ISerializableSerializer/SerializationCallbacksFactory.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"811d8769f367997bb759ea86c64d9cf682d530f3fbd56a4217c5009d10f03397"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Orleans.Serialization/Serializer.cs:1469-1480 | src/Orleans.Serialization/Serializer.cs:1501-1512 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Serialization/Serializer.cs:1469\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":"src/Orleans.Serialization/Serializer.cs"},"region":{"startLine":1469}}}],"partialFingerprints":{"codehealthFindingId/v1":"d873fca33cfa68f5269812c2cdccffc7ef23f4885bc49cf5ec3b3442355365dd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Orleans.Serialization/TypeSystem/TypeCodec.cs:134-145 | src/Orleans.Serialization/TypeSystem/TypeCodec.cs:164-175 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.Serialization/TypeSystem/TypeCodec.cs:134\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":"src/Orleans.Serialization/TypeSystem/TypeCodec.cs"},"region":{"startLine":134}}}],"partialFingerprints":{"codehealthFindingId/v1":"94ab9d774bbeee8646083e51c6a94521a9557c5b50e8fe789a66858a81e21f0e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/AWS/Orleans.Journaling.S3/S3ReadOnlySequenceStream.cs:54-65 | src/Azure/Orleans.Journaling.AzureStorage/ReadOnlySequenceStream.cs:51-62 \u2014 before extracting anything, compare \u0060src/AWS/Orleans.Journaling.S3/S3ReadOnlySequenceStream.cs\u0060 and \u0060src/Azure/Orleans.Journaling.AzureStorage/ReadOnlySequenceStream.cs\u0060 as WHOLE FILES: 92% 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 2 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. 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":"src/AWS/Orleans.Journaling.S3/S3ReadOnlySequenceStream.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ca8dbec07f3d9812709b08cc81e89a0b4c776f014a4c470313bb4d693142fa4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs:684-695 | src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorage.cs:695-706 \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 \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs:684\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":"src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b373241af34dc6bb347e59dd95b9d828bd92d26796f23143e45f5df18cc2bc3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 7): src/Orleans.Serialization/Codecs/TupleCodec.cs:158-168 | src/Orleans.Serialization/Codecs/TupleCodec.cs:306-316 | src/Orleans.Serialization/Codecs/TupleCodec.cs:473-483 | src/Orleans.Serialization/Codecs/TupleCodec.cs:660-670 | src/Orleans.Serialization/Codecs/TupleCodec.cs:864-874 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1085-1095 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1324-1334 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:158\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, \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:317\u0060 calls \u0060WriteField\u0060 and \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:170\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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3d33ff3cafbb8b88b7536b0529462661448c5bcec55fd735001ed33bd1b7348"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5): src/Azure/Orleans.Journaling.AzureStorage/AzureBlobStorageJournalingProviderBuilder.cs:35-45 | src/Azure/Orleans.Journaling.AzureStorage/AzureTableStorageJournalingProviderBuilder.cs:42-52 | src/Azure/Orleans.Persistence.AzureStorage/Hosting/AzureBlobStorageGrainStorageProviderBuilder.cs:38-48 | src/Azure/Orleans.Reminders.AzureStorage/AzureTableStorageRemindersProviderBuilder.cs:40-50 | src/Azure/Orleans.Streaming.AzureStorage/Hosting/AzureQueueStreamProviderBuilder.cs:72-82 \u2014 before extracting anything, compare \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureBlobStorageJournalingProviderBuilder.cs\u0060 and \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureTableStorageJournalingProviderBuilder.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 44 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 \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureBlobStorageJournalingProviderBuilder.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":"src/Azure/Orleans.Journaling.AzureStorage/AzureBlobStorageJournalingProviderBuilder.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"65ed2b2c9a9ed8a2dfa3a0cc4317527e21cccea7ca5102b26f50b35585ffb584"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/Orleans.CodeGenerator/Model/InvokableMethodDescription.cs:129-139 | src/Orleans.CodeGenerator/Model/ProxyInterfaceDescription.cs:56-66 | src/Orleans.CodeGenerator/Model/ProxyMethodDescription.cs:59-69 | src/Orleans.CodeGenerator/Model/SerializableTypeDescription.cs:88-98 \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 4 call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.CodeGenerator/Model/InvokableMethodDescription.cs:129\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":"src/Orleans.CodeGenerator/Model/InvokableMethodDescription.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfd1e85db65dd367d56781a5dfb3162d0678dd1821af62381101d439fadfe8d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/Orleans.Journaling/Formats/Json/JsonDurableCollectionCommandCodecs.cs:141-151 | src/Orleans.Journaling/Formats/Json/JsonDurableCollectionCommandCodecs.cs:254-264 | src/Orleans.Journaling/Formats/Json/JsonDurableCollectionCommandCodecs.cs:372-382 | src/Orleans.Journaling/Formats/Json/JsonDurableDictionaryCommandCodec.cs:115-125 \u2014 there are 4 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 4 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.Journaling/Formats/Json/JsonDurableCollectionCommandCodecs.cs:141\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 \u0060consumer\u0060 to \u0060IDurableListCommandHandler\u003CT\u003E\u0060 in one and \u0060IDurableQueueCommandHandler\u003CT\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":"src/Orleans.Journaling/Formats/Json/JsonDurableCollectionCommandCodecs.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"12044a078844dafc12c2e55175d5b9254ab551ef8fb15990d40595a0df6c64ca"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/Orleans.Serialization/Codecs/TupleCodec.cs:684-694 | src/Orleans.Serialization/Codecs/TupleCodec.cs:889-899 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1112-1122 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1351-1361 \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 \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:684\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, \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:900\u0060 calls \u0060default\u0060 and \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:695\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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":684}}}],"partialFingerprints":{"codehealthFindingId/v1":"285dd0ba76d536d9f6b9d8ab1a4d59d46f07bf8a6472b78a2a033e9ee27c0ec9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProvider.cs:39-49 | src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs:48-58 | src/AWS/Orleans.Persistence.DynamoDB/Provider/DynamoDBGrainStorage.cs:75-85 | src/AWS/Orleans.Reminders.DynamoDB/Reminders/DynamoDBReminderTable.cs:53-63 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 4 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 4 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProvider.cs:39\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, \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs:61\u0060 calls \u0060LogInformationInitializingMembershipTable\u0060 and \u0060src/AWS/Orleans.Persistence.DynamoDB/Provider/DynamoDBGrainStorage.cs:88\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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProvider.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac01253eed1ebf5ef59a60d75d1595627d97b4817a3df402c1e60165964fb93"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/Orleans.Serialization/Codecs/CollectionCodec.cs:113-123 | src/Orleans.Serialization/Codecs/HashSetCodec.cs:127-137 | src/Orleans.Serialization/Codecs/ListCodec.cs:112-122 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/CollectionCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ListCodec.cs\u0060 as WHOLE FILES: this scan already matched 8 separate duplicated blocks between them, totalling at least 142 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 \u0060src/Orleans.Serialization/Codecs/CollectionCodec.cs:113\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":"src/Orleans.Serialization/Codecs/CollectionCodec.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"81b354c3adf0bdb442bf4092fe63e03a7d90d230e365cfbd4e5d6b27c807af45"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/Orleans.Serialization/Codecs/FrozenDictionaryCodec.cs:96-106 | src/Orleans.Serialization/Codecs/ImmutableDictionaryCodec.cs:97-107 | src/Orleans.Serialization/Codecs/ImmutableSortedDictionaryCodec.cs:102-112 \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. 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":"src/Orleans.Serialization/Codecs/FrozenDictionaryCodec.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"968a7d91deb5e38c12f920936a86f0194b78fac67b9e1ba049c4068cd1a52774"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Orleans.CodeGenerator/CopierGenerator.cs:288-298 | src/Orleans.CodeGenerator/SerializerGenerator.cs:379-389 \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 \u0060src/Orleans.CodeGenerator/CopierGenerator.cs:288\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":"src/Orleans.CodeGenerator/CopierGenerator.cs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"309b1a7b0ea8ac7a8d365fb43aa024040065a3339174cd55bc1bfb62cc280535"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Orleans.CodeGenerator/CopierGenerator.cs:339-349 | src/Orleans.CodeGenerator/SerializerGenerator.cs:336-346 \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 \u0060src/Orleans.CodeGenerator/CopierGenerator.cs:339\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":"src/Orleans.CodeGenerator/CopierGenerator.cs"},"region":{"startLine":339}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa7cb8a597318dc46ab460c137065357dabe41b728512cd4cf5fc1cd34a28594"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Orleans.CodeGenerator/Model/ProxyInterfaceDescription.cs:183-193 | src/Orleans.CodeGenerator/Model/ProxyInterfaceDescription.cs:256-266 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.CodeGenerator/Model/ProxyInterfaceDescription.cs:183\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.CodeGenerator/Model/ProxyInterfaceDescription.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbcf5a74b9ee0267a17c04607df37ef46706ca7a288d5e7c01ef8c646bee2be6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Orleans.Serialization/Buffers/Adaptors/BufferWriterExtensions.cs:27-37 | src/Orleans.Serialization/Buffers/ArcBufferWriter.cs:1310-1320 \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 \u0060src/Orleans.Serialization/Buffers/Adaptors/BufferWriterExtensions.cs:27\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":"src/Orleans.Serialization/Buffers/Adaptors/BufferWriterExtensions.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a7c68d3fe014d053c0b7d974f057cc26919c4e36d9602367933bf9eb54d0d3a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Orleans.Serialization/Buffers/ArcBufferWriter.cs:1260-1270 | src/Orleans.Serialization/Buffers/PooledBuffer.cs:545-555 \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 \u0060src/Orleans.Serialization/Buffers/ArcBufferWriter.cs:1260\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":"src/Orleans.Serialization/Buffers/ArcBufferWriter.cs"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"aae024d6d377c0ac1fe5cde9b38b6f071842eb68b80e7d4fd4fb0f19ae27894c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Orleans.Serialization/Invocation/Response.cs:264-274 | src/Orleans.Serialization/Invocation/Response.cs:287-297 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Serialization/Invocation/Response.cs:264\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":"src/Orleans.Serialization/Invocation/Response.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84a1e4a0fe8d211450ddd3749d2bd2ad28c12ff7947ecc1ec4c026e471367d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Orleans.Streaming/Generator/GeneratorAdapterFactory.cs:128-138 | src/Orleans.Streaming/MemoryStreams/MemoryAdapterFactory.cs:131-141 \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":"src/Orleans.Streaming/Generator/GeneratorAdapterFactory.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ab83755ef4153017e2a389dd60a64a8de46305673c6809c596cf0ca17bafe3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs:341-351 | src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs:547-557 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs:341\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":"src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"92e90965f72bb8451a9d383a911fb382977d5665c44e372713814bee79f8657e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Azure/Orleans.Transactions.AzureStorage/TransactionalState/AzureTableTransactionalStateStorage.cs:476-486 | src/Azure/Orleans.Transactions.AzureStorage/TransactionalState/AzureTableTransactionalStateStorage.cs:509-519 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Azure/Orleans.Transactions.AzureStorage/TransactionalState/AzureTableTransactionalStateStorage.cs:476\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":"src/Azure/Orleans.Transactions.AzureStorage/TransactionalState/AzureTableTransactionalStateStorage.cs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab3888b1dd6302a9ff198f9aec7c392550cf73139b3d566c5d55406bbcc253cb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): src/Orleans.Serialization/Codecs/TupleCodec.cs:496-505 | src/Orleans.Serialization/Codecs/TupleCodec.cs:684-693 | src/Orleans.Serialization/Codecs/TupleCodec.cs:889-898 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1112-1121 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1351-1360 \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 \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:496\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, \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:694\u0060 calls \u0060default\u0060 and \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:506\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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1b2bccb68868e00a370ef847075a6e6fc7976118e5767e219952f75afad3467"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 5): src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProvider.cs:41-50 | src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs:50-59 | src/AWS/Orleans.Persistence.DynamoDB/Provider/DynamoDBGrainStorage.cs:77-86 | src/AWS/Orleans.Reminders.DynamoDB/Reminders/DynamoDBReminderTable.cs:55-64 | src/AWS/Orleans.Transactions.DynamoDB/TransactionalState/DynamoDBTransactionalStateStorageFactory.cs:108-117 \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 \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProvider.cs:41\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, \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs:61\u0060 calls \u0060LogInformationInitializingMembershipTable\u0060 and \u0060src/AWS/Orleans.Persistence.DynamoDB/Provider/DynamoDBGrainStorage.cs:88\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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProvider.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"14ff4025b5f60997fa24cad2c6276cc2f69ee8f9f8cf5c7b7f1b2e36bb1757d6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 4): src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableDictionaryCommandCodec.cs:57-66 | src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableListCommandCodec.cs:82-91 | src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableQueueCommandCodec.cs:53-62 | src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableSetCommandCodec.cs:55-64 \u2014 before extracting anything, compare \u0060src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableDictionaryCommandCodec.cs\u0060 and \u0060src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableSetCommandCodec.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 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 \u0060src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableDictionaryCommandCodec.cs:57\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 \u0060items\u0060 to \u0060IReadOnlyCollection\u003CKeyValuePair\u003CTKey, TValue\u003E\u003E\u0060 in one and \u0060IReadOnlyCollection\u003CT\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":"src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableDictionaryCommandCodec.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d403f2311dd8d993e89fe440b670e4cb0ae57257743c155c0b6489e359b9f227"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201310 lines \u00D7 3): src/Orleans.Runtime/Storage/StateStorageBridge.cs:313-320 | src/Orleans.Runtime/Storage/StateStorageBridge.cs:350-357 | src/Orleans.Runtime/Storage/StateStorageBridge.cs:386-395 \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 \u0060src/Orleans.Runtime/Storage/StateStorageBridge.cs:313\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":"src/Orleans.Runtime/Storage/StateStorageBridge.cs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"3934c80adc85c8cdd3495bead56f9f563c48f988c9bc08b4d79090bb89f939e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 3): src/Orleans.Serialization.FSharp/FSharpCodecs.cs:535-544 | src/Orleans.Serialization/Codecs/TupleCodec.cs:441-450 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:397-406 \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 \u0060src/Orleans.Serialization.FSharp/FSharpCodecs.cs:535\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":"src/Orleans.Serialization.FSharp/FSharpCodecs.cs"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec0f558d5c20019a3c627a91c793ac86a34a3eafbb822dc6e7c3e999611b02b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Orleans.Analyzers/GrainInterfaceVersionAnalyzer.cs:1470-1479 | src/Orleans.Analyzers/GrainInterfaceVersionAnalyzer.cs:1510-1521 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Analyzers/GrainInterfaceVersionAnalyzer.cs:1470\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":"src/Orleans.Analyzers/GrainInterfaceVersionAnalyzer.cs"},"region":{"startLine":1470}}}],"partialFingerprints":{"codehealthFindingId/v1":"07f9aedb4b4cef702e2dee5f8606bf9e1556b191ca82bf30c8999fd9d7a3752f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Orleans.BroadcastChannel/ChannelId.cs:97-106 | src/Orleans.Streaming/StreamId.cs:104-113 \u2014 before extracting anything, compare \u0060src/Orleans.BroadcastChannel/ChannelId.cs\u0060 and \u0060src/Orleans.Streaming/StreamId.cs\u0060 as WHOLE FILES: this scan already matched 4 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. 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 \u0060src/Orleans.BroadcastChannel/ChannelId.cs:97\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 \u0060ns\u0060 to \u0060string\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":"src/Orleans.BroadcastChannel/ChannelId.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb5d10da5a439008feb37fe9b1950191718c9dea007ffd677f2820015da236c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Orleans.Core/Core/DefaultClientServices.cs:247-256 | src/Orleans.Runtime/Hosting/DefaultSiloServices.cs:531-540 \u2014 before extracting anything, compare \u0060src/Orleans.Core/Core/DefaultClientServices.cs\u0060 and \u0060src/Orleans.Runtime/Hosting/DefaultSiloServices.cs\u0060 as WHOLE FILES: this scan already matched 5 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. 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060builder\u0060 to \u0060IClientBuilder\u0060 in one and \u0060ISiloBuilder\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":"src/Orleans.Core/Core/DefaultClientServices.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"c91745c688700b22d083eccd1f8b7058c2dfcb4bf9b35858800270d1a890a35b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Orleans.Runtime/Silo/SiloControl.cs:133-143 | src/Orleans.Runtime/Silo/SiloControl.cs:374-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 \u0060src/Orleans.Runtime/Silo/SiloControl.cs:133\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":"src/Orleans.Runtime/Silo/SiloControl.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5607978c73ee67731f07db34049dddf91fd4e58d87966344d8d089b894f243"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:1308-1317 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1088-1097 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":1308}}}],"partialFingerprints":{"codehealthFindingId/v1":"669dbfc7f00f866c105ec6ad249f5fc12c01067a47a8d4da7f372bbe14730cfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:1457-1466 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1202-1211 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":1457}}}],"partialFingerprints":{"codehealthFindingId/v1":"56c1a905c7c1c34005d742f9db743d215d5c0538a78838714f0d80212c7bfc28"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Orleans.TestingHost/InProcess/InProcessMembershipTable.cs:183-192 | src/Orleans.TestingHost/InProcess/InProcessMembershipTable.cs:203-212 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.TestingHost/InProcess/InProcessMembershipTable.cs:183\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/InProcess/InProcessMembershipTable.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d24ab9aa66b1da2e1e742baedfb7e2e447af29717f7252c315c2e7acf3cef7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/Orleans.Clustering.Consul/ConsulGatewayListProvider.cs:68-77 | src/Orleans.Clustering.ZooKeeper/ZooKeeperGatewayListProvider.cs:90-98 \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 \u0060src/Orleans.Clustering.Consul/ConsulGatewayListProvider.cs:68\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Clustering.Consul/ConsulGatewayListProvider.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"589dc2f4f0ffdae2fb99641160506fc34c7f328e0d08897714365a91828fc9d3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs:23-32 | src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipHelper.cs:24-33 \u2014 before extracting anything, compare \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs\u0060 and \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipHelper.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 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 \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs:23\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 \u0060options\u0060 to \u0060DynamoDBGatewayOptions\u0060 in one and \u0060DynamoDBClusteringOptions\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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"207524bfbd41675110758af08b6dd1ffbe6f930fb6837a40d6ea5e4e9e458ed9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201310 lines \u00D7 2): src/AWS/Orleans.Clustering.DynamoDB/Membership/SiloInstanceRecord.cs:113-121 | src/Azure/Orleans.Clustering.AzureStorage/SiloInstanceTableEntry.cs:91-100 \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 \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/SiloInstanceRecord.cs:113\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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/SiloInstanceRecord.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"89f5bf0976fce647865a1a54a71b395be87d7f7c71f5b9a1a18a2254d385db60"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/AWS/Orleans.Journaling.S3/S3JournalStorage.cs:517-526 | src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs:441-451 \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 \u0060src/AWS/Orleans.Journaling.S3/S3JournalStorage.cs:517\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":"src/AWS/Orleans.Journaling.S3/S3JournalStorage.cs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"54d64a0d21e9764c042eff37f6494715fe6fe4e2f1c1d59e9c50439f6ff6b54e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u20139 lines \u00D7 7): src/Orleans.Serialization.FSharp/FSharpCodecs.cs:867-875 | src/Orleans.Serialization/Codecs/TupleCodec.cs:819-827 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1035-1042 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1269-1276 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:694-702 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:864-871 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1049-1056 \u2014 there are 7 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 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.Serialization.FSharp/FSharpCodecs.cs:867\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":"src/Orleans.Serialization.FSharp/FSharpCodecs.cs"},"region":{"startLine":867}}}],"partialFingerprints":{"codehealthFindingId/v1":"1117b52565b46a91c708494eae7ee3bdda7333406f3614c892e72eb264653dd1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/Orleans.Serialization/Codecs/IntegerCodec.cs:506-514 | src/Orleans.Serialization/Codecs/IntegerCodec.cs:531-539 | src/Orleans.Serialization/Codecs/IntegerCodec.cs:557-565 \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 \u0060src/Orleans.Serialization/Codecs/IntegerCodec.cs:506\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":"src/Orleans.Serialization/Codecs/IntegerCodec.cs"},"region":{"startLine":506}}}],"partialFingerprints":{"codehealthFindingId/v1":"361f178439e7b97511da1671d4ecbf8237eb80d4b0a0cc9d7239bfbd2d1f6b06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs:26-34 | src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipHelper.cs:27-35 | src/AWS/Orleans.Reminders.DynamoDB/Reminders/DynamoDbReminderStorageOptionsExtensions.cs:27-35 \u2014 before extracting anything, compare \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs\u0060 and \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipHelper.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 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. 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 \u0060options\u0060 to \u0060DynamoDBGatewayOptions\u0060 in one and \u0060DynamoDBClusteringOptions\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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef591bf2f0576d23d8b468fe308f4329b099397bbdf01288c63006c43ea943db"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs:447-455 | src/Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs:1347-1355 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs:447\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":"src/Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcfbc38ff8caa597c37e233a4be59671463788f4310fd62bd7503e6bdbeceaf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs:915-923 | src/Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs:954-962 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs:915\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":"src/Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs"},"region":{"startLine":915}}}],"partialFingerprints":{"codehealthFindingId/v1":"3675f664b329eec36a027cb90e98ae2b7683130ad9c59c3b9d54edf57a6b92ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Orleans.CodeGenerator/ProxySourceOutputGenerator.cs:27-35 | src/Orleans.CodeGenerator/ProxySourceOutputGenerator.cs:115-123 \u2014 both copies are in the same file, so extract the block 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":"src/Orleans.CodeGenerator/ProxySourceOutputGenerator.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"95dbba3863202045ed98db509bcdf2b9d6f50def16f00c8d74273e5336c1b011"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Orleans.CodeGenerator/SerializerGenerator.cs:757-765 | src/Orleans.CodeGenerator/SerializerGenerator.cs:1006-1014 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.CodeGenerator/SerializerGenerator.cs:757\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":"src/Orleans.CodeGenerator/SerializerGenerator.cs"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0c5b0887ca1e38c0f7897db1d8390f11012e94a7ad05ffa2b0105e73fe95c11"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableDictionaryCommandCodec.cs:35-43 | src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableSetCommandCodec.cs:33-41 \u2014 before extracting anything, compare \u0060src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableDictionaryCommandCodec.cs\u0060 and \u0060src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableSetCommandCodec.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 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":"src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableDictionaryCommandCodec.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"54e95b2f718595a18c7c3622078cf7b1c4746949c917ace211aca839d387cdab"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableListCommandCodec.cs:23-31 | src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableSetCommandCodec.cs:21-29 \u2014 before extracting anything, compare \u0060src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableListCommandCodec.cs\u0060 and \u0060src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableSetCommandCodec.cs\u0060 as WHOLE FILES: this scan already matched 4 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableListCommandCodec.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2be349d896c6b1781b5e5c89e626eeac48eb66f0ef0cfc243ddc5d0c4e748fd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Orleans.Serialization/Buffers/Writer.cs:378-386 | src/Orleans.Serialization/Buffers/Writer.cs:407-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 \u0060src/Orleans.Serialization/Buffers/Writer.cs:378\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 \u0060value\u0060 to \u0060uint\u0060 in one and \u0060ulong\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":"src/Orleans.Serialization/Buffers/Writer.cs"},"region":{"startLine":378}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ab0806d73e73ac5155d8e1b4e96e87aadc38ea0a2f4459c6c324ace23f6aa85"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Orleans.Serialization/Codecs/SortedDictionaryCodec.cs:107-115 | src/Orleans.Serialization/Codecs/SortedListCodec.cs:115-123 \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 \u0060src/Orleans.Serialization/Codecs/SortedDictionaryCodec.cs:107\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":"src/Orleans.Serialization/Codecs/SortedDictionaryCodec.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"3761761ed7b5ef65de79ba0bdc6405f3b0374ce544592d0f620805c04f8a338f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:278-286 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:268-276 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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 \u0060src/Orleans.Serialization/Codecs/TupleCodec.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f01fecbb8c3a4de4b92b04aec405ce2ff89fd47819f5139abf7405ab9b6800"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:1070-1078 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:899-907 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":1070}}}],"partialFingerprints":{"codehealthFindingId/v1":"f32125b1667225e1be4dfd38e2028e9c7ad6f6c1ea1ba1bd4bb37a989b811b4f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:1210-1218 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1006-1014 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9511a02a87b0e01e84c216a65166a9711c24968d5d9ef04f11eccd7a15e4816"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Orleans.Serialization/ISerializableSerializer/ExceptionCodec.cs:223-231 | src/Orleans.Serialization/ISerializableSerializer/ExceptionCodec.cs:238-246 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Serialization/ISerializableSerializer/ExceptionCodec.cs:238\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, \u0060src/Orleans.Serialization/ISerializableSerializer/ExceptionCodec.cs:237\u0060 calls \u0060WriteField\u0060, \u0060Format\u0060, \u0060GetType\u0060 and \u0060src/Orleans.Serialization/ISerializableSerializer/ExceptionCodec.cs:222\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":"src/Orleans.Serialization/ISerializableSerializer/ExceptionCodec.cs"},"region":{"startLine":223}}}],"partialFingerprints":{"codehealthFindingId/v1":"761959fc47abcb361e0d83a28fa02fafaed70b40ca4a0a03554a63c03dbf29d5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Orleans.Streaming/Generator/GeneratorPooledCache.cs:193-201 | src/Orleans.Streaming/MemoryStreams/MemoryPooledCache.cs:197-205 \u2014 before extracting anything, compare \u0060src/Orleans.Streaming/Generator/GeneratorPooledCache.cs\u0060 and \u0060src/Orleans.Streaming/MemoryStreams/MemoryPooledCache.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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":"src/Orleans.Streaming/Generator/GeneratorPooledCache.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb677a965baf36e922ee2e69ec9b525943a932a5c7d753f45d468a9bdf4fb824"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Orleans.TestingHost/InProcess/InProcessMembershipTable.cs:118-126 | src/Redis/Orleans.Clustering.Redis/Providers/RedisGatewayListProvider.cs:29-37 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Note that the copies do not run to the end of the range shown: their LAST lines are different code, not the same code under different names \u2014 the matched region ends inside that line. Extract the lines above it, and read the last line of each site separately."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/InProcess/InProcessMembershipTable.cs"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ecf7450425adfe21ca6b0d90289ed6071b004530ccaf7f128ad82c75709f08f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/AWS/Orleans.Clustering.DynamoDB/Membership/SiloInstanceRecord.cs:128-136 | src/Azure/Orleans.Clustering.AzureStorage/SiloInstanceTableEntry.cs:116-124 \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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/SiloInstanceRecord.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae1c67829f3841ff64432b78f1353cf7c1158cf846f9dbd57522d0831e351665"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Azure/Orleans.Streaming.EventHubs/Providers/EventDataGeneratorStreamProvider/EventDataGeneratorAdapterFactory.cs:213-221 | src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubAdapterFactory.cs:337-345 \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 \u0060src/Azure/Orleans.Streaming.EventHubs/Providers/EventDataGeneratorStreamProvider/EventDataGeneratorAdapterFactory.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. 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":"src/Azure/Orleans.Streaming.EventHubs/Providers/EventDataGeneratorStreamProvider/EventDataGeneratorAdapterFactory.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bc3120c5dd7f8a22806168bf16ad8eb126705a30633ac65c1f948d3a4c62095"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 4): src/Orleans.Serialization/Codecs/TupleCodec.cs:1210-1217 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1457-1464 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1006-1013 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1202-1209 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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 \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:1210\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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":1210}}}],"partialFingerprints":{"codehealthFindingId/v1":"f931361fb459200b6c539abd2c8d10db130c3492817e798ffd8e93ac0c50687d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/Orleans.Serialization.FSharp/FSharpCodecs.cs:898-905 | src/Orleans.Serialization/Codecs/TupleCodec.cs:850-857 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:725-732 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.FSharp/FSharpCodecs.cs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"f51ec572208cf2b7ab3a6d071469f3fad12b047691f86afb948b301fc2548b3c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3): src/Orleans.Serialization/Buffers/Writer.cs:451-458 | src/Orleans.Serialization/Buffers/Writer.cs:485-492 | src/Orleans.Serialization/Buffers/Writer.cs:510-517 \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 \u0060src/Orleans.Serialization/Buffers/Writer.cs:451\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":"src/Orleans.Serialization/Buffers/Writer.cs"},"region":{"startLine":451}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a91a75b0a10b46604602dab05646baeca60b62249166f258312e5dd7661bcfa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.Analyzers/GenerateSerializationAttributesCodeFix.cs:57-64 | src/Orleans.Analyzers/GenerateSerializationAttributesCodeFix.cs:80-87 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Analyzers/GenerateSerializationAttributesCodeFix.cs:57\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":"src/Orleans.Analyzers/GenerateSerializationAttributesCodeFix.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"5250afe05e1a0eff36c6cdf183292b8571bf62139459b44cb298f44b44f07fa1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.CodeGenerator/Model/MetadataAggregateModelBuilder.cs:169-176 | src/Orleans.CodeGenerator/Model/MetadataAggregateModelBuilder.cs:204-211 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.CodeGenerator/Model/MetadataAggregateModelBuilder.cs:169\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":"src/Orleans.CodeGenerator/Model/MetadataAggregateModelBuilder.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"1bd453b2f4c01cff7f6b17a1bfdce6caebf3d4399c0d1e19f4893c7b09067dc4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.Core.Abstractions/IDs/SiloAddress.cs:421-428 | src/Orleans.Core.Abstractions/IDs/SiloAddress.cs:436-443 \u2014 both copies are in the same file, so extract the block 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":"src/Orleans.Core.Abstractions/IDs/SiloAddress.cs"},"region":{"startLine":421}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ef33509d2ee6057fa392af51ef7fb679c24b6fe3d9694e446bad870397ad0ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.Core/Core/DefaultClientServices.cs:57-65 | src/Orleans.Runtime/Hosting/DefaultSiloServices.cs:78-85 \u2014 before extracting anything, compare \u0060src/Orleans.Core/Core/DefaultClientServices.cs\u0060 and \u0060src/Orleans.Runtime/Hosting/DefaultSiloServices.cs\u0060 as WHOLE FILES: this scan already matched 5 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. 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":"src/Orleans.Core/Core/DefaultClientServices.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ee29536ea2b945830f02006cf6b6b44084bd23a7eafc301ac0f313455fb6875"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.Serialization.MessagePack/MessagePackCodec.cs:52-59 | src/Orleans.Serialization.SystemTextJson/JsonCodec.cs:46-53 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization.MessagePack/MessagePackCodec.cs\u0060 and \u0060src/Orleans.Serialization.SystemTextJson/JsonCodec.cs\u0060 as WHOLE FILES: this scan already matched 6 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. 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 \u0060src/Orleans.Serialization.MessagePack/MessagePackCodec.cs:52\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 \u0060options\u0060 to \u0060IOptions\u003CMessagePackCodecOptions\u003E\u0060 in one and \u0060IOptions\u003CJsonCodecOptions\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":"src/Orleans.Serialization.MessagePack/MessagePackCodec.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"57925cc49d3e317a1b9110f097e676b942adac1226c743181c733da4233e88b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.Serialization/Codecs/DictionaryCodec.cs:20-27 | src/Orleans.Serialization/Codecs/DictionaryCodec.cs:229-236 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Serialization/Codecs/DictionaryCodec.cs:20\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":"src/Orleans.Serialization/Codecs/DictionaryCodec.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b75d239d70e921f2f554f5b4e897b76cb9217b82010dc04f13b60138e3fec942"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:164-171 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:184-191 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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 \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:164\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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"321fa4a8f92335149faea186caee23fb9f592eb687c07eaf4a4b9a999f056fbd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:313-320 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:302-309 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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 \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:313\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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"acabab977862c4447e369659234a681c5b0bbe4e57884da2ee82f8f2afc00b3f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:1097-1104 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:921-928 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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 \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:1097\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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"9924571460344a798fa77bbc007ef99b952bfe086d23f6e5ac02f8b35454e175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:1183-1190 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1427-1434 \u2014 both copies are in the same file, so extract the block 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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":1183}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9d9b1fb8412b8e2fb6af068691b000538a1915a5c73a692075e068b1da2f71f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:1336-1343 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1112-1119 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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 \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:1336\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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9fe280d82d9bf3341df0b81fd4b2dd06e05983aa9bf487516c9776892c9aa5b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:1428-1435 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1173-1180 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":1428}}}],"partialFingerprints":{"codehealthFindingId/v1":"3800a0efc8adcdd6e2886f03560a84da8edc4eb4c992afcdef39cb0880004e72"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:979-986 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1172-1179 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:979\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":"src/Orleans.Serialization/Codecs/ValueTupleCodec.cs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"4451a848c9c35e161fe23bee6454c0bd7ccbf8dc01396d948c08d3b44396e07d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/AdoNet/Orleans.Persistence.AdoNet/Storage/Provider/JenkinsHash.cs:60-67 | src/AdoNet/Orleans.Persistence.AdoNet/Storage/Provider/JenkinsHash.cs:68-75 \u2014 both copies are in the same file, so extract the block 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":"src/AdoNet/Orleans.Persistence.AdoNet/Storage/Provider/JenkinsHash.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ae8f5abe9e589ef00e42ee5875b2158cfb10960b0a255e6c661481a0033453a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Redis/Orleans.Reminders.Redis/Storage/RedisReminderTable.cs:86-93 | src/Redis/Orleans.Reminders.Redis/Storage/RedisReminderTable.cs:115-122 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Redis/Orleans.Reminders.Redis/Storage/RedisReminderTable.cs:86\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":"src/Redis/Orleans.Reminders.Redis/Storage/RedisReminderTable.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01046ab7d63c478456ae31e8c59b606b0f4009b1449fec1ae363dec4d5891ed"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 7): src/Orleans.Serialization.FSharp/FSharpCodecs.cs:898-904 | src/Orleans.Serialization/Codecs/TupleCodec.cs:850-856 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1070-1076 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1308-1314 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:725-731 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:899-905 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1088-1094 \u2014 there are 7 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 7 sites; resolving a subset leaves the remainder to drift apart. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.Serialization.FSharp/FSharpCodecs.cs:898\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, \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:1077\u0060 calls \u0060UnwrapService\u0060 and \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:857\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":"src/Orleans.Serialization.FSharp/FSharpCodecs.cs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"743b9a8e2ccc7bf30c81b17c406361c9efc47f54234bf46fb2e1bb1721d9e084"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/Orleans.Serialization/Codecs/TupleCodec.cs:1184-1190 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1428-1434 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:980-986 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1173-1179 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"85dbac9e7cb00b6e2dcc42bd786579d4179152f6dc360fec4417fa45ee1aebbf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Orleans.BroadcastChannel/ChannelId.cs:120-126 | src/Orleans.Streaming/StreamId.cs:132-138 \u2014 before extracting anything, compare \u0060src/Orleans.BroadcastChannel/ChannelId.cs\u0060 and \u0060src/Orleans.Streaming/StreamId.cs\u0060 as WHOLE FILES: this scan already matched 4 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. 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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060ns\u0060 to \u0060string\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":"src/Orleans.BroadcastChannel/ChannelId.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"340da67cb2d4e2b476370f65854fda3a9ced9fafd8aea4718d70e0dd029fa348"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Orleans.Core/Core/DefaultClientServices.cs:239-245 | src/Orleans.Runtime/Hosting/DefaultSiloServices.cs:523-529 \u2014 before extracting anything, compare \u0060src/Orleans.Core/Core/DefaultClientServices.cs\u0060 and \u0060src/Orleans.Runtime/Hosting/DefaultSiloServices.cs\u0060 as WHOLE FILES: this scan already matched 5 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. 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 first that the copies are not typed on the same thing: the declarations holding them bind \u0060builder\u0060 to \u0060IClientBuilder\u0060 in one and \u0060ISiloBuilder\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":"src/Orleans.Core/Core/DefaultClientServices.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9383bcf72be59a81babb225866fd5c57b2ca2b46c84beddf9598da015075db8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Orleans.Runtime/Catalog/ActivationData.cs:1927-1933 | src/Orleans.Runtime/Catalog/ActivationData.cs:2079-2085 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Runtime/Catalog/ActivationData.cs:1927\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, \u0060src/Orleans.Runtime/Catalog/ActivationData.cs:2086\u0060 calls \u0060SetTag\u0060, \u0060ToString\u0060 and \u0060src/Orleans.Runtime/Catalog/ActivationData.cs:1934\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":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":1927}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1954609fd8b2df36c7db7d1dccb5f6275831c5480a2e5b2f41f003a22e58b22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Orleans.Runtime/MembershipService/InMemoryMembershipTable.cs:50-56 | src/Orleans.Runtime/MembershipService/InMemoryMembershipTable.cs:62-68 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Runtime/MembershipService/InMemoryMembershipTable.cs:50\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":"src/Orleans.Runtime/MembershipService/InMemoryMembershipTable.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"95823cdb19ff3a39981854ead916ea0c32df257a2c35bd7aa0ebf71a06a4484e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Orleans.Serialization/Codecs/StackCodec.cs:151-157 | src/Orleans.Serialization/Codecs/StackCodec.cs:167-174 \u2014 both copies are in the same file, so extract the block 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":"src/Orleans.Serialization/Codecs/StackCodec.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a69420b0cd51622fa1bbf2f3597ab943170f867ad038d72dc33581ed71ff80a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:482-488 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:437-443 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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 \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:482\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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"92807fd32b3f98b61869cb0abebaf706f8e36289974048d45733b26737d1790a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:670-676 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:584-590 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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 \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:670\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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":670}}}],"partialFingerprints":{"codehealthFindingId/v1":"158588329ce21d09bebe44091c286932f3642886c80edb4c5ff6128ec698e39b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:875-881 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:745-752 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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 \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:875\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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"27e8ab05f5be92bcbdbf7a71125ca2762e50c10872c430cb5f818d0e836c2f17"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Orleans.Streaming/Generator/GeneratorAdapterFactory.cs:112-118 | src/Orleans.Streaming/MemoryStreams/MemoryAdapterFactory.cs:118-124 \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":"src/Orleans.Streaming/Generator/GeneratorAdapterFactory.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9568d062c2b92b22d58be135716c222edbb0c5fc8acbb2b27af3052c2fd7ec8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Orleans.Streaming/Generator/GeneratorPooledCache.cs:253-259 | src/Orleans.Streaming/MemoryStreams/MemoryPooledCache.cs:261-267 \u2014 before extracting anything, compare \u0060src/Orleans.Streaming/Generator/GeneratorPooledCache.cs\u0060 and \u0060src/Orleans.Streaming/MemoryStreams/MemoryPooledCache.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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":"src/Orleans.Streaming/Generator/GeneratorPooledCache.cs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d5ffa94194930ce289a672c01f8394e0a35755302d0ab3bfc8df989dbb034f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/AWS/Orleans.Clustering.DynamoDB/Membership/SiloInstanceRecord.cs:138-144 | src/Azure/Orleans.Clustering.AzureStorage/SiloInstanceTableEntry.cs:129-135 \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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/SiloInstanceRecord.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3be0df163d3960220260a32852dccf18cbc96bde491533830707779e3818d99"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 12): src/Orleans.Serialization/Codecs/TupleCodec.cs:312-317 | src/Orleans.Serialization/Codecs/TupleCodec.cs:479-484 | src/Orleans.Serialization/Codecs/TupleCodec.cs:666-671 | src/Orleans.Serialization/Codecs/TupleCodec.cs:870-875 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1091-1096 | src/Orleans.Serialization/Codecs/TupleCodec.cs:1330-1335 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:301-306 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:434-439 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:580-585 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:740-745 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:915-920 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1106-1111 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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, \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:485\u0060 calls \u0060WriteField\u0060 and \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs:319\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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":312}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b686e64c460fda12772c8c8f89b59c738f07882f3b4ec249010c62825ef8185"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 7): src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:183-188 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:300-305 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:433-438 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:579-584 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:739-744 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:914-919 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:1105-1110 \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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:183\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, \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:306\u0060 calls \u0060WriteField\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:190\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":"src/Orleans.Serialization/Codecs/ValueTupleCodec.cs"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"756746e57829fd52d7353f0750288633bcae061e4b75cc05fa9ca906612521bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/Orleans.Serialization/Serializer.cs:82-87 | src/Orleans.Serialization/Serializer.cs:99-104 | src/Orleans.Serialization/Serializer.cs:234-239 | src/Orleans.Serialization/Serializer.cs:251-256 \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 \u0060src/Orleans.Serialization/Serializer.cs:82\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization/Serializer.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed0059907bcebf7c8653ac884ae78578ac35e991c28a870fcc20f5bda576470e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 4): src/Orleans.Serialization/Serializer.cs:80-85 | src/Orleans.Serialization/Serializer.cs:182-187 | src/Orleans.Serialization/Serializer.cs:232-237 | src/Orleans.Serialization/Serializer.cs:266-271 \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 \u0060src/Orleans.Serialization/Serializer.cs:80\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization/Serializer.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"13f8d0c6494de637947bff3061cd3d3c57d40edc2695ed1cc058a8e1a0be01dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs:58-63 | src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipHelper.cs:67-72 | src/AWS/Orleans.Reminders.DynamoDB/Reminders/DynamoDbReminderStorageOptionsExtensions.cs:59-64 \u2014 before extracting anything, compare \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs\u0060 and \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipHelper.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 82 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 \u0060src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs:58\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. 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 \u0060options\u0060 to \u0060DynamoDBGatewayOptions\u0060 in one and \u0060DynamoDBClusteringOptions\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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBGatewayListProviderHelper.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6c4d004aa17f1985e67f562bfd87886936ae4d3239d1f6a67610d266266c38b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs:414-419 | src/Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs:1347-1352 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs:414\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":"src/Orleans.CodeGenerator.Shared/InvokableBaseTypeResolver.cs"},"region":{"startLine":414}}}],"partialFingerprints":{"codehealthFindingId/v1":"054bd4f60cc6e2597f43624dbbfeed4d4bcaf4a9d1a0aac9c4b679717feed824"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Orleans.CodeGenerator/Model/MetadataAggregateModelBuilder.cs:162-167 | src/Orleans.CodeGenerator/Model/MetadataAggregateModelBuilder.cs:197-202 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.CodeGenerator/Model/MetadataAggregateModelBuilder.cs:162\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 \u0060entries\u0060 to \u0060ImmutableArray\u003CSerializableTypeModel\u003E\u0060 in one and \u0060ImmutableArray\u003CProxyInterfaceModel\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":"src/Orleans.CodeGenerator/Model/MetadataAggregateModelBuilder.cs"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"def1637ba2a0cca4954c84a296cb694c47b449817eb66888499228a4f7438c57"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Dashboard/Orleans.Dashboard/Implementation/Helpers/GrainStateHelper.cs:77-82 | src/Dashboard/Orleans.Dashboard/Implementation/Helpers/GrainStateHelper.cs:85-90 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Dashboard/Orleans.Dashboard/Implementation/Helpers/GrainStateHelper.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. 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":"src/Dashboard/Orleans.Dashboard/Implementation/Helpers/GrainStateHelper.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03cf86b583d6fdd089293fa4ce452163ba6833a51e3a62fe41a1e4727be22b2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/Orleans.CodeGenerator/Model/MetadataAggregateModelBuilder.cs:169-173 | src/Orleans.CodeGenerator/Model/MetadataAggregateModelBuilder.cs:204-208 | src/Orleans.CodeGenerator/SerializableSourceOutputGenerator.cs:141-145 \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 \u0060src/Orleans.CodeGenerator/Model/MetadataAggregateModelBuilder.cs:169\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":"src/Orleans.CodeGenerator/Model/MetadataAggregateModelBuilder.cs"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc4b28f7513b22c373c5b9e6a708da0b97a23bb8ccfa69e74a0445d5f336f370"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Orleans.CodeGenerator/Model/GeneratedInvokableDescription.cs:93-97 | src/Orleans.CodeGenerator/Model/ProxyMethodDescription.cs:166-170 \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 \u0060src/Orleans.CodeGenerator/Model/GeneratedInvokableDescription.cs:93\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":"src/Orleans.CodeGenerator/Model/GeneratedInvokableDescription.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"95abaae83d6b17a949fb18864f3fd5895eb1071b0a43dd4599287fd5bae7f906"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (2\u20135 lines \u00D7 3): src/AdoNet/Orleans.Persistence.AdoNet/Storage/Provider/AdoNetGrainStorage.cs:192-196 | src/AdoNet/Orleans.Persistence.AdoNet/Storage/Provider/AdoNetGrainStorage.cs:254-255 | src/AdoNet/Orleans.Persistence.AdoNet/Storage/Provider/AdoNetGrainStorage.cs:317-321 \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 \u0060src/AdoNet/Orleans.Persistence.AdoNet/Storage/Provider/AdoNetGrainStorage.cs:192\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":"src/AdoNet/Orleans.Persistence.AdoNet/Storage/Provider/AdoNetGrainStorage.cs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d7411c433240231c4d0c5b0ab05a1984c557080f751c90857c32c06b2129491"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/AWS/Orleans.Clustering.DynamoDB/Membership/SiloInstanceRecord.cs:109-113 | src/Azure/Orleans.Clustering.AzureStorage/SiloInstanceTableEntry.cs:76-81 \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 \u0060src/Azure/Orleans.Clustering.AzureStorage/SiloInstanceTableEntry.cs:76\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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/SiloInstanceRecord.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"3625dc246b3582ad42ac60886086cde991eb3da1b2c37941ba9160d0c97ebdf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Orleans.Streaming/Internal/PeriodicAction.cs:12-24 | src/Orleans.Transactions/Utilities/PeriodicAction.cs:12-24 \u2014 before extracting anything, compare \u0060src/Orleans.Streaming/Internal/PeriodicAction.cs\u0060 and \u0060src/Orleans.Transactions/Utilities/PeriodicAction.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. 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":"src/Orleans.Streaming/Internal/PeriodicAction.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e1b4f07f66a7b12fed963081aa1907da5d249755e153f473762a0dcd7c747e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2): playground/ChaoticCluster/ChaoticCluster.ServiceDefaults/Extensions.cs:43-63 | playground/DurableJobsJournaling/DurableJobsJournaling.ServiceDefaults/Extensions.cs:53-120 \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":"playground/ChaoticCluster/ChaoticCluster.ServiceDefaults/Extensions.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"a054edb2166c325798d74002063db94977547c2b5065b92ad73c9674c4420549"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Orleans.BroadcastChannel/ChannelId.cs:56-60 | src/Orleans.Streaming/StreamId.cs:63-67 \u2014 before extracting anything, compare \u0060src/Orleans.BroadcastChannel/ChannelId.cs\u0060 and \u0060src/Orleans.Streaming/StreamId.cs\u0060 as WHOLE FILES: this scan already matched 4 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. 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":"src/Orleans.BroadcastChannel/ChannelId.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"93a82848b87a391e824aa0e123be7e8c9c4629d85d63cf7e8063414217fb16bc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.BroadcastChannel/SubscriberTable/Predicates/DefaultStreamNamespacePredicateProvider.cs:49-56 | src/Orleans.Streaming/PubSub/DefaultStreamNamespacePredicateProvider.cs:49-56 \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":"src/Orleans.BroadcastChannel/SubscriberTable/Predicates/DefaultStreamNamespacePredicateProvider.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c3b4febda493c2f6571e8f8b3ba0ed185608bf8447f3e7a2ef639866275b4f3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Orleans.CodeGenerator/ActivatorGenerator.cs:107-112 | src/Orleans.CodeGenerator/ProxyGenerator.cs:548-553 \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":"src/Orleans.CodeGenerator/ActivatorGenerator.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"16d58e1dfc91647e7e63cd8524f0f4d035785180ddbffb8fcfdb9814ae1aa66e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Orleans.CodeGenerator/CopierGenerator.cs:210-219 | src/Orleans.CodeGenerator/SerializerGenerator.cs:238-247 \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":"src/Orleans.CodeGenerator/CopierGenerator.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bf916e42540e009e4a6c1ade86bf9c5641a15bef10dd638e31633bbb2070150"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Orleans.CodeGenerator/CopierGenerator.cs:221-226 | src/Orleans.CodeGenerator/SerializerGenerator.cs:249-254 \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":"src/Orleans.CodeGenerator/CopierGenerator.cs"},"region":{"startLine":221}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f3d670db015b6f7b561e9004fd0bca1ba116b9a9140d9ffaaa8110521b7a326"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Orleans.Core.Abstractions/Manifest/GrainInterfaceProperties.cs:27-32 | src/Orleans.Core.Abstractions/Manifest/GrainProperties.cs:28-33 \u2014 before extracting anything, compare \u0060src/Orleans.Core.Abstractions/Manifest/GrainInterfaceProperties.cs\u0060 and \u0060src/Orleans.Core.Abstractions/Manifest/GrainProperties.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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":"src/Orleans.Core.Abstractions/Manifest/GrainInterfaceProperties.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"030175d3983977b5ee8c82f12b5153060a18378f2dc58c97f72a53cf34fc3fd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Orleans.Core.Abstractions/Manifest/GrainInterfaceProperties.cs:122-132 | src/Orleans.Core.Abstractions/Manifest/GrainProperties.cs:123-133 \u2014 before extracting anything, compare \u0060src/Orleans.Core.Abstractions/Manifest/GrainInterfaceProperties.cs\u0060 and \u0060src/Orleans.Core.Abstractions/Manifest/GrainProperties.cs\u0060 as WHOLE FILES: this scan already matched 3 separate duplicated blocks between them, totalling at least 41 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":"src/Orleans.Core.Abstractions/Manifest/GrainInterfaceProperties.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f53eebd64afafd7be9278bd42c3c589ace3337f4d06baaf635160ec7af71d54b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Orleans.Core/Manifest/ClientManifestProvider.cs:59-67 | src/Orleans.Runtime/Manifest/SiloManifestProvider.cs:95-103 \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":"src/Orleans.Core/Manifest/ClientManifestProvider.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ebccb70600a124e68c2830fae83c62a1d83b3ca06fd9d37d2bc7c393a8cb34"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Orleans.Core/Messaging/CachingIdSpanCodec.cs:78-87 | src/Orleans.Core/Messaging/CachingSiloAddressCodec.cs:87-96 \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":"src/Orleans.Core/Messaging/CachingIdSpanCodec.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0185458623ea0b816d8b87dde6e6519a9ba1bad5e5c1ccf2592a377538eadeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Orleans.Core/Runtime/ClientGrainContext.cs:135-144 | src/Orleans.Runtime/Core/HostedClient.cs:387-396 \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":"src/Orleans.Core/Runtime/ClientGrainContext.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"df7e76327c0846e6f213482ee8e935e28b42c27eabfc5f29c3ab3240a0000769"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Orleans.Core/Runtime/MembershipTableSnapshot.cs:255-264 | src/Orleans.Runtime/MembershipService/ClusterMembershipSnapshot.cs:189-198 \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":"src/Orleans.Core/Runtime/MembershipTableSnapshot.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"f620dea4180c5dda6cffb11ba3a61b94a2645cbd51f1430411dfce363f07b6d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Orleans.Core/Runtime/MembershipTableSnapshot.cs:266-270 | src/Orleans.Runtime/MembershipService/ClusterMembershipSnapshot.cs:200-204 \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":"src/Orleans.Core/Runtime/MembershipTableSnapshot.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"a60cb6a1f2ecf232e38028db4e0f75c722b1784ee0d20b02b54588a97e193d2c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Orleans.Core/Serialization/OrleansJsonSerializer.cs:285-293 | src/Redis/Orleans.Clustering.Redis/Storage/JsonSettings.cs:55-63 \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":"src/Orleans.Core/Serialization/OrleansJsonSerializer.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"e74a9e4c0a2d09962fb36178eea8a11fd83a16969eb99d92fbc36176e4c2f400"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Orleans.Core/Serialization/OrleansJsonSerializer.cs:297-302 | src/Redis/Orleans.Clustering.Redis/Storage/JsonSettings.cs:66-71 \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":"src/Orleans.Core/Serialization/OrleansJsonSerializer.cs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"a04afba7c057c8bd0c3d42b913972afbe46dd76fe386f9861473801304c5ad73"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/Orleans.EventSourcing/CustomStorage/LogViewAdaptor.cs:300-306 | src/Orleans.EventSourcing/LogStorage/LogViewAdaptor.cs:312-318 | src/Orleans.EventSourcing/StateStorage/LogViewAdaptor.cs:280-286 \u2014 \u0060src/Orleans.EventSourcing/LogStorage/LogViewAdaptor.cs\u0060 and \u0060src/Orleans.EventSourcing/StateStorage/LogViewAdaptor.cs\u0060 are one unit implemented once per sibling directory, so they are most likely parallel implementations of one contract rather than a copy of each other \u2014 this scan matched 3 separate duplicated blocks between them, totalling at least 47 lines. If both are selected at run time, neither can be retired in favour of the other, and the lines that DIFFER between them are the reason both exist. The move that pays here is to hoist the identical part into a shared location the whole family can reach and give what differs a parameter or a seam, so a change lands once instead of once per sibling; extracting one helper per block leaves every sibling to drift on its own."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.EventSourcing/CustomStorage/LogViewAdaptor.cs"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"25a1493028059cc350abac8009d2a0f74bfe7d5cab5dc57d3794ba7983689bc5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Orleans.EventSourcing/Hosting/LogStorageSiloBuilderExtensions.cs:38-42 | src/Orleans.EventSourcing/Hosting/StateStorageSiloBuilderExtensions.cs:38-42 \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":"src/Orleans.EventSourcing/Hosting/LogStorageSiloBuilderExtensions.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7b306d5ee4ea3692feb921189e60b25169ca7bfe22ae314e055cda75f70580f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 4): src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableDictionaryCommandCodec.cs:47-53 | src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableListCommandCodec.cs:72-78 | src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableQueueCommandCodec.cs:43-49 | src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableSetCommandCodec.cs:45-51 \u2014 before extracting anything, compare \u0060src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableDictionaryCommandCodec.cs\u0060 and \u0060src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableSetCommandCodec.cs\u0060 as WHOLE FILES: this scan already matched 4 separate duplicated blocks between them, totalling at least 39 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":"src/Orleans.Journaling/Formats/OrleansBinary/OrleansBinaryDurableDictionaryCommandCodec.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e25fbd66137425065c6f2328976fd293799e68a071d0d9106179c29d33df7e4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.Runtime/Catalog/ActivationWorkingSet.cs:204-211 | src/Orleans.Runtime/Catalog/IncomingRequestMonitor.cs:54-61 \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":"src/Orleans.Runtime/Catalog/ActivationWorkingSet.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffdff136f96ff2d8c053cd29101207966a320a4186519d0ee40c6eaf9677c175"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): src/Orleans.Runtime/Catalog/GrainTypeSharedContext.cs:214-222 | src/Orleans.Runtime/Core/SystemTarget.cs:133-146 \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":"src/Orleans.Runtime/Catalog/GrainTypeSharedContext.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"47dcbb10fba2cc6d59491d618f41c2e3b03fc05da8953882e7300656c7cf7672"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/Orleans.Serialization.FSharp/FSharpCodecs.cs:409-413 | src/Orleans.Serialization/Codecs/TupleCodec.cs:298-302 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:288-292 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.FSharp/FSharpCodecs.cs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8ae78e337d5d67fd8e8120e11467d23759cd576e4c97ed700b39f7af40dc372"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): src/Orleans.Serialization.FSharp/FSharpCodecs.cs:558-563 | src/Orleans.Serialization/Codecs/TupleCodec.cs:464-469 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:420-425 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.FSharp/FSharpCodecs.cs"},"region":{"startLine":558}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1a1b93e6413ff7b5f16c2946d3ade71b88f5a0c349f824df0850c7442d556cc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): src/Orleans.Serialization.FSharp/FSharpCodecs.cs:721-727 | src/Orleans.Serialization/Codecs/TupleCodec.cs:647-653 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:566-572 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 3 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 3 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.FSharp/FSharpCodecs.cs"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1b33701293f9a13b659463851a39226d0e1dd021d64c14704e546bb900089da"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): src/Orleans.Serialization/Buffers/Adaptors/BufferWriterExtensions.cs:11-24 | src/Orleans.Serialization/Buffers/ArcBufferWriter.cs:1294-1307 \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":"src/Orleans.Serialization/Buffers/Adaptors/BufferWriterExtensions.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ce60365797caf39f44a7abcbfa8b89089a4124dfd78d22d1edbe1ad40c081d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Orleans.Serialization/Buffers/ArcBufferWriter.cs:918-927 | src/Orleans.Serialization/Buffers/PooledBuffer.cs:908-917 \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":"src/Orleans.Serialization/Buffers/ArcBufferWriter.cs"},"region":{"startLine":918}}}],"partialFingerprints":{"codehealthFindingId/v1":"a164c6187a1aa6340774ad6a4cd26e777133990c5e3f38e6c447ddb23796cd4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Orleans.Serialization/Buffers/ArcBufferWriter.cs:936-945 | src/Orleans.Serialization/Buffers/PooledBuffer.cs:920-929 \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":"src/Orleans.Serialization/Buffers/ArcBufferWriter.cs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"73425ed7f089e342f690b2b7575292fb0848d91af1f14c05bfd79bf7e91ddfe7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Orleans.Serialization/Codecs/ObjectCodec.cs:69-78 | src/Orleans.Serialization/Serializers/AbstractTypeSerializer.cs:63-72 \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":"src/Orleans.Serialization/Codecs/ObjectCodec.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"57df2121b6d06e63410acd49100b0c40bf1caeb50f56b2212e5c7f8efcee2965"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:570-575 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:505-510 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":570}}}],"partialFingerprints":{"codehealthFindingId/v1":"6dab738d0025772f0f653633818a316f1ccf0ac66594caa094e306563bf52311"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:766-772 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:657-663 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":766}}}],"partialFingerprints":{"codehealthFindingId/v1":"053ae791dbb1ae5142a17057a03e8030048682a4ce264127fddc772b2be014c0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.Serialization/Codecs/TupleCodec.cs:979-986 | src/Orleans.Serialization/Codecs/ValueTupleCodec.cs:824-831 \u2014 before extracting anything, compare \u0060src/Orleans.Serialization/Codecs/TupleCodec.cs\u0060 and \u0060src/Orleans.Serialization/Codecs/ValueTupleCodec.cs\u0060 as WHOLE FILES: this scan already matched 31 separate duplicated blocks between them, totalling at least 283 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":"src/Orleans.Serialization/Codecs/TupleCodec.cs"},"region":{"startLine":979}}}],"partialFingerprints":{"codehealthFindingId/v1":"4dfb531921db616e8d12c50e3d53ea4b566cb9d7d9bdb40585de7f190bdb9126"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Orleans.Streaming/Common/EventSequenceToken.cs:110-119 | src/Orleans.Streaming/Common/EventSequenceTokenV2.cs:109-118 \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":"src/Orleans.Streaming/Common/EventSequenceToken.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"209f7c4ab1c60d3bb8b602b632d7e3bab54cdb03374f6f57486529a4f2a8417d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Orleans.Streaming/Common/SimpleCache/SimpleQueueCacheCursor.cs:102-114 | src/Orleans.Streaming/QueueAdapters/IQueueCacheCursor.cs:42-54 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Streaming/Common/SimpleCache/SimpleQueueCacheCursor.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef8275fababf2227d43090fb483d6ecdd744f12f140f4a18ecf903ce6d769b9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): src/Orleans.Streaming/Generator/GeneratorPooledCache.cs:157-171 | src/Orleans.Streaming/MemoryStreams/MemoryPooledCache.cs:161-175 \u2014 before extracting anything, compare \u0060src/Orleans.Streaming/Generator/GeneratorPooledCache.cs\u0060 and \u0060src/Orleans.Streaming/MemoryStreams/MemoryPooledCache.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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":"src/Orleans.Streaming/Generator/GeneratorPooledCache.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"3614ebd555f8d97411f89e969b13782008f84a2ad0f4e403ef5f786cb5858db2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Orleans.Streaming/Generator/GeneratorPooledCache.cs:174-178 | src/Orleans.Streaming/MemoryStreams/MemoryPooledCache.cs:178-182 \u2014 before extracting anything, compare \u0060src/Orleans.Streaming/Generator/GeneratorPooledCache.cs\u0060 and \u0060src/Orleans.Streaming/MemoryStreams/MemoryPooledCache.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Streaming/Generator/GeneratorPooledCache.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f9c0cf56f6330639e71a3f0c3e6afa959451f88430957a196f380a88b5c2c7d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Orleans.Streaming/Generator/GeneratorPooledCache.cs:220-229 | src/Orleans.Streaming/MemoryStreams/MemoryPooledCache.cs:228-237 \u2014 before extracting anything, compare \u0060src/Orleans.Streaming/Generator/GeneratorPooledCache.cs\u0060 and \u0060src/Orleans.Streaming/MemoryStreams/MemoryPooledCache.cs\u0060 as WHOLE FILES: this scan already matched 5 separate duplicated blocks between them, totalling at least 46 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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Streaming/Generator/GeneratorPooledCache.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c8d1fd2afd22b492d254a3038177cde2c2ab8117167682bac98c44ebc08ec95"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.TestingHost/InProcessSiloHandle.cs:93-101 | src/Orleans.TestingHost/StandaloneSiloHandle.cs:302-309 \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":"src/Orleans.TestingHost/InProcessSiloHandle.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"4717bdc7c6918157fb77cf98a3b70633357417c5c82522ccc208f287348d4c29"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): src/Orleans.Clustering.ZooKeeper/MembershipSerializerSettings.cs:67-73 | src/Redis/Orleans.Clustering.Redis/Storage/JsonSettings.cs:82-88 \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":"src/Orleans.Clustering.ZooKeeper/MembershipSerializerSettings.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc06d5a18f367b3ecc1581c437ec14f018a1e408517845cda629b7a3a2f5941e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/AWS/Orleans.Streaming.Kinesis/Streams/KinesisBatchContainer.cs:74-81 | src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubBatchContainer.cs:90-97 \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":"src/AWS/Orleans.Streaming.Kinesis/Streams/KinesisBatchContainer.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f821207a691282d5b3511334667f3d1a338bc21dbfc19fff2cf8202069d88e1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2): src/AWS/Orleans.Transactions.DynamoDB/TransactionalState/DynamoDBTransactionalStateStorage.cs:491-507 | src/Azure/Orleans.Transactions.AzureStorage/TransactionalState/AzureTableTransactionalStateStorage.cs:266-282 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. 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":"src/AWS/Orleans.Transactions.DynamoDB/TransactionalState/DynamoDBTransactionalStateStorage.cs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"610b901198acbaf54abafa1d9a2b2028328715c96045f794d1d08ad26b7a3a38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs:1089-1094 | src/Azure/Orleans.Journaling.AzureStorage/AzureTableJournalStorage.cs:1227-1232 \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":"src/Azure/Orleans.Journaling.AzureStorage/AzureBlobJournalStorage.cs"},"region":{"startLine":1089}}}],"partialFingerprints":{"codehealthFindingId/v1":"155f94e8ebf9c65c2c735fd172d5a6106953db7ad926aa3fa4b211381d951353"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubAdapterReceiver.cs:385-396 | src/Redis/Orleans.Streaming.Redis/Storage/RedisStreamStorage.cs:176-187 \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":"src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubAdapterReceiver.cs"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"a62de8b08520077477f977c098cd85817ba7f8d21848ee9c6920b66eb4d6767b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (28 corresponding lines): src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionConcurrencyTestRunner.cs:57-90 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionConcurrencyTestRunner.cs:98-125 \u2014 These two members are one piece of code written twice and then edited apart: 28 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionConcurrencyTestRunner.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"0861fd31f023f56a7f1ae17ffb01b4609272f535e94ad1cdb4c62db4ae9369b1"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (11 members, 50\u002B identical tokens): src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:233-257 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:265-296 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:303-326 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:333-361 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:371-413 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:421-458 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:467-506 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:514-547 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:555-605 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:613-663 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:670-713 \u2014 These 11 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 11 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 11 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee4bf6d25aae4f43f70375302b48f5c18afb4e3d45034bbb5335f1e14bcca983"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): src/Orleans.Transactions.TestKit.Base/TestRunners/GoldenPathTransactionTestRunner.cs:92-115 | src/Orleans.Transactions.TestKit.Base/TestRunners/GoldenPathTransactionTestRunner.cs:124-154 | src/Orleans.Transactions.TestKit.Base/TestRunners/GoldenPathTransactionTestRunner.cs:188-210 | src/Orleans.Transactions.TestKit.Base/TestRunners/GoldenPathTransactionTestRunner.cs:219-241 \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":"src/Orleans.Transactions.TestKit.Base/TestRunners/GoldenPathTransactionTestRunner.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b10dd5d0dafe87ffba95402262046b940781ec66b32b84a6b18786e5e9ffb4d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (40\u201342 lines \u00D7 2): src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:613-654 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:670-709 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs"},"region":{"startLine":613}}}],"partialFingerprints":{"codehealthFindingId/v1":"57d37836a9a17915aeb6a69c98c534c715b4e573baf920f9f5a76d80b18a4f22"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (36 lines \u00D7 2): src/Orleans.TestingHost/InProcTestCluster.cs:268-303 | src/Orleans.TestingHost/TestCluster.cs:349-384 \u2014 before extracting anything, compare \u0060src/Orleans.TestingHost/InProcTestCluster.cs\u0060 and \u0060src/Orleans.TestingHost/TestCluster.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 151 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 \u0060src/Orleans.TestingHost/InProcTestCluster.cs:268\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":"src/Orleans.TestingHost/InProcTestCluster.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2fb9516f074b10079e0c2a7d804ef06a3106909ce4b10786edc196c17c77d6b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (25\u201330 lines \u00D7 2): src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionConcurrencyTestRunner.cs:61-90 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionConcurrencyTestRunner.cs:101-125 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionConcurrencyTestRunner.cs:61\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, \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionConcurrencyTestRunner.cs:60\u0060 calls \u0060RandomTestGrain\u0060 and \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionConcurrencyTestRunner.cs:99\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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionConcurrencyTestRunner.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e06ecf5bee45dc82ee16968c3cef391111f658ca74eab8c11f36c1882ce0ad5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (29 lines \u00D7 2): src/Orleans.Transactions.TestKit.Base/Grains/ExclusiveLockTransactionTestGrain.cs:77-105 | src/Orleans.Transactions.TestKit.Base/Grains/MultiStateTransactionalGrain.cs:205-233 \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":"src/Orleans.Transactions.TestKit.Base/Grains/ExclusiveLockTransactionTestGrain.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a0fb4d9fd5905c731e715f80abf6a4486f9c9c9d156902da1952c4583213932"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/Orleans.TestingHost/InProcTestCluster.cs:319-341 | src/Orleans.TestingHost/TestCluster.cs:400-422 \u2014 before extracting anything, compare \u0060src/Orleans.TestingHost/InProcTestCluster.cs\u0060 and \u0060src/Orleans.TestingHost/TestCluster.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 151 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 \u0060src/Orleans.TestingHost/InProcTestCluster.cs:319\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":"src/Orleans.TestingHost/InProcTestCluster.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1155a632a4dd0cc212ff8012845b467d21715952926812522485d60873ad4ac"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (23 lines \u00D7 2): src/Orleans.TestingHost/InProcTestCluster.cs:769-791 | src/Orleans.TestingHost/TestCluster.cs:815-837 \u2014 before extracting anything, compare \u0060src/Orleans.TestingHost/InProcTestCluster.cs\u0060 and \u0060src/Orleans.TestingHost/TestCluster.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 151 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":"src/Orleans.TestingHost/InProcTestCluster.cs"},"region":{"startLine":769}}}],"partialFingerprints":{"codehealthFindingId/v1":"330bec10bd32f22ce4d61ec1d91f6804962401dfd393e4bd68c1dc1941290ce1"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2): src/Orleans.TestingHost/InProcTestCluster.cs:652-673 | src/Orleans.TestingHost/TestCluster.cs:680-701 \u2014 before extracting anything, compare \u0060src/Orleans.TestingHost/InProcTestCluster.cs\u0060 and \u0060src/Orleans.TestingHost/TestCluster.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 151 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":"src/Orleans.TestingHost/InProcTestCluster.cs"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc55771492b30854f9bd8ceb12cd10c511eac6d678d8d2b9986667daa70d3300"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:439-458 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:586-605 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:439\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, \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:585\u0060 calls \u0060Store\u0060 and \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:438\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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"64f3aa74ec7c7e8a4b77ccddf103f42903b4216dc7e683757e7dc4da6906adeb"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14\u201319 lines \u00D7 2): src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:521-534 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:568-586 \u2014 both copies are in the same file, so extract the block 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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs"},"region":{"startLine":521}}}],"partialFingerprints":{"codehealthFindingId/v1":"7694793b16c407d3358853d71dd52a120b7eb8dd5fc2c53bc328fef32b74e907"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): src/Orleans.TestingHost/InProcTestCluster.cs:388-405 | src/Orleans.TestingHost/TestCluster.cs:473-490 \u2014 before extracting anything, compare \u0060src/Orleans.TestingHost/InProcTestCluster.cs\u0060 and \u0060src/Orleans.TestingHost/TestCluster.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 151 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 \u0060src/Orleans.TestingHost/InProcTestCluster.cs:388\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":"src/Orleans.TestingHost/InProcTestCluster.cs"},"region":{"startLine":388}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2e1c0c76b575c31d187c9b91596330cee1f951d63241b26bf9313243b841a38"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (17\u201318 lines \u00D7 2): src/Orleans.TestingHost/InProcTestCluster.cs:486-503 | src/Orleans.TestingHost/TestCluster.cs:529-545 \u2014 before extracting anything, compare \u0060src/Orleans.TestingHost/InProcTestCluster.cs\u0060 and \u0060src/Orleans.TestingHost/TestCluster.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 151 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":"src/Orleans.TestingHost/InProcTestCluster.cs"},"region":{"startLine":486}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff4a017c4ae1ab6120981b22987684411437382fcfec586a3e249e21f8f822e3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2): samples/Deployment/AzureAppService/Silo/Components/PurchasableProductTable.razor:53-66 | samples/ShoppingCart/Silo/Components/PurchasableProductTable.razor:53-66 \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 \u0060samples/Deployment/AzureAppService/Silo/Components/PurchasableProductTable.razor:53\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/Deployment/AzureAppService/Silo/Components/PurchasableProductTable.razor"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4ff276275a99291585182f2b79a4aa0107b62924cc323fc3b4ab860734ee8a6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): samples/Deployment/AzureAppService/Silo/Components/ProductTable.razor:61-73 | samples/ShoppingCart/Silo/Components/ProductTable.razor:70-82 \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":"samples/Deployment/AzureAppService/Silo/Components/ProductTable.razor"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e8687d27036880d9350fe1abdc6c54d3bc595dff4fc29b7ca5d8d13574d4c3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:241-253 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:345-357 \u2014 both copies are in the same file, so extract the block 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, \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:343\u0060 calls \u0060MakePendingState\u0060, \u0060Store\u0060 and \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:241\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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"a83491ccf16b54acef8c8c208e030aca592257c4195de5492cd9809c2246ea81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 3): src/Orleans.Transactions.TestKit.Base/TestRunners/TOCGoldenPathTestRunner.cs:30-41 | src/Orleans.Transactions.TestKit.Base/TestRunners/TocFaultTransactionTestRunner.cs:34-45 | src/Orleans.Transactions.TestKit.Base/TestRunners/TocFaultTransactionTestRunner.cs:69-80 \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 \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TOCGoldenPathTestRunner.cs:30\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, \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TocFaultTransactionTestRunner.cs:47\u0060 calls \u0060MultiGrainAdd\u0060, \u0060FailOperation\u0060, \u0060Should\u0060 and \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TOCGoldenPathTestRunner.cs:43\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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TOCGoldenPathTestRunner.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e370315d5bdb617a870491c3fe3fde8755494cacfb48bab16443ca2f099e16fa"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): src/Orleans.TestingHost/InProcTestSiloSpecificOptions.cs:42-53 | src/Orleans.TestingHost/TestClusterOptions.cs:199-210 \u2014 before extracting anything, compare \u0060src/Orleans.TestingHost/InProcTestSiloSpecificOptions.cs\u0060 and \u0060src/Orleans.TestingHost/TestClusterOptions.cs\u0060 as WHOLE FILES: 82% 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. Read the line range as the matched WINDOW rather than a finished unit: at \u0060src/Orleans.TestingHost/InProcTestSiloSpecificOptions.cs:42\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060testCluster\u0060 to \u0060InProcessTestCluster\u0060 in one and \u0060TestCluster\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":"src/Orleans.TestingHost/InProcTestSiloSpecificOptions.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3ecce596ae2bf12bfc0107e5b76ebcdf045de54bafe5a00ab42857933a620d2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11\u201312 lines \u00D7 2): src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:469-479 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:516-527 \u2014 both copies are in the same file, so extract the block 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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs"},"region":{"startLine":469}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8f741f6dce0f5a825f990e1d1009ee023b00127a7b0ca2594eb98b290181cc7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/Orleans.Transactions.TestKit.Base/TestRunners/GoldenPathTransactionTestRunner.cs:105-115 | src/Orleans.Transactions.TestKit.Base/TestRunners/GoldenPathTransactionTestRunner.cs:143-153 | src/Orleans.Transactions.TestKit.Base/TestRunners/GoldenPathTransactionTestRunner.cs:200-210 | src/Orleans.Transactions.TestKit.Base/TestRunners/GoldenPathTransactionTestRunner.cs:231-241 \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 \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/GoldenPathTransactionTestRunner.cs:105\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":"src/Orleans.Transactions.TestKit.Base/TestRunners/GoldenPathTransactionTestRunner.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d2086895ccb0d5cbb6ced4b43a3c508f85a1354549f8546ecf19736d0f6a01c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4): src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:286-296 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:316-326 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:403-413 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:537-547 \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 \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:286\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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"2607a30f1d582652dea82c8eafb4af3026c891c55d24519b27ae6cbfb6271bd3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 3): src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:467-477 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:514-524 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:555-565 \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 \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:467\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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4e24da8d896cc33a7c4bdc132ab627403578ebece0518686f248aa10933e17c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201311 lines \u00D7 3): src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionConcurrencyTestRunner.cs:33-41 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionConcurrencyTestRunner.cs:66-76 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionConcurrencyTestRunner.cs:105-114 \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 \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionConcurrencyTestRunner.cs:66\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, \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionConcurrencyTestRunner.cs:76\u0060 calls \u0060MultiGrainAdd\u0060 and \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionConcurrencyTestRunner.cs:41\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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionConcurrencyTestRunner.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"eec107fc02baf0472fbf2743e201d9416a7c9cae5cc07d9e522c67c4cc75b405"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Orleans.TestingHost/InProcTestCluster.cs:578-588 | src/Orleans.TestingHost/TestCluster.cs:589-599 \u2014 before extracting anything, compare \u0060src/Orleans.TestingHost/InProcTestCluster.cs\u0060 and \u0060src/Orleans.TestingHost/TestCluster.cs\u0060 as WHOLE FILES: this scan already matched 7 separate duplicated blocks between them, totalling at least 151 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 \u0060src/Orleans.TestingHost/InProcTestCluster.cs:578\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":"src/Orleans.TestingHost/InProcTestCluster.cs"},"region":{"startLine":578}}}],"partialFingerprints":{"codehealthFindingId/v1":"daaafbacdb9ef997d2c10f899adfd13bfe52cd266839adc8a3af35e07e2529f0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 6): src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:242-251 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:313-322 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:346-355 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:439-448 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:534-543 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:586-595 \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. 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, \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:343\u0060 calls \u0060MakePendingState\u0060, \u0060Store\u0060 and \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:241\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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3a9c7cddc653800380fd70942c86ba99a9f5983fdc0e04b7d8f613ab92e997"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2): src/Orleans.TestingHost/TestClusterHostFactory.cs:136-145 | src/Orleans.TestingHost/TestClusterHostFactory.cs:153-162 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.TestingHost/TestClusterHostFactory.cs:136\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":"src/Orleans.TestingHost/TestClusterHostFactory.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a3d1aa683a962131b50468184ff69519d3add812711acebf04a3d7d99c596c6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 5): src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:242-250 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:346-354 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:439-447 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:586-594 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:640-648 \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, \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:343\u0060 calls \u0060MakePendingState\u0060, \u0060Store\u0060 and \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:241\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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"61866a83332d2ecab064bec24b888c3f5eb68782536e0131a44020aaf9edeb2e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:233-241 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:265-273 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:371-379 \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 \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:233\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, \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:380\u0060 calls \u0060MakePendingState\u0060, \u0060stateFactory\u0060, \u0060Store\u0060 and \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:275\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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs"},"region":{"startLine":233}}}],"partialFingerprints":{"codehealthFindingId/v1":"768758d032c5d5ff0a87ccb441eb70cf5dee83d373a11764567d0d847a2bc7d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3): src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:313-321 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:534-542 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:695-703 \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, \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:322\u0060 calls \u0060Should\u0060, \u0060Be\u0060 and \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:704\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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"259eb159f34bceda438a62d43810c06ab674955f78a26bf337a0b1e6039eba13"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 8): src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:244-251 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:285-292 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:315-322 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:348-355 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:402-409 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:441-448 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:536-543 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:588-595 \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. 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, \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:343\u0060 calls \u0060MakePendingState\u0060, \u0060Store\u0060 and \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:241\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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs"},"region":{"startLine":244}}}],"partialFingerprints":{"codehealthFindingId/v1":"961678f478f6be46a724135032b4a705294e8dfbbbe9836e7b8a561484c82355"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.Transactions.TestKit.Base/TestRunners/GoldenPathTransactionTestRunner.cs:95-103 | src/Orleans.Transactions.TestKit.Base/TestRunners/GrainFaultTransactionTestRunner.cs:128-135 \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":"src/Orleans.Transactions.TestKit.Base/TestRunners/GoldenPathTransactionTestRunner.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"bdf79c0f0225054a8e475d2c7a0b904b495efdc947e9e8600d16ce3aa84f5c8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:82-89 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:99-106 \u2014 both copies are in the same file, so extract the block 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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"509ac312b70c3f9d8dcfc369fc633fae328c167cd366cbceae430181923d3cc8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 5): src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:251-255 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:355-359 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:652-656 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:657-661 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:707-711 \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, \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:649\u0060 calls \u0060AssertTState\u0060, \u0060Should\u0060, \u0060Be\u0060 and \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:250\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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"157dd83d7bcf67221ff346fad9e2577b20e4a67aa35686d09bdf06530fb51430"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:342-346 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:632-640 | src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:687-695 \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. 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, \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:632\u0060 calls \u0060stateFactory\u0060 and \u0060src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs:342\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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionalStateStorageTestRunner.cs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fde1bbe8a8db3d011e1efe9c120ea20ba1190fbf69b077314527234fd9fa61b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): src/Orleans.TestingHost/InProcTestCluster.cs:381-385 | src/Orleans.TestingHost/InProcTestCluster.cs:412-416 \u2014 both copies are in the same file, so extract the block 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 \u0060src/Orleans.TestingHost/InProcTestCluster.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/InProcTestCluster.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"8aecdbea4399ac4249f1494a74675aa278f551954de7d0e5300bba8ef27d40a5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): samples/Deployment/AzureAppService/Silo/Components/ShoppingCartItem.razor:37-52 | samples/ShoppingCart/Silo/Components/ShoppingCartItem.razor:37-52 \u2014 before extracting anything, compare \u0060samples/Deployment/AzureAppService/Silo/Components/ShoppingCartItem.razor\u0060 and \u0060samples/ShoppingCart/Silo/Components/ShoppingCartItem.razor\u0060 as WHOLE FILES: 100% 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":"samples/Deployment/AzureAppService/Silo/Components/ShoppingCartItem.razor"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7f99752a0a50138c129be40c71a7df91b0a558f1dd45657d5a8899f9d34ced3"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): samples/Deployment/AzureAppService/Silo/Shared/NavMenu.razor:27-38 | samples/ShoppingCart/Silo/Shared/NavMenu.razor:21-32 \u2014 before extracting anything, compare \u0060samples/Deployment/AzureAppService/Silo/Shared/NavMenu.razor\u0060 and \u0060samples/ShoppingCart/Silo/Shared/NavMenu.razor\u0060 as WHOLE FILES: 95% 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":"samples/Deployment/AzureAppService/Silo/Shared/NavMenu.razor"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"3349df3b5d2fb452fe0eedd23e5632f2b898d1c3cae3cb7ce331cba1fa62d461"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2): src/Orleans.Transactions.TestKit.Base/FaultInjection/ControlledInjection/FaultInjectionAzureTableTransactionStateStorage.cs:56-66 | src/Orleans.Transactions.TestKit.Base/FaultInjection/ControlledInjection/FaultInjectionDynamoDBTransactionStateStorage.cs:58-68 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"src/Orleans.Transactions.TestKit.Base/FaultInjection/ControlledInjection/FaultInjectionAzureTableTransactionStateStorage.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd0581918ff7b6452508517176686cb9cd5f2525ea2b865f7fe61e9d511d511"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: ChaoticCluster.ServiceDefaults: ChaoticCluster.ServiceDefaults: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 1 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a7d0c00aac4e4b7e8fdac75777d545d974e2dc332d212002fc03df407c87d504"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: DurableJobsJournaling.ServiceDefaults: DurableJobsJournaling.ServiceDefaults: abstractness 0.00, instability 0.00, distance 1.00 \u2014 zone of pain \u2014 concrete and depended on by 2 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d0278e7552cb1ceb59a710901fe3d22da4005e6b370a35351d5d545064bc4cce"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Orleans.Dashboard.Abstractions(net8.0): Orleans.Dashboard.Abstractions(net8.0): abstractness 0.00, instability 0.00, distance 1.00 \u2014 the shape a shared-kernel / building-block library has BY DESIGN \u2014 concrete and widely depended-on is what makes it useful, and this dimension does not penalise it (the distance is reported for completeness, not as a defect). Worth a look only if it has grown past one coherent kernel into an everything-bucket."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"a2757ff07efeadc58e8020047c05011ecb80f0c1275e8dcb124545b4a60bf9a0"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Orleans.Analyzers.Contracts: Orleans.Analyzers.Contracts: abstractness 0.04, instability 0.00, distance 0.96 \u2014 the shape a shared-kernel / building-block library has BY DESIGN \u2014 concrete and widely depended-on is what makes it useful, and this dimension does not penalise it (the distance is reported for completeness, not as a defect). Worth a look only if it has grown past one coherent kernel into an everything-bucket."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fdff7338e035f0048dca21a4c9805dc67b7514cab1f855735dd462b3a3558b2b"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Orleans.Serialization.Abstractions(net8.0): Orleans.Serialization.Abstractions(net8.0): abstractness 0.06, instability 0.00, distance 0.94 \u2014 the shape a shared-kernel / building-block library has BY DESIGN \u2014 concrete and widely depended-on is what makes it useful, and this dimension does not penalise it (the distance is reported for completeness, not as a defect). Worth a look only if it has grown past one coherent kernel into an everything-bucket."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"70aeb4c587cb985aff4a2da1b7982714ec644bbdfa5a928cae63d52546c04bc8"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Orleans.CodeGenerator: Orleans.CodeGenerator: abstractness 0.08, instability 0.00, distance 0.92 \u2014 zone of pain \u2014 concrete and depended on by 6 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"65b4ffab838f640d1b171cedf5811b407c6a56f4ecaab38f44e45133b3d9c0ee"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Orleans.Persistence.Memory(net8.0): Orleans.Persistence.Memory(net8.0): abstractness 0.00, instability 0.20, distance 0.80 \u2014 zone of pain \u2014 concrete and depended on by 4 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"71b28545a2e25680b64aacb77e991ce9fd8a72321d2fb93108c567bae366b70d"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Orleans.Runtime(net8.0): Orleans.Runtime(net8.0): abstractness 0.20, instability 0.02, distance 0.78 \u2014 zone of pain \u2014 concrete and depended on by 40 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"fe677e5c28fd331bffc3ce5dfa4e9060710f573d6420969c04b187c7dc907b77"}},{"ruleId":"D5","level":"warning","message":{"text":"Off the main sequence: Orleans.Serialization(net8.0): Orleans.Serialization(net8.0): abstractness 0.15, instability 0.11, distance 0.74 \u2014 zone of pain \u2014 concrete and depended on by 8 project(s), so it\u0027s rigid to change."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9b2cd2dcd41f45798d3d9df97b3cf7f02a4e18b37e844dcdb19ae85f38077dd2"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MessagingProcessingInstruments (LCOM4 6): MessagingProcessingInstruments\u0027s methods fall into 6 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 6 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":"src/Orleans.Core/Diagnostics/Metrics/MessagingProcessingInstruments.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"14a612cd70ca005e945117794b42d82f8bc7449b331229448cd956575224249f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SiloControl (LCOM4 6): SiloControl\u0027s methods fall into 6 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 6 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":"src/Orleans.Runtime/Silo/SiloControl.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ec91c689bfbcdc6322dedaaa941e196858dfea4412bc26288c25eef428a667f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SiloGrainService (LCOM4 5): SiloGrainService\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard/Implementation/SiloGrainService.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a8ab613974f452671cc5d99c2b2a867e2c052fe7f48fc9d2303fe5bae5cc9c8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CatalogInstruments (LCOM4 5): CatalogInstruments\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Diagnostics/Metrics/CatalogInstruments.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7925fdfb24c21a3e2196341043839aa1095ee387c7a30b5a2b15de0cf6c7f462"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: MessagingInstruments (LCOM4 5): MessagingInstruments\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Diagnostics/Metrics/MessagingInstruments.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb0b97e754c8c360cfd4aa9c7eaa05106a00db897fedce6f3f020a2eaa9efb5"}},{"ruleId":"D8","level":"warning","message":{"text":"Coverage not measured \u2014 .NET and JavaScript/TypeScript suite: Coverage NOT MEASURED: the .NET half could not be measured \u2014 the repository wires up no coverage collector for \u0060--collect:\u0022XPlat Code Coverage\u0022\u0060 to use; the JavaScript/TypeScript half could not be measured \u2014 docs/site/ runs vitest but declares no coverage provider, so the suite can run and still produce no lcov \u2014 add \u0060@vitest/coverage-v8\u0060 (or \u0060@vitest/coverage-istanbul\u0060) as a devDependency. This repository\u0027s production source spans both ecosystems, and no partial figure is published as if it were the whole: coverage is excluded from the score rather than counted as a near-zero. The named suite step is one the repository\u0027s maintainers can perform; once it passes, the real number is measured on the next scan. Alternatively, commit the lcov/Cobertura report your CI produces and it is read without a re-run."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"62e63e619c28f057e129f2997c965d32a457366a9ce18ca019ffb6bdfba85c99"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: AccountWithLog: Skipped \u2014 https://github.com/dotnet/orleans/issues/5605"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.EventSourcing.Tests/EventSourcingTests/AccountGrainTests.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f29c1432fb579f6d5410d4037301d048efd776028c5ea43cb319f79198ab85ba"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: ElasticityTest_CatchingUp: Skipped \u2014 https://github.com/dotnet/orleans/issues/4008"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Placement.Tests/General/ElasticPlacementTest.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ee76e8f17ca5e64e2928daa80ed1bdfe09cd11ab62c646d051a7baa96ed7a8"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: ElasticityTest_StoppingSilos: Skipped \u2014 https://github.com/dotnet/orleans/issues/4008"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Placement.Tests/General/ElasticPlacementTest.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"76185d6215fe0db53ec0b7b6b00e92364574561110180053f3fcd7da8f093ebb"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: ElasticityTest_AllSilosCPUTooHigh: Skipped \u2014 https://github.com/dotnet/orleans/issues/4008"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Placement.Tests/General/ElasticPlacementTest.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ddda86850190c20a87594a20ef031e7920f6d767726aee315aecad67ed6d094"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: ElasticityTest_AllSilosOverloaded: Skipped \u2014 https://github.com/dotnet/orleans/issues/4008"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Placement.Tests/General/ElasticPlacementTest.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"958c879b99cd2b1a0099ce43aceb7b8359cb54f73cfb51e99d82500c64861568"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: Reentrancy_Deadlock_2: Skipped \u2014 Ignore"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Runtime.Internal.Tests/MessageScheduling/ReentrancyTests.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"637992f4abea7d12aec3467b13b86c38add5da41b653b23ada46591045b5ac2a"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: FanOut_Task_NonReentrant_Chain: Skipped \u2014 Ignore"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Runtime.Internal.Tests/MessageScheduling/ReentrancyTests.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a333f56f11c3b50e2a093ff78c024fcd76df0398edb080273b5fcca324f8e78"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: FanOut_AC_NonReentrant_Chain: Skipped \u2014 Ignore"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Runtime.Internal.Tests/MessageScheduling/ReentrancyTests.cs"},"region":{"startLine":304}}}],"partialFingerprints":{"codehealthFindingId/v1":"8af6b531848205e1dd246d68775ec8f32525795b525b67f441d2088b80d57565"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: CallThatShouldHaveBeenDroppedNotExecutedTest: Skipped \u2014 https://github.com/dotnet/orleans/issues/3995"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Runtime.Internal.Tests/TimeoutTests.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c473bfd797aeaa3136c4bb2c3b80e2829537a9a42fae99d4928eb2829ba44288"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: SiloGracefulShutdown_ForwardPendingRequest: Skipped \u2014 https://github.com/dotnet/orleans/issues/6423"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Runtime.Tests/Forwarding/ShutdownSiloTests.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a35203a5ecff236649a5ccf5976120ba5794d9c9430f82946275aae732e1d3"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: StreamingTests_Consumer_Producer_UnSubscribe: Skipped \u2014 https://github.com/dotnet/orleans/issues/5635"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/StreamingTests/ProgrammaticSubscribeTests/ProgrammaticSubscribeTestsRunner.cs"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"f120037d9db322696675ce79300eae1ecbee4f919233b69a511a6437ebe9dea9"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: StreamingTests_Consumer_Producer_SubscribeToTwoStream_MessageWithPolymorphism: Skipped \u2014 https://github.com/dotnet/orleans/issues/5650"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/StreamingTests/ProgrammaticSubscribeTests/ProgrammaticSubscribeTestsRunner.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aac7dc9ecce78c4a6273b52993242a7aaf1d833bcc81d8ff9ccc9f866c3bc7d"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: SingleSendBatchConsume: Skipped \u2014 https://github.com/dotnet/orleans/issues/5649"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/StreamingTests/StreamBatchingTestRunner.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9e591cfdb7f7b2bc5c990f47b49e160b03a5545b1ff221a45f96268ea0307c1"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: BatchSendBatchConsume: Skipped \u2014 https://github.com/dotnet/orleans/issues/5632"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/StreamingTests/StreamBatchingTestRunner.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4d6eb56457caf9b054c282afa37be58725b7d6e4165d79eb1c903b639357e3"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: PersistentStreamingOverSingleGatewayTest: Skipped \u2014 https://github.com/dotnet/orleans/issues/4320"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/StreamingTests/SystemTargetRouteTests.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebef398ec0cd1724ad45bcdd17b59e35c4835b64cf728d4bc2410daf0203daee"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: AQStreamProducerOnDroppedClientTest: Skipped \u2014 https://github.com/dotnet/orleans/issues/5639"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.Azure.Tests/Streaming/AQClientStreamTests.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0ca288d7374542418f62856181c9b3e03b8fecd3ba603b771d005ae038645c0"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: AQ_07_ManyDifferent_ManyProducerClientsManyConsumerGrains: Skipped \u2014 https://github.com/dotnet/orleans/issues/5648"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.Azure.Tests/Streaming/AQStreamingTests.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"807598a26b313322198c15d628dc31fcc5c92260daa005bca724eee6c04e9dad"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: AQ_21_GenericConsumerImplicitlySubscribedToProducerGrain: Skipped \u2014 Ignored"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.Azure.Tests/Streaming/AQStreamingTests.cs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"58d2e9bb187c5553910ec7db2c6fb8ec879391dc303a044e9081e21ea8ddddc6"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: SMS_AddMany_Consumers: Skipped \u2014 Ignore"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b6258ce47a806cb0e200988c342cbbcac079512a1dc725e1b27797cdcecb6e6"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: AQ_AddMany_Consumers: Skipped \u2014 Ignore"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f0187f02d95fe8064fd7f84fb233391cf6655e938985ded963e886b7aa5134"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: EHStreamProducerOnDroppedClientTest: Skipped \u2014 https://github.com/dotnet/orleans/issues/5657"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.Streaming.EventHubs.Tests/Streaming/EHClientStreamTests.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"98e470c25ace7e49e7726594beeeb8802fffbcfc600a678ca0e3a8701bf5cf2b"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: EHStreamConsumerOnDroppedClientTest: Skipped \u2014 https://github.com/dotnet/orleans/issues/5634"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.Streaming.EventHubs.Tests/Streaming/EHClientStreamTests.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"c090caed5ba240058ab227a1f5ccb006c7b32dbc73dc8f93de0e04cfd03f0211"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: Recoverable100EventStreamsWithTransientErrorsTest: Skipped \u2014 https://github.com/dotnet/orleans/issues/5633"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.Streaming.EventHubs.Tests/Streaming/EHImplicitSubscriptionStreamRecoveryTests.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9e2afa4bbba029cae53cadd22ea5c45c9757a423460580c62d3a627f1b78002"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: Recoverable100EventStreamsWith1NonTransientErrorTest: Skipped \u2014 https://github.com/dotnet/orleans/issues/5638"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.Streaming.EventHubs.Tests/Streaming/EHImplicitSubscriptionStreamRecoveryTests.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ebb4ac05de4d9fb368b4d0e0cbb6d31b7e80dd4f42d8237a1f4cf706017b92e"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: ReloadFromCheckpointTest: Skipped \u2014 https://github.com/dotnet/orleans/issues/5356"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.Streaming.EventHubs.Tests/Streaming/EHStreamProviderCheckpointTests.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"40299c686ba880d063d2611e9ff3323446cbe6e54c381b12a3a56771cdbd4d65"}},{"ruleId":"D10","level":"warning","message":{"text":"Skipped test: RestartSiloAfterCheckpointTest: Skipped \u2014 https://github.com/dotnet/orleans/issues/5356"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.Streaming.EventHubs.Tests/Streaming/EHStreamProviderCheckpointTests.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"d277e33350bfc07696f7dd78b9063e93f878ca5a7c25b7d0b0d967eb378ea15b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: MembershipTable_ModelBased_GeneratedConformance: 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/Orleans.Core.Tests/Membership/SystemTargetMembershipTableConformanceTests.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"69dc218f28a548f0c4c5261196445f910ca6025074effafc3623a3db1010de1c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: MembershipTable_ModelBased_GeneratedConformance: 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/Orleans.Runtime.Internal.Tests/MembershipTests/MembershipTableConformanceTestsBase.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e52199193dda7c123ff11bad15f4582652647cd8823575865c94e423b71f97"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ObserverTest_Disconnect: 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/Orleans.DefaultCluster.Tests/ErrorGrainTest.cs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"e878992252f0e81c3c36fd403ef083a9469ac1ce6273ff8f38e5f77960cde06e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ObserverTest_Disconnect2: 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/Orleans.DefaultCluster.Tests/ErrorGrainTest.cs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8b9c6ddd0d3d99ac9a0b02ab0264169a2d4034799c07445a94cba8d2b54894d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: SimpleGrainGetGrain: 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/Orleans.DefaultCluster.Tests/SimpleGrainTests.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42beb5c4b834c7fd5b250dfa0fce5ee83437c0bf0a47e50ca8f6c6bbca70894"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: PersistenceStorage_WriteReadWriteReadStatesInParallel: 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/Orleans.Journaling.Tests/S3JournalStoragePersistenceTestKitTests.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a845787a17ab15f991f44b93bbd24a7b10dc887f9d3fa77fc69ae802d4b007f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: PersistenceStorage_ModelBasedGeneratedConformance: 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/Orleans.Journaling.Tests/S3JournalStoragePersistenceTestKitTests.cs"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d02f56b9f3f956b3f81f0d7a04da737822859c29ff9286372f06b82142704d16"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: PersistenceStorage_WriteReadWriteReadStatesInParallel: 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/Orleans.Persistence.TestKit.Tests/MemoryGrainStorageTests.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcaf56ade086760c74e2f0c2962061cfa9a0515cd0f42837710f2cee3f9b79d9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: GrainStorage_ModelBasedGeneratedConformance: 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/Orleans.Persistence.TestKit.Tests/MemoryGrainStorageTests.cs"},"region":{"startLine":289}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c9bc17b12fa10b7eef8ad150ab6adc7e1fd83cc1086628c3b3b90de042e44ee"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: GrainStorageWithLatency_ModelBasedGeneratedConformance: 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/Orleans.Persistence.TestKit.Tests/MemoryGrainStorageTests.cs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"771e29e1ada0f36ebbe8e1c641e13fa2d81033e6c0c48bbdd5d921fef75fb75a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Oracle_ModelBasedGeneratedConformance: 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/Orleans.Reminders.TestKit.Tests/IdealizedReminderTableTests.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c714a96d4c94a8a398220e0f366dfddb725cf713c3ecb3106ae71a1a2750366"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: InMemoryReminderTable_ModelBasedGeneratedConformance: 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/Orleans.Reminders.TestKit.Tests/InMemoryReminderTableConformanceTests.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"eaecbc27e5dc1c091642fde96af6be5b43669f3887279fc3eebe9e54923cb5e9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ReminderService_StartupReadiness: 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/Orleans.Reminders.Tests/TimerTests/ReminderServiceLifecycleTestsBase.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad7e25f6eca6e8790cd0ed6811dba119a4c12416afee2ee05e854291fb4c15c7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ReminderService_RegistrationHasSingleOwner: 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/Orleans.Reminders.Tests/TimerTests/ReminderServiceLifecycleTestsBase.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc43cc7dde99a6839142a766337073f43330b323d0aa15bd0c6c1650a1beada7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ReminderService_UpdateDoesNotRestartLocalOwner: 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/Orleans.Reminders.Tests/TimerTests/ReminderServiceLifecycleTestsBase.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf8fbacdc668be32646309e8ff353bc09da2b734e160ac237716416c4882886a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ReminderService_RemovalReachesQuiescence: 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/Orleans.Reminders.Tests/TimerTests/ReminderServiceLifecycleTestsBase.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"56649688b0512491d08ab5cf44f8197a77e3fa8c5f1fcb6bd3df7201fcaa8851"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ReminderService_ExactDueRecovery: 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/Orleans.Reminders.Tests/TimerTests/ReminderServiceLifecycleTestsBase.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"04d0508181d0ea291ba54db811849e0cb89749d9940f3f8b37b72961003f279a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ReminderService_StaleOwnerRegistrationReconciles: 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/Orleans.Reminders.Tests/TimerTests/ReminderServiceLifecycleTestsBase.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"41cb731db7720e9d18fd57862579bd34707cec96227c509100c1d25db72817f9"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ReminderService_OneSiloJoinLeaveTransfersOwnership: 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/Orleans.Reminders.Tests/TimerTests/ReminderServiceLifecycleTestsBase.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffda4d07935ab65e25f2f732edb36dbdbf2fc89a7b07cd92a8d2857b76880996"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ReminderService_CleanupIsIsolated: 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/Orleans.Reminders.Tests/TimerTests/ReminderServiceLifecycleTestsBase.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"c589b501abc52bc85f8a635abbabb3be56109646b8b38d24fdef7e3192735a2b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ConsistentRingProvider_Test1: 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/Orleans.Runtime.Internal.Tests/LivenessTests/ConsistentRingProviderTests.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2177aa18fed056190b26f35e7d02381c6a8dac05cf147b9b5e55c52efe2543a5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ReminderTable_ModelBasedGeneratedConformance: 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/Orleans.Runtime.Internal.Tests/RemindersTest/ReminderTableTestsBase.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9c2624e97e168e83915c8e49c73e05a0d1d186bd47803571b7cea123c9051d5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: DisposeGrainDirectoryCacheAsync_NonDisposableCacheCompletes: 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/Orleans.Runtime.Tests/Directories/GrainDirectoryCacheFactoryTests.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"e88c56b5d3ab51f42a5c6fc363dbf3e2868d80de1c861504e7a44d44d6f879ff"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ActiveImplicitSubscriptionAllowsObserverReplacementWithoutToken: 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/Orleans.Streaming.Tests/StreamingTests/StreamSubscriptionHandleImplTests.cs"},"region":{"startLine":260}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8941dd05e0469773f3ec688ee6bc4af6f37e6fb2d8a11aadc1e8f4acba0066c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ActiveExplicitSubscriptionAllowsOlderAcknowledgedToken: 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/Orleans.Streaming.Tests/StreamingTests/StreamSubscriptionHandleImplTests.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"2594ad7f94986bc808b78744edd5b696d24749bf03c06124ab67b6f997738aee"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ReconstructedImplicitSubscriptionAllowsRecoveryToken: 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/Orleans.Streaming.Tests/StreamingTests/StreamSubscriptionHandleImplTests.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"71ca508ff5b6ef86cc301e5900bed45e124b79d9545dbe013d0f0d9ac6f89c88"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: MembershipTable_MySql_Init: 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/Extensions/Orleans.AdoNet.Tests/MySqlMembershipTableTests.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"84e2b827a736cf8a51c4f1167eed23c1fb7c0f47bf8dec75e317f04d9e3f475e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: GrainStorage_ModelBasedGeneratedConformance: 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/Extensions/Orleans.AdoNet.Tests/Persistence/SqlitePersistenceGrainStorageTests.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"1ceb51a28a1a180495fab57403d5cdfd54e0d9221bc5fc28959b14984cae04c7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: MembershipTable_PostgreSql_Init: 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/Extensions/Orleans.AdoNet.Tests/PostgreSqlMembershipTableTests.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb494c83b5547be99f27a887d11ff0e724df992a07d553ffae75a9b821cf6eae"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): RemindersTable_MySql_Init: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.AdoNet.Tests/Reminders/MySqlRemindersTableTests.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"47ae215a0e3aee5ee3b4db55cd5a152740f18055dceb13fcbf75476d0935caf0"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): RemindersTable_PostgreSql_Init: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.AdoNet.Tests/Reminders/PostgreSqlRemindersTableTests.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8dd485c4b752324c22e3c4c1febfe35803de10dffbde51cc6a2d891891542ee"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): RemindersTable_SqlServer_Init: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.AdoNet.Tests/Reminders/SqlServerRemindersTableTests.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"e24a76648c9678026fa011717e18d1c76fbc22598f49a6255700e42cb95050d3"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: MembershipTable_SqlServer_Init: 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/Extensions/Orleans.AdoNet.Tests/SqlServerMembershipTableTests.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"deffdecd4a4340aebf95ba3635e6dd414e630783aba62cf68791e77acf8e469d"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: GrainStorage_ModelBasedGeneratedConformance: 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/Extensions/Orleans.AdoNet.Tests/StorageTests/Relational/MySqlStorageTests.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c10e3e91c95541d1bc8eb3a5b15219af7d6889ece40c205724cbe84c76c8683"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: GrainStorage_ModelBasedGeneratedConformance: 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/Extensions/Orleans.AdoNet.Tests/StorageTests/Relational/PostgreSqlStorageTests.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"281fd48963bc776c9105e9687f1b72792f8a091402bc36174e0b53851a792ab2"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: GrainStorage_ModelBasedGeneratedConformance: 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/Extensions/Orleans.AdoNet.Tests/StorageTests/Relational/SqlServerStorageTests.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"38e9fb17ed5f6f6d09501967e9dbdc8785915759c85bcd4de70dc527bab5bd0b"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: AdoNetQueueAdapterReceiver_CanBeCreatedByAdapterFactory: 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/Extensions/Orleans.AdoNet.Tests/Streaming/AdoNetQueueAdapterReceiverTests.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b8ddb2c445f9df1cc40c12dec90158bddde535fb0db1a58eb229ad6b93d2084"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): RemindersTable_AWS_Init: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.AWS.Tests/Reminder/DynamoDBRemindersTableTests.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e29898b596277a107a8de885ef6154318dd33b73b5a6266f2dfc41a9854644c"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: MembershipTable_Azure_Init: 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/Extensions/Orleans.Azure.Tests/AzureMembershipTableTests.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0e540148f88df4aba62c12cb810eb4c7c65f78f1686032f6a61136fd5b844ab"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): RemindersTable_Azure_Init: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.Azure.Tests/AzureRemindersTableTests.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"832c8e9e496a81a900f4ac0187b2d4a0074172beb78764dde96f829e7e139140"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: PersistenceStorage_WriteReadWriteReadStatesInParallel: 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/Extensions/Orleans.Azure.Tests/Persistence/AzureTableGrainStorageTestKitTests.cs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4663d170ac61d9133d408ab778b914e19b404db25a9ccd4233230376187a8e0"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: SiloInstanceTable_Op_RegisterSiloInstance: 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/Extensions/Orleans.Azure.Tests/SiloInstanceTableManagerTests.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bc9e29ef6113c478cf813093432eec4b784f6a0de17db73ba2e24f6b778ed17"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: SiloInstanceTable_Op_ActivateSiloInstance: 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/Extensions/Orleans.Azure.Tests/SiloInstanceTableManagerTests.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"256332d0dd2b9c63ed02146a2027ed2d5b710e20f78ff775ef496f83e747480e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: SiloInstanceTable_Op_UnregisterSiloInstance: 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/Extensions/Orleans.Azure.Tests/SiloInstanceTableManagerTests.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfd524ea6e84a792a99b8bf64690b58616a5e5b53471fdc586aea00f2f122257"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: DelayedQueueRebalancingTests_1: 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/Extensions/Orleans.Azure.Tests/Streaming/DelayedQueueRebalancingTests.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"52e8b82e9619301ce5706e0093159c9391364764dde8329403799651ce12cd06"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: DelayedQueueRebalancingTests_2: 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/Extensions/Orleans.Azure.Tests/Streaming/DelayedQueueRebalancingTests.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84a90b4108d9bae8bfcbbb84c285b54f0ef9a189d2493e08e1b608e6f12887e"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: Baseline_StreamRel: 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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"a52f42fe6c8b43ca6c17b0c2db2923c7374e5eb1558bd1ab4c6006c026d66dbd"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: MembershipTable_ZooKeeper_Init: 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/Extensions/Orleans.Clustering.ZooKeeper.Tests/ZookeeperMembershipTableTests.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b1b860b0040fdfb7be11f1d612da19f15fe2e75370c157a795f9ac5e2e3873"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): RemindersTable_Cosmos_Init: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.Cosmos.Tests/CosmosRemindersTableTests.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c2439a963789f4bd0be55d571a619463b2d0c9d2e7e0c515ad22fcf2586c69a"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: GrainStorage_ModelBasedGeneratedConformance: 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/Extensions/Orleans.Redis.Tests/Persistence/RedisStorageTests.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"2186be2801a8502f0de7052040d7eef3fb28d019dfadae0964b7bdcf4b0b6f2f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: GrainStorage_ModelBasedGeneratedConformance: 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/Extensions/Orleans.Redis.Tests/Persistence/RedisStorageTests_DeleteStateOnClear.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba6a87e4ac4a448d2b41e0abb2fa527b523253fcb4f723012e85c19c66987d1"}},{"ruleId":"D10","level":"error","message":{"text":"No assertions (empty test): RemindersTable_Redis_Init: Test method has an empty body \u2014 it asserts nothing and exercises no code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.Redis.Tests/Reminders/RedisReminderTableTests.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"71befbe6979b801081dbc993d6d36c7acd11243a568e4de18279d561478f9ac8"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: ValidatorAcceptsDefaultCredentials: 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/Extensions/Orleans.Streaming.Kinesis.Tests/KinesisOptionsTests.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a64f4d6f48b2ecaa4094912f99cb6d3691edcbed71a53979f66a46adc6724f5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: CanInitialize: 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/TestInfrastructure/Orleans.TestingHost.Tests/TestClusterTests.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dda834f80c4ada03c08ce9b5467357f4083a84b899368282ac586405ead3163"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: CanInitialize: 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/TestInfrastructure/Orleans.TestingHost.Tests/TestClusterTests.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7b96e999442696c652b4ca7a534c2385671d4fed636972eb11ab385c8308cfa"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: CanInitialize: 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/TestInfrastructure/Orleans.TestingHost.Tests/TestClusterTests.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1bd88d09a03604a61de85774a48ef106944c7a3acbbb7ae528164665e57f036"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: CanInitialize: 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/TestInfrastructure/Orleans.TestingHost.Tests/TestClusterTests.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c50de28fb3a345eea97e5f5309bbe08e503250a90c8bc19245e9030af3980d7"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: CanInitialize: 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/TestInfrastructure/Orleans.TestingHost.Tests/TestClusterTests.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"7db453e29f66d90bc49a933ed3a16f432c316b3a5da0ec4cf391b3b9813bfba5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: CanInitialize: 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/TestInfrastructure/Orleans.TestingHost.Tests/TestClusterTests.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9eaf566570d1f5758de95d209e8335e032d2b891b4541725d7add479fe9ac3f"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: CanInitialize: 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/TestInfrastructure/Orleans.TestingHost.Tests/TestClusterTests.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2294040669746f48184242d7460ad242cc88c6a571ca2cc9a0c1d3463f53a5"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: CanInitialize: 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/TestInfrastructure/Orleans.TestingHost.Tests/TestClusterTests.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"456df01e15c9b37875050031df8ec788dd9a3e9fab83988bdf308f7ee5362140"}},{"ruleId":"D10","level":"warning","message":{"text":"No assertions: CanInitialize: 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/TestInfrastructure/Orleans.TestingHost.Tests/TestClusterTests.cs"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe296a1632708ae5dba3ba45362d7e9e00f5109e4f0e2d9b78359b2b05f2103e"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: RequestContext_MultiThreads_ExportToMessage: This test starts a background task and then orders itself against it with \u0060Thread.Sleep(1)\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/Orleans.Core.Tests/General/RequestContextTestsNonSiloRequired.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d745da2f6d0e758d4f787fbcc08e5cad44a208b701c71daf9caebefda1c58f3"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: ObservableGrain_AsyncEnumerable_CancelBeforeYield: This test starts a background task and then orders itself against it with \u0060Task.Delay(TimeSpan.FromMilliseconds(10))\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/Orleans.DefaultCluster.Tests/AsyncEnumerableGrainCallTests.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"08fd2529e272a3159b9a2790415da4fbcca1e90922e90b95ba33e16a312837ce"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: DeactivateOnIdleTest_Stress_2_NonReentrant: This test starts a background task and then orders itself against it with \u0060Task.Delay(1)\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/Orleans.Runtime.Internal.Tests/ActivationsLifeCycleTests/DeactivateOnIdleTests.cs"},"region":{"startLine":91}}}],"partialFingerprints":{"codehealthFindingId/v1":"37dd502f6581ddb0d6fc0df25840021f68f8df665f8b1b526e5e24f9c22ff066"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: DeactivateOnIdleTest_Stress_3_Reentrant: This test starts a background task and then orders itself against it with \u0060Task.Delay(TimeSpan.FromMilliseconds(1))\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/Orleans.Runtime.Internal.Tests/ActivationsLifeCycleTests/DeactivateOnIdleTests.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3879a091764e79adc681777df1634d95863743ccfb147b2e66aefab64c07dd5"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: Halo_RequestContextShouldBeMaintainedWhenThreadHoppingOccurs: This test starts a background task and then orders itself against it with \u0060Task.Delay(10)\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/Orleans.Runtime.Internal.Tests/General/RequestContextTest.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"da5df75cb75c9e7d330073c2d20357e4bab24ae961ea607b9d9d20898b501e0d"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: Halo_LogicalCallContextShouldBeMaintainedWhenThreadHoppingOccurs: This test starts a background task and then orders itself against it with \u0060Task.Delay(10)\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/Orleans.Runtime.Internal.Tests/General/RequestContextTest.cs"},"region":{"startLine":397}}}],"partialFingerprints":{"codehealthFindingId/v1":"36cdeac282b91edc7924635e7ebe9b02a16da56c291c8aa6672016a27aef2575"}},{"ruleId":"D10","level":"warning","message":{"text":"Fixed-sleep synchronisation: StuckGrainTest_StuckDetectionOnDeactivation: This test starts a background task and then orders itself against it with \u0060Task.Delay(TimeSpan.FromMilliseconds(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/Orleans.Runtime.Internal.Tests/OrleansRuntime/StuckGrainTests.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"be4b1013136422e7133700b2962311e630d50098466d2548be2e2b6ed9699a1e"}},{"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":"ac482ac1dddbe9c2954fee638b6d693255a9c856398c4561c54bdc73b04de130"},"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"}}]},{"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":"06aaf350f7525505d5d8550faabaad2e059a70dbde7389d2ed09dce5a03965d4"},"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"}}]},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs: src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs changed 18 times in last 90 days, max cyclomatic complexity 40 in PersistentStreamPullingAgent.RunConsumerCursor at line 1248. 9 of those changes were fix/bug commits, and the other 9 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.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":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs"},"region":{"startLine":1248}}}],"partialFingerprints":{"codehealthFindingId/v1":"200f37680d2667bb23ebf4793e9763c6c1d48997b8ac7f52e9ce0d67e030d4ad"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Runtime/Catalog/ActivationData.cs: src/Orleans.Runtime/Catalog/ActivationData.cs changed 11 times in last 90 days, max cyclomatic complexity 51 in ActivationData.RunMessageLoop at line 1111. 2 of those changes were fix/bug commits, and the other 9 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/Catalog/ActivationData.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":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":1111}}}],"partialFingerprints":{"codehealthFindingId/v1":"f92143f1997edf3bee5deebe4fc3efde936ebff7867c396463e7956e8104317f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Journaling/JournaledStateManager.cs: src/Orleans.Journaling/JournaledStateManager.cs changed 6 times in last 90 days, max cyclomatic complexity 59 in JournaledStateManager.WorkLoop at line 187. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Journaling/JournaledStateManager.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":"src/Orleans.Journaling/JournaledStateManager.cs"},"region":{"startLine":187}}}],"partialFingerprints":{"codehealthFindingId/v1":"24a5f3228c7de374c404bd5bcdf1ac284d51d4e150f2f4f2c320e5c2f879f9f8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryEventObserver.cs: src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryEventObserver.cs changed 5 times in last 90 days, max cyclomatic complexity 67 in TransactionRecoveryEventObserver.TryCreateTransition at line 335. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryEventObserver.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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryEventObserver.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f1bcf65b915fb40bb1fa404c0cd25ba45fcb5c25ef345f7ec19168721089670"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.CodeGenerator/SyntaxGeneration/Identifier.cs: src/Orleans.CodeGenerator/SyntaxGeneration/Identifier.cs changed 2 times in last 90 days, max cyclomatic complexity 103 in Identifier.IsCSharpKeyword at line 7. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.CodeGenerator/SyntaxGeneration/Identifier.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":"src/Orleans.CodeGenerator/SyntaxGeneration/Identifier.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"70bd11c602ac1178271fcc8722a97883f2b91d8b2d269d2a5e402777d80acd53"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs: src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs changed 6 times in last 90 days, max cyclomatic complexity 30 in GrainInterfaceVersionCodeFix.AppendHistoricalContracts at line 518. 2 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.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":"src/Orleans.Analyzers/GrainInterfaceVersionCodeFix.cs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"73deaf76dff37ce69821b1a9814bec4f14ff7a1093dbbfae704c768a9a8e55fd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryTestsRunner.cs: src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryTestsRunner.cs changed 9 times in last 90 days, max cyclomatic complexity 19 in TransactionRecoveryTestsRunner.TransactionWillRecoverAfterTargetedPhase at line 229. 4 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryTestsRunner.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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryTestsRunner.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b63f677747260b74c1f8e7162ad9a90a0269a7839cbbff4fafc67775fb5157"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Streaming/Common/PooledCache/PooledQueueCache.cs: src/Orleans.Streaming/Common/PooledCache/PooledQueueCache.cs changed 7 times in last 90 days, max cyclomatic complexity 24 in PooledQueueCache.TryGetNextMessageWithResult at line 502. 2 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Streaming/Common/PooledCache/PooledQueueCache.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":"src/Orleans.Streaming/Common/PooledCache/PooledQueueCache.cs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a9d9ff60938c7d0fdf0cadc447859d80fa329180e5346d5a4e7be947faa8143"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Transactions/State/TransactionQueue.cs: src/Orleans.Transactions/State/TransactionQueue.cs changed 7 times in last 90 days, max cyclomatic complexity 23 in TransactionQueue.NotifyOfAbort at line 310. 3 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Transactions/State/TransactionQueue.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":"src/Orleans.Transactions/State/TransactionQueue.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"99ba2f08fbb1a02624a2bbad2e5a730e228d71e22107ae62e138f3d523f5b30a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Reminders.TestKit/ReminderServiceLifecycleTestRunner.cs: src/Orleans.Reminders.TestKit/ReminderServiceLifecycleTestRunner.cs changed 8 times in last 90 days, max cyclomatic complexity 20 in ReminderServiceLifecycleTestRunner.RunReminderService_StaleOwnerRegistrationReconciles at line 389. 4 of those changes were fix/bug commits, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Reminders.TestKit/ReminderServiceLifecycleTestRunner.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":"src/Orleans.Reminders.TestKit/ReminderServiceLifecycleTestRunner.cs"},"region":{"startLine":389}}}],"partialFingerprints":{"codehealthFindingId/v1":"79225995c7cde9db269443ef30891a859b42548fb520ff92558cc1a81a811528"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.CodeGenerator/Model/ReferenceAssemblyModelExtractor.cs: src/Orleans.CodeGenerator/Model/ReferenceAssemblyModelExtractor.cs changed 3 times in last 90 days, max cyclomatic complexity 49 in ReferenceAssemblyModelExtractor.ExtractReferenceAssemblyData at line 22. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.CodeGenerator/Model/ReferenceAssemblyModelExtractor.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":"src/Orleans.CodeGenerator/Model/ReferenceAssemblyModelExtractor.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fecd33c92c853e75bc95ea848b0a09f56c8a71bd892a7334b31be68cc573395"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Runtime/Core/InsideRuntimeClient.cs: src/Orleans.Runtime/Core/InsideRuntimeClient.cs changed 9 times in last 90 days, max cyclomatic complexity 16 in InsideRuntimeClient.Invoke at line 290. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/Core/InsideRuntimeClient.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":"src/Orleans.Runtime/Core/InsideRuntimeClient.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"35f05629f59b7511cb8f9b10ffaea56c11ac2f1bdd9eef0b81c5d6e30327c976"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Redis/Orleans.Journaling.Redis/RedisJournalStorageProvider.cs: src/Redis/Orleans.Journaling.Redis/RedisJournalStorageProvider.cs changed 5 times in last 90 days, max cyclomatic complexity 28 in RedisJournalStorageProvider.ListAsync 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Redis/Orleans.Journaling.Redis/RedisJournalStorageProvider.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":"src/Redis/Orleans.Journaling.Redis/RedisJournalStorageProvider.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd22ca04b488a393a84720a9d3c7ccc3c76ca3654d4ce0708ef9ed0e00a879e3"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Transactions/State/ReaderWriterLock.cs: src/Orleans.Transactions/State/ReaderWriterLock.cs changed 6 times in last 90 days, max cyclomatic complexity 23 in ReadWriteLock.EnterLock at line 66. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Transactions/State/ReaderWriterLock.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":"src/Orleans.Transactions/State/ReaderWriterLock.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"e83ce915cf33dc05bac77df40aedc9d63dafdaf60242ed19e384c20c91c985b8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Analyzers/GrainInterfaceVersionAnalyzer.cs: src/Orleans.Analyzers/GrainInterfaceVersionAnalyzer.cs changed 6 times in last 90 days, max cyclomatic complexity 23 in Impl.AnalyzeNamedType at line 308. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Analyzers/GrainInterfaceVersionAnalyzer.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":"src/Orleans.Analyzers/GrainInterfaceVersionAnalyzer.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5590b38f1d2f3aebe599c8bda120e0ec9942e7297c1887daec2085dd420c2ab"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/AWS/Shared/Storage/DynamoDBStorage.cs: src/AWS/Shared/Storage/DynamoDBStorage.cs changed 7 times in last 90 days, max cyclomatic complexity 19 in DynamoDBStorage.UpdateTableAsync at line 272. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/AWS/Shared/Storage/DynamoDBStorage.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":"src/AWS/Shared/Storage/DynamoDBStorage.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"b07248c4c5274d8adbcfad0ad40d80a152fa5527a348a73d2d7c223bac872077"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Core/Networking/ConnectionManager.cs: src/Orleans.Core/Networking/ConnectionManager.cs changed 7 times in last 90 days, max cyclomatic complexity 19 in ConnectionManager.Close at line 344. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Core/Networking/ConnectionManager.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":"src/Orleans.Core/Networking/ConnectionManager.cs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf49f0fa460cf48ecb9366c3745908fe3340d8b65632c04ba5c39f9503ddeaeb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/AWS/Orleans.Journaling.S3/S3JournalStorageProvider.cs: src/AWS/Orleans.Journaling.S3/S3JournalStorageProvider.cs changed 5 times in last 90 days, max cyclomatic complexity 25 in S3JournalStorageProvider.ListAsync at line 48. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/AWS/Orleans.Journaling.S3/S3JournalStorageProvider.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":"src/AWS/Orleans.Journaling.S3/S3JournalStorageProvider.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"34b0dd7bc01ab1363d3c15626d5c5908f97711f9ec5e86d289137559fb582387"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Azure/Orleans.Transactions.AzureStorage/TransactionalState/AzureTableTransactionalStateStorage.cs: src/Azure/Orleans.Transactions.AzureStorage/TransactionalState/AzureTableTransactionalStateStorage.cs changed 5 times in last 90 days, max cyclomatic complexity 23 in BatchOperation.Flush at line 413. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Azure/Orleans.Transactions.AzureStorage/TransactionalState/AzureTableTransactionalStateStorage.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":"src/Azure/Orleans.Transactions.AzureStorage/TransactionalState/AzureTableTransactionalStateStorage.cs"},"region":{"startLine":413}}}],"partialFingerprints":{"codehealthFindingId/v1":"b99f8a2d5ac9608807818f29b708d7af12544a0b39c273734923d540dcabf97b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.DurableJobs/JournaledJobShard.cs: src/Orleans.DurableJobs/JournaledJobShard.cs changed 5 times in last 90 days, max cyclomatic complexity 22 in JournaledJobShard.ProcessMutationBatchAsync at line 393. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.DurableJobs/JournaledJobShard.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":"src/Orleans.DurableJobs/JournaledJobShard.cs"},"region":{"startLine":393}}}],"partialFingerprints":{"codehealthFindingId/v1":"0881a38818fefb3ac747cb7611f790734544a679041bf8264d5d180540a136c4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.DurableJobs/ShardExecutor.cs: src/Orleans.DurableJobs/ShardExecutor.cs changed 5 times in last 90 days, max cyclomatic complexity 21 in ShardExecutor.ExecuteJobAsync at line 309. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.DurableJobs/ShardExecutor.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":"src/Orleans.DurableJobs/ShardExecutor.cs"},"region":{"startLine":309}}}],"partialFingerprints":{"codehealthFindingId/v1":"e825afaee4e0020c09291edc3a4e264f3a1c88b4f2fc2c5f95b6b7c965e518c8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.DurableJobs/JournaledJobShardManager.cs: src/Orleans.DurableJobs/JournaledJobShardManager.cs changed 5 times in last 90 days, max cyclomatic complexity 20 in JournaledJobShardManager.TryAssignShardAsync at line 196. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.DurableJobs/JournaledJobShardManager.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":"src/Orleans.DurableJobs/JournaledJobShardManager.cs"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39ac32ec30e2c1f54268653b050ae114d6f8883f8baa7470a6538165a8eb0b4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.TestingHost/Utils/TestingUtils.cs: src/Orleans.TestingHost/Utils/TestingUtils.cs changed 5 times in last 90 days, max cyclomatic complexity 20 in TestingUtils.WaitUntilSucceededAsync at line 176. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.TestingHost/Utils/TestingUtils.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":"src/Orleans.TestingHost/Utils/TestingUtils.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bbb0c95fd9552ba145d89de812f366bae307202005be54633e47e247d6773a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.CodeGenerator/ProxyGenerator.cs: src/Orleans.CodeGenerator/ProxyGenerator.cs changed 2 times in last 90 days, max cyclomatic complexity 49 in ProxyGenerator.CreateProxyMethods at line 85. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.CodeGenerator/ProxyGenerator.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":"src/Orleans.CodeGenerator/ProxyGenerator.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"fda3950ad001ff26673501f9cbe70a7dd983aab55b5b399ac3127b1b692d226b"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Serialization/TypeSystem/TypeConverter.cs: src/Orleans.Serialization/TypeSystem/TypeConverter.cs changed 6 times in last 90 days, max cyclomatic complexity 16 in TypeConverter.ConsumeMetadata at line 151. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Serialization/TypeSystem/TypeConverter.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":"src/Orleans.Serialization/TypeSystem/TypeConverter.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3ed5aecfda62cdee0d886fb4bb53aacbca3b6e350943739f5a5b8cc440c0a13"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.CodeGenerator/MetadataGenerator.cs: src/Orleans.CodeGenerator/MetadataGenerator.cs changed 5 times in last 90 days, max cyclomatic complexity 18 in MetadataGenerator.GetOpenTypeSyntax at line 507. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.CodeGenerator/MetadataGenerator.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":"src/Orleans.CodeGenerator/MetadataGenerator.cs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"be6a1f00d11160e5030be4e7268b3cf2b0443ab38d57fa99c90c72ae8e9c8486"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Runtime/GrainDirectory/ClientDirectory.cs: src/Orleans.Runtime/GrainDirectory/ClientDirectory.cs changed 4 times in last 90 days, max cyclomatic complexity 22 in ClientDirectory.UpdateRoutingTable at line 230. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/GrainDirectory/ClientDirectory.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":"src/Orleans.Runtime/GrainDirectory/ClientDirectory.cs"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba1faf9d207553aa40b3bb32f5844a1ce6e469c2e7455bfef29c9e9046bb74f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Runtime/MembershipService/ClusterHealthMonitor.cs: src/Orleans.Runtime/MembershipService/ClusterHealthMonitor.cs changed 5 times in last 90 days, max cyclomatic complexity 17 in ClusterHealthMonitor.UpdateMonitoredSilos at line 164. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/MembershipService/ClusterHealthMonitor.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":"src/Orleans.Runtime/MembershipService/ClusterHealthMonitor.cs"},"region":{"startLine":164}}}],"partialFingerprints":{"codehealthFindingId/v1":"01821108c67a38f7ef10e598b0c2ee5a213b7f83b50aa5bd0f0917e57e834b75"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Runtime/MembershipService/SiloHealthMonitor.cs: src/Orleans.Runtime/MembershipService/SiloHealthMonitor.cs changed 5 times in last 90 days, max cyclomatic complexity 17 in SiloHealthMonitor.Run at line 174. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/MembershipService/SiloHealthMonitor.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":"src/Orleans.Runtime/MembershipService/SiloHealthMonitor.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeda5d8655a9dc23b3ac09ed245f68b6215ac67c0de5fc984e95cf992421842e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Runtime/MembershipService/MembershipAgent.cs: src/Orleans.Runtime/MembershipService/MembershipAgent.cs changed 4 times in last 90 days, max cyclomatic complexity 21 in MembershipAgent.ValidateInitialConnectivity at line 140. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/MembershipService/MembershipAgent.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":"src/Orleans.Runtime/MembershipService/MembershipAgent.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"644905da6ff762de4f978f88ea67c0cd4ab7b8cff5aef0eb3cac08b89d2ae709"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Azure/Orleans.Clustering.AzureStorage/AzureBasedMembershipTable.cs: src/Azure/Orleans.Clustering.AzureStorage/AzureBasedMembershipTable.cs changed 5 times in last 90 days, max cyclomatic complexity 16 in AzureBasedMembershipTable.Parse at line 247. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Azure/Orleans.Clustering.AzureStorage/AzureBasedMembershipTable.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":"src/Azure/Orleans.Clustering.AzureStorage/AzureBasedMembershipTable.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"d88a35c5cec745a1c91279a5b7852379a493932aeda94d88f4bec9af61e5491f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Runtime/MembershipService/MembershipTableCleanupAgent.cs: src/Orleans.Runtime/MembershipService/MembershipTableCleanupAgent.cs changed 5 times in last 90 days, max cyclomatic complexity 16 in MembershipTableCleanupAgent.CleanupDefunctSilos at line 110. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/MembershipService/MembershipTableCleanupAgent.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":"src/Orleans.Runtime/MembershipService/MembershipTableCleanupAgent.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"baa0352cf91c923100a167412575b86b1c9c246db53c2ce1f120d986354a7d0c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Core/Runtime/InvokableObjectManager.cs: src/Orleans.Core/Runtime/InvokableObjectManager.cs changed 5 times in last 90 days, max cyclomatic complexity 16 in LocalObjectData.CancelRequestAsync at line 527. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Core/Runtime/InvokableObjectManager.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":"src/Orleans.Core/Runtime/InvokableObjectManager.cs"},"region":{"startLine":527}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c138361554a23f2a446136ca2a9875f2a3d5fa61cd254e60d1eaa5d7de03d04"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Hosting.Kubernetes/KubernetesClusterAgent.cs: src/Orleans.Hosting.Kubernetes/KubernetesClusterAgent.cs changed 5 times in last 90 days, max cyclomatic complexity 16 in KubernetesClusterAgent.MonitorOrleansClustering at line 227. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Hosting.Kubernetes/KubernetesClusterAgent.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":"src/Orleans.Hosting.Kubernetes/KubernetesClusterAgent.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d4ca5e30cec23e4803cc9f5acc76368bb9a804abb129758885a90af2406e227"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Clustering.TestKit/MembershipTableModel.cs: src/Orleans.Clustering.TestKit/MembershipTableModel.cs changed 2 times in last 90 days, max cyclomatic complexity 38 in MembershipModelExecutionContext.ExecuteAsync at line 314. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Clustering.TestKit/MembershipTableModel.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":"src/Orleans.Clustering.TestKit/MembershipTableModel.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bb6f094c5f685d16807499f83e31ad6b778b01f9e8903ac5bd46fbe0d083e4a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Redis/Orleans.Journaling.Redis/RedisJournalStorage.cs: src/Redis/Orleans.Journaling.Redis/RedisJournalStorage.cs changed 4 times in last 90 days, max cyclomatic complexity 19 in RedisJournalStorage.CreateStorageState at line 723. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Redis/Orleans.Journaling.Redis/RedisJournalStorage.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":"src/Redis/Orleans.Journaling.Redis/RedisJournalStorage.cs"},"region":{"startLine":723}}}],"partialFingerprints":{"codehealthFindingId/v1":"260a142a4c20e391dbc247b61ab299d066e860de47e830060b26d4628fcabb50"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Serialization/Cloning/IDeepCopier.cs: src/Orleans.Serialization/Cloning/IDeepCopier.cs changed 4 times in last 90 days, max cyclomatic complexity 19 in ShallowCopyableTypes.IsShallowCopyableInternal at line 332. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Serialization/Cloning/IDeepCopier.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":"src/Orleans.Serialization/Cloning/IDeepCopier.cs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"01b362d08aba197d2bcc326854881e026798681064dbd869f814da5cc0e1bc76"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Reminders.TestKit/ReminderServiceTestRunner.cs: src/Orleans.Reminders.TestKit/ReminderServiceTestRunner.cs changed 2 times in last 90 days, max cyclomatic complexity 38 in ReminderServiceTestRunner.RunReminderService_UpdateReplacesScheduleAndETagWithoutDuplicate at line 165. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Reminders.TestKit/ReminderServiceTestRunner.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":"src/Orleans.Reminders.TestKit/ReminderServiceTestRunner.cs"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"07638d4c3cd47780b18c9d8a914aabff6fcf047874227ed44cf6de7652a06765"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Runtime/Catalog/Catalog.cs: src/Orleans.Runtime/Catalog/Catalog.cs changed 5 times in last 90 days, max cyclomatic complexity 15 in Catalog.GetOrCreateActivation at line 133. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/Catalog/Catalog.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":"src/Orleans.Runtime/Catalog/Catalog.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f33c8a1984a4dd4fce78f0fb7ed87b3b7c912055bf18b93db1e95afa1300332"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.CodeGenerator/Model/ProxyInterfaceDescription.cs: src/Orleans.CodeGenerator/Model/ProxyInterfaceDescription.cs changed 3 times in last 90 days, max cyclomatic complexity 25 in ProxyInterfaceDescription.ValidateBaseClass at line 116. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.CodeGenerator/Model/ProxyInterfaceDescription.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":"src/Orleans.CodeGenerator/Model/ProxyInterfaceDescription.cs"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f829ad61380cdbf28ef1eed79309a7de0e6d76ea3fddfaaadaeaa457f4d22d6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.CodeGenerator/SerializerGenerator.cs: src/Orleans.CodeGenerator/SerializerGenerator.cs changed 3 times in last 90 days, max cyclomatic complexity 25 in SerializerGenerator.GetFieldDescriptions at line 257. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.CodeGenerator/SerializerGenerator.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":"src/Orleans.CodeGenerator/SerializerGenerator.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"4868719f5338d87b6203f266f46279f3c15e5d4855b7f73458d48d945939036f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Runtime/Placement/Repartitioning/ActivationRepartitioner.cs: src/Orleans.Runtime/Placement/Repartitioning/ActivationRepartitioner.cs changed 3 times in last 90 days, max cyclomatic complexity 25 in ActivationRepartitioner.AcceptExchangeRequest at line 270. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/Placement/Repartitioning/ActivationRepartitioner.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":"src/Orleans.Runtime/Placement/Repartitioning/ActivationRepartitioner.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"faa9d36174011ca6dd68a0c55b584bfc5de0935f401ca644cb264df2d7184268"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/AWS/Orleans.Journaling.S3/S3JournalStorage.cs: src/AWS/Orleans.Journaling.S3/S3JournalStorage.cs changed 4 times in last 90 days, max cyclomatic complexity 17 in S3JournalStorage.ReplaceAsync at line 548. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/AWS/Orleans.Journaling.S3/S3JournalStorage.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":"src/AWS/Orleans.Journaling.S3/S3JournalStorage.cs"},"region":{"startLine":548}}}],"partialFingerprints":{"codehealthFindingId/v1":"028b46624d5389336d1ebe174eaa2cb11cac562420444a19e9a0146f67cb9ee0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Serialization/Serializers/CodecProvider.cs: src/Orleans.Serialization/Serializers/CodecProvider.cs changed 4 times in last 90 days, max cyclomatic complexity 17 in CodecProvider.CreateCodecInstance at line 522. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Serialization/Serializers/CodecProvider.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":"src/Orleans.Serialization/Serializers/CodecProvider.cs"},"region":{"startLine":522}}}],"partialFingerprints":{"codehealthFindingId/v1":"916c7c823d314326608a5c46964b4ee265e03602e025ef4298d0e796f92f1745"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Journaling/JournalingHostingExtensions.cs: src/Orleans.Journaling/JournalingHostingExtensions.cs changed 4 times in last 90 days, max cyclomatic complexity 16 in JournalingHostingExtensions.AddJournalStorage at line 140. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Journaling/JournalingHostingExtensions.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":"src/Orleans.Journaling/JournalingHostingExtensions.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f71d47845646c4839560a7fda838081a91dbd1cce5592f6b61648fadb6ca7d6d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/AWS/Orleans.Transactions.DynamoDB/TransactionalState/DynamoDBTransactionalStateStorage.cs: src/AWS/Orleans.Transactions.DynamoDB/TransactionalState/DynamoDBTransactionalStateStorage.cs changed 3 times in last 90 days, max cyclomatic complexity 21 in DynamoDBTransactionalStateStorage.Store at line 144. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/AWS/Orleans.Transactions.DynamoDB/TransactionalState/DynamoDBTransactionalStateStorage.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":"src/AWS/Orleans.Transactions.DynamoDB/TransactionalState/DynamoDBTransactionalStateStorage.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c4b8663fcda2e9bb66600d6b216b72cbdb8b6aaa19b588fe7fa1646d897b05"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.DurableJobs/Hosting/DurableJobsOptions.cs: src/Orleans.DurableJobs/Hosting/DurableJobsOptions.cs changed 3 times in last 90 days, max cyclomatic complexity 20 in DurableJobsOptionsValidator.ValidateConfiguration at line 227. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.DurableJobs/Hosting/DurableJobsOptions.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":"src/Orleans.DurableJobs/Hosting/DurableJobsOptions.cs"},"region":{"startLine":227}}}],"partialFingerprints":{"codehealthFindingId/v1":"b61cb70b2072bce12e8db7a68c1acfd382260c9f4cd8cbe7c54bda4b39b7de65"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Dashboard/Orleans.Dashboard/Implementation/Grains/DashboardGrain.cs: src/Dashboard/Orleans.Dashboard/Implementation/Grains/DashboardGrain.cs changed 4 times in last 90 days, max cyclomatic complexity 15 in DashboardGrain.GetGrainState at line 302. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Dashboard/Orleans.Dashboard/Implementation/Grains/DashboardGrain.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":"src/Dashboard/Orleans.Dashboard/Implementation/Grains/DashboardGrain.cs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fb3d63fd2b47907d896fb5ad8b89ce4554e9db72d8535e7045efc7d06698606"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.CodeGenerator/Model/ProxyInterfaceModelExtractor.cs: src/Orleans.CodeGenerator/Model/ProxyInterfaceModelExtractor.cs changed 4 times in last 90 days, max cyclomatic complexity 15 in ProxyInterfaceModelExtractor.ExtractCustomInitializers at line 400. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.CodeGenerator/Model/ProxyInterfaceModelExtractor.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":"src/Orleans.CodeGenerator/Model/ProxyInterfaceModelExtractor.cs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ab8076e80326fa33ded675f1d4e175f0b60bad3bc21f07aeb47dcf359ff08e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.CodeGenerator/LibraryTypes.cs: src/Orleans.CodeGenerator/LibraryTypes.cs changed 2 times in last 90 days, max cyclomatic complexity 30 in LibraryTypes.IsShallowCopyable at line 315. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.CodeGenerator/LibraryTypes.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":"src/Orleans.CodeGenerator/LibraryTypes.cs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"6f4a045192ac631a549527c909f7f94673a023192f8a5359c5ef39e89621b65a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Serialization/TypeSystem/RuntimeTypeNameParser.cs: src/Orleans.Serialization/TypeSystem/RuntimeTypeNameParser.cs changed 2 times in last 90 days, max cyclomatic complexity 29 in RuntimeTypeNameParser.ParseInternal at line 53. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Serialization/TypeSystem/RuntimeTypeNameParser.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":"src/Orleans.Serialization/TypeSystem/RuntimeTypeNameParser.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"78c500d11f015c665bf6fbb43d95003deb25f32a54afa7f372423f8879e6a4fe"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Reminders.TestKit/ReminderTableModelBasedTestRunner.cs: src/Orleans.Reminders.TestKit/ReminderTableModelBasedTestRunner.cs changed 3 times in last 90 days, max cyclomatic complexity 19 in ReminderTableBehavioralSpec.CanApply at line 358. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Reminders.TestKit/ReminderTableModelBasedTestRunner.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":"src/Orleans.Reminders.TestKit/ReminderTableModelBasedTestRunner.cs"},"region":{"startLine":358}}}],"partialFingerprints":{"codehealthFindingId/v1":"18b2ced77190971047ebd55386f1629f304734c11c8f8d8f14a10b53b8576c43"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.CodeGenerator/Model/InvokableMethodDescription.cs: src/Orleans.CodeGenerator/Model/InvokableMethodDescription.cs changed 3 times in last 90 days, max cyclomatic complexity 19 in InvokableMethodDescription.InvokableMethodDescription.ctor at line 17. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.CodeGenerator/Model/InvokableMethodDescription.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":"src/Orleans.CodeGenerator/Model/InvokableMethodDescription.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"b96c30d86acae26384121ea5bf2e7382cb517732f1b7963aacd46f2df3dd96b0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: docs/site/src/lib/api/markdown.ts: docs/site/src/lib/api/markdown.ts changed 2 times in last 90 days, max cyclomatic complexity 28 in renderDocNode at line 176. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- docs/site/src/lib/api/markdown.ts\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":"docs/site/src/lib/api/markdown.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5ce78a3d63a79d9bf835bd89d947db6ea2aa3f9bf1029a822815a183f0c9c3f"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Serialization/Hosting/SerializerConfigurationAnalyzer.cs: src/Orleans.Serialization/Hosting/SerializerConfigurationAnalyzer.cs changed 3 times in last 90 days, max cyclomatic complexity 18 in SerializerConfigurationAnalyzer.AnalyzeSerializerAvailability at line 29. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Serialization/Hosting/SerializerConfigurationAnalyzer.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":"src/Orleans.Serialization/Hosting/SerializerConfigurationAnalyzer.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7f550fd136f06d9a458d71af82d92d8fdc0843722d3b029df42f6fb018cd7a2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Runtime/Manifest/ClusterManifestProvider.cs: src/Orleans.Runtime/Manifest/ClusterManifestProvider.cs changed 2 times in last 90 days, max cyclomatic complexity 26 in ClusterManifestProvider.UpdateManifest at line 179. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/Manifest/ClusterManifestProvider.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":"src/Orleans.Runtime/Manifest/ClusterManifestProvider.cs"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"046cbc69e1fa9f056fd78a86bbfe945267cc8fd8dd0b65bf3e2e12ca4b100cf4"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Core/CodeGeneration/GrainInterfaceUtils.cs: src/Orleans.Core/CodeGeneration/GrainInterfaceUtils.cs changed 2 times in last 90 days, max cyclomatic complexity 26 in GrainInterfaceUtils.GetMethods at line 22. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Core/CodeGeneration/GrainInterfaceUtils.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":"src/Orleans.Core/CodeGeneration/GrainInterfaceUtils.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1bb1e07a4e189bd5898233726d2784924654d471d42bdaf99385b4c4524cc2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Connections.Security/Security/TlsServerConnectionMiddleware.cs: src/Orleans.Connections.Security/Security/TlsServerConnectionMiddleware.cs changed 3 times in last 90 days, max cyclomatic complexity 17 in TlsServerConnectionMiddleware.InnerOnConnectionAsync at line 56. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Connections.Security/Security/TlsServerConnectionMiddleware.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":"src/Orleans.Connections.Security/Security/TlsServerConnectionMiddleware.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8daec2217026f5d7ad7992d189f5bbdb4eb89a9fbd0528fd89779792abfe923"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: docs/site/src/lib/api/packages.ts: docs/site/src/lib/api/packages.ts changed 3 times in last 90 days, max cyclomatic complexity 17 in buildTypeSignature at line 247. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- docs/site/src/lib/api/packages.ts\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":"docs/site/src/lib/api/packages.ts"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"84df28467ec96638d93e58e089d629a731e560b89178e57aff61a92f2bafd26c"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/IAzureQueueDataAdapter.cs: src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/IAzureQueueDataAdapter.cs changed 3 times in last 90 days, max cyclomatic complexity 16 in AzureQueueJsonDataAdapter.RemoveUnreferencedIds at line 321. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/IAzureQueueDataAdapter.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":"src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/IAzureQueueDataAdapter.cs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"75faec3cfd772d657ecc0b39f72a1c7e09a9467a35ed10d9d18e902366356736"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.CodeGenerator/SyntaxGeneration/SymbolExtensions.cs: src/Orleans.CodeGenerator/SyntaxGeneration/SymbolExtensions.cs changed 3 times in last 90 days, max cyclomatic complexity 16 in SymbolExtensions.ToTypeSyntaxInner at line 129. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.CodeGenerator/SyntaxGeneration/SymbolExtensions.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":"src/Orleans.CodeGenerator/SyntaxGeneration/SymbolExtensions.cs"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcb38b19d12916b0fa3836d87dc0b7f273877d593951490966cbdd8ce659f678"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs: src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs changed 3 times in last 90 days, max cyclomatic complexity 16 in TlsClientConnectionMiddleware.InnerOnConnectionAsync at line 43. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.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":"src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a37600c39f5098ec932068a5671e08d3e74d4d9c406d748f732619e9e5f7a16"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Runtime/Messaging/MessageCenter.cs: src/Orleans.Runtime/Messaging/MessageCenter.cs changed 3 times in last 90 days, max cyclomatic complexity 16 in MessageCenter.SendMessage at line 144. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/Messaging/MessageCenter.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":"src/Orleans.Runtime/Messaging/MessageCenter.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f26a465bc8ef78644d3b1f74a8fe5ce6de8af8fef6858246cc327e82723373"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Serialization/Buffers/Reader.cs: src/Orleans.Serialization/Buffers/Reader.cs changed 3 times in last 90 days, max cyclomatic complexity 15 in Reader.Skip at line 498. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Serialization/Buffers/Reader.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":"src/Orleans.Serialization/Buffers/Reader.cs"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"310146ab9092dcf5d6e164b47067ab3b53e49ba0b9408ffcf8206fe8d2459926"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Clustering.TestKit/MembershipTableTestRunner.cs: src/Orleans.Clustering.TestKit/MembershipTableTestRunner.cs changed 2 times in last 90 days, max cyclomatic complexity 22 in MembershipTableTestRunner.ConcurrentReads at line 695. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Clustering.TestKit/MembershipTableTestRunner.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":"src/Orleans.Clustering.TestKit/MembershipTableTestRunner.cs"},"region":{"startLine":695}}}],"partialFingerprints":{"codehealthFindingId/v1":"997e2cc1f9808b233d7a5986680d7f10d4010355846ab615379fd1bda1cf33e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/AWS/Orleans.Clustering.DynamoDB/Membership/SiloInstanceRecord.cs: src/AWS/Orleans.Clustering.DynamoDB/Membership/SiloInstanceRecord.cs changed 2 times in last 90 days, max cyclomatic complexity 22 in SiloInstanceRecord.SiloInstanceRecord.ctor at line 50. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/AWS/Orleans.Clustering.DynamoDB/Membership/SiloInstanceRecord.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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/SiloInstanceRecord.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"610768876fb0cca5bf8f65cf386bbf0f6ce68169fc8aff13f5409f74c1cc8740"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.CodeGenerator/CopierGenerator.cs: src/Orleans.CodeGenerator/CopierGenerator.cs changed 2 times in last 90 days, max cyclomatic complexity 21 in CopierGenerator.GenerateCopier 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.CodeGenerator/CopierGenerator.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":"src/Orleans.CodeGenerator/CopierGenerator.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"4645607dc0acc7788ee3959ff2cb8e89b258296d0ef7a5b12f6ded6b89d5fe0d"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Runtime/MembershipService/LocalSiloHealthEventHistory.cs: src/Orleans.Runtime/MembershipService/LocalSiloHealthEventHistory.cs changed 2 times in last 90 days, max cyclomatic complexity 21 in LocalSiloHealthEventHistory.Aggregate at line 53. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/MembershipService/LocalSiloHealthEventHistory.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":"src/Orleans.Runtime/MembershipService/LocalSiloHealthEventHistory.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"a93da259f5470217e33acfc0aec82f1297b7e1d71c4fc10030355356171475b9"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Clustering.TestKit/MembershipTableModelBasedTestRunner.cs: src/Orleans.Clustering.TestKit/MembershipTableModelBasedTestRunner.cs changed 2 times in last 90 days, max cyclomatic complexity 20 in MembershipTableModelBasedTestRunner.RunGeneratedConformanceTests at line 45. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Clustering.TestKit/MembershipTableModelBasedTestRunner.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":"src/Orleans.Clustering.TestKit/MembershipTableModelBasedTestRunner.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c72b88b14ad47b6f469634f6c08d99de18775dba49eae70b800dc0e0fec1741"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Core.Abstractions/Utils/Utils.cs: src/Orleans.Core.Abstractions/Utils/Utils.cs changed 2 times in last 90 days, max cyclomatic complexity 20 in Utils.EnumerableToString 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Core.Abstractions/Utils/Utils.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":"src/Orleans.Core.Abstractions/Utils/Utils.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8e6d48c842b347c78c0a66fc7cc8e6ffcb345f756799179e91d087c3a00bc3e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipHelper.cs: src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipHelper.cs changed 2 times in last 90 days, max cyclomatic complexity 19 in DynamoDBMembershipHelper.ParseDataConnectionString at line 23. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipHelper.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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipHelper.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"85c279f69044127c825355f46009139d090bc692439c4c3fd93bcfecaa03820e"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Core/Messaging/Message.cs: src/Orleans.Core/Messaging/Message.cs changed 2 times in last 90 days, max cyclomatic complexity 19 in Message.TryFormat at line 335. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Core/Messaging/Message.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":"src/Orleans.Core/Messaging/Message.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"5159a2f945db7eafc829a97d18ee3fc7df9a9d6b8f38afe72e3af5028f3c2a00"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Core/Async/AsyncExecutorWithRetries.cs: src/Orleans.Core/Async/AsyncExecutorWithRetries.cs changed 2 times in last 90 days, max cyclomatic complexity 19 in AsyncExecutorWithRetries.ExecuteWithRetriesHelper at line 208. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Core/Async/AsyncExecutorWithRetries.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":"src/Orleans.Core/Async/AsyncExecutorWithRetries.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dd41f233cdc3b73b6bc22ca9d78ac4d87c89ab94d74a6f3418b2a5dc1ce6225"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Dashboard/Orleans.Dashboard/Implementation/LifecycleStageInspector.cs: src/Dashboard/Orleans.Dashboard/Implementation/LifecycleStageInspector.cs changed 2 times in last 90 days, max cyclomatic complexity 18 in LifecycleStageInspector.CleanMethodName at line 210. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Dashboard/Orleans.Dashboard/Implementation/LifecycleStageInspector.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":"src/Dashboard/Orleans.Dashboard/Implementation/LifecycleStageInspector.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"764ec150dbf27d461d04da081f2e48ac9ddb7e047462f0530367eb54b8045003"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Journaling/JournalCatalogRange.cs: src/Orleans.Journaling/JournalCatalogRange.cs changed 2 times in last 90 days, max cyclomatic complexity 17 in JournalCatalogRange.JournalCatalogRange.ctor at line 5. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Journaling/JournalCatalogRange.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":"src/Orleans.Journaling/JournalCatalogRange.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2a9df649b3e74fdb18418457234f23f67cee194b1b3fd67a9c364d085a57b55"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Core/Messaging/ClientMessageCenter.cs: src/Orleans.Core/Messaging/ClientMessageCenter.cs changed 2 times in last 90 days, max cyclomatic complexity 17 in ClientMessageCenter.GetGatewayConnection at line 231. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Core/Messaging/ClientMessageCenter.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":"src/Orleans.Core/Messaging/ClientMessageCenter.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"952c876b4ad90bbeb38422b722f3e3ee27d33f45bba0b53e5458c85cdc5ba62a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Runtime/Timers/AsyncTimer.cs: src/Orleans.Runtime/Timers/AsyncTimer.cs changed 2 times in last 90 days, max cyclomatic complexity 17 in AsyncTimer.NextTick at line 39. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/Timers/AsyncTimer.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":"src/Orleans.Runtime/Timers/AsyncTimer.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ce874995fdcf9c8a7bd10cd41710ef002469341592207774a8696258e0fe15a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/AWS/Orleans.Persistence.DynamoDB/Hosting/DynamoDBGrainStorageProviderBuilder.cs: src/AWS/Orleans.Persistence.DynamoDB/Hosting/DynamoDBGrainStorageProviderBuilder.cs changed 2 times in last 90 days, max cyclomatic complexity 16 in DynamoDBGrainStorageProviderBuilder.Configure at line 17. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/AWS/Orleans.Persistence.DynamoDB/Hosting/DynamoDBGrainStorageProviderBuilder.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":"src/AWS/Orleans.Persistence.DynamoDB/Hosting/DynamoDBGrainStorageProviderBuilder.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8c0d8eab3dd4b7a7cd89f1e164b06ac29ba4e720d57787a2b2d997831f1bd12"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Runtime/GrainDirectory/RingRange.cs: src/Orleans.Runtime/GrainDirectory/RingRange.cs changed 2 times in last 90 days, max cyclomatic complexity 15 in RingRange.Intersections at line 177. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/GrainDirectory/RingRange.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":"src/Orleans.Runtime/GrainDirectory/RingRange.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7334789524a24ec181ec8b1613b059f8f6f7c583f760bf93814a7d5aed31bde"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Serialization/Codecs/FloatCodec.cs: src/Orleans.Serialization/Codecs/FloatCodec.cs changed 2 times in last 90 days, max cyclomatic complexity 15 in HalfCodec.ReadValue at line 376. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Serialization/Codecs/FloatCodec.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":"src/Orleans.Serialization/Codecs/FloatCodec.cs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"765e9c758300eb5aeb160718a1e873cc964d63013ec4993f7bb92a33f7ed6c17"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.Runtime/Placement/Repartitioning/ActivationRepartitioner.MessageSink.cs: src/Orleans.Runtime/Placement/Repartitioning/ActivationRepartitioner.MessageSink.cs changed 2 times in last 90 days, max cyclomatic complexity 15 in ActivationRepartitioner.ProcessPendingEdges at line 40. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/Placement/Repartitioning/ActivationRepartitioner.MessageSink.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":"src/Orleans.Runtime/Placement/Repartitioning/ActivationRepartitioner.MessageSink.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"260cf97090a766638d0b15544dfed1886d02525306065aabd634aef5b356b689"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.CodeGenerator/Model/SerializableTypeDescription.cs: src/Orleans.CodeGenerator/Model/SerializableTypeDescription.cs changed 2 times in last 90 days, max cyclomatic complexity 15 in SerializableTypeDescription.SerializableTypeDescription.ctor at line 12. 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.CodeGenerator/Model/SerializableTypeDescription.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":"src/Orleans.CodeGenerator/Model/SerializableTypeDescription.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"00cb27aebe39c94df56b6d246e65475480cd5f1eba6205f1f5f2dedf328d08fa"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: src/Orleans.CodeGenerator/FieldIdAssignmentHelper.cs: src/Orleans.CodeGenerator/FieldIdAssignmentHelper.cs changed 2 times in last 90 days, max cyclomatic complexity 15 in FieldIdAssignmentHelper.ExtractFieldIdAnnotations 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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.CodeGenerator/FieldIdAssignmentHelper.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":"src/Orleans.CodeGenerator/FieldIdAssignmentHelper.cs"},"region":{"startLine":99}}}],"partialFingerprints":{"codehealthFindingId/v1":"8395fb16b0b2833c618c87f9b63d1b49fdacd6b8a184a853774a49df4ae342f4"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.Reminders/ReminderService/LocalReminderService.cs: src/Orleans.Reminders/ReminderService/LocalReminderService.cs changed 20 times in last 90 days and 15 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 14 (its worst body is LocalReminderData.WaitForNextTick at line 1406), 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(analyzers): enforce ordinal string comparisons (#11150)\u201D; \u201Cfix(reminders): await queued startup range changes (#11132)\u201D; \u201Cfix(reminders): order topology reconciliation admission (#11118)\u201D; \u201Cfix(testing): separate reminder refresh barriers (#11021)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Reminders/ReminderService/LocalReminderService.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":"src/Orleans.Reminders/ReminderService/LocalReminderService.cs"},"region":{"startLine":1406}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e9f190a504e6ebdb0bbb637ce5a7caad71c3b7bfee63e1c473f513806f2ce80"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.Runtime/GrainDirectory/GrainDirectoryPartition.cs: src/Orleans.Runtime/GrainDirectory/GrainDirectoryPartition.cs changed 14 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 12 (its worst body is GrainDirectoryPartition.TransferSnapshotAsync at line 672), 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: report exact ring cardinality and cover range boundaries (#11221)\u201D; \u201Cfix(directory): deactivate recovery duplicates (#11030)\u201D; \u201Cfix(directory): preserve newer recovery registrations (#10533)\u201D; \u201Cfix(directory): strengthen single-activation guarantees (#9958)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/GrainDirectory/GrainDirectoryPartition.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":"src/Orleans.Runtime/GrainDirectory/GrainDirectoryPartition.cs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"64470966106b414387b256214359914a4f60e10b0d5d8bb066a01f0dc2de9a6a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.Runtime/GrainDirectory/DistributedGrainDirectory.cs: src/Orleans.Runtime/GrainDirectory/DistributedGrainDirectory.cs changed 11 times in last 90 days and 8 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 13 (its worst body is DistributedGrainDirectory.ProcessMembershipUpdates at line 518), 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(directory): wait for active membership during startup (#10613)\u201D; \u201Cfix(runtime): refresh stale empty directory views (#10625)\u201D; \u201Cfix(directory): arm lease retry before notification (#10447)\u201D; \u201Cfix(directory): strengthen single-activation guarantees (#9958)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/GrainDirectory/DistributedGrainDirectory.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":"src/Orleans.Runtime/GrainDirectory/DistributedGrainDirectory.cs"},"region":{"startLine":518}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd0239fac597d6cde6105e338cfbc34ede4032b207a52c17bb22a635dece6c1e"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.Runtime/MembershipService/MembershipTableManager.cs: src/Orleans.Runtime/MembershipService/MembershipTableManager.cs changed 10 times in last 90 days and 8 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 MembershipTableManager.GossipToOthers at line 724), 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(membership): preserve canonical membership views (#11296)\u201D; \u201Cfix(streaming): remove defunct stream publishers (#10532)\u201D; \u201Cfix(runtime): honor membership and load cancellation lifetimes (#11237)\u201D; \u201Cfix(analyzers): enforce ordinal string comparisons (#11150)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/MembershipService/MembershipTableManager.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":"src/Orleans.Runtime/MembershipService/MembershipTableManager.cs"},"region":{"startLine":724}}}],"partialFingerprints":{"codehealthFindingId/v1":"a13e38800c6128fa26573e01f8bd873f8077339776e7c9d8d7197cfb97f59bac"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.Core/Runtime/OutsideRuntimeClient.cs: src/Orleans.Core/Runtime/OutsideRuntimeClient.cs changed 10 times in last 90 days and 7 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 OutsideRuntimeClient.ReceiveResponse at line 334), 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: drain admitted client observer invocations during shutdown (#11264)\u201D; \u201Cfix(runtime): use messaging clock for callback expiry (#11180)\u201D; \u201Cfix(core): enforce disposable ownership (#11052)\u201D; \u201Cfix(runtime): close callback admission during shutdown (#10290)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Core/Runtime/OutsideRuntimeClient.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":"src/Orleans.Core/Runtime/OutsideRuntimeClient.cs"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cddcff17f4a5971d3d934599b5d95ad4b38c35787039d8becae028c96cdedaf"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.Clustering.ZooKeeper/ZooKeeperBasedMembershipTable.cs: src/Orleans.Clustering.ZooKeeper/ZooKeeperBasedMembershipTable.cs changed 8 times in last 90 days and 5 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 10 (its worst body is ZooKeeperBasedMembershipTable.CleanupRowAsync at line 620), 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(zookeeper): make membership reads sequential and resilient (#11338)\u201D; \u201Cfix(zookeeper): preserve membership consistency (#11316)\u201D; \u201Cfix(runtime): honor membership and load cancellation lifetimes (#11237)\u201D; \u201Cfix(zookeeper): validate clustering inputs (#11138)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Clustering.ZooKeeper/ZooKeeperBasedMembershipTable.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":"src/Orleans.Clustering.ZooKeeper/ZooKeeperBasedMembershipTable.cs"},"region":{"startLine":620}}}],"partialFingerprints":{"codehealthFindingId/v1":"52c122ed885116086ecfa4068b39f8e32e34e2d2b1431e69cf873da0da14b97a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Azure/Orleans.Clustering.AzureStorage/OrleansSiloInstanceManager.cs: src/Azure/Orleans.Clustering.AzureStorage/OrleansSiloInstanceManager.cs changed 7 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 10 (its worst body is OrleansSiloInstanceManager.DumpSiloInstanceTable at line 172), 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(azure): preserve membership consistency (#11309)\u201D; \u201Cfix(runtime): honor membership and load cancellation lifetimes (#11237)\u201D; \u201Cfix(azure): use invariant clustering text (#11107)\u201D; \u201Cfix(azure): fence paginated membership reads (#10381)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Azure/Orleans.Clustering.AzureStorage/OrleansSiloInstanceManager.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":"src/Azure/Orleans.Clustering.AzureStorage/OrleansSiloInstanceManager.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8af9506ae13f59030c3344713953175e7d357af839cb7807f4a1d545830df05"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Azure/Orleans.Reminders.AzureStorage/Storage/AzureBasedReminderTable.cs: src/Azure/Orleans.Reminders.AzureStorage/Storage/AzureBasedReminderTable.cs changed 7 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 7 (its worst body is AzureBasedReminderTable.StartAsync at line 61), 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(reminders): preserve cleanup failures (#11195)\u201D; \u201Cfix(analyzers): enforce ordinal string comparisons (#11150)\u201D; \u201Cfix(azure): validate reminder options (#11101)\u201D; \u201Cfix(build): resolve analyzer enforcement blockers (#11080)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Azure/Orleans.Reminders.AzureStorage/Storage/AzureBasedReminderTable.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":"src/Azure/Orleans.Reminders.AzureStorage/Storage/AzureBasedReminderTable.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"f258f3fa733ac7b2d4f9682d3b0da42a99cada5ea3f8c783d64fda6372ecea80"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.Streaming/PersistentStreams/QueueStreamDataStructures.cs: src/Orleans.Streaming/PersistentStreams/QueueStreamDataStructures.cs changed 6 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 4 (its worst body is StreamConsumerData.SafeDisposeCursor at line 66), 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: \u201Crevert(streaming): revert drained-subscription checkpoint advancement (#11330)\u201D; \u201Cfix(streaming): drain detached pulling-agent work (#11268)\u201D; \u201Cfix(streaming): advance checkpoints past drained subscriptions (#11249)\u201D; \u201Cfix(streaming): preserve prefetched recovery batches (#11149)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Streaming/PersistentStreams/QueueStreamDataStructures.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":"src/Orleans.Streaming/PersistentStreams/QueueStreamDataStructures.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"59de71d6cfbf795531c2bc8c2c310d879bb70c7fc9eea819c50c7cba149f53c7"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.DurableJobs/LocalDurableJobManager.cs: src/Orleans.DurableJobs/LocalDurableJobManager.cs changed 6 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 LocalDurableJobManager.CancelAsync at line 310), 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(durable-jobs): unregister running shards during shutdown (#11301)\u201D; \u201Cfix(durable-jobs): drain scheduling and activation on shutdown (#11256)\u201D; \u201Cfix(durable-jobs): treat shutdown cancellation as normal (#10285)\u201D; \u201Cfix: resolve TimeProvider via keyed DI per subsystem (#10271)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.DurableJobs/LocalDurableJobManager.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":"src/Orleans.DurableJobs/LocalDurableJobManager.cs"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"60605ca425e66cb0d2359b8196aadb75f20948c353f5c9a696ce063146199b85"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.Streaming/PersistentStreams/StreamConsumerCollection.cs: src/Orleans.Streaming/PersistentStreams/StreamConsumerCollection.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 4 (its worst body is StreamConsumerCollection.IsInactive at line 84), 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: \u201Crevert(streaming): revert drained-subscription checkpoint advancement (#11330)\u201D; \u201Cfix(streaming): drain detached pulling-agent work (#11268)\u201D; \u201Cfix(streaming): advance checkpoints past drained subscriptions (#11249)\u201D; \u201Cfix(streaming): release ADO.NET messages during queue handoff (#10574)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Streaming/PersistentStreams/StreamConsumerCollection.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":"src/Orleans.Streaming/PersistentStreams/StreamConsumerCollection.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"0659f49638f3c73f6a6451d22e7897fdcc6666d821af5ad4c682cf82560869ec"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Google/Orleans.Clustering.Firestore/FirestoreMembershipTable.cs: src/Google/Orleans.Clustering.Firestore/FirestoreMembershipTable.cs changed 5 times in last 90 days and 3 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 7 (its worst body is FirestoreMembershipTable.CleanupDefunctSiloEntriesAsync at line 73), 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(firestore): preserve atomic membership reads (#11342)\u201D; \u201Cfix(firestore): preserve membership consistency (#11311)\u201D; \u201Cfix(runtime): honor membership and load cancellation lifetimes (#11237)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Google/Orleans.Clustering.Firestore/FirestoreMembershipTable.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":"src/Google/Orleans.Clustering.Firestore/FirestoreMembershipTable.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2bd636b96a3fe0fbbf5aa4f93c81469749382f50c0f2f2c946aa7a698d0b4dc"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs: src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs changed 5 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 DynamoDBMembershipTable.ParseRecord at line 410), 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(aws): preserve DynamoDB membership consistency (#11310)\u201D; \u201Cfix(runtime): honor membership and load cancellation lifetimes (#11237)\u201D; \u201Cfix(aws): use invariant DynamoDB clustering text (#11051)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.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":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs"},"region":{"startLine":410}}}],"partialFingerprints":{"codehealthFindingId/v1":"73dee225438f6ece61e374402d9e2a356f3ff364af69873e42490b78fa9e0316"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Azure/Shared/Storage/AzureTableDataManager.cs: src/Azure/Shared/Storage/AzureTableDataManager.cs changed 5 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 AzureTableDataManager.DeleteTableEntriesAsync at line 472), 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(runtime): honor membership and load cancellation lifetimes (#11237)\u201D; \u201Cfix(build): resolve analyzer enforcement blockers (#11080)\u201D; \u201Cfix(azure): fence paginated membership reads (#10381)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Azure/Shared/Storage/AzureTableDataManager.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":"src/Azure/Shared/Storage/AzureTableDataManager.cs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ebece10abdb911efc862c934af3ff1cbe4e4fe44b89d6f8bddff6f0edc5120"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.Serialization/GeneratedCodeHelpers/OrleansGeneratedCodeHelper.cs: src/Orleans.Serialization/GeneratedCodeHelpers/OrleansGeneratedCodeHelper.cs changed 5 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 13 (its worst body is OrleansGeneratedCodeHelper.GetMethodInfoOrDefaultCore at line 245), 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(serialization): validate support contracts (#11174)\u201D; \u201Cfix(serialization): validate codec arguments (#11168)\u201D; \u201Cfix(serialization): make reflection trim-safe (#11115)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Serialization/GeneratedCodeHelpers/OrleansGeneratedCodeHelper.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":"src/Orleans.Serialization/GeneratedCodeHelpers/OrleansGeneratedCodeHelper.cs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"9860f5355c0f5656e03ff7522dac8fa379eed4853972b14adab51870f33cdf21"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.Serialization.FSharp/FSharpCodecs.cs: src/Orleans.Serialization.FSharp/FSharpCodecs.cs changed 5 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 10 (its worst body is FSharpChoiceCodec.ReadValue at line 931), 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(serialization): validate codec arguments (#11168)\u201D; \u201Cfix: define CA1815 value semantics (#11166)\u201D; \u201Cfix(analyzers): expand CA1062 library coverage (#11160)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Serialization.FSharp/FSharpCodecs.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":"src/Orleans.Serialization.FSharp/FSharpCodecs.cs"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"2441abd999bb1f7afb753b1e056fb710256d38cad228b143d385b537ed54ed4c"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.Journaling/IJournaledStateManager.cs: src/Orleans.Journaling/IJournaledStateManager.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 IJournaledStateManager.DisposeAsync at line 16), 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(journaling): serialize recovery retries and preserve persistence failures (#11326)\u201D; \u201Cfix(journaling)!: recover failed operations in new activations (#11276)\u201D; \u201Cfix(journaling): make snapshot commits and rollback atomic (#10681)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Journaling/IJournaledStateManager.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":"src/Orleans.Journaling/IJournaledStateManager.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"12f26cd2695baa7d858f261def232775291ffb499e0e40a9873a244cd1913194"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.TestingHost/InProcess/InProcessMembershipTable.cs: src/Orleans.TestingHost/InProcess/InProcessMembershipTable.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 4 (its worst body is Table.Update at line 194), 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(membership): preserve core membership invariants (#11307)\u201D; \u201Cfix(runtime): honor membership and load cancellation lifetimes (#11237)\u201D; \u201Cfix(analyzers): enforce ordinal string comparisons (#11150)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.TestingHost/InProcess/InProcessMembershipTable.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":"src/Orleans.TestingHost/InProcess/InProcessMembershipTable.cs"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c6aab948e40aaa33aa46806fc9b8ce419ac6b6b4f123fcef50d91e3af6203e5"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.Clustering.ZooKeeper/ZooKeeperGatewayListProvider.cs: src/Orleans.Clustering.ZooKeeper/ZooKeeperGatewayListProvider.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 2 (its worst body is ZooKeeperGatewayListProvider.GetGateways at line 88), 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(zookeeper): make membership reads sequential and resilient (#11338)\u201D; \u201Cfix(runtime): honor membership and load cancellation lifetimes (#11237)\u201D; \u201Cfix(zookeeper): validate clustering inputs (#11138)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Clustering.ZooKeeper/ZooKeeperGatewayListProvider.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":"src/Orleans.Clustering.ZooKeeper/ZooKeeperGatewayListProvider.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e72d86d3991ec9e9591ebad95155484a9367bb69be604575a7e4ce3c8a5f3a9f"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.Runtime/MembershipService/InMemoryMembershipTable.cs: src/Orleans.Runtime/MembershipService/InMemoryMembershipTable.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 4 (its worst body is InMemoryMembershipTable.Update at line 58), 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(membership): preserve core membership invariants (#11307)\u201D; \u201Cfix(analyzers): enforce ordinal string comparisons (#11150)\u201D; \u201Cfix(membership): retain recently-declared-dead entries during pruning (#10269)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/MembershipService/InMemoryMembershipTable.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":"src/Orleans.Runtime/MembershipService/InMemoryMembershipTable.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"9abb025fceb705f8a492e8405f901ab32955871140b4ba987be1442e36fe600a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.Runtime/MembershipService/SystemTargetBasedMembershipTable.cs: src/Orleans.Runtime/MembershipService/SystemTargetBasedMembershipTable.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 9 (its worst body is SystemTargetBasedMembershipTable.WaitForTableGrainToInit at line 64), 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(membership): preserve core membership invariants (#11307)\u201D; \u201Cfix(membership): preserve canonical membership views (#11296)\u201D; \u201Cfix(runtime): honor membership and load cancellation lifetimes (#11237)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/MembershipService/SystemTargetBasedMembershipTable.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":"src/Orleans.Runtime/MembershipService/SystemTargetBasedMembershipTable.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c74bb59db1c77d78a1c9de4067a7718106bd6fe2a6fbf99a6c2664df274fe17"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.Core/Runtime/CallbackData.cs: src/Orleans.Core/Runtime/CallbackData.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 4 (its worst body is CallbackData.SubscribeForCancellation at line 40), 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(runtime): use messaging clock for callback expiry (#11180)\u201D; \u201Cfix(runtime): close callback admission during shutdown (#10290)\u201D; \u201Cfix(runtime): fault outstanding callbacks when a host shuts down (#10275)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Core/Runtime/CallbackData.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":"src/Orleans.Core/Runtime/CallbackData.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"a35eaf1205a1477ea29e494839d5950ac725f83b4397dc23f79f0eb4ccd6267a"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.Core/Core/ClientBuilderExtensions.cs: src/Orleans.Core/Core/ClientBuilderExtensions.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 5 (its worst body is ClientBuilderExtensions.UseLocalhostClustering at line 231), 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(core): validate boundary arguments (#11178)\u201D; \u201Cfix(core): preserve DI constructors when trimming (#11170)\u201D; \u201Cfix(analyzers): enforce ordinal string comparisons (#11150)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Core/Core/ClientBuilderExtensions.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":"src/Orleans.Core/Core/ClientBuilderExtensions.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12dcd21194a6f8cf52db7ac7fbcd9d471663e099a3cc880ff74813af0cd8b48"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.Runtime/GrainDirectory/DistributedRemoteGrainDirectory.cs: src/Orleans.Runtime/GrainDirectory/DistributedRemoteGrainDirectory.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 9 (its worst body is DistributedRemoteGrainDirectory.ProcessSplitPartitionRegistrationsAsync at line 176), 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(directory): strengthen single-activation guarantees (#9958)\u201D; \u201Cfix(directory): make rolling upgrade handoffs durable (#10323)\u201D; \u201Cfix(directory): support rolling upgrades to distributed directory (#10309)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/GrainDirectory/DistributedRemoteGrainDirectory.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":"src/Orleans.Runtime/GrainDirectory/DistributedRemoteGrainDirectory.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"bbe674a4c4078154999ee8714ac318f47dd170b395875bce25b70c49dae90b65"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.Runtime/Placement/Rebalancing/ActivationRebalancerMonitor.cs: src/Orleans.Runtime/Placement/Rebalancing/ActivationRebalancerMonitor.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 5 (its worst body is ActivationRebalancerMonitor.OnStart at line 78), 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(runtime): preserve rebalancer state on shutdown (#10573)\u201D; \u201Cfix: resolve TimeProvider via keyed DI per subsystem (#10271)\u201D; \u201Cfix: use explicit address equality (#10257)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Runtime/Placement/Rebalancing/ActivationRebalancerMonitor.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":"src/Orleans.Runtime/Placement/Rebalancing/ActivationRebalancerMonitor.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"30e5350fe10a769fae0279ea8f2e43777ebcd0c19f51068ebe4a948cbed12447"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.Reminders.TestKit/ReminderTableRetryPolicy.cs: src/Orleans.Reminders.TestKit/ReminderTableRetryPolicy.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 14 (its worst body is ReminderTableRetryPolicy.ExecuteUntilAsync at line 106), 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(reminders): observe completed retries before timeout (#10916)\u201D; \u201Cfix(test): propagate xUnit cancellation (#10845)\u201D; \u201Cfix(reminders): always start the first retry attempt (#10819)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.Reminders.TestKit/ReminderTableRetryPolicy.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":"src/Orleans.Reminders.TestKit/ReminderTableRetryPolicy.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"6878f8ffc5e2ab7674540a0e694694e1facf7ded31c5762d9ff85b9f6eddd1ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Orleans.TestingHost/TestClusterFatalErrorHandler.cs: src/Orleans.TestingHost/TestClusterFatalErrorHandler.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 4 (its worst body is TestClusterHostTerminator.Stop at line 42), 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(testing): tolerate cancellation during client kill (#11339)\u201D; \u201Cfix(testing): cancel draining after fatal silo errors (#11294)\u201D; \u201Cfix(testing): prevent fatal errors from terminating test hosts (#10438)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Orleans.TestingHost/TestClusterFatalErrorHandler.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":"src/Orleans.TestingHost/TestClusterFatalErrorHandler.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b560781288b871787c7bbda85e235430ac167f63003e9563d4a65f2e15ed9481"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: src/Cassandra/Orleans.Clustering.Cassandra/CassandraClusteringTable.cs: src/Cassandra/Orleans.Clustering.Cassandra/CassandraClusteringTable.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 14 (its worst body is CassandraClusteringTable.ReadConsistentAsync at line 269), 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(cassandra): preserve membership consistency (#11315)\u201D; \u201Cfix(runtime): honor membership and load cancellation lifetimes (#11237)\u201D; \u201Cfix(analyzers): enforce ordinal string comparisons (#11150)\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-06-23..2026-09-21, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-06-23 14:48:44 -07:00\u0027 --until=\u00272026-09-21 14:48:44 -07:00\u0027 --full-history --no-merges -- src/Cassandra/Orleans.Clustering.Cassandra/CassandraClusteringTable.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":"src/Cassandra/Orleans.Clustering.Cassandra/CassandraClusteringTable.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fe19af67232bf8ca144625dd910ec83fee0f3c868deedf9c2dbd2c9a519d4e7"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 282 significant file(s) lose their only recent owner: src/Orleans.Reminders/ReminderService/LocalReminderService.cs, src/Orleans.Transactions/State/TransactionQueue.cs, src/Orleans.Runtime/MembershipService/MembershipTableManager.cs, src/Orleans.Serialization.FSharp/FSharpCodecs.cs, src/Orleans.Serialization/Buffers/ArcBufferWriter.cs, src/Orleans.Runtime/GrainDirectory/GrainDirectoryPartition.cs, src/Orleans.Journaling/JournaledStateManager.cs, src/Orleans.Runtime/GrainDirectory/LocalGrainDirectory.cs (\u002B274 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"7c4a09cbeee34c7ea28cdcc551ba4adcec7d544004dc698830aa29e311d266c4"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 3 significant file(s) lose their only recent owner: src/Orleans.Streaming/Common/Monitors/DefaultCacheMonitor.cs, src/Orleans.Streaming/Common/Monitors/DefaultQueueAdapterReceiverMonitor.cs, src/Orleans.Streaming/Common/Monitors/DefaultBlockPoolMonitor.cs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"425877e68dd180556ab626798fed7648de15546a0b03fe669d453f37904059f5"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 2 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (288 single-owned of 1119 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; 1119 of the 2005 production source files in this repository met that bar). They are anonymized user #3 (1 file(s)), anonymized user #4 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj \u2014 10 warning codes suppressed in one element: A single \u003CNoWarn\u003E suppresses 10 warning codes (IL2026;IL2055;IL2057;IL2060;IL2071;IL2077;IL2090;IL2096;IL3050;IL4000) in one stroke \u2014 one team-wide decision, not 10 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":"src/Orleans.Serialization/Orleans.Serialization.csproj"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"0df1e15fb75e0902363f606be6d2cfe46195657463e283ae2cb4559e94d91060"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable ORLEANSEXP002 \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":"playground/ActivationRebalancing/ActivationRebalancing.Cluster/Program.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c8e46326dd604f74a07d26b9bed6d270cec673f32d05ad39e79fcfbb7fa9195"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable ORLEANSEXP002 \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":"test/Orleans.Placement.Tests/ActivationRebalancingTests/RebalancerFixture.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0103609f04ae758a91df95731c90767a17a563ca3d126c20843133eb55e715e"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable ORLEANSEXP002 \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":"test/Orleans.Placement.Tests/ActivationRebalancingTests/StatePreservationRebalancingTests.cs"},"region":{"startLine":193}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e28b6422eade370c3330dec2a9ef1dc5552e2f9867cf74776fd44c1a4f3cd0c"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable ORLEANSEXP002 \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":"test/Orleans.Runtime.Internal.Tests/DependencyInjection/GenericRegistrationTests.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6a09f318a9e55ea50098f15127b8c82d3b9c7bcd804d86446cc0084356261c3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/ChaoticCluster/ChaoticCluster.ServiceDefaults/Extensions.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fe581388042c3876a339ece2d519256a827303ea5ed1709979e30457bc4c14e"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.Redis.Tests/Persistence/RedisPersistenceGrainTests.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"3af1828b24cbc98635f9cd78c639062dd7f0bcaaa8337116e4db12e2b4585e13"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Grains/TestGrains/ActivationCancellationTestGrains.cs"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f410e44d755048e7148a90d135346ec9df8a512995e2490a01140bd4c2850dd"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Grains/TestInternalGrains/StreamReliabilityTestGrains.cs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"51c9485d17819a42c4a295baab3afc2224423296386ef563f40167dba28b1197"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/ManagementAgentTests.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c3b018c302a8058b25a29af30ce6c7a398580639ac6d92838d728573ee1ee3b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 5 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Serialization.UnitTests/RecordSerializationTests.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a13ec11c65ec08fcf6b66b6fa04f66a57b934977b04cf5419d7925649df6f6d"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InitializeMembershipTable"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b826a1fec03d08be4d1ba6391d1efac514b44ed4141a3036d030c0bf49d02e1e"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InitializeMembershipTable"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Clustering.AzureStorage/AzureBasedMembershipTable.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"ada5ebb7ad8867015d4d76916d1aac4c63bb3293b750f0261cfae99adc175c18"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InitializeMembershipTable"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Clustering.Cosmos/Membership/CosmosMembershipTable.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"22754018d263069ba347a421f98658fbadf648869dbc6e839475388483894bb0"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InitializeMembershipTable"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Google/Orleans.Clustering.Firestore/FirestoreMembershipTable.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"b74f6a4580fc37ce2b98c691e9f97f832cfbd317a6b4dc168b7845b94b69bac5"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InitializeMembershipTable"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/InProcess/InProcessMembershipTable.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cb94e5255516601afa11c7e9b788f5c8810992a7f5a59955ec8104a1e7028c7"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InitializeMembershipTable"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Redis/Orleans.Clustering.Redis/Storage/RedisMembershipTable.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"7fb0cb46f41bde75253e82992de99f87ddba15b09ba1c45e61ab305d3dd3376b"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InitializeMembershipTable"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/InMemoryMembershipTable.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcfe86626e647f3f08ad3fbd1ab880d2ee839aea4579fa45b3f9fc1b83dc2b39"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InitializeMembershipTable"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/LegacyMembershipTable.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b216cde21332b196b8c3767b04d075386bc08e56cfc17c776ed025272dfe089"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InitializeMembershipTable"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/MembershipTableCancellationTests.cs"},"region":{"startLine":429}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3dab2c32cce5f8cd6d5a3003112f0192f49301e21cca741c88e0106a3e8dfa9"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InitializeMembershipTable"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/SiloBuilderTests.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3264a6508e1c8287c7ed428939c7f59b7c9da79a33422de77cbf20a41032d0e"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] DeleteMembershipTableEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"848e0bb38063d3295215c7529b49f7c96dcdff3111a35435111597749daf18c8"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] DeleteMembershipTableEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Clustering.AzureStorage/AzureBasedMembershipTable.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"80f563f9dae3490cc0f8ae887c9a7052509407478c2484b2224dd475546058ff"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] DeleteMembershipTableEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Clustering.Cosmos/Membership/CosmosMembershipTable.cs"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f9b5a4ed655fce9813daaa393d771efa863d858b2ad2ba3cf146acb010931f"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] DeleteMembershipTableEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Google/Orleans.Clustering.Firestore/FirestoreMembershipTable.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5747a4d3760c16dd1ab2d2c17a93b986d04643b78e08a704ebc89afa16de84d"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] DeleteMembershipTableEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/InProcess/InProcessMembershipTable.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"01cd0feeb4872dce2a9d2032b5600154c439c3110f2b7b0100ffd82be2e2b07f"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] DeleteMembershipTableEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Redis/Orleans.Clustering.Redis/Storage/RedisMembershipTable.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"177019aaf569ee8ccff3aa95c60dc5ca8c25a0689d76943098477ec20946bcb1"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] DeleteMembershipTableEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/InMemoryMembershipTable.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"244202f75382bcf0da53f00e4713d4fb38b421a104b71d69481977b77deb0c3c"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] DeleteMembershipTableEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/LegacyMembershipTable.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"db452079920c0470a5c2a1df0c22ac9ffdc049f371cb0b83bb3edcdd249afaa8"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] DeleteMembershipTableEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/MembershipTableCancellationTests.cs"},"region":{"startLine":431}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3cdfa5bb4ef20714c6a049df2a4613d3dfa47e11e39438a9fbb4ca32b51ee3"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] DeleteMembershipTableEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/SiloBuilderTests.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"e68d271ff2ffbd4228bc49630b3f6e623443a2e2960adf28cba4b5562554839a"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c58001dfb294b6791d957f02622551a94f0a56e5bbf79719de889b70f1104bb"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Clustering.AzureStorage/AzureBasedMembershipTable.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"eeb226f539605e9ac87149b9e2f08cb1bf4214544ca3429b10b106202745178a"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Clustering.Cosmos/Membership/CosmosMembershipTable.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"6520730a99db95ea1ae719cffeffa472010b78332837860c30fb200a5fd0ae14"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Google/Orleans.Clustering.Firestore/FirestoreMembershipTable.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7ff5943f6a4acb407a7ade22664710202b485d7962c53f8ca19d379c5c0874b"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/MembershipService/SystemTargetBasedMembershipTable.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"032648994222b7b2e162a46588833346d46289c8f9ead789c9c92996972c13c1"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/MembershipService/SystemTargetBasedMembershipTable.cs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"058bf569d40419b2d3ca1a85921e74fc0b78802f3cb31c37b9e928bbb092e029"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/InProcess/InProcessMembershipTable.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"21dcd43eba2cd446b6199a67ddb7fef1be546936e03b79d2344370e4ee22d640"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Redis/Orleans.Clustering.Redis/Storage/RedisMembershipTable.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a3b99a9e984d68112daa2cac1ec98c58a1da0caf96591684ccaea71a7e24a69"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/InMemoryMembershipTable.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"09a90fb34bf74c17b82e77db0853b3701ca3dcfe319dea38979ffd5964699dee"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/LegacyMembershipTable.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"719590c76feaf5b9de1423a6309a35e4e8ec26d5d0eba1289820dd8a36b0701b"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/MembershipTableCancellationTests.cs"},"region":{"startLine":442}}}],"partialFingerprints":{"codehealthFindingId/v1":"d47a9dc8514bad468fe45579585fd4a3b35589c2858137194a3b66e91579e278"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/SiloBuilderTests.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83d4bd573433a3d0cb40d2fc1cd82454c11795e6083fe35c4dc583b896be161"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadAll"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs"},"region":{"startLine":208}}}],"partialFingerprints":{"codehealthFindingId/v1":"263985791cd071d70d5a7e71d5db1f0e4d8cdfe5cafe1017629191b6c8ed8985"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadAll"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Clustering.AzureStorage/AzureBasedMembershipTable.cs"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6d7eb0ee41b5897095eb364d48f88818ae9e8aaa70ba4f83b75e51b15504b36"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadAll"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Clustering.Cosmos/Membership/CosmosMembershipTable.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d4afa88868f03562ee0869b3a4a317aaf193f5e61b8d875d13c20d1e6e0c7e6"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadAll"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Google/Orleans.Clustering.Firestore/FirestoreMembershipTable.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"8485bcdff397511d470a339f9c0d22a747a8b63856e71ec0974d1791f72d5065"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadAll"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/InProcess/InProcessMembershipTable.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b4f3623a76b9f126284ba4a19324988a9478ec1ca6926ef0171edd86b77d401"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadAll"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Redis/Orleans.Clustering.Redis/Storage/RedisMembershipTable.cs"},"region":{"startLine":229}}}],"partialFingerprints":{"codehealthFindingId/v1":"27074c83b7fa316ca683af5c28444333b647aebc6905664b7808d095d38d0cf2"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadAll"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/InMemoryMembershipTable.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"a720455a2787004fa0bdc884b9f050670401d830ae1ea96693fbee7bf84e1cda"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadAll"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/LegacyMembershipTable.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"028a4c26e185b4f71b4928930651e9ebdeee58379974c85e38de8f59c85d32bf"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadAll"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/MembershipTableCancellationTests.cs"},"region":{"startLine":449}}}],"partialFingerprints":{"codehealthFindingId/v1":"28a02a983e8174632a30a13533270df3998e962eafc1ae524dfa89a85ab1ce0b"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ReadAll"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/SiloBuilderTests.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"1430212b752e2ea5d7560c56469866668dabd30c97cdb0d69140e40a3a8ae257"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InsertRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"f976a5f3bf4a4eafa071d932f4690a46942eb5ef7b0333026a10402b9667a478"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InsertRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Clustering.AzureStorage/AzureBasedMembershipTable.cs"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cf78145c16ed63b17c3b8ecccf01f2ee1b5938b3a29001851ed2e497bb381c2"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InsertRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Clustering.Cosmos/Membership/CosmosMembershipTable.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"43a39237b8bfe03c9538590d7d1ba8352f904bc4e1b86dc79f0926d2e16e244f"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InsertRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Google/Orleans.Clustering.Firestore/FirestoreMembershipTable.cs"},"region":{"startLine":192}}}],"partialFingerprints":{"codehealthFindingId/v1":"3caffb0e4344320873cf7f56456274a151aff3c343d295878678e22a5a34ca3c"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InsertRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/InProcess/InProcessMembershipTable.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"277e2a41a94cc5cf179994104f3561d798dc68dbc7ed7054cf05ab259ecaf34b"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InsertRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Redis/Orleans.Clustering.Redis/Storage/RedisMembershipTable.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"88bdcbca74a20df04353ea3b5ad30157f8f6b77511e4f328d36a730ac37f6026"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InsertRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/InMemoryMembershipTable.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"174d129ae4296db0cb1ee8a879cee8b550c28922d1e155c3da91eb5c035ae4c0"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InsertRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/LegacyMembershipTable.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb360c62d2dc84e10aafe2a20f742e7f0b431564032245b5e851e580a9950b86"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InsertRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/MembershipTableCancellationTests.cs"},"region":{"startLine":435}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd5e8efcb3c7a37a650dca49691423d605fa20e57d728ff09dd579485d774179"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] InsertRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/SiloBuilderTests.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"90d61959d26785efec92eb12a747dd546a303081b42244fb5051622e263c546c"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs"},"region":{"startLine":321}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9edb39a181ddf50225a9a997b7c0ab46fb2d340744da3b84c9cdca8fb41232a"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Clustering.AzureStorage/AzureBasedMembershipTable.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"a9a66b9fd743f2e68f50db1797385c7208074b0f32ae70d2640aa4eb137f98aa"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Clustering.Cosmos/Membership/CosmosMembershipTable.cs"},"region":{"startLine":247}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b860816a4727cf02313b2bdbc871958573f09a940a13d57b7672d8c499ed182"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Google/Orleans.Clustering.Firestore/FirestoreMembershipTable.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc431194cab0f4ff38f995a5d1209870415b61a700a4bb99eb0c7ffb2cc52a1"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/InProcess/InProcessMembershipTable.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e760def5fb8bc3723a4877b13dab928f447b14c259ce5346ecd4c7d93046d7d"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Redis/Orleans.Clustering.Redis/Storage/RedisMembershipTable.cs"},"region":{"startLine":315}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee07dd6af697c0b63e18e6d30ddda32770838e6d49791af7ffb74bc6eb141d08"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/InMemoryMembershipTable.cs"},"region":{"startLine":185}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8a9b217fc251f2fd2c89831e4c89251f0047a18a7b5c10aa8cb19c28c6fef36"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/LegacyMembershipTable.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3706499d41bc75037a273fe7d61bab6ca0910cededd42df20c6a31e0da6444d6"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/MembershipTableCancellationTests.cs"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"440509eec361ba073490f332d71bce3ee198fa10f9eca16aca8e7fb4f46d74c5"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/SiloBuilderTests.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"6836fc7cc27efc52369d06052603e3bb50befa8ae045e68b0b8ef1f92263d816"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateIAmAlive"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs"},"region":{"startLine":390}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2d967077d857530ee12a30efc8791f5f16e5d35ebade72682833355178d5b87"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateIAmAlive"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Clustering.AzureStorage/AzureBasedMembershipTable.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"90783e080246dda8024ac8395bdd8532564a95022c8c96550406848353ee0946"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateIAmAlive"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Clustering.Cosmos/Membership/CosmosMembershipTable.cs"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecb92af94a47591abc5a0f2863779d0370c8e500b952749632446b0164a88481"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateIAmAlive"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Google/Orleans.Clustering.Firestore/FirestoreMembershipTable.cs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebae552382f19789c55b5a5ba857044f490daae2143cf7b52e33cbb935364451"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateIAmAlive"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/InProcess/InProcessMembershipTable.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"1edd37634a107a5702f082db0b602f6505a3a0c9bd26286bf92a54ff3ae2d20a"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateIAmAlive"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Redis/Orleans.Clustering.Redis/Storage/RedisMembershipTable.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"c07acf0b8dc4d5618f04b0bef46af318234d2f5c841733d519b72610c8167d52"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateIAmAlive"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/InMemoryMembershipTable.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fcfefde1e10404185f35c5f099f4778049757011c63d1fb0460be022824cf6e"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateIAmAlive"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/LegacyMembershipTable.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b2d755c55115e8bcbe910d75785b96171c0810385efc76511f07060e8335864"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateIAmAlive"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/MembershipTableCancellationTests.cs"},"region":{"startLine":439}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2193dd989aaa4c4bb8418934ac5130b2500e35b074e4e8268fd07fbf9da253d"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] UpdateIAmAlive"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/SiloBuilderTests.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"c549f1f69d95a01af9128a78a3ef36e095b4c2d8caf84731004a3140b21513cd"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] CleanupDefunctSiloEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AWS/Orleans.Clustering.DynamoDB/Membership/DynamoDBMembershipTable.cs"},"region":{"startLine":601}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a5cf8fe8c72742a65dbae5346d5dfd617a689597de5cd508059f780533c709f"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] CleanupDefunctSiloEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Clustering.AzureStorage/AzureBasedMembershipTable.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63303fdf91c7b61f46af8176868d9aab3802d6f5c8eebac30191545eed6ccea"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] CleanupDefunctSiloEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Clustering.Cosmos/Membership/CosmosMembershipTable.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec23e94c86bcf07d0847d897ffc038d29ed3b41e745d4893a073b85bdf829f0d"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] CleanupDefunctSiloEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Cassandra/Orleans.Clustering.Cassandra/CassandraClusteringTable.cs"},"region":{"startLine":328}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa913ce6ed63c6fa56e72f58c3e6e827bfd9bb143f9b2bcd8b9265e420e40e15"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] CleanupDefunctSiloEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Google/Orleans.Clustering.Firestore/FirestoreMembershipTable.cs"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"276483cdb43b1ca69c20f9138e2450ed1648f3ee0b9f28a0635b52758509547f"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] CleanupDefunctSiloEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/InProcess/InProcessMembershipTable.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"94702291453364480efb6d6a42741611ed0e6548797285dc8d32ad82015007c0"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] CleanupDefunctSiloEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Redis/Orleans.Clustering.Redis/Storage/RedisMembershipTable.cs"},"region":{"startLine":326}}}],"partialFingerprints":{"codehealthFindingId/v1":"12912182b626a1ac455411f680f9ae1e6e58d5412dfa4483cd100d55b4682004"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] CleanupDefunctSiloEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/InMemoryMembershipTable.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"868748207e03403be1299077d19dbd9e99bacbb43b012736acaa67b19bbc171d"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] CleanupDefunctSiloEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/LegacyMembershipTable.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff51542c2d05ddfe1964fdd1d9759504f70e37b30abc73d61cc75aae2cb36b57"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] CleanupDefunctSiloEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Membership/MembershipTableCancellationTests.cs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5586e80fccfe1acedd8565bb30949909873de86a5c78e6841bb0ef1b42a226c"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] CleanupDefunctSiloEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/SiloBuilderTests.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d5327b174f4db7e4b555bafe64f958ec6bc6c61df69a2bc708b4ee0b380829c"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger\u003CKinesisAdapterFactory\u003E _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":"src/AWS/Orleans.Streaming.Kinesis/Streams/KinesisAdapterFactory.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"85a2c0ad4643ce7f10758ccf2bc1434089376086c93a50ca349d1437920f4058"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Note that this error message should be canonical across back-ends. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AdoNet/Orleans.Persistence.AdoNet/Storage/Provider/AdoNetGrainStorage.cs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"b822bfb6d39fb60aef80e6c4a4e419fe2743872bc5aef69c419bf59f0c66346f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: This is a bit of hack way to check in the current version if there\u0027s membership data or not, but if there\u0027s a start time, there\u0027s member. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AdoNet/Shared/Storage/DbStoredQueries.cs"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"87b52df655567f414723f1362cd77699024eb5132ce584e58dcea89fe471cea0"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string[] InsertStatisticsMultiupdateColumns \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":"src/AdoNet/Shared/Storage/RelationalOrleansQueries.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"41e78b69f5c640e7e900b0fdd2ff0b1a398524b9ceb688da813d03c0286d7ccf"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage repeated 13 times in 6 files: The identical BareSuppressMessage (\u0060SuppressMessage\u0060) appears 13 times in 6 files \u2014 one decision applied repeatedly (e.g. the same rule silenced on every overload of a fluent API), not 13 independent debts. Decide it once \u2014 at the type or project level, or by fixing the underlying pattern \u2014 rather than occurrence-by-occurrence. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Clustering.AzureStorage/Utilities/TableStorageErrorCode.cs"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"860c43dccab995e5a8c6917246b587b32f3638d3fb57fac8b61fb8a29272f1b6"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Reminders.AzureStorage/Storage/AzureBasedReminderTable.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f2c8405753ae25c286955fa079183f2fa1463d37a286d905586fdef7902c5a8"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard/DashboardHost.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"358a057cff3c66f9101d42f6f3505c831e0c72b9d0709f029d8cf9a7b2273cf7"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard/DashboardHost.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"43d0300883bc709f18230de47b390215f5df8fbb6eda9b55ace5bfc509201420"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard/DashboardHost.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fb0925f008f68877b9f52e4fa82918e7dffb20c6ec4c0bad1c1d2ee9406b7f6"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core.Abstractions/Utils/Utils.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4ee445875acfdda76ebe25571b72fa5057a9fb227e6c6b584dcf53fd46162c"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core.Abstractions/Utils/Utils.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"bb83e2bef545795c638a8079e0df23961ba9683c384d58f93ac9cb07afc84585"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Async/AsyncLock.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a71cfd4b13bcb0f1a5ec016382da0fff7ddb060156165eb69102b9acf9e8c2e"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Caching/ConcurrentLruCache.cs"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ffd50796c60f50ee970ae44c5a47f39587fc5939be587d98c395135b5366102"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Lifecycle/LifecycleSubject.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c5d9ba54793fa3ed25cd9b7794b7e3529a93e596075b5e14a4afc5098c70e9a"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Networking/ConnectionManager.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"3681c7e93267b92ed51287e2388b763cf96207b2fe0b5240ed829328fd3ce538"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Networking/ConnectionManager.cs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f3418734eb305c48fd349ba607c60c2ed29defe68f0990a56c7640129cf01be"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Networking/Shared/SocketExtensions.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"69bc9efb6dde55017921c24d5dad315dde884e47a21c7736e44a38cca2546c22"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Networking/Shared/SocketExtensions.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"12fe4aa18ca7bc0a9ac1923d5f1533ea7395e6a43ce8290161c40e3aba853c0f"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Cancellation/GrainCallCancellationManager.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"82febbfa41102e2179859c6e62a475a75687b58a34bae1b9c0a43f97384d9461"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Cancellation/GrainCallCancellationManager.cs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fdca938a10b792ebcd267ef270e2bfed60f657e2396a77f268a479f8fe41a8a"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4209d2b9904c31df7564b4a784d8d9c081fb7cb8e09d8ccbcf6032e6a937874"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"6339fe29f4c1f191f1b679e7248f04f3b89f681b107c8fa492987d253045ac31"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":2584}}}],"partialFingerprints":{"codehealthFindingId/v1":"5894bc5498af865657e3a6d5684fc7ba7997d73a4ee7ab8db694e87ab1a55998"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Core/SystemTarget.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d0440ebee0902331ab5acb188bf079e191b64cd9f989f13e553970ac636f6e5"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Silo/Silo.cs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdb30afd7aaedd15ee6702da475dc6fbb1550b9222b76e86f4f68b0f4b1dfbef"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Silo/Watchdog.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bea7884c389b1d6b19747245e2e2dd2997588b55c95f3d3d1af2c3f4a0ab9e5"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Silo/Watchdog.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"5374c6c19be451f621fceae6ec20b1a770d6835da85bc86e4a69a31b0a22c25f"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Silo/Watchdog.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"15f7bb7001c52054bdab09f3888fec9914ea40c10a0ca3135d1bc5e8b1ecc8eb"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Streaming/PersistentStreams/QueueStreamDataStructures.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3bc5ba08509f08ea8a9ff8796cb58d793e232fdb48f32b57395e6cdd8230441"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/InProcessSiloHandle.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"5099a0d760c3ef049c359fd67934b59f125436178d1fd01d79b0e82e7302f3a4"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/StandaloneSiloHandle.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"2276b076c46194949f0f6fb622c6813711e33a75b5ef3baf359fb7df6e3e22f6"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/StandaloneSiloHandle.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c855843fcf5d7241e30f9305cba5903945ef399c409f3fd0fd0187b4466a2c"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/StandaloneSiloHandle.cs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"926c9f0d7ac7b90c796cf7d2185abc757dc4ea395b58dc4c21ae6ecdb258f3b1"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/StandaloneSiloHost.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b5d9ddf0d1b8b9642ab9ab08e3409f7779f31e3aea52b3ba79b7fc5424aa310"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/StandaloneSiloHost.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"d262996d8e00c9e22399faf8367b2933f4b9ab82ca237d5b3876a23031abd24d"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/TestClusterPortAllocator.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6709790e00c422eef12546b2c5df4b25bbda3b67e019831adafc3eb563b7a62"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/TestClusterPortAllocator.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"723fad7db863c9b58c3b4c5af49835c1ad91dd86ef25bcbe8f70d64019913fd5"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/TestClusterPortAllocator.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"0565b15d7263f12a735764f7d87c0845ba23b4d314c8e9f7ef1da3b84788f144"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/TestClusterPortAllocator.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"174f59e409d8c8c8aab1d573692554eb4fdbfaf5c71fb0731c43698ec213dd87"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Transactions.TestKit.Base/TestRunners/ScopedTransactionsTestRunner.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b3729afbf36ee34106635080b045719921dbdca82f193ac2e955e31f2adca47"}},{"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. Narrow the catch to the exception you actually expect, record it through whatever this codebase already uses to report problems, or \u2014 where swallowing really is correct, as it often is on a teardown/dispose path where throwing would mask the original failure \u2014 write down WHY in a comment on the catch. The comment has to give the reason: a note that only restates the swallow (\u0022ignored\u0022, \u0022do nothing\u0022) is read as no explanation at all and leaves this row in place. Any of the three makes the decision reviewable; all three clear this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/Blazor/BlazorServer/Components/Pages/Todo.razor"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec8c25b4faff812d30d32c5318260628603029c7744a8fbacb181ca9bf937069"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: pending on https://github.com/dotnet/runtime/issues/110570"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Streaming.AzureStorage/Storage/AzureQueueDataManager.cs"},"region":{"startLine":415}}}],"partialFingerprints":{"codehealthFindingId/v1":"6fdfe328ae2749529367ece70d607d8f348da86da9451281836812c7e3a1643c"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). 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. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Streaming.AzureStorage/Storage/AzureQueueDataManager.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b03e8c964a203714e3f67d964fc6b31df0faa9f8a3424fe635b1c9a94c0f458"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). 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. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Shared/Storage/AzureTableUtils.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"103cdfd71706c5a91dfd9fb01886101167a0d373945683b20998a51dab09de49"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). 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. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core.Abstractions/IDs/Legacy/LegacyGrainId.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d60a41abbf6563f0d762a9079b0bc5e0471d50f94a8b18918de1b2aa96091d0"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). 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. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Messaging/GatewayManager.cs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"909669c6be46451204a6c0b1027f295923fbffe4b7cc218b78e83ec427f741e5"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). 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. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Silo/SiloControl.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"54776d5aea1f37849cc7913761e6d988f99610e9f7c3e0f4e713f6fda5f4fb5a"}},{"ruleId":"D17","level":"warning","message":{"text":"BareSuppressMessage: System.Diagnostics.CodeAnalysis.SuppressMessage \u2014 the suppression records no reason: either it carries no justification argument at all, or one that states nothing a reader can weigh (\u0022OK\u0022, \u0022By design\u0022). 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. Write what makes this site legitimately different \u2014 the invariant that holds, the framework contract that forces the shape \u2014 or remove the suppression and fix what it hides."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Runtime.Internal.Tests/StorageTests/CommonStorageTests.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4881aedb2644a1d85abbeef38a461475bbe47b107069e7825fb5ab04f0d8f86d"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Add a queue specific default failure handler with reasonable error reporting. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubAdapterFactory.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcba5e8e25f5f985a32015cb71670e1be7967cdd03549dff086bb88b442b0a4c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: CreateAdapter must be called first.  Figure out how to safely enforce 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":"src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubAdapterFactory.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"b18c24b114d6de4b9bd0ad1aa50ccb4f7a22e621c54c8a089fd3cdf68e61d8cf"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] GetQueueMessagesAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubAdapterReceiver.cs"},"region":{"startLine":167}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7c9e9bf3748b3eae95970ad52ad73496f9f1852631a6585b4b19e1d2d08e57f"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] GetQueueMessagesAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Streaming/QueueAdapters/IQueueAdapterReceiver.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f1f69f303e3b3c2915b022e03f0e3cefcbd6a31c7d3b586b26da798cb58b7e1"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] Update"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubCheckpointer.cs"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"1766291c15e66a13ea24f9b11418d022ddc10ae81e3494ba032567f3e4b07258"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] IMembershipTable.InitializeMembershipTable"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Cassandra/Orleans.Clustering.Cassandra/CassandraClusteringTable.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cd13064ad8d08c31656b45034046bc223e7c4686a1a6738c4cf10644f212b8a"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] IMembershipTable.InitializeMembershipTable"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.AWS.Tests/MembershipTests/TestOwnedDynamoDBProviders.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd77fe7dc80a6b9fb460d1c8b137fe61bd3977abc46e9982d33e1538f57c788e"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] IMembershipTable.DeleteMembershipTableEntries"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Cassandra/Orleans.Clustering.Cassandra/CassandraClusteringTable.cs"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec9a8b259b84396bba0603b301908acd37e813242033ee75e9662ba6039dc279"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] IMembershipTable.InsertRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Cassandra/Orleans.Clustering.Cassandra/CassandraClusteringTable.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2342d0f016d1885fabe93ef243c25f0ecc69d7c9730ea3d186427b23c333e18"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] IMembershipTable.UpdateRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Cassandra/Orleans.Clustering.Cassandra/CassandraClusteringTable.cs"},"region":{"startLine":177}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea94bcfd0aa64eef98d75ff515dcfc10cc5d84086e794d5bf33f19eaebeae08c"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] IMembershipTable.ReadAll"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Cassandra/Orleans.Clustering.Cassandra/CassandraClusteringTable.cs"},"region":{"startLine":253}}}],"partialFingerprints":{"codehealthFindingId/v1":"507cc03855f5af85e38e638aa5d018f03c0488062d6fd077dd475c0ce39095f3"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] IMembershipTable.ReadRow"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Cassandra/Orleans.Clustering.Cassandra/CassandraClusteringTable.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"84648ae288309fbe97da80750ab5034ec88a59556b565ff8562792a1d35d6b71"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] IMembershipTable.UpdateIAmAlive"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Cassandra/Orleans.Clustering.Cassandra/CassandraClusteringTable.cs"},"region":{"startLine":319}}}],"partialFingerprints":{"codehealthFindingId/v1":"346703fe19ba4357e42ee991509cbc73094bcb876d51739cfca58f1d525ec89e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Check that interface inherits from IGrain \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Analyzers/AlwaysInterleaveDiagnosticAnalyzer.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4aacade5716a597ca2141cd8e43d5ddb28cafb38d82c24591de426948844f5f"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.CodeGenerator/InvokableGenerator.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"7646d30a5520e53c21435a2695d26a2196f283a9b8a8429c1402ab755ee81fc5"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Runtime.Internal.Tests/General/ConsistentRingProviderTests_Silo.cs"},"region":{"startLine":257}}}],"partialFingerprints":{"codehealthFindingId/v1":"312b89b330fdb9acdc9059b36d801298195927caf94c03b9867445c3bb3883a3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/StreamingTests/SingleStreamTestRunner.cs"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"242095e21b072d12d44b72e7b56b62e19d5112c5a7df2fcb8078b45fa557e21d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/StreamingTests/SingleStreamTestRunner.cs"},"region":{"startLine":706}}}],"partialFingerprints":{"codehealthFindingId/v1":"97973c1dd5a626489359697db68e3d0cb664184c3bab97e53f1513400e5ae78a"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/StreamingTests/SingleStreamTestRunner.cs"},"region":{"startLine":718}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d8f947d95d6504d96b625a8279c9a1a96f9d557a83e862c2affb7839bea4dea"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/StreamingTests/SingleStreamTestRunner.cs"},"region":{"startLine":728}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ffdc03f6c842cf5a702aa50134e0855b78404969ce22fbf764768f2698415d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/StreamingTests/SingleStreamTestRunner.cs"},"region":{"startLine":738}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b1cf261241a450cb128a969dc1524bdb228dce60759976406d2115141477297"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/StreamingTests/SingleStreamTestRunner.cs"},"region":{"startLine":748}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fdaff9a9161222dc6cf694dcbd97782ab3dd29b0ecc5665dd4458ab354cd222"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] CipherAlgorithm"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Connections.Security/Security/ITlsHandshakeFeature.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b24c5fc7f1b1abaebf06f51746105c476b2cb137ead5a548fddff17af024312"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] CipherStrength"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Connections.Security/Security/ITlsHandshakeFeature.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d0f88aacc44d7b6accfeaa04350b5709453dfb9634507f49b1acecb758db20"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] HashAlgorithm"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Connections.Security/Security/ITlsHandshakeFeature.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"02bd8228cbe7857ccd9b32b47ad72354e0adbd00d71b733b5b4c037fc47d47bc"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] HashStrength"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Connections.Security/Security/ITlsHandshakeFeature.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b81fbe4facfc777972657ca49fee02ac92148afdcdeffb72f94d57bd1bf4d6e"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] KeyExchangeAlgorithm"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Connections.Security/Security/ITlsHandshakeFeature.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"75d4b5cef412b371fe79318a44643a13ea75b50a5874897b1e93c5016ef596c9"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] KeyExchangeStrength"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Connections.Security/Security/ITlsHandshakeFeature.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"8667f732433c7627221de842887b19d4b3d49d8600205db99d0058da9e44b275"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable SYSLIB0058 \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":"src/Orleans.Connections.Security/Security/TlsClientConnectionMiddleware.cs"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cb7cc811a0452ddfcb1ee2db5a09820e9aa3a9b69c3fd2e50da67f6950c1083"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable SYSLIB0058 \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":"src/Orleans.Connections.Security/Security/TlsConnectionFeature.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1956e434dafbb58919859013c07e8bd3e16320779da68a9fc962e9a155e2661"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable SYSLIB0058 \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":"src/Orleans.Connections.Security/Security/TlsServerConnectionMiddleware.cs"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c219a674e9e09008ca8107fc66eadb1ea6d521a4291362e77b690a96f940be"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Get name of system/target grain \u002B name of the grain type \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core.Abstractions/IDs/Legacy/LegacyGrainId.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a5da883f38353f44268b837e70c268fbfb01f25fb91641f1989ef37425e0caf"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if TARGET_ARM64 || TARGET_LOONGARCH64 \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":"src/Orleans.Core/Caching/Internal/Padding.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cd30fd929ed13aef7e744e870378ef948e1e2c4ca5f4c08837f8bd1032d69f0"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if TARGET_ARM64 || TARGET_LOONGARCH64 \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":"src/Orleans.Runtime/Utilities/StripedMpscBuffer.cs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b20ad64a64681915924a3cfbe1192da6809cb337b5cbe5c9d6d2908d720aa41"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: abstract or move into some options. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Core/DefaultClientServices.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf4622c188dbbcc92dff9b2a00f726d52ca464c688b8ede9c9f51cda8d66219"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 618 \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":"src/Orleans.Core/Core/DefaultClientServices.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"431f1f1fb3249ced9d290ba8713c8179a7a6c4e999389ecb46055337d52155f6"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 618 \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":"src/Orleans.Core/Statistics/SiloRuntimeStatistics.cs"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"54b12c5c9f37bb7db1af5327a09ef6eba1214626eb70e9dde8e709574165e700"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 618 \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":"src/Orleans.Runtime/Hosting/DefaultSiloServices.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1514ffada1eac3908f91be033451d4b7183cbca7a677781609b7bbaedb902d0"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 618 \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":"test/Extensions/Orleans.Azure.Tests/Streaming/PullingAgentManagementTests.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff84a7799cac834d75e03e3410e62f66edcf7ee77de6360e36d9a17a0e7f3b3e"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 618 \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":"test/Grains/TestGrainInterfaces/CodegenTestInterfaces.cs"},"region":{"startLine":220}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fa95c16caf679fc688cc26f94fe54b6a8abe237829dd0ac5283236037f4bcc1"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Cint\u003E? _activationCount \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":"src/Orleans.Core/Diagnostics/Metrics/CatalogInstruments.cs"},"region":{"startLine":184}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac324e422e7a9d080e8a0c0cd7158773e97fefb4f24812d73966b99bdaf7e67"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Cint\u003E? _activationWorkingSet \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":"src/Orleans.Core/Diagnostics/Metrics/CatalogInstruments.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3b71790ffd0072f1789eed202e470cdf0899263a8972e92f25d88d125a94d8b"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Cint\u003E? _connectedGatewayCount \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":"src/Orleans.Core/Diagnostics/Metrics/ClientInstruments.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2db3645861a5eae85b711837de228124ed7781a6f974efd56e41c0380859f5d1"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Cint\u003E? _ringSize \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":"src/Orleans.Core/Diagnostics/Metrics/ConsistentRingInstruments.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"66bf606b889a33de686b184e4c92e67c62bdee889df2209649b9390571497dd3"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Cint\u003E? _ringSize \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":"src/Orleans.Core/Diagnostics/Metrics/DirectoryInstruments.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6f0f552a9154de7e35b99f5deb8f69a712529c8de762f392e1b663c840d92d1"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Cfloat\u003E? _myRangeRingPercentage \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":"src/Orleans.Core/Diagnostics/Metrics/ConsistentRingInstruments.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c66ce25c5f4b5d123bb906e5fe3190f2b4f2293305936c374e70618a38b8f5c"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Cfloat\u003E? _averageRingPercentage \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":"src/Orleans.Core/Diagnostics/Metrics/ConsistentRingInstruments.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6ea957e08d384b90435cb30d574a6837ae2df1ccac6dc60248e6fd0931baac0"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Cint\u003E? _directoryPartitionSize \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":"src/Orleans.Core/Diagnostics/Metrics/DirectoryInstruments.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"16e28e340b7122b53572fc7d366f874d6f49827da69c7b0946b2c4a3615c3cbf"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Cint\u003E _cacheSize \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":"src/Orleans.Core/Diagnostics/Metrics/DirectoryInstruments.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfaf5834f97f758790709ff6735c72447749557f1044bb743800caad95380b07"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Clong\u003E? _myPortionRingDistance \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":"src/Orleans.Core/Diagnostics/Metrics/DirectoryInstruments.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"2beaa5602c07bf17c7b8b69c04c9e25edb30559330be8399f05b39070c880e9f"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Cfloat\u003E? _myPortionRingPercentage \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":"src/Orleans.Core/Diagnostics/Metrics/DirectoryInstruments.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7fed7dd12c6a8aab88937bcec790d88840f1c8947ad6b612a805938ed3d8e64"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Cfloat\u003E? _myPortionAverageRingPercentage \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":"src/Orleans.Core/Diagnostics/Metrics/DirectoryInstruments.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"e771ea9c5d6ff1f57508a064608baff86e3abe39b7f6cfe3beb17cca5a0e289b"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableCounter\u003Clong\u003E LocalMessagesSentCounter \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":"src/Orleans.Core/Diagnostics/Metrics/MessagingInstruments.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"76ee3a95127027f1d4db1d0e1fbadafb50aa600ac794276ec54bf24cb4ee8eba"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Clong\u003E? _activationDataAll \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":"src/Orleans.Core/Diagnostics/Metrics/MessagingProcessingInstruments.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e922d551611f3d7cb2e4088d17059afb6f1179f965b2f142babbddfd2a22e68"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Cint\u003E? _activeReminders \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":"src/Orleans.Core/Diagnostics/Metrics/ReminderInstruments.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"43eff9df6cb3e5c2bb6a76fa3f5c3dc9c3d824ad30b05865200680b4bf752bb3"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Cint\u003E? _persistentStreamPullingAgents \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":"src/Orleans.Core/Diagnostics/Metrics/StreamInstruments.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6d2f33620c532d274a41ad2042b0ba18c4025c9ff2c93753049e6ffcb74bb2b"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Cint\u003E? _persistentStreamPubSubCacheSize \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":"src/Orleans.Core/Diagnostics/Metrics/StreamInstruments.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"256163210da07f466340c0a4684d9c3e58942522c140852ac7681db52304351e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IServiceProvider _serviceProvider \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":"src/Orleans.Core/GrainReferences/GrainReferenceActivator.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f4f4ffcc3c31230b4c3970f15aa37614ef6167b7171657714a616f46fb364cd"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private DictionaryCodec\u003Cstring, object\u003E _requestContextCodec \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":"src/Orleans.Core/Messaging/MessageSerializer.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"9701475bddd0f54d0575222402f3a75db85b9a49213fbae7edc3e8ae093eb3fa"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if BLOCK_LEASE_TRACKING \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":"src/Orleans.Core/Networking/Shared/SlabMemoryPool.cs"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"84fd86d5fe4702ff294858d79ebefdd3e1da1fbf802b0f288c94380f688d9413"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if BLOCK_LEASE_TRACKING \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":"src/Orleans.Core/Networking/Shared/SlabMemoryPool.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"de42a12f5a9f19b1fbc7a29e48a68e2214f16515d5deff522e57b1c806028bc5"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove expensive interface type check \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Runtime/GrainReferenceRuntime.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"900408459c78269e3ca30119f8aef5fcdb8925fdd483e1f2b76fc396993bd6dc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove expensive interface type check \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Runtime/GrainReferenceRuntime.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"d813e46b517f88bb1f59790062082c44c5aadac917da9b539ac48a3d4c0018e3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remove expensive interface type check \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Runtime/GrainReferenceRuntime.cs"},"region":{"startLine":74}}}],"partialFingerprints":{"codehealthFindingId/v1":"694d7416e8f5b7f5ea19b1782c776b0789748c48f8238fee06d8d439b47fc3e2"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Timer QueueChecker \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":"src/Orleans.Core/Timers/TimerManager.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9fa7c5750d006f5ed148e95ee6b497ae3fda91120995b4e6683fb15369fc28a"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string? primaryCluster \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":"src/Orleans.EventSourcing/CustomStorage/LogViewAdaptor.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"62b7ac153cada606176222e6babf46ef62bc6bc2cf685de715038750ee25c41b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Remember silo addresses for pods that are restarting/terminating \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Hosting.Kubernetes/KubernetesClusterAgent.cs"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f645464a2a2a8d63acda74f0e7647b4a1c673ebb8910c777316ee5259909820"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: decide whether it\u0027s best to snapshot or append. Eg, by summing the size of the most recent snapshots and the current journal 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":"src/Orleans.Journaling/JournaledStateManager.cs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"94e657d94897af4c6df7e35cd19a2c0d7e639650b0ebb2d2356716b0111e43bf"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Task _runTask \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":"src/Orleans.Runtime/GrainDirectory/DhtGrainLocator.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"a86fdee3b027808417e1cf1f2a568b105cd850ae36a203e6e7dd83c16d298a54"}},{"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":"src/Orleans.Runtime/GrainDirectory/DistributedGrainDirectory.cs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"59e86c6e7434d7df04b64668962c1b8002aa8ca26856dfe6529488db6ec26fc1"}},{"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":"test/Orleans.DependencyInjection.Tests/Autofac/DependencyInjectionGrainTestsUsingAutofac.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d99424b1beb2efdacb3a60d1880486f2814ec938e4d2d6f1b4252233ceefc05"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: make this not sux - jbragg \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Hosting/DefaultSiloServices.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3f47128bf95fec03a1beb9d51ccff62650c5b39ec958d56d10747002dff09c"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ILogger\u003CGatewayConnectionListener\u003E 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":"src/Orleans.Runtime/Networking/GatewayConnectionListener.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"382e217822c3aa1d5781393b8cf4a6a85fe6d83a524c909fe7384cf1adcc74dd"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXTRA_STATS \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":"src/Orleans.Runtime/Scheduler/ActivationTaskScheduler.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e1474f74008171ea5366bc46827ac0bdc1f8a84c0e526b529df38fa993ee5b"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXTRA_STATS \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":"src/Orleans.Runtime/Scheduler/ActivationTaskScheduler.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3d9a5c2c808206bde6091be62266dc88d358b99692fd88bf94fb93695e5427"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if EXTRA_STATS \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":"src/Orleans.Runtime/Scheduler/ActivationTaskScheduler.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f40c963a4bdb30952c62af3a7bd36c2b5c92b88e65603c898999ef0af2c0829"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: generic type expansion \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Silo/SiloControl.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8945d62476bfaf8a815d700e81cd0ab1e0b87e5d7b95a715af8f2c8b3ef1b7e"}},{"ruleId":"D17","level":"warning","message":{"text":"CoverageExclusion: class BufferTestHelper \u2014 this shipped code is lifted out of the coverage measurement, so it is not that the code is reported as untested: it is not reported at all. The excluded lines leave the denominator, which means the percentage the team publishes goes UP when code stops being covered, and the gap is invisible in the artefact that would otherwise disclose it. Nothing here is written by a compiler or a build \u2014 the attribute is only ever typed by an author \u2014 so it is a standing decision, and the only record of it is this line. Test what it covers and delete the attribute; where the code genuinely cannot be exercised (a debugger display, a platform branch this build cannot reach), narrow the exclusion to the smallest declaration that is really untestable rather than the type around it, so members added later are not silently excluded too. If it is correct as it stands, say why \u2014 in the attribute\u0027s own Justification, or in a comment above it: that is what turns it from unexplained debt into a recorded decision, and it clears this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.TestKit/BufferTestHelper.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"24bcd7df5058326bc33b5a3f01634a26627fbcef6ca13771d0d8b2576e0415c8"}},{"ruleId":"D17","level":"warning","message":{"text":"CoverageExclusion: class BufferTester \u2014 this shipped code is lifted out of the coverage measurement, so it is not that the code is reported as untested: it is not reported at all. The excluded lines leave the denominator, which means the percentage the team publishes goes UP when code stops being covered, and the gap is invisible in the artefact that would otherwise disclose it. Nothing here is written by a compiler or a build \u2014 the attribute is only ever typed by an author \u2014 so it is a standing decision, and the only record of it is this line. Test what it covers and delete the attribute; where the code genuinely cannot be exercised (a debugger display, a platform branch this build cannot reach), narrow the exclusion to the smallest declaration that is really untestable rather than the type around it, so members added later are not silently excluded too. If it is correct as it stands, say why \u2014 in the attribute\u0027s own Justification, or in a comment above it: that is what turns it from unexplained debt into a recorded decision, and it clears this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.TestKit/BufferTestHelper.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3236f901fb1c236cef2ca18ee74d9d74cef953bfe956ba07519bbc8db7867c31"}},{"ruleId":"D17","level":"warning","message":{"text":"CoverageExclusion: class MultiSegmentBufferWriterTester \u2014 this shipped code is lifted out of the coverage measurement, so it is not that the code is reported as untested: it is not reported at all. The excluded lines leave the denominator, which means the percentage the team publishes goes UP when code stops being covered, and the gap is invisible in the artefact that would otherwise disclose it. Nothing here is written by a compiler or a build \u2014 the attribute is only ever typed by an author \u2014 so it is a standing decision, and the only record of it is this line. Test what it covers and delete the attribute; where the code genuinely cannot be exercised (a debugger display, a platform branch this build cannot reach), narrow the exclusion to the smallest declaration that is really untestable rather than the type around it, so members added later are not silently excluded too. If it is correct as it stands, say why \u2014 in the attribute\u0027s own Justification, or in a comment above it: that is what turns it from unexplained debt into a recorded decision, and it clears this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.TestKit/BufferTestHelper.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce09a2ffd4d1c24c92cc459b052bb75ac219e0b0227ee344b01ca493028d852d"}},{"ruleId":"D17","level":"warning","message":{"text":"CoverageExclusion: class StructBufferWriterTester \u2014 this shipped code is lifted out of the coverage measurement, so it is not that the code is reported as untested: it is not reported at all. The excluded lines leave the denominator, which means the percentage the team publishes goes UP when code stops being covered, and the gap is invisible in the artefact that would otherwise disclose it. Nothing here is written by a compiler or a build \u2014 the attribute is only ever typed by an author \u2014 so it is a standing decision, and the only record of it is this line. Test what it covers and delete the attribute; where the code genuinely cannot be exercised (a debugger display, a platform branch this build cannot reach), narrow the exclusion to the smallest declaration that is really untestable rather than the type around it, so members added later are not silently excluded too. If it is correct as it stands, say why \u2014 in the attribute\u0027s own Justification, or in a comment above it: that is what turns it from unexplained debt into a recorded decision, and it clears this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.TestKit/BufferTestHelper.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a1ccfcb64ab401c15418620de2eea87c47fe66960a4eb0587f01ef3f069554a"}},{"ruleId":"D17","level":"warning","message":{"text":"CoverageExclusion: class PooledBufferWriterTester \u2014 this shipped code is lifted out of the coverage measurement, so it is not that the code is reported as untested: it is not reported at all. The excluded lines leave the denominator, which means the percentage the team publishes goes UP when code stops being covered, and the gap is invisible in the artefact that would otherwise disclose it. Nothing here is written by a compiler or a build \u2014 the attribute is only ever typed by an author \u2014 so it is a standing decision, and the only record of it is this line. Test what it covers and delete the attribute; where the code genuinely cannot be exercised (a debugger display, a platform branch this build cannot reach), narrow the exclusion to the smallest declaration that is really untestable rather than the type around it, so members added later are not silently excluded too. If it is correct as it stands, say why \u2014 in the attribute\u0027s own Justification, or in a comment above it: that is what turns it from unexplained debt into a recorded decision, and it clears this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.TestKit/BufferTestHelper.cs"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"d20aae40f9878285e9b296301c78390b05b849a61fac52652f8543d9c087c052"}},{"ruleId":"D17","level":"warning","message":{"text":"CoverageExclusion: class CopierTester \u2014 this shipped code is lifted out of the coverage measurement, so it is not that the code is reported as untested: it is not reported at all. The excluded lines leave the denominator, which means the percentage the team publishes goes UP when code stops being covered, and the gap is invisible in the artefact that would otherwise disclose it. Nothing here is written by a compiler or a build \u2014 the attribute is only ever typed by an author \u2014 so it is a standing decision, and the only record of it is this line. Test what it covers and delete the attribute; where the code genuinely cannot be exercised (a debugger display, a platform branch this build cannot reach), narrow the exclusion to the smallest declaration that is really untestable rather than the type around it, so members added later are not silently excluded too. If it is correct as it stands, say why \u2014 in the attribute\u0027s own Justification, or in a comment above it: that is what turns it from unexplained debt into a recorded decision, and it clears this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.TestKit/CopierTester.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffbabc75c4b6e8d9108be8f1d827b925d07bd5e4bd2f92a8ac89c75f5428b696"}},{"ruleId":"D17","level":"warning","message":{"text":"CoverageExclusion: class FieldCodecTester \u2014 this shipped code is lifted out of the coverage measurement, so it is not that the code is reported as untested: it is not reported at all. The excluded lines leave the denominator, which means the percentage the team publishes goes UP when code stops being covered, and the gap is invisible in the artefact that would otherwise disclose it. Nothing here is written by a compiler or a build \u2014 the attribute is only ever typed by an author \u2014 so it is a standing decision, and the only record of it is this line. Test what it covers and delete the attribute; where the code genuinely cannot be exercised (a debugger display, a platform branch this build cannot reach), narrow the exclusion to the smallest declaration that is really untestable rather than the type around it, so members added later are not silently excluded too. If it is correct as it stands, say why \u2014 in the attribute\u0027s own Justification, or in a comment above it: that is what turns it from unexplained debt into a recorded decision, and it clears this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.TestKit/FieldCodecTester.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2f98905ebb8599f7dc56c14fc864640667cc5a8546899af7c1daf35cdf30097"}},{"ruleId":"D17","level":"warning","message":{"text":"CoverageExclusion: class ReadOnlySequenceHelper \u2014 this shipped code is lifted out of the coverage measurement, so it is not that the code is reported as untested: it is not reported at all. The excluded lines leave the denominator, which means the percentage the team publishes goes UP when code stops being covered, and the gap is invisible in the artefact that would otherwise disclose it. Nothing here is written by a compiler or a build \u2014 the attribute is only ever typed by an author \u2014 so it is a standing decision, and the only record of it is this line. Test what it covers and delete the attribute; where the code genuinely cannot be exercised (a debugger display, a platform branch this build cannot reach), narrow the exclusion to the smallest declaration that is really untestable rather than the type around it, so members added later are not silently excluded too. If it is correct as it stands, say why \u2014 in the attribute\u0027s own Justification, or in a comment above it: that is what turns it from unexplained debt into a recorded decision, and it clears this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.TestKit/ReadOnlySequenceHelper.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"5911a9bed5475400b6000a5d2deedd0079072185d66704cb671b28c2078fa025"}},{"ruleId":"D17","level":"warning","message":{"text":"CoverageExclusion: class SerializationTester \u2014 this shipped code is lifted out of the coverage measurement, so it is not that the code is reported as untested: it is not reported at all. The excluded lines leave the denominator, which means the percentage the team publishes goes UP when code stops being covered, and the gap is invisible in the artefact that would otherwise disclose it. Nothing here is written by a compiler or a build \u2014 the attribute is only ever typed by an author \u2014 so it is a standing decision, and the only record of it is this line. Test what it covers and delete the attribute; where the code genuinely cannot be exercised (a debugger display, a platform branch this build cannot reach), narrow the exclusion to the smallest declaration that is really untestable rather than the type around it, so members added later are not silently excluded too. If it is correct as it stands, say why \u2014 in the attribute\u0027s own Justification, or in a comment above it: that is what turns it from unexplained debt into a recorded decision, and it clears this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.TestKit/SerializationTester.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fb3fbded3411db4b7a12b3f0da4e388e2001e818cbde27d24f22c0f79915003"}},{"ruleId":"D17","level":"warning","message":{"text":"CoverageExclusion: class SerializationTesterFixture \u2014 this shipped code is lifted out of the coverage measurement, so it is not that the code is reported as untested: it is not reported at all. The excluded lines leave the denominator, which means the percentage the team publishes goes UP when code stops being covered, and the gap is invisible in the artefact that would otherwise disclose it. Nothing here is written by a compiler or a build \u2014 the attribute is only ever typed by an author \u2014 so it is a standing decision, and the only record of it is this line. Test what it covers and delete the attribute; where the code genuinely cannot be exercised (a debugger display, a platform branch this build cannot reach), narrow the exclusion to the smallest declaration that is really untestable rather than the type around it, so members added later are not silently excluded too. If it is correct as it stands, say why \u2014 in the attribute\u0027s own Justification, or in a comment above it: that is what turns it from unexplained debt into a recorded decision, and it clears this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.TestKit/SerializationTester.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a607309314bbf471120877e994eba345941e20581d086a45832f571107ec1ac"}},{"ruleId":"D17","level":"warning","message":{"text":"CoverageExclusion: struct TestBufferWriterStruct \u2014 this shipped code is lifted out of the coverage measurement, so it is not that the code is reported as untested: it is not reported at all. The excluded lines leave the denominator, which means the percentage the team publishes goes UP when code stops being covered, and the gap is invisible in the artefact that would otherwise disclose it. Nothing here is written by a compiler or a build \u2014 the attribute is only ever typed by an author \u2014 so it is a standing decision, and the only record of it is this line. Test what it covers and delete the attribute; where the code genuinely cannot be exercised (a debugger display, a platform branch this build cannot reach), narrow the exclusion to the smallest declaration that is really untestable rather than the type around it, so members added later are not silently excluded too. If it is correct as it stands, say why \u2014 in the attribute\u0027s own Justification, or in a comment above it: that is what turns it from unexplained debt into a recorded decision, and it clears this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.TestKit/TestBufferWriterStruct.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"c27a2f933b6347f89b29b168023fd683fb864cdc6858c17a8faa05c9524c5dfe"}},{"ruleId":"D17","level":"warning","message":{"text":"CoverageExclusion: class TestMultiSegmentBufferWriter \u2014 this shipped code is lifted out of the coverage measurement, so it is not that the code is reported as untested: it is not reported at all. The excluded lines leave the denominator, which means the percentage the team publishes goes UP when code stops being covered, and the gap is invisible in the artefact that would otherwise disclose it. Nothing here is written by a compiler or a build \u2014 the attribute is only ever typed by an author \u2014 so it is a standing decision, and the only record of it is this line. Test what it covers and delete the attribute; where the code genuinely cannot be exercised (a debugger display, a platform branch this build cannot reach), narrow the exclusion to the smallest declaration that is really untestable rather than the type around it, so members added later are not silently excluded too. If it is correct as it stands, say why \u2014 in the attribute\u0027s own Justification, or in a comment above it: that is what turns it from unexplained debt into a recorded decision, and it clears this row."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.TestKit/TestMultiSegmentBufferWriter.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc3c387c410615b1a3d54ee4c632e54dbbb46d10e1ad9de2f4cc93e59bc59a80"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ArrayPool\u003Cbyte\u003E _memoryPool \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":"src/Orleans.Serialization/Buffers/Reader.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"63c3de86c5f983005c0e149661fffaf8d6009b6e21fc8ecb51d9a59c87bf215f"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] .ctor"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization/Exceptions.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"10ccbd08a25490e1b821cea98248f3f27c7ae145a48187063c6269b7d0c5865e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private object _assembliesKey \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":"src/Orleans.Serialization/Hosting/SerializerBuilderExtensions.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7e8df6aca8ee5f02aedb6182d512626ea6f0222c345504d5ce80fdaadb9792e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableCounter\u003Clong\u003E _totalMemoryCounter \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":"src/Orleans.Streaming/Common/Monitors/DefaultBlockPoolMonitor.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"53187cf165bde30a41929cce23fd705c58df04d5705886603ab5cef9672519b7"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableCounter\u003Clong\u003E _availableMemoryCounter \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":"src/Orleans.Streaming/Common/Monitors/DefaultBlockPoolMonitor.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"4592f42ae4df309ed149a0bdcb2e10db3c7df39c6734af6d8d3e275e64378777"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableCounter\u003Clong\u003E _claimedMemoryCounter \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":"src/Orleans.Streaming/Common/Monitors/DefaultBlockPoolMonitor.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2e968c39f1e65dc047304fb66943ba86bd93e3721ecdd03ca54465222b5bf12"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableCounter\u003Clong\u003E _releasedMemoryCounter \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":"src/Orleans.Streaming/Common/Monitors/DefaultBlockPoolMonitor.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9a1d10ea159ad1a1a8d9e72b37740f7e3019fe48c0e9e7c21e5fa3594293395"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableCounter\u003Clong\u003E _allocatedMemoryCounter \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":"src/Orleans.Streaming/Common/Monitors/DefaultBlockPoolMonitor.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b862b42ce249bacbd8ca92a0cd88c01b281a57475e1fffb516e4d150174b6be2"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableCounter\u003Clong\u003E _queueCacheSizeCounter \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":"src/Orleans.Streaming/Common/Monitors/DefaultCacheMonitor.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"318652c5c15debd051c7db471d0c3ae6dd9eeef03c929f7f5b624760a869b504"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableCounter\u003Clong\u003E _queueCacheMessagesAddedCounter \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":"src/Orleans.Streaming/Common/Monitors/DefaultCacheMonitor.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"45598aecf4dfe658134f79f75d4b42184040c5f97e5ada998eaa5759634442a8"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableCounter\u003Clong\u003E _queueCacheMessagesPurgedCounter \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":"src/Orleans.Streaming/Common/Monitors/DefaultCacheMonitor.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"922a454042d495eccea6067e378264f877a8af508dcf66c242d4fe773d277f7a"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableCounter\u003Clong\u003E _queueCacheMemoryAllocatedCounter \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":"src/Orleans.Streaming/Common/Monitors/DefaultCacheMonitor.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"207c9d2f317ced546ffbb48e0e01a33f8fb1b7989b3917772782ae917d9e2ca2"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableCounter\u003Clong\u003E _queueCacheMemoryReleasedCounter \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":"src/Orleans.Streaming/Common/Monitors/DefaultCacheMonitor.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0805305eff652afa497f24d7cc48d36e1ac8ea1ebef1ee074902fa1bc7043126"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Clong\u003E _oldestMessageReadEnqueueTimeToNowCounter \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":"src/Orleans.Streaming/Common/Monitors/DefaultCacheMonitor.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e1c8bdb5a3a96d5ac78b0fed7de8b2a60e655f7b4618dbc48dcf5fe1f70c2bf"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Clong\u003E _oldestMessageReadEnqueueTimeToNowCounter \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":"src/Orleans.Streaming/Common/Monitors/DefaultQueueAdapterReceiverMonitor.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a5104da877e875873f41e6bbafb7eada8c1455449cc3bdbb436103afbca8169"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Clong\u003E _newestMessageReadEnqueueTimeToNowCounter \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":"src/Orleans.Streaming/Common/Monitors/DefaultCacheMonitor.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ec3b7b4dc317b38b205bb09eceb476b3ef15169f57e4d0196e043140782073c"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Clong\u003E _newestMessageReadEnqueueTimeToNowCounter \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":"src/Orleans.Streaming/Common/Monitors/DefaultQueueAdapterReceiverMonitor.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf4b7c19e035bd3c372eb64dfee66c4b8c7bb276afee0747ccedf93085d826b6"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Cdouble\u003E _currentPressureCounter \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":"src/Orleans.Streaming/Common/Monitors/DefaultCacheMonitor.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"8831053297f753b7affc53c4ba987b9064475ae577ca1b0d93eecc1fa6109705"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Cint\u003E _underPressureCounter \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":"src/Orleans.Streaming/Common/Monitors/DefaultCacheMonitor.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6b36f8cf979f8f11a79613b2f34f49316d77fa49690246e56944812de258e37"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableGauge\u003Cdouble\u003E _pressureContributionCounter \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":"src/Orleans.Streaming/Common/Monitors/DefaultCacheMonitor.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"149d8365ae58db4962b299aae337af77447c16f4e5157b5037caf8e6acd24e7b"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableCounter\u003Clong\u003E _queueCacheMessageCountCounter \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":"src/Orleans.Streaming/Common/Monitors/DefaultCacheMonitor.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bfa5ca988da14255d61af271f6b3dbdbacc2eb0cbe70b7371a4429bb86be26e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableCounter\u003Clong\u003E _messagesReceivedCounter \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":"src/Orleans.Streaming/Common/Monitors/DefaultQueueAdapterReceiverMonitor.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6fe83e91731ffd242a9f28f65bc9efca1d97dd1f481279a2f7649661c030653"}},{"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":"src/Orleans.Streaming/Common/PooledCache/PooledQueueCache.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"921503cb52aaea321d29db21ba26aef95c47bacb0984f5d81fa1d6e64e8aa279"}},{"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":"test/Grains/TestGrains/StatelessWorkerStreamProducerGrain.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"34e39e19884dde6dac1de47397049906a35a511dcf63461a56530e4c57338012"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string type \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":"src/Orleans.Streaming/Core/StreamSubscriptionManager.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"d912c2bf11b9280dc5533488d61a93ee42e01ecfff2fc84bd68ea5ef504bd266"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: No support yet for DeliveryDisabled, only Stopped and Started \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Streaming/PersistentStreams/PersistentStreamProvider.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"40e3b2d3e066514687bbed95c724f61c0131a8bb2051a908ac4a3c87ef43ed54"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO BPETIT filter 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":"src/Orleans.Streaming/PubSub/ImplicitStreamPubSub.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"23938e64def1bea2c0b5d18e8a137fe62a94993ea9fb463899a98cc6368b752a"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] CreateAdapter"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Streaming/QueueAdapters/IQueueAdapterFactory.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2860d6895cf7f8aced9c53878cdc73725bde1d9ba7b6afc4bbfd58b4dab0760"}},{"ruleId":"D17","level":"warning","message":{"text":"ObsoleteWithCallers: [Obsolete] MessagesDeliveredAsync"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Streaming/QueueAdapters/IQueueAdapterReceiver.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00d05b9499e171e6b6fafd8791698cfc982b4144bd23432268295b576f457a1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: mark for removal instead so we don\u0027t renew, and only remove leases that have not expired. - jbragg \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Streaming/QueueBalancer/LeaseBasedQueueBalancer.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"9556f820351bd782daf4df70445dbc54f60b29cc512768d10341c4099348f575"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // As a result, we will get \u0022MSTest: Unit Test Adapter threw exception: Type is not resolved for member XXX\u0022"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/InProcTestCluster.cs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8cc2b60e88eae7b299701cd2b45214d46c894cd97a43867c6007500948d3a80"}},{"ruleId":"D17","level":"warning","message":{"text":"XxxComment: // As a result, we will get \u0022MSTest: Unit Test Adapter threw exception: Type is not resolved for member XXX\u0022"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/TestCluster.cs"},"region":{"startLine":375}}}],"partialFingerprints":{"codehealthFindingId/v1":"20d7d7fb067289208a876761795ab531311892c7630188e602cfa6aa45455bc9"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable repeated 13 times in 8 files: The identical BarePragmaDisable (\u0060#pragma warning disable ORLEANSEXP003\u0060) appears 13 times in 8 files \u2014 one decision applied repeatedly (e.g. the same rule silenced on every overload of a fluent API), not 13 independent debts. Decide it once \u2014 at the type or project level, or by fixing the underlying pattern \u2014 rather than occurrence-by-occurrence. (Every occurrence still counts toward the score and metrics.)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/InProcTestCluster.cs"},"region":{"startLine":988}}}],"partialFingerprints":{"codehealthFindingId/v1":"96904839417c4929c33cde8f34c0a6c9b7f6780b6acfa8259924681b22212723"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private UnixSocketConnectionOptions _socketConnectionOptions \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":"src/Orleans.TestingHost/UnixSocketTransport/UnixSocketConnectionListener.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"235e262873e717a8e3a299d77445ef5185ffa0abc37cb20e0888e74fa27a851b"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private bool tolerateUnknownExceptions \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":"src/Orleans.Transactions.TestKit.Base/Consistency/ConsistencyTestHarness.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f34c059e1bb605928409fbd1d10c7004ef89cf6e970daeac1236b088f30fb744"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IGrainFactory grainFactory \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":"src/Orleans.Transactions.TestKit.Base/Consistency/ConsistencyTestHarness.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"e657073d52d42508518e8a22789f8abff315fdbbf4730633f98c76fa53cda929"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : Replace with more complete service implementation which: \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Transactions.TestKit.Base/Grains/RemoteCommitService.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"3484d5b0bcdcf1dec942a07b48ca1a1e1fbba14136697fbb85aa02facef6009f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : Add verification that commit service receive call with proper args. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Transactions.TestKit.Base/TestRunners/TOCGoldenPathTestRunner.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"baf9b40648bcb1f9d8c4a005f1e59dad9f67712d2ed3dbe48c3ee950e8b15469"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : Add verification that commit service receive call with proper args. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Transactions.TestKit.Base/TestRunners/TocFaultTransactionTestRunner.cs"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"59c060e75b6c30b023fec2f6118face3eeef760d7f09d8ded9c7744f58e557e0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO : Add verification that commit service receive call with proper args. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Transactions.TestKit.Base/TestRunners/TocFaultTransactionTestRunner.cs"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd7b0edcb9d4c857968e5993af52c369f2f166b63e6da483a2e65f0a13f1b3a0"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableCounter\u003Clong\u003E _transactionsStartedCounter \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":"src/Orleans.Transactions/DistributedTM/TransactionAgentStatistics.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2690f928793e519268ea4491bedb8334b2a6d5bd38d1f7342c9690d629e51e8b"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableCounter\u003Clong\u003E _transactionsSuccessfulCounter \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":"src/Orleans.Transactions/DistributedTM/TransactionAgentStatistics.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a738a36bad9e6a85453e7d67e07e777aef0876c506f443ee810b2ed44f8cc89c"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableCounter\u003Clong\u003E _transactionsFailedCounter \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":"src/Orleans.Transactions/DistributedTM/TransactionAgentStatistics.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2145d7f7e956e2d1f0513b7a6a46039bb71b6b817564e581044742adb0c94b25"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ObservableCounter\u003Clong\u003E _transactionsThrottledCounter \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":"src/Orleans.Transactions/DistributedTM/TransactionAgentStatistics.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a4ecd78d47df6fb039ea5d5bdc65f02ccf9a5babcd618cdf9c6e314a0121624"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this should be a configurable parameter \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Transactions/DistributedTM/TransactionClient.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"45760c52dd5ff5bc2db25f78f74521c2153975a447bce784035a1076299547de"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this should be a configurable parameter \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Transactions/TransactionAttribute.cs"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23debf5fc59f3e8c2bb6dca77644c0c7100a8504b5241a9214bf741c62eb356"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO - jbragg - add error codes for transaction 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":"src/Orleans.Transactions/ErrorCodes.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"55dda9fd91682238173b23bee0a4406daf0e566db4cc25124a2cdf2b06b263e6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: /* disabled - jbragg - TODO - revisit \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Transactions/State/TransactionQueue.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"770959b0ab8c97be3dd33453a5b4e99c9b56d39865019fe97252f93246b8defe"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO fix memory leak if corresponding commit messages never arrive \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Transactions/State/TransactionQueue.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"5570b021a8074d69f297ec01faa15d7290401c00c26b47b95fd064036d8a3a7b"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Transactions/State/TransactionQueue.cs"},"region":{"startLine":141}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cada448807a324b1d61c8469ae48dfcca86afa04d1160bde0d088d51a9003a2"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Grains/TestInternalGrains/StreamReliabilityTestGrains.cs"},"region":{"startLine":325}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f2f795554a6a108dc503fb008caeb6a6bb3a79a99c030cbf790df6f93f535c0"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Runtime.Internal.Tests/StorageTests/PersistenceGrainTests.cs"},"region":{"startLine":1388}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83e933ec70d5f2b9b0376e9c44f105d50527554237f3ae46e037f9c62b8c51c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Runtime.Tests/MembershipTests/LivenessTests.cs"},"region":{"startLine":228}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33dcc0f82d8d05a08d6d7513e3cbe3ae04808e8099b4d3e02432340eca88365"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 4 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/StreamingTests/SingleStreamTestRunner.cs"},"region":{"startLine":656}}}],"partialFingerprints":{"codehealthFindingId/v1":"624073bdc730d9b72cc293df907fb343c299da3f8de28a054fc6fe0444898573"}},{"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":"src/Redis/Orleans.Streaming.Redis/Streams/RedisStreamAdapterFactory.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"3da64cbfdf6b8df3514ceabfefc5134003a87982c188595aad6f2ce7f5b76747"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private int _numSilos \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":"test/Benchmarks/Ping/AdaptivePingBenchmark.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"da20582dde974b9eedab70622ea45770989683e35411ab840b3b497fc5939038"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private SerializerSession _session \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/Benchmarks/Serialization/Comparison/CopierBenchmark.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"297525abd33f70c424084c574ca8d321ab95ef97acc530a868812a43774c72a8"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Pipe _pipe \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/Benchmarks/Serialization/ComplexTypeBenchmarks.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfc9f88ea8e54ed14d4237ebc6437ac03bb7ab60cfc0bae589ec93846a587b7"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private MessageSerializer _messageSerializer \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/Benchmarks/Serialization/ComplexTypeBenchmarks.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"99d3e626d50f81676f52a70cc042772a656e1e70b3c522e67f335cf3fb5faef3"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Message _message \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/Benchmarks/Serialization/ComplexTypeBenchmarks.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"3355a6b9216d5c2ee721b2583604c28c713b74e276cd160e4c5cde39f95f0a7e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Message _structMessage \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/Benchmarks/Serialization/ComplexTypeBenchmarks.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d25603aa354d9be17564e09903b8064def84133c7eec44f51970af6599cbae8"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS8766 \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":"test/Benchmarks/Serialization/Utilities/MethodResultColumn.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b1a3f0c23df42ee9161ea7f52d871e6ba5fee840fc4a573ecca7bf7eaed3dac"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ZipfRejectionSampler _sampler \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":"test/Benchmarks/TopK/BloomFilterBenchmark.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"5823badcca778ab86f95ddc8a431dfa49ffa60fb3b9d517d905940bda40ea677"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Benchmarks/TopK/TopKBenchmark.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"406bfe912bcd7562533761e7d6e2301a6628138df7a62e4dd8085cb7b0246ee3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Runtime.Internal.Tests/General/RequestContextTest.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"795a803fab95c38778e5d1f1a71c70613a00e60520a225ebccc3078b8188dce8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 3 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/StreamingTests/SingleStreamTestRunner.cs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1d85358ac4ed6bc3918e8d79fe9cf5460148724f9158f18576b8d741e10d702"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Benchmarks/TopK/TopKBenchmark.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"582cb8b0eef4223a8f3e9d8794976db08415c947e208e02c5a3c174a46e372b7"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Benchmarks/TopK/TopKBenchmark.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a915958b77a0d298d4afae793b26283eb1670bc2532e521232c823bec98ccf7"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.Azure.Tests/Streaming/AQStreamingTests.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2ad10339d66edfdec9b7c5e44a8540a5fecaff5e4056e138737590aba34fc9d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Grains/TestInternalGrains/StreamReliabilityTestGrains.cs"},"region":{"startLine":330}}}],"partialFingerprints":{"codehealthFindingId/v1":"0eb5b170ac27063096fc9b7bfa9c3ee58ab130c7730b1ccc1e2aebc7892b55e4"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 7 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Placement.Tests/General/GrainPlacementTests.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d54c9ed7c2acedc88e521e9625fb1e2157e92596bfba0a76afa12d978729ed1"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private UlongFrequentItemCollection _fss \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":"test/Benchmarks/TopK/TopKBenchmark.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5c91eba6d2f63abf8ec2ec8fca393b35efcc8b7fc8da9cc827995b1054146e6"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private EdgeClassFrequentItemCollection _fssClass \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":"test/Benchmarks/TopK/TopKBenchmark.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2c87080f4ebd04060b5e7b77b9ec548e58abbfbc7be7bc0d29ecf19736c1fe4"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private TestEnvironmentFixture fixture \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/Extensions/Orleans.AWS.Tests/StorageTests/DynamoDBStorageProviderTests.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bcb5238b20bf971665eff42bdf64cba8f6b667d967c3dee41b7c101e9409fa0"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ITestOutputHelper output \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/Extensions/Orleans.AWS.Tests/Streaming/SQSClientStreamTests.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b5b2efe9e3287e02565d74804c7e42309fa5aece26999a813b5b08c405929f"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ITestOutputHelper output \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/Extensions/Orleans.Streaming.Kinesis.Tests/KinesisClientStreamTests.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"6473127e80235a5b0a0515cdbca228872548d5df82829c4ed94f40958c33807f"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ITestOutputHelper output \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/Orleans.Core.Tests/Directory/DhtGrainLocatorTests.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aec8a55fa96a7dd5adbfd02925ea37f2847fdc7522da5e4cc1cdddb6f1d6bc8"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ITestOutputHelper output \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/Orleans.Core.Tests/General/UtilsTests.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3a80f1d3b230ca6c6c350af0dd344d84f798d17b33b9520f78f434f84021055"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ITestOutputHelper output \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/Orleans.Core.Tests/OrleansRuntime/Streams/ResourceSelectorTestRunner.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"2cfc006ceee45ff2d66f5486fae6764085e02cffd7b8510e4de6bd888b8b9d14"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ITestOutputHelper output \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/Orleans.Core.Tests/Serialization/BuiltInSerializerTests.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"2951903126db4a1346a1e9b27579dc3f5d8d56eaa727106899c2dc06791a5f3e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ITestOutputHelper output \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/Orleans.Core.Tests/Serialization/MessageSerializerTests.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"c121a072e38d954c9d8f53597191ac7e3b3f286ebf2c383ec95271d0aaf1fe41"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ITestOutputHelper output \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/Orleans.Runtime.Internal.Tests/General/RequestContextTest.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"eca859b4b4f49742aee6f18b5a2a5f0a2387bc582e3fa695e9eac303c531a5a1"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ITestOutputHelper output \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/Orleans.Runtime.Internal.Tests/MembershipTests/ClientIdPartitionDataRebuildTests.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"9dd36baf2ec3d597a3ce75055ed8cf6f9b2db4721c14955203865e197e00ba67"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ITestOutputHelper output \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/Orleans.Streaming.Tests/StreamingTests/StreamingCacheMissTests.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"7167718945fde540806ed29c27f9dc8fb5d5cea456eb1a737af5932a7c821ff4"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ITestOutputHelper output \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/TestInfrastructure/TestExtensions/Runners/GoldenPathLeaseProviderTestRunner.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ba2c75e5a1403a9e3d6897752ea18842bbf64cf61e4a50f0da9992f332531ce"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: Print that parsing custom values... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/Extensions/Orleans.AdoNet.Tests/StorageTests/Relational/TestEnvironmentInvariant.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2aad684d1afacf3a4afe15a1aa708fe1874727525e7cab589846d6cb5a3d006"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO change test to include more serializer? \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/Extensions/Orleans.Azure.Tests/Persistence/PersistenceProviderTests.cs"},"region":{"startLine":382}}}],"partialFingerprints":{"codehealthFindingId/v1":"83c201a9c7273b32f79db16d8a60edefb3c49000544dd40cfe5f8327c7f2d418"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: write tests where period of a reminder is changed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/Extensions/Orleans.Azure.Tests/Reminder/ReminderTests_AzureTable.cs"},"region":{"startLine":329}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d267adcbac8f641d45737cfb973299ffd654084b09f69c7c7db0d19fd4d6809"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: write tests where period of a reminder is changed \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/Extensions/Orleans.Cosmos.Tests/ReminderTests_Cosmos.cs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"07328c99a103a58d22a8c41cea3af2e0a4f85847be0671b548a4d9e2019121ac"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: currently, the Azure queue queue adaptor doesn\u0027t support namespaces, so this test will fail. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/Extensions/Orleans.Azure.Tests/Streaming/AQStreamingTests.cs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"a821b1534ba32dc7130a783a8f6c0a26b55f24fe949a60b0bf5713d8ba0a95d7"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: currently, the Azure queue queue adaptor doesn\u0027t support namespaces, so this test will fail. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/Extensions/Orleans.Azure.Tests/Streaming/AQStreamingTests.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"0523cccbed019d9673348cbce03d9baf8e159aa5a358428172e6a807c362b111"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: currently, the Azure queue queue adaptor doesn\u0027t support namespaces, so this test will fail. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/Extensions/Orleans.Azure.Tests/Streaming/AQStreamingTests.cs"},"region":{"startLine":297}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9ed3616e4fb4502604389b4f81f42aadcd486a84d6f981f9ab62b7680693f4d"}},{"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":"test/Extensions/Orleans.Azure.Tests/Streaming/HaloStreamSubscribeTests.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"805c7414abe0f5a3b38268c2d3194ae0871d2d91bf7167e4ee2f76857569f4a1"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string adapterType \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/Extensions/Orleans.Azure.Tests/Streaming/PullingAgentManagementTests.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"85eeabadbff77962bede7aefe88947c79b140f51611aaf667f573a99b10693ae"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: This test fails because the resubscribe to streams after restart creates a new subscription, losing the events on the previous subscription.  Should be fixed when \u0027renew\u0027 subscription feature is added. - jbragg \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":266}}}],"partialFingerprints":{"codehealthFindingId/v1":"2fd3074209fb41acd206b115b7f352d323afa8a00dbc1be1f33677f040c4a8ff"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9b2e31c8a8836bbc0d52e7e00942960d18fadf6262241176722172e0f130e57"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/StreamingTests/SingleStreamTestRunner.cs"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"89c74682d8f64d81d9ac49212739f382eeeca8ba90bf6323244b6a8f0f20ec6c"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/StreamingTests/SingleStreamTestRunner.cs"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"932932403966041c293218d739acd8c1d9b80453727c831d72deb10da2d6953a"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if DELETE_AFTER_TEST \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2d178052d8022f46303f902050c429610f2cecff1b0b7914a534354ac5ddaf7"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if DELETE_AFTER_TEST \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"57af895fc357280140f486b4e5fd7150dd92acf54cd7ba7c54bdfcaf53ff68df"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if DELETE_AFTER_TEST \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"b7cd129a8f68d58b04570b891ba9ef65b5953a2d55b743221bfc86c871c420e6"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if DELETE_AFTER_TEST \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"365661e815fc9dbe6771315a097a78511b5682378ba69c5463ca0a7444ea1ccb"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if DELETE_AFTER_TEST \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":427}}}],"partialFingerprints":{"codehealthFindingId/v1":"584c6d25c693b1c4ba08792774aec7fbbf68bf7cc114360a5efaa5989cf0dfd4"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if DELETE_AFTER_TEST \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":460}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e631cdd386339deb401e5a11c0972451aeedabc6762f919ac92ac394f7ec341"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if DELETE_AFTER_TEST \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"70f88b5520cae3b6a0a0038460db4904d63216911fd42fafd39c67a1fac50757"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e421081c4b836a7aa95ca529e5e0ff061e480361d0834c14aa756747cd93a63"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a772bd32985076bb55c0469184a2cacef3427615cab6cc77c95a5157748cc0f"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":731}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b1ab92848c7ee8a47f16f4d25c0cb73b7f65612334b2e6f40cfc2539fe2abf7"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":1094}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b23bc4c5d0bf1f76e801df601b9c9ba02e282e029d284e53d839a89d96e0a0f"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":1100}}}],"partialFingerprints":{"codehealthFindingId/v1":"f024b876ea3595afa23628d0bf82cff073defaf55e0a6afc5128c889d62e3355"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":1107}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8fbdb71ba8be20a0a5299bbc6cae727f27bfdc1b50fa84c7e1ce0b630d70337"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":1158}}}],"partialFingerprints":{"codehealthFindingId/v1":"fafd6320527735dbd88a0919d26534b683773f1afe3a18d39f995a03ae0a351b"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":1260}}}],"partialFingerprints":{"codehealthFindingId/v1":"e36f94afd0571abc5ff57d86ddb9708f7b2a5ce05503b25374cb091e64044d28"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":1422}}}],"partialFingerprints":{"codehealthFindingId/v1":"1385988d56c76fcc9daf10b8a77b1421a90653d021edef393c8cf85089ee7030"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":1482}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fcebdeb18a7a2a119f18a06cfd930d002d82161cca9c37d088bb163d0814546"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":1498}}}],"partialFingerprints":{"codehealthFindingId/v1":"b886e4e14e8f397c2cc482e55391e50e8bd52ea2f41093a690f8bf1cb5344e51"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Grains/TestGrainInterfaces/IStreamReliabilityTestGrains.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f04db18eec6dd4d1610725b3a52663b8979e82dc79ead91b9168b674ae48a27a"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Grains/TestGrainInterfaces/IStreamReliabilityTestGrains.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"8abf7dc0bccaad46f23596bd849433459e13dc67548b8483918e8b39ed71ae42"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Grains/TestGrainInterfaces/IStreamReliabilityTestGrains.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb8be31d0dac3f59637eaaab62c0540a6f1b41936d37391725957ea75f6c22aa"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Grains/TestInternalGrains/StreamReliabilityTestGrains.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2301f8e098466c04f0950808be84ad8012bef100b918b85bb08496d7c0227ed"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Grains/TestInternalGrains/StreamReliabilityTestGrains.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ba30c6c9cb5bded033181238eba7d5dda0c01c6b1f5fb865d60eafb36876b54"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Grains/TestInternalGrains/StreamReliabilityTestGrains.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c4cec9fc2946677d19ee406e58d830191aa412f74552d3622459f05335c8f63"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Grains/TestInternalGrains/StreamReliabilityTestGrains.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"65546d029d0993c6e191afdfd33e379625d04a697d014d1f383f5ebc81505f55"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Grains/TestInternalGrains/StreamReliabilityTestGrains.cs"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"9507fd9e685323eb0d8bb408d98670eff61e91c65b031b68943d9d268b3db5f7"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Grains/TestInternalGrains/StreamReliabilityTestGrains.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"b35e4bf71fafe44cda1896a1f08e8a9c38fe4756361c8ffacb65665550b63014"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Grains/TestInternalGrains/StreamReliabilityTestGrains.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd935835f5ff24ab82da1753178beaaa5d7d99368f9a02259f0636cf4a901e4f"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Grains/TestInternalGrains/StreamReliabilityTestGrains.cs"},"region":{"startLine":168}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fbd9b9a68230e603b15ab24bdb717658ae9a953ad50eb1642e836db769ae5de"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Grains/TestInternalGrains/StreamReliabilityTestGrains.cs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"2785da3994b994fc03ee89b0018ff2b890048bada6d2d27f6c81a5ad57155031"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Grains/TestInternalGrains/StreamReliabilityTestGrains.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"749f3b2cbaf6dba236bb6afc3aadc1a123413f0a8a322dea85f8c960a4931074"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Grains/TestInternalGrains/StreamReliabilityTestGrains.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd3e9cc44ee2936b2a13007e4786a5f4219432b619f6d5a9825bd4ecba240030"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Grains/TestInternalGrains/StreamReliabilityTestGrains.cs"},"region":{"startLine":288}}}],"partialFingerprints":{"codehealthFindingId/v1":"4173a79730f6e48feb1cbdc2c3c7074a5f4826f9f9a4349b149026e327128b59"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if USE_GENERICS \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/Grains/TestInternalGrains/StreamReliabilityTestGrains.cs"},"region":{"startLine":302}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e8f54f64f9bca3c5680ea9742d6e89ab752702ae41526125f6cd43dc6bb16b4"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if REMOVE_PRODUCER \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":641}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a5585da2498db5d9e2945c35953a8ad6780e7c2e7a77b1a52f7a2edd1d6b89"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if REMOVE_PRODUCER \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/Extensions/Orleans.Azure.Tests/Streaming/StreamReliabilityTests.cs"},"region":{"startLine":651}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f02c1e53203f1f5c39a26e2a3dc949958d6d7ffd33832ac4a0d76d48cdae5ee"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] ACL"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Extensions/Orleans.Clustering.Consul.Tests/ConsulClusteringOptionsTests.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"450c38d264d50a6e01b437ebc802d82d626ff145e019b4a66963a956ef50b524"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable ORLEANSEXP005 \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":"test/Extensions/Orleans.DurableJobs.AzureStorage.Tests/DurableJobs/AzureStorageDurableJobsConfigurationTests.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d8af85b09314d5041ac075197047184167a0cbc98b003b3d3543783ea826cfe"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private CommonFixture fixture \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/Extensions/Orleans.Redis.Tests/Persistence/RedisStorageTests.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc6619e35bc26b6429274a0919b8c015a37c3faf30a4be7b5876387be66b0bae"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private CommonFixture fixture \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/Extensions/Orleans.Redis.Tests/Persistence/RedisStorageTests_DeleteStateOnClear.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4696e8bf1525314a82209b0b860e8102fe2dcd727bba06e80d1cc92302abb7a"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string CheckpointNamespace \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/Extensions/Orleans.Streaming.EventHubs.Tests/SlowConsumingTests/EHSlowConsumingTests.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"9432de4a67a55e1273c11b995a0a26ddc7e418c53e1038666d14c136ebe29c09"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string StreamProviderTypeName \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/Extensions/Orleans.Streaming.EventHubs.Tests/Streaming/EHStreamProviderCheckpointTests.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"1972c79459ff07601ec5fd49f688ca1457dca2cb361e147cbb187fbbf7f81348"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string StreamProviderTypeName \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/Orleans.Streaming.Tests/StreamingTests/GeneratedStreamRecoveryTests.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"824f7269f397ed0f35c65e26cd4a682458e3450941c88612bc1537a7b7776a67"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ITargetProcessor\u003CTInput\u003E _processor \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":"test/Grains/BenchmarkGrains/MapReduce/TargetGrain.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"417c99fdbfaa9eb8ce9e49bc8b3966b8503b9ad23003db599ee645f1b16a56e9"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ConcurrentQueue\u003CTOutput\u003E _output \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/Grains/BenchmarkGrains/MapReduce/TransformGrain.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b7ffcda9a0bba5a7ea5d0ea195f46dbac0d541dab7e42a9bf040c2d5f405181"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IInjectedService injectedService \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/Grains/TestGrains/SimpleDIGrain.cs"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"d82684266181b8c7dd1b5ea6a535f1882a3d22be099b291c6e0e82d6312d0926"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ActivationCollector activationCollector \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/Grains/TestInternalGrains/ActivationGCTestGrains.cs"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"2559b4bf542521754dd92a0b4d079529e8fa91a5d227485d3198711160ecefff"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IGrainContext _grainContext \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/Grains/TestInternalGrains/ActivationGCTestGrains.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"deee4e87c0dd86307e1cb0a31a837eab7fc76a7e3478d632152a09031398dbac"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 1998 \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":"test/Grains/TestInternalGrains/EchoTaskGrain.cs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e2931172cc027e836603e7d7bb9e957f10d2338567589ff40723c58b6c602cc"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 1998 \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":"test/Grains/TestInternalGrains/EchoTaskGrain.cs"},"region":{"startLine":294}}}],"partialFingerprints":{"codehealthFindingId/v1":"6aae5b3f57df96445ae5633faa6619376207f2355f7ef7d1da2e048b37e84e84"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 1998 \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":"test/Grains/TestInternalGrains/EchoTaskGrain.cs"},"region":{"startLine":371}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab460f77d43d0652635bc09251881e59db19f35651a1884915623ec38e53b6c"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 1998 \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":"test/Grains/TestInternalGrains/EchoTaskGrain.cs"},"region":{"startLine":387}}}],"partialFingerprints":{"codehealthFindingId/v1":"c90392fa2b63157cdc9e917663c2ff31952ad17657e0cdd924045e096852be85"}},{"ruleId":"D17","level":"warning","message":{"text":"HackComment: //            // HACK for testing \u2014 a workaround marked in source: record what it is compensating for and what would allow its removal (the upstream fix, the API it is waiting on, the invariant it restores), so the next reader can judge whether it is still needed rather than rediscovering why it is there."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Grains/TestInternalGrains/PersistenceTestGrains.cs"},"region":{"startLine":898}}}],"partialFingerprints":{"codehealthFindingId/v1":"beb170a7a5b06f250f3330c76656690b50b761516f60d7fde6803f09bc8f89f7"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 612,618 \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":"test/Grains/TestInternalGrains/ReminderTestGrain2.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdc81e2bb13ee2ac8117e731805ae77480b8ad90aa7299b31f0bcfd000b6158e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string _id \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":"test/Grains/TestInternalGrains/ReminderTestGrain2.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"a84e4ebc285a1c26fb2e1f4efe3c4ef1c5f132ea3f4ce3a52a1217941abaaf1f"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private long myId \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/Grains/TestInternalGrains/ReminderTestGrain2.cs"},"region":{"startLine":259}}}],"partialFingerprints":{"codehealthFindingId/v1":"ffc2a900b77b9e89d35e2ab2117600b4819f413ed6792c2138c8c6ec6bb3a876"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO NOT SURE THIS FUNCTION MAKESE ANY SENSE \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/Grains/TestInternalGrains/StreamLifecycleTestInternalGrains.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"f12917a9c2aa1a2f7d56866d9026e9f10b875fe0973eb16042b3b8b557602a97"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO BPETIT remove 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/Grains/TestInternalGrains/StreamingGrain.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"231d0f6ae9c3bc439566c3a774acaa645aaf4dd6f4aa989fd600c974b9fd2878"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO BPETIT remove 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/Grains/TestInternalGrains/StreamingGrain.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddba5ee39b6cae182c444354c0f5787d12c432b5e907326ab0de12b8297aed8d"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Grains/TestInternalGrains/StreamingGrain.cs"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"927d8405cd42b69cae124d6f803171ed32fc957ce0d21b6fbe32cf5166b6ebd8"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Directory/CachedGrainLocatorTests.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"c58060b31a5846fc7ada89a7e2c398f7da422bbbe4752ebf9ddfe109f2b2eb12"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/StreamingTests/SingleStreamTestRunner.cs"},"region":{"startLine":636}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ac7843fa0ee68df21bcfaf727d2829995703e0ec3af34b23812e9f303eb4dd3"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 6 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/StreamingTests/SingleStreamTestRunner.cs"},"region":{"startLine":644}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccaf373eb390ae0d31b8f750a6ded58ff54c0286f2ae77636e4f3a74a7567a10"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string label \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":"test/Grains/TestInternalGrains/StressTestGrain.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"66155a76e45b47b892e1e4095f5d4f1878ede4ed7acac1728dfd4f4690e9a653"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string label \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":"test/Grains/TestInternalGrains/StressTestGrain.cs"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2c5a9be691147e7484e6cfc0f13f05657382f0fdd49c8833e21918f9b93449"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IDisposable? 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":"test/Grains/TestInternalGrains/TestGrain.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd9fcb926a0a44ced4ea2f49d66679c7bc61885c14dbe541616c80c98d38ee9d"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable SYSLIB0057 \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":"test/Orleans.Connections.Security.Tests/CertificateCreator.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bccca0f502ee4373902b46a6c06c983c2cf692fb1c604d0ef5993a7cfee72a"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable SYSLIB0057 \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":"test/Orleans.Connections.Security.Tests/CertificateCreator.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"90942d47381a780584514931c93fa04e2d25955319c31c89250d3e192d5a4296"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Core.Tests/Directory/CachedGrainLocatorTests.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"b15a1261a47f7a0dc458e31dacef3eadfae7451b83f01aeffaa65457a9328c94"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable ORLEANSEXP005 \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":"test/Orleans.Core.Tests/DurableJobs/DurableJobsOptionsTests.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff1d0f564d174d8ba95bd58f91cd8879bb3d914932b6e2a782fe1c8d50e467e3"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable ORLEANSEXP005 \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":"test/Orleans.Core.Tests/DurableJobs/LocalDurableJobManagerTests.cs"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40c82d138367802364b0ca56fa3838cfb7c561802e07c4b57752e207cc3d7e1"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IEnvironmentStatisticsProvider environmentStatisticsProvider \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/Orleans.Core.Tests/SchedulerTests/OrleansTaskSchedulerAdvancedTests_Set2.cs"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"025636ca03ac6339924e254f685ac15c92fa0465bcb00d7a7e2a2d8f833894ce"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private object anchor \u2014 assigned 6 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/Orleans.DefaultCluster.Tests/ClientAddressableTests.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"a65a121819fae087db254330fdc26f98df98f3fe7b0cc6bba408dfb60138c44d"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 693 \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":"test/Orleans.DefaultCluster.Tests/CodeGenTests/IRuntimeCodeGenGrain.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2adff44b843855c667c359240c7244ed7f0a136e53055027604019e55389f6f"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 693 \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":"test/Orleans.DefaultCluster.Tests/CodeGenTests/IRuntimeCodeGenGrain.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"56d959245a41776ce383ce52f58678b3e3244590efdff4f2fc59ed21cbc9af22"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable 693 \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":"test/Orleans.Serialization.UnitTests/InvokableTestInterfaces.cs"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6b7c89ede9439d6f2fe2938c6fe3375fc06d2f7aaf43fa19ec0ef79c5f84d8e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Random rand \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/Orleans.DefaultCluster.Tests/ConcreteStateClassTests.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"488872e4172e58db53bf82ed97374228c757869fdeffa820dd6cfab44bb3e272"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 21 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.DefaultCluster.Tests/ErrorGrainTest.cs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"298b525b4c0273c50b08e4248965be0fd348936ade56f737f21bfa63dde31f51"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo: implement white box access \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/Orleans.DefaultCluster.Tests/GrainReferenceCastTests.cs"},"region":{"startLine":317}}}],"partialFingerprints":{"codehealthFindingId/v1":"54db1edae9bce8e76d615d02afd90c3f404729f3457ece022d9c588ebc425578"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if TODO \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/Orleans.DefaultCluster.Tests/GrainReferenceCastTests.cs"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"68995d495cc0fd8f48009110ebf7814b08c6d0a723e1ba0a515987d2e69acff3"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable ORLEANSEXP004 \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":"test/Orleans.Placement.Tests/PlacementFilterTests/SiloMetadataPlacementFilterTests.cs"},"region":{"startLine":239}}}],"partialFingerprints":{"codehealthFindingId/v1":"71a168f084925412e1d876264d6b0029c05f86d96112aa2f07f9ffbc4b41ce9b"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable ORLEANSEXP004 \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":"test/Orleans.Placement.Tests/PlacementFilterTests/SiloMetadataPlacementFilterTests.cs"},"region":{"startLine":251}}}],"partialFingerprints":{"codehealthFindingId/v1":"127739dce48bfe4c70fd2667dab3664325fec42e5b3c5f7ba26923241e055480"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable ORLEANSEXP004 \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":"test/Orleans.Placement.Tests/PlacementFilterTests/SiloMetadataPlacementFilterTests.cs"},"region":{"startLine":265}}}],"partialFingerprints":{"codehealthFindingId/v1":"582a20461bd5ecc51fa7da98605ada3c94bcce3c234b802dc0931f4be7a9849c"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable ORLEANSEXP004 \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":"test/Orleans.Placement.Tests/PlacementFilterTests/SiloMetadataPlacementFilterTests.cs"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"1aee6301bbc260801173e204d7cc6714b1ecfa85cc4c063956fd31ea6a23b638"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable ORLEANSEXP004 \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":"test/Orleans.Placement.Tests/PlacementFilterTests/SiloMetadataPlacementFilterTests.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"70fb19ece8a85a555197da7344da236d8ad8f1b3f8163fe74d51852686e07771"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable ORLEANSEXP001 \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":"test/Orleans.Runtime.Internal.Tests/DependencyInjection/GenericRegistrationTests.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"a95cf8cbfc8be88b8346684b65aeba0e985f014bc101d2373ce817ce67e7aac9"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private OutsideRuntimeClient runtimeClient \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/Orleans.Runtime.Internal.Tests/General/RequestContextTest.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"35148bfefd45c8194aa50f8dde53cce723b0d98ffce6120dd799fdc4b5948c50"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: [Fact, TestCategory(\u0022Functional\u0022), TestCategory(\u0022Tasks\u0022), TestCategory(\u0022Reentrancy\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":"test/Orleans.Runtime.Internal.Tests/MessageScheduling/ReentrancyTests.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc202bb0ebae28f56151e5ab8f2a2793affc0121ea292158f77a06ff7436419"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: [Fact, TestCategory(\u0022BVT\u0022), TestCategory(\u0022Tasks\u0022), TestCategory(\u0022Reentrancy\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":"test/Orleans.Runtime.Internal.Tests/MessageScheduling/ReentrancyTests.cs"},"region":{"startLine":267}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebfe0caf8e3596302d1ff86e296c2e87013696f80203634dae0a236664e74a8c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: [TestCategory(\u0022Functional\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":"test/Orleans.Runtime.Internal.Tests/MessageScheduling/ReentrancyTests.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"efb0e0d0d8a3fb16401574e296a551941d792e3918addac6e63c6ec03fd6b5b0"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 17 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Runtime.Internal.Tests/StorageTests/PersistenceGrainTests.cs"},"region":{"startLine":1202}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7bda49d5b3a005c8ef72101fa8733238265905ccfcec8d9c6c548999dcc04e"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if REREAD_STATE_AFTER_WRITE_FAILED \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/Orleans.Runtime.Internal.Tests/StorageTests/PersistenceGrainTests.cs"},"region":{"startLine":745}}}],"partialFingerprints":{"codehealthFindingId/v1":"5bc4a43f98515464db76b4e37ebd41dcd0c73c20465cb3f70f88dad28c1a6ac3"}},{"ruleId":"D17","level":"warning","message":{"text":"DeadPreprocessorBranch: #if REREAD_STATE_AFTER_WRITE_FAILED \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/Orleans.Runtime.Internal.Tests/StorageTests/PersistenceGrainTests.cs"},"region":{"startLine":1021}}}],"partialFingerprints":{"codehealthFindingId/v1":"aafcb052ce353544acc23cec273ffe5a79a420d277da409a52696950ef538686"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Check ActivationCountBasedPlacement in 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/Orleans.Runtime.Tests/HeterogeneousSilosTests/HeterogeneousTests.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"0792cef6fd48f915f2572050549e8369123a414a6e76514a21eaeb11211795f3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO Check ActivationCountBasedPlacement in 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/Orleans.Runtime.Tests/HeterogeneousSilosTests/HeterogeneousTests.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"01aceff25ae402cfaac1d06a511a0e7b6b547a49c1966b3c758829f59659323f"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private ITestOutputHelper _output \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/Orleans.Runtime.Tests/JsonNodeGrainTests.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc575412f8ac2ede473ead6e8c1b969cd516d5e2f687282bd7553acd5f2009a7"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private int _dummyValue \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/Orleans.Serialization.UnitTests/Buffers/Adaptors/PooledBufferStreamTests.cs"},"region":{"startLine":494}}}],"partialFingerprints":{"codehealthFindingId/v1":"21482482ea7158f9dfce35eacb08dc21aad7fefa49a95883c084715d558afca7"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private DeepCopier _deepCopier \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/Orleans.Serialization.UnitTests/GeneratedSerializerTests.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"c84746a2f388dd28a7138a517ba03e729f597404b3593f95a9b9bf60373fc6ee"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This type should cause a build error because \u0022Bar\u0022 is an init-only non-auto property but has an [Id(...)] attribute. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/Orleans.Serialization.UnitTests/RecordSerializationTests.cs"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"cbb18fbe59049f830033a74df15de05c478d7d19798bad86d0386bf51b47b8f9"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private string _value \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/Orleans.Serialization.UnitTests/SerializationSupportContractTests.cs"},"region":{"startLine":237}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef9899c9ba3f536dbbca3aa592a44d5c6609dfa5b123dad4fc2516fceb785786"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private int _value \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/Orleans.Serialization.UnitTests/SerializationSupportContractTests.cs"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"a10341b7af110858a05b004fc3d1b4936c7fa088b3a9e631db54a5ab340f3131"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] GetCacheCursor"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/OrleansRuntime/Streams/SimpleQueueCacheTests.cs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ac4c5c689c84320bf31142dd9a77d0abd5c44843aea9db7cb59fb73a1382a5"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] GetCacheCursor"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/OrleansRuntime/Streams/SimpleQueueCacheTests.cs"},"region":{"startLine":459}}}],"partialFingerprints":{"codehealthFindingId/v1":"94b0052374d9c499f70e2da1855f1b0d8f9b8b094a02c91e6da285033fba043e"}},{"ruleId":"D17","level":"note","message":{"text":"ObsoleteWithoutCallers: [Obsolete] MoveNext"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Streaming.Tests/OrleansRuntime/Streams/SimpleQueueCacheTests.cs"},"region":{"startLine":423}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc40e6b9d3f371d778fee4aab3c4259a8ad0ffc255550c54305228862df7ea4d"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private TimeSpan _timeout \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/Orleans.Streaming.Tests/StreamingTests/MultipleStreamsTestRunner.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"b808345c57a88a1d4b757162795d2aaf10068a5b76996f51a871c5b78f61d208"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IInternalClusterClient client \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/Orleans.Streaming.Tests/StreamingTests/MultipleStreamsTestRunner.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc5335d871aff2d855aa6b1c829ddb4c15f6d08553f8722c1607c23cd5698bad"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //ToDo in migrate: the following consumer grain is not implemented in VSO and all tests depend on it fail. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/Orleans.Streaming.Tests/StreamingTests/SingleStreamTestRunner.cs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"8934dfca403bf5b15b21742813948387cc17bbd941a2791b247d21df3539ae66"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: expect StorageProviderInjectedError directly instead of OrleansException \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \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/Orleans.Streaming.Tests/StreamingTests/StreamPubSubReliabilityTests.cs"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"16df6c771a5e03f285c75abe2536c0c15171f0c1f77713de455d6bf883fb8580"}},{"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":"test/Orleans.Streaming.Tests/StreamingTests/StreamTestHelperClasses.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d5275571443e7a872ba44982b2c66f188ef78ce2fac89617ec5a6369c56897d"}},{"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":"test/Orleans.Streaming.Tests/StreamingTests/StreamTestHelperClasses.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"92f55f8c1fdb845b0542d7a632b05f95b1758998646c32b666434844deff940e"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private IInternalGrainFactory grainFactory \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/Orleans.Streaming.Tests/StreamingTests/StreamTestHelperClasses.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"152a197f5d96092b793d10b3577a26e7997a712cee5709eda8c2355713dcba6a"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private int numKeys \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/TestInfrastructure/TestExtensions/MockStorageProvider.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"81ec19d87ab2190bcf3e79990525b74bc6acfc5927babffc4bdae7241c319f0a"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj repeated across 13 files: The identical NoWarnInCsproj (\u0060ORLEANSEXP005\u0060) appears in 13 files (13 occurrences) \u2014 a single repo-wide policy (e.g. a Directory.Build.props decision or an idiomatic suppression), not 13 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/Orleans.Journaling.Tests/Orleans.Journaling.Tests.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"09b0107700562e68b8256360d5a6c860e26e043b4bc6511c2ba4e525637dcaaf"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: NU5128 \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":"templates/Microsoft.Orleans.Templates/Microsoft.Orleans.Templates.csproj"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"229312d643525f5a888c742632389f492d8f6b39de6047050174cf9fc82760ad"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: MSB3277 \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":"src/Orleans.Sdk/Orleans.Sdk.csproj"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c1e74f0a142f47aa607c237a7682aafd175c19968c5f12ae3bac3371b9b2c4b"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: RS1038 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Analyzers/Orleans.Analyzers.csproj"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"25f6e0431358f92afae98a53319f235ca1b61a1b45de9d55c5d46160813aa65f"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: RS1038 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Analyzers.Contracts/Orleans.Analyzers.Contracts.csproj"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"89ca79a56d118238bff24ee42ea018dc5f3833c2fe950ea97af077a78b6ddc88"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 618 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Grains/TestInternalGrains/TestInternalGrains.csproj"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f2f294ec6ad89d1efe9719375d3c2a528efa0dd76a90caf7031d4de89e0706"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 618 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Grains/TestGrains/TestGrains.csproj"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c42d9768a9ab718585ff5e200823e7a778780ce3082fdf3744dd4b38a906feee"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CA2007 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/AdoNet/Orleans.GrainDirectory.AdoNet/Orleans.GrainDirectory.AdoNet.csproj"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"2308784eb82df83d093f7857c940e813877de67f2af8cbf176e79fcae560298b"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: ORLEANSEXP003 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"samples/DurableJobsMigration/DurableJobsMigration/DurableJobsMigration.csproj"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5dbec01a42cbbd6bc35df1b146e0e5dc851941a92108b7669e51b49b9e5f799"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: CS1570 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"docs/tools/PackageJsonGenerator/PackageJsonGenerator.csproj"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6950693d8bde98aca2ffee221ee393243ca68dd10f0b9d0cb35073415930bf8"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: FS2003 \u2014 this warning is switched off for the WHOLE project, in every file it builds, including code written years from now: nothing at the call site records that the rule was ever silenced, so the next reader has no reason to look here. Fix what the rule is reporting and drop the code from the list, or \u2014 if some occurrences really are legitimate \u2014 narrow the suppression to those sites and give each one its reason, so the rule keeps protecting the rest of the project."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Directory.Build.props"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff543a54a5c297b4ec780895acaad1d1f5c56661457d75f6ddd25e715c9d76dd"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: ChaoticCluster.AppHost: \u0060ChaoticCluster.AppHost\u0060 contributes only 4 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":"playground/ChaoticCluster/ChaoticCluster.AppHost/ChaoticCluster.AppHost.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9446d516a2ac5242cd77e4f674e8aabd34323a99dbe13167dff0b126ae874f2"}},{"ruleId":"D18","level":"note","message":{"text":"Shell project: Orleans.Dashboard.Abstractions(net8.0): \u0060Orleans.Dashboard.Abstractions(net8.0)\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":"src/Dashboard/Orleans.Dashboard.Abstractions/Orleans.Dashboard.Abstractions.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e3c5f1e5f7f3643fb0bd0dac5eca2457160de5c9b72203f7be3506e4f22727c"}},{"ruleId":"D18","level":"note","message":{"text":"Thin analysable surface across projects: 1 project(s) carry only a thin slice of real code (e.g. \u0060ActivationRebalancing.Frontend\u0060 with 42 significant line(s)). The mean analysable-surface weight is 98 %, lowering Solution Shape by about 0.13 point(s). Consolidate thin projects or grow them into substantial, well-scoped assemblies."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dd0b92fd965c2065080f16843920964ee00f7696ea03d87cdf61aed4cd2c746a"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no project overview: The overview section names Orleans as \u0027a cross-platform framework for building robust, scalable distributed applications\u0027 and lists features like multi-server environments but does not describe what the project is or what it does beyond this line. Add a one-paragraph description of the Orleans runtime\u0027s purpose (single-server to globally distributed cloud apps) so readers can skip the overview section if they already know the framework."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"66dbf18d06aa983c06246108610908ba99aae6784280b3aacd1a6655733d71be"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no installation or build instructions: There are no installation, build, or setup instructions in the README. Add a short \u0027Getting started\u0027 block covering how to install Orleans and run the first sample (Hello World)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fa6bfcd5c6ae231d1b8ee99bced50b832d1f61cde9da6cbb533467b879a57db"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no architecture or design documentation: The Orleans Serialization Test Kit README is a usage example with no architecture or design documentation for the test framework itself. Add an Architecture section describing how tests are written and run, where test data lives, and any constraints."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.TestKit/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9e05b4cd3641bff48825435bbe530bdffc17a284cd475f9f3f28042b76e7de98"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no architecture or design documentation: The Orleans Serialization Abstractions README is a usage example with no architecture or design documentation for the serialization abstractions. Add an Architecture section describing what interfaces and attributes are exposed, how they work together, and any constraints."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization.Abstractions/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"115b53e93267cef7cce189b689afc004b1f9d88dc142990178ef94b2cd297639"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: written for insiders: The \u0027Getting Started\u0027 section is a NuGet install line with no context for new readers (no description of what Orleans Runtime does, its role in the grain lifecycle, or how it differs from Orleans.Serialization). Add an overview paragraph explaining what Orleans Runtime is and its role as the server-side runtime component hosting grains, managing lifecycles, and providing all runtime services."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fb7f5b568b602f9666d581ba87a8ea8203bfa7c30373307221d49406a0e66c"}},{"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":"D24","level":"note","message":{"text":"redundant comment: \u0022TestContext.TestName;\u0022 \u2014 delete - generated test-naming placeholder restating the call site"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Runtime.Internal.Tests/StorageTests/LocalStoreTests.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"4daf92d8d25f5ce1d45330c71fee074255c8d77b21adad587e30074d653a5543"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 5 of 154 project(s) overshoot their size bounds, lowering Project Cohesion to 9.4/10. The most over is \u0060Orleans.Runtime(net8.0)\u0060 (43301 LoC, 149 public types across 20 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":"448b5b173756ec6503155d95c3f3af0821f3b876a91fd1632b58d6dc1e6b9829"},"properties":{"commitSha":"f52a50d0bc17c985dece08ca40564376236aed65"}},{"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":"0b308f1be7a96efbf2fb7e9a87c422922829c6929834ac45a610b762470878f8"},"properties":{"commitSha":"aaeea126bed49e9e658c3429acbeba2e65f358dc"}},{"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":"1c8f650d8170b72393e590169e81452137224eb725293cf3cdb02c48e96c7f03"},"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"}}]},{"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":"b32ebb5589b5d2675b4ca6a09e612e5e063336056ae6a3caf6fe36e3567b82a8"},"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"}}]},{"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":"70d3d1109c517a88e631059654ff6ff031200493b7e571233ff4a68fc324c186"},"properties":{"commitSha":"781dbb3b4814c3d99f2525a698d80cd0e421b1bf"},"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"}}]},{"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":"2d1df1a92cdb940e94a611e4ac3cb57e7b8821caedadc9e495ced078f4401d5a"},"properties":{"commitSha":"003cb27a735267a3ba671c8fea6db60e91c2bd59"},"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"}}]},{"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"}}]},{"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":"8af93b54d7b6d09176d9c9016e65470b9e3497c2e30cd6af0b8b0a89230292a4"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"d2132535c99c406f6fb84061c0d92e67aea48760f4c5bf414c954a9b19bb1743"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"667262af85b153468e24287a65bb5ead5717dacfd09f2298c1d380799ceb534f"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"7dea0ef25cb8c0fc608e3f61f5bd66127efa161351c4858795c343a359f8f9b5"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"761cc14d06aac64fd331ec84536f5f7ad05ea2ea8b4d331e64a27661dcf66c48"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"38b9177d9a1842c2ef7c3dbae84ac5735eb23cbbc73176b0a3f2c52abaa0cdaf"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"14c4d018507fdf9f51df485a2ae0a0fbd0923810920cb50fd62bf5746089b5e9"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"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":"a879bf4714796a4efda3f57319701334e638de86bb1109577e548c02d11d5a67"},"taxa":[{"id":"CWE-862","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D30","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":"83b49f3dec05a615397c13f9e922a21ded67a407257b2c665af1aca55098dc51"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 83 of 1125 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated and example/demo trees and test files identified by path convention, largest first; 1125 of the 2005 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: src/Orleans.Core/Runtime/RingRange.cs, src/Orleans.EventSourcing/LogStorage/LogViewAdaptor.cs, src/Orleans.EventSourcing/CustomStorage/LogViewAdaptor.cs, src/Orleans.BroadcastChannel/SubscriberTable/ImplicitChannelSubscriberTable.cs, src/Azure/Orleans.Streaming.EventHubs/Providers/EventDataGeneratorStreamProvider/EventDataGeneratorAdapterFactory.cs, src/Orleans.Transactions.TestKit.Base/TestRunners/GoldenPathTransactionTestRunner.cs, src/Orleans.Streaming/QueueBalancer/BestFitBalancer.cs, src/Azure/Orleans.Streaming.EventHubs/Providers/EventDataGeneratorStreamProvider/EventHubPartitionDataGenerator.cs (and 75 more). 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":"D35","level":"warning","message":{"text":"Change coupling: ConsistentRingProvider.cs \u2194 VirtualBucketsRingProvider.cs: \u0060src/Orleans.Runtime/ConsistentRing/ConsistentRingProvider.cs\u0060 and \u0060src/Orleans.Runtime/ConsistentRing/VirtualBucketsRingProvider.cs\u0060 change together 67% of the time (8 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 the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither 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 \u0060cad1d512\u0060 fix(runtime): order ring range notifications (#11182); \u006070085a8f\u0060 Unsubscribe \u0060ConsistentRingProvider\u0060 \u0026 \u0060VirtualBucketsRingProvider\u0060 f\u2026; \u0060bbf13919\u0060 IConsistentRingProvider implementations should notify immediately on \u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/ConsistentRing/ConsistentRingProvider.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b45a0f57cc94f681c5f658c5f0c30e61e52cade14259e4542a2e939db533e03a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SerializableTypeDescription.cs \u2194 SerializerGenerator.cs: \u0060src/Orleans.CodeGenerator/Model/SerializableTypeDescription.cs\u0060 and \u0060src/Orleans.CodeGenerator/SerializerGenerator.cs\u0060 change together 60% of the time (6 of the 10 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 \u0060e81a265c\u0060 CodeGenerator: clean up attribute handling and remove obsolete custom\u2026; \u006062b0b27c\u0060 Fix serialization for records which have no properties of their own (\u2026; \u0060e0d3073c\u0060 Add new SerializerTransparentAttribute for abstract classes (#8015) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.CodeGenerator/Model/SerializableTypeDescription.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8bfbced0f718c4d0126080559ef64bfbd3e7f4e429356fd35fbff2a468b9b3b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SimpleQueueCache.cs \u2194 PersistentStreamPullingAgent.cs: \u0060src/Orleans.Streaming/Common/SimpleCache/SimpleQueueCache.cs\u0060 and \u0060src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs\u0060 change together 57% of the time (12 of the 21 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 12 shared commits counted here, the most recent 3 are \u0060d42e0183\u0060 fix(streaming): recover legacy sequence tokens (#11155); \u00605b42a3a7\u0060 refactor(streaming): add typed cache cursor results (#9714); \u0060a1c73151\u0060 chore(Orleans.Streaming): Use [LoggerMessage] (#9423) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Streaming/Common/SimpleCache/SimpleQueueCache.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7a77f26234d2fabf0740e1b96bbc4e694652c2bfc1745517da48c02a91578c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: SimpleQueueCacheCursor.cs \u2194 PersistentStreamPullingAgent.cs: \u0060src/Orleans.Streaming/Common/SimpleCache/SimpleQueueCacheCursor.cs\u0060 and \u0060src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs\u0060 change together 54% of the time (7 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 7 shared commits counted here, the most recent 3 are \u00605b42a3a7\u0060 refactor(streaming): add typed cache cursor results (#9714); \u0060da77fd69\u0060 fix(streaming): defer acknowledgements for batched delivery (#10655); \u0060a1c73151\u0060 chore(Orleans.Streaming): Use [LoggerMessage] (#9423) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Streaming/Common/SimpleCache/SimpleQueueCacheCursor.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7af0d71841c82b540cacf4f08a2d9ad90ecb4fa9d9ab3432832162f36636d38c"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MembershipAgent.cs \u2194 MembershipTableManager.cs: \u0060src/Orleans.Runtime/MembershipService/MembershipAgent.cs\u0060 and \u0060src/Orleans.Runtime/MembershipService/MembershipTableManager.cs\u0060 change together 53% of the time (10 of the 19 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 the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 10 shared commits counted here, the most recent 3 are \u0060d9656aaa\u0060 fix(storage): reduce Azure table retry pressure (#10192); \u006065d3733e\u0060 fix: validate connectivity before silo activation (#10153); \u0060c4c03246\u0060 chore(Orleans.Runtime): Use [LoggerMessage] p3 (#9498) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/MembershipService/MembershipAgent.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"94262ebdf4f7dbf71700414c5c93108f474a205f8503b7afcec808b9ee61419b"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: MembershipSystemTarget.cs \u2194 SiloHealthMonitor.cs: \u0060src/Orleans.Runtime/MembershipService/MembershipSystemTarget.cs\u0060 and \u0060src/Orleans.Runtime/MembershipService/SiloHealthMonitor.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 the same directory, and in this ecosystem sibling files there normally share one namespace/package \u2014 so a direct reference between them needs no import and this pass cannot see whether one exists. Read the pair before acting: if one file only DECLARES what the other consumes (a constants/types file beside its user), the co-change is definitional and the question is whether the split earns its keep; if they duplicate structure, extract the common part into a shared function or type they both call; if neither 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 \u006015fc1fed\u0060 feat(membership): retain local health history (#10502); \u006084a82bef\u0060 chore: use IMeterFactory for MessagingInstruments (#10179); \u0060c4c03246\u0060 chore(Orleans.Runtime): Use [LoggerMessage] p3 (#9498) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/MembershipService/MembershipSystemTarget.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"61d19b837c74e5fc496c33cf4b502d71fb15f5ddfd05bc29ee078567c026281f"}},{"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"}},{"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"}},{"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"}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/components/reminder-table.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"350d71ebaa89b4eaef8efdd4801c6b92f4a86dc30de3ce72179eaa4303197936"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/components/reminder-table.tsx"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"363b1f5a1507c6d8941edb628bb3b22741c65812b8de338727001a68a9fcfa04"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/components/reminder-table.tsx"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a17b73a90bd5f74523a29d92335124d2d673870f1814a4519302eeb9e8881da"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/components/reminder-table.tsx"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a6210af385755b54df4a8058b82f2d8ee99aed9772b5a38a9d8754f9e4ea3c2"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/components/reminder-table.tsx"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"04a3c684c3d2aafce3fa2dacf5be648593423a62308971660ba25139b35442f3"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cselect\u003E without a programmatic label: This control has no associated label. Add a \u003Clabel htmlFor\u003E / wrapping \u003Clabel\u003E / aria-label / aria-labelledby so assistive tech can name it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/grains/grain-details.tsx"},"region":{"startLine":69}}}],"partialFingerprints":{"codehealthFindingId/v1":"5f6748ac4b8d8c07feb9cbba8ac3bbead1924a3451789a306d9fb6e931b03fc4"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/grains/grain-details.tsx"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0142a01c927f0ae0d7433b86f2a9a628a45654b3ca906070cd6b657c6a456fd"}},{"ruleId":"AC2","level":"error","message":{"text":"\u003Cinput\u003E without a programmatic label: This control has only a placeholder \u2014 a placeholder is not a label (it vanishes on input and many AT ignore it). Add a \u003Clabel htmlFor\u003E, a wrapping \u003Clabel\u003E, or aria-label."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/logstream/log-stream.tsx"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fd5b48d6737fbcdc91e55db002e431df1a7558af06548ce0dbb860383512071"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/ActivationRebalancing/ActivationRebalancing.Frontend/wwwroot/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"33361f465e981edc14c2ae6801582a2bad8fbd3b7a815c2f7c0847c530dadb25"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/ActivationRepartitioning/ActivationRepartitioning.Frontend/wwwroot/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"07a2ec26be0214ea36334e3c0afe27236733b2e567d11a3558e49c864577f8bc"}},{"ruleId":"AC3","level":"warning","message":{"text":"Page without a main landmark: No \u003Cmain\u003E (or role=\u0022main\u0022) means no \u0022skip to content\u0022 target and a weaker landmark map. Wrap the primary content in \u003Cmain\u003E."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/DurableJobsJournaling/DurableJobsJournaling.Web/wwwroot/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a9af4f052487c0ae6c26720f3a6f2154e64ec44f4e3d714708b3827d0a232b0"}},{"ruleId":"AC3","level":"error","message":{"text":"\u003Chtml\u003E without a lang: The page declares no language, so assistive tech can\u0027t pick the right pronunciation. Add lang (e.g. lang=\u0022en\u0022)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/index.html"},"region":{"startLine":2}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ec910549feb90aec872d67338d1f48f12d183b0499958c64ec0aea351beda3a"}},{"ruleId":"AC3","level":"error","message":{"text":"Viewport restricts zoom: user-scalable=no/0 or a maximum-scale below 2 stops low-vision users zooming to 200%. Remove the zoom restriction from the viewport meta."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/index.html"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9c84eb0460b982bbe4fb1d2d63dcb93612d746f7408bf3f45876327f1b38bd1"}},{"ruleId":"AC3","level":"warning","message":{"text":"Data table has no header cells: A \u003Ctable\u003E with data cells but no \u003Cth\u003E gives assistive technology no way to associate cells with their headers. Mark the header row/column cells as \u003Cth\u003E (with a scope)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/components/grain-method-table.tsx"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"0fca0e02ba178a4a7b3203140f9079872ab66c0b484a756a9a498d20b45d469d"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cth\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/components/grain-table.tsx"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa639e727875a16cb9b1bff0e0c4c04396d25313cafbc443e98f9962d4cbee2c"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cth\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/components/grain-table.tsx"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"244b28c4c051dac8690d42fb25163ee739356c5ce0b59fa22c8688d31ee51223"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cth\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/components/grain-table.tsx"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1abf303189e177e402316b734f5dde48d7512bd5b56a1d1b03387650e12c947d"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cth\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/components/grain-table.tsx"},"region":{"startLine":217}}}],"partialFingerprints":{"codehealthFindingId/v1":"36fd324c4a9b0752aa5a5be1f2469473b15c99aeb8c0d8179f2838edd681c1bb"}},{"ruleId":"AC4","level":"error","message":{"text":"Click handler on a non-interactive \u003Cth\u003E: A click handler on a plain element isn\u0027t keyboard-operable. Use a \u003Cbutton\u003E, or add role \u002B tabIndex={0} \u002B a key handler."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/components/grain-table.tsx"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4ebeca87b338a50d3d2911df6be68fe9d8767ef4360030ea58bb94bb3bc4890"}},{"ruleId":"AC4","level":"warning","message":{"text":"Link used as a button (placeholder href): An \u003Ca href=\u0022#\u0022\u003E (or javascript:) with a click handler is a button dressed as a link \u2014 it announces the wrong role and stops working without JS. Use a \u003Cbutton\u003E for an action."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/logstream/log-stream.tsx"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"70ad32868b07457b9f220cb86c4a0ea0800d49f993678bffb108a9d2a1e68f9b"}},{"ruleId":"AC6","level":"warning","message":{"text":"Animation without a prefers-reduced-motion guard: This stylesheet animates but never checks prefers-reduced-motion, so motion-sensitive users can\u0027t opt out. Wrap motion in @media (prefers-reduced-motion: no-preference)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/ActivationRebalancing/ActivationRebalancing.Frontend/wwwroot/index.html"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b16ab51d9d06dbbe192cfb445123a98fa443659f7d14a068738be856ff2625bb"}},{"ruleId":"AC6","level":"warning","message":{"text":"Low contrast colour pair in CSS (4.0:1): \u0060.absolute-button\u0060 sets color: white on background-color: #007bff \u2014 4.0:1, below the 4.5:1 WCAG AA minimum for normal text. Darken or lighten one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/ActivationRepartitioning/ActivationRepartitioning.Frontend/wwwroot/index.html"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"d84c4cfd6eb6782017e97c4fac16ff29df643980575a0c5a3f6af97143f8866d"}},{"ruleId":"AC7","level":"warning","message":{"text":"Accessibility enforcement below the top rung: No accessibility enforcement found \u2014 no a11y linter (eslint-plugin-jsx-a11y) and no axe/pa11y/Lighthouse in tests or CI. Start with the linter to catch issues at author time. What was searched, so you can tell an absence from a miss: the 37 markup file(s) this pass actually assessed, the linter configuration checked in beside them, and this repository\u0027s test and CI files \u2014 matched by name against the accessibility checkers this dimension carries. An audit run outside the repository, a hosted scanner, or a check whose name is not one of those, is not seen here."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d46019b86eff5ddad9db289e6802ac158899e980df54c34f67722442787ead62"}},{"ruleId":"AX1","level":"error","message":{"text":"Captive dependency: singleton DhtGrainLocator captures scoped IGrainContext: \u0060DhtGrainLocator\u0060 is registered as a SINGLETON but its constructor takes \u0060IGrainContext grainContext\u0060, which is registered as Scoped. The singleton captures one instance of the scoped dependency forever \u2014 defeating its lifetime (a per-request DbContext shared across all requests is a classic data-corruption/threading bug). Make the singleton resolve \u0060IGrainContext\u0060 per-use (inject \u0060IServiceScopeFactory\u0060 or a factory func), or align the lifetimes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/GrainDirectory/DhtGrainLocator.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"e515fe445d2324cf2d449fd3e353532768dcaa62533eefbe79021ea685f9042b"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: ClusterDiagnosticsService: \u0060ClusterDiagnosticsService\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_version; e.g. \u0060_version\u0060 at line 25)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/ActivationRepartitioning/ActivationRepartitioning.Frontend/Data/ClusterDiagnosticsService.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"de7ceb200e8096c9207ca2534fb0251a9d37e7e88976217645322de375c65f7c"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: LoadDriver: \u0060LoadDriver\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_enabled, _startedAt; e.g. \u0060_enabled\u0060 at line 22)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/DurableJobsJournaling/DurableJobsJournaling.Web/LoadDriver.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"520bbce00881cd7fbaae52365513e183e8e8cbfa13cb1ac76fa09ec5ce2757b7"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: EnvironmentStatisticsProvider: \u0060EnvironmentStatisticsProvider\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_maximumAvailableMemoryBytes, _availableMemoryBytes; e.g. \u0060_maximumAvailableMemoryBytes\u0060 at line 70)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Statistics/EnvironmentStatisticsProvider.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"d159f2bf4fc242287e4211abf07eab83da31664cbc3cfc24d2bfa62e5b0f66bd"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: GrainReferenceActivatorProvider: \u0060GrainReferenceActivatorProvider\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_grainReferenceRuntime; e.g. \u0060_grainReferenceRuntime\u0060 at line 341)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/GrainReferences/GrainReferenceActivator.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"912bb4255800141868122795a65cb1fb7b2595e1d2e00281400d14130908cd56"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: UntypedGrainReferenceActivatorProvider: \u0060UntypedGrainReferenceActivatorProvider\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_grainReferenceRuntime; e.g. \u0060_grainReferenceRuntime\u0060 at line 143)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/GrainReferences/GrainReferenceActivator.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"71d8e8f78f088d46b65ea0f5293b50803f7d1bbe1b3ef4fb5119912b90d24f47"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: SocketSchedulers: \u0060SocketSchedulers\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (nextScheduler; e.g. \u0060nextScheduler\u0060 at line 33)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Networking/Shared/SocketSchedulers.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0776a2a4b538a06ab419436841e09943d9c5027ce42eb8f2a56a634a1e2162a"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: GatewayManager: \u0060GatewayManager\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (gatewayListProviderInitialized, roundRobinCounter, knownGateways, cachedLiveGateways, cachedLiveGatewaysSet, lastRefreshTime; e.g. \u0060gatewayListProviderInitialized\u0060 at line 68)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Messaging/GatewayManager.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"343f8794e9f9f6ba4e365c92bc83bcc40324f5d2b6b8d8d94c0f46977f6be231"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: ClientClusterManifestProvider: \u0060ClientClusterManifestProvider\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_runTask; e.g. \u0060_runTask\u0060 at line 77)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Manifest/ClientClusterManifestProvider.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"679a82faf538a98f3c19c960f359f74c2dfdd364aa5da7543d9a2f1d9e3d6816"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: LocalDurableJobManager: \u0060LocalDurableJobManager\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_startTimestamp, _listenForClusterChangesTask, _periodicCheckTask, _totalClaimedShards; e.g. \u0060_startTimestamp\u0060 at line 216)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.DurableJobs/LocalDurableJobManager.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ccd121be8f43599b04df09a1dad8ada634bd0bb4e389e60a207356a9179c37c"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: LocalReminderService: \u0060LocalReminderService\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (localTableSequence, localReminders, runTask, initialReadCallCount; e.g. \u0060localTableSequence\u0060 at line 395)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Reminders/ReminderService/LocalReminderService.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a67fb7cd8ecef8241d0438058a364ff0c8cbb2ed80c8ed0966c3e84d771b74e"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: ReminderRegistry: \u0060ReminderRegistry\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (serviceProvider; e.g. \u0060serviceProvider\u0060 at line 107)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Reminders/ReminderService/ReminderRegistry.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b779fd60f9cf93c0a7c497a0c62ad81f1dd09b15b85e958da37789f5fcdccad4"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: InMemoryReminderTable: \u0060InMemoryReminderTable\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (isAvailable; e.g. \u0060isAvailable\u0060 at line 88)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Reminders/ReminderService/InMemoryReminderTable.cs"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7525751a664d3641bd3ad4c7b2615070312ed18c98059708ac739317a80a81e"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: ActivationRebalancerMonitor: \u0060ActivationRebalancerMonitor\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_monitorTimer, _latestReport, _lastHeartbeatTimestamp, _statusListeners; e.g. \u0060_monitorTimer\u0060 at line 82)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Placement/Rebalancing/ActivationRebalancerMonitor.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"ece4cc8a22259d92da022a59f1c72f77d08eebb0fe5026dd6db64d48c7c46d78"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: ActivationRepartitioner: \u0060ActivationRepartitioner\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_activationCountOffset, _currentExchangeSilo, _enableMessageSampling, _processPendingEdgesTask; e.g. \u0060_activationCountOffset\u0060 at line 163)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Placement/Repartitioning/ActivationRepartitioner.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"099b7f1a80111ea37d296a16095254a5d3dd444decf54fa062cac13c0d45499e"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: SystemTargetBasedMembershipTable: \u0060SystemTargetBasedMembershipTable\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (grain, membershipManager; e.g. \u0060grain\u0060 at line 38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/MembershipService/SystemTargetBasedMembershipTable.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11656795c0739bdfc6c6fefd4fd554e13204d2e697297f755b51048a43156c6"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: MembershipTableSystemTarget: \u0060MembershipTableSystemTarget\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (table; e.g. \u0060table\u0060 at line 258)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/MembershipService/SystemTargetBasedMembershipTable.cs"},"region":{"startLine":210}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d359a6e485369983abc51f68fea48c2130795c48e757b87582c2a7ce8811b43"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: Watchdog: \u0060Watchdog\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_platformWatchdogTimestamp, _cumulativeGCPauseDuration, _platformWatchdogThread, _componentWatchdogTimestamp, _lastComponentHealthCheckTime, _componentWatchdogThread; e.g. \u0060_platformWatchdogTimestamp\u0060 at line 53)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Silo/Watchdog.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2946f8384c315e459318fc68f01e7946362363380188f547d53d668982854a"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: ActivationCollector: \u0060ActivationCollector\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_collectionLoopTask, _memBasedDeactivationLoopTask; e.g. \u0060_collectionLoopTask\u0060 at line 673)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Catalog/ActivationCollector.cs"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be963ea29ea4294b2ad52527a787f8f21bb00e5f9078968ce9406a64741ab21"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: ActivationWorkingSet: \u0060ActivationWorkingSet\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_runTask; e.g. \u0060_runTask\u0060 at line 200)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Catalog/ActivationWorkingSet.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"3928cd9761fa6f6376dd150d5c83cb73705bdbdd1f72b8697725099862ae301f"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: GrainLocatorResolver: \u0060GrainLocatorResolver\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_clientGrainLocator; e.g. \u0060_clientGrainLocator\u0060 at line 38)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/GrainDirectory/GrainLocatorResolver.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"d50c82a3e3730776329b2382deb0af52da75132cc74be8cd78834dcaaebf05c7"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: GenericGrainDirectoryResolver: \u0060GenericGrainDirectoryResolver\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_resolver; e.g. \u0060_resolver\u0060 at line 35)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/GrainDirectory/GenericGrainDirectoryResolver.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"af942bbff03df0d10a8ac2d43422d5ad561cb063f0e38ea52cdfc0f9216cfda4"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: CachedGrainLocator: \u0060CachedGrainLocator\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (listenToClusterChangeTask; e.g. \u0060listenToClusterChangeTask\u0060 at line 151)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/GrainDirectory/CachedGrainLocator.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"848d7ec6139a789f4dc09cfa3d8e39713834af642e54a770e0c679d3a438188d"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: DeploymentLoadPublisher: \u0060DeploymentLoadPublisher\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_publishTimer, _lastUpdateDateTimeTicks, LocalRuntimeStatistics; e.g. \u0060_publishTimer\u0060 at line 82)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Placement/DeploymentLoadPublisher.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"02b9f64c29090e3b3969b14008c311c6c8f034b9272892ab816637565c738f98"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: MembershipGossiper: \u0060MembershipGossiper\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_membershipSystemTarget; e.g. \u0060_membershipSystemTarget\u0060 at line 26)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/MembershipService/MembershipGossiper.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"4791e2c7ab15059fa36a53fcc83cabbd73091d587367f14aa7cda17032bef1c0"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: LocalSiloHealthMonitor: \u0060LocalSiloHealthMonitor\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_lastDegradationLogTimestamp, _runTask, _isActive; e.g. \u0060_lastDegradationLogTimestamp\u0060 at line 620)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/MembershipService/LocalSiloHealthMonitor.cs"},"region":{"startLine":126}}}],"partialFingerprints":{"codehealthFindingId/v1":"cad3109b5e5f7711b149a5c59f17adca7310e5b2e0ecccbe665e4424c6b9f618"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: MembershipAgent: \u0060MembershipAgent\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (getUtcDateTime; e.g. \u0060getUtcDateTime\u0060 at line 64)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/MembershipService/MembershipAgent.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"daabc3f49605cbc97221fa78a8e5063b65dc3ab3df0353289636aab2bb585222"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: MembershipTableCleanupAgent: \u0060MembershipTableCleanupAgent\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_lastDefunctSiloCleanupTime, _cleanupDefunctSiloEntriesUnsupported; e.g. \u0060_lastDefunctSiloCleanupTime\u0060 at line 170)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/MembershipService/MembershipTableCleanupAgent.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc69843768951df055049c5b928c060c768ddd9f71c09bdb2f668bf08a9965ff"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: GrainVersionStore: \u0060GrainVersionStore\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (IsEnabled; e.g. \u0060IsEnabled\u0060 at line 124)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Versions/GrainVersionStore.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"61011f31e43b6b45434d39d8bf51694ac79cfddafce81d4c7651d4e045442e84"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: Catalog: \u0060Catalog\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_siloStatusOracle; e.g. \u0060_siloStatusOracle\u0060 at line 353)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Catalog/Catalog.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"70340150948290a289d20a769d5080f07cd9a8fa25ad706e34f0bd886513aebd"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: IncomingRequestMonitor: \u0060IncomingRequestMonitor\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_runTask, _enabled; e.g. \u0060_runTask\u0060 at line 50)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Catalog/IncomingRequestMonitor.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"098adde965d8f65aaf29328a48bec1d4507f03082032262c32d351015a7b5a0d"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: ClusterManifestProvider: \u0060ClusterManifestProvider\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_runTask, _grainFactory; e.g. \u0060_runTask\u0060 at line 670)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Manifest/ClusterManifestProvider.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4dc01048d4735fe4376496d5ee123c327010ba5b637c44219e053145e9b69db"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: ClusterManifestSystemTarget: \u0060ClusterManifestSystemTarget\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_cachedHashSummary, _cachedHashSummaryVersion, _cachedUpdate, _cachedMembershipVersion; e.g. \u0060_cachedHashSummary\u0060 at line 54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/GrainTypeManager/ClusterManifestSystemTarget.cs"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"e10b0aa9e6bec997ff08983c7a10f39e31f8ec5ed45c83eee29a13ba7b2f711c"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: GrainMigratabilityChecker: \u0060GrainMigratabilityChecker\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_lastRegeneratedCacheTimestamp; e.g. \u0060_lastRegeneratedCacheTimestamp\u0060 at line 57)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Placement/GrainMigratabilityChecker.cs"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"44d6ce1503181cb337834e66ce54b58feb3bb1f60f42ec1df8a53d6169389015"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: GrainCallCancellationManager: \u0060GrainCallCancellationManager\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_grainFactory; e.g. \u0060_grainFactory\u0060 at line 93)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Cancellation/GrainCallCancellationManager.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"4709c13347f5f2df9e98ba572a673834bc0048afcc61bf3683911043faa1961f"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: SiloMetadataCache: \u0060SiloMetadataCache\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (negativeCachePeriod, _negativeCache; e.g. \u0060negativeCachePeriod\u0060 at line 31)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/MembershipService/SiloMetadata/SiloMetadaCache.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"5705eaeb870b04795c77a4144d3cac35dbf94bbf08e064f557d1f8de1e6023b6"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: ClientStreamingProviderRuntime: \u0060ClientStreamingProviderRuntime\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (streamDirectory; e.g. \u0060streamDirectory\u0060 at line 54)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Streaming/Providers/ClientStreamingProviderRuntime.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"346d00514ba591512de7457a3bb3d153a886af4877e53ae719c221a404c50606"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: TestHooksEnvironmentStatisticsProvider: \u0060TestHooksEnvironmentStatisticsProvider\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_currentStats; e.g. \u0060_currentStats\u0060 at line 37)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Silo/TestHooks/TestHooksSystemTarget.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3d4d0f3efe75b89761de668b1314d9be2abe856b901ef3aa8dabdc2fca730c"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: TestClusterHostTerminator: \u0060TestClusterHostTerminator\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_host; e.g. \u0060_host\u0060 at line 40)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/TestClusterFatalErrorHandler.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"2e5b6a92614d957917426ba17cf17965dd2843507b5c6d4c15070dd9720eb524"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: DashboardTelemetryExporter: \u0060DashboardTelemetryExporter\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_metrics; e.g. \u0060_metrics\u0060 at line 113)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard/Implementation/DashboardTelemetryExporter.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"af65f754a45af6391993647ab7d5c37ab04f6977b38ae13f0a1c4a611b2a5bfe"}},{"ruleId":"AX2","level":"warning","message":{"text":"Stateful singleton: GrainProfiler: \u0060GrainProfiler\u0060 is a singleton (one shared instance) but mutates instance state outside any lock (_timer, _siloAddress, _dashboardGrain, _isEnabled; e.g. \u0060_timer\u0060 at line 47)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard/Metrics/GrainProfiler.cs"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"2475928e066a01e4a26369198149d4c7600d6c05ee0b6cac398c4825389c86e6"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IGrainFactory (17 members): \u0060IGrainFactory\u0060 declares 17 members under just 3 distinct name(s): \u0060GetGrain\u0060, \u0060GetGrain\u0060, \u0060GetGrain\u0060, \u0060GetGrain\u0060, \u0060GetGrain\u0060, \u0060CreateObjectReference\u0060, \u0060DeleteObjectReference\u0060, \u0060GetGrain\u0060, \u0060GetGrain\u0060, \u0060GetGrain\u0060, \u0060GetGrain\u0060, \u0060GetGrain\u0060, \u0060GetGrain\u0060, \u0060GetGrain\u0060, \u0060GetGrain\u0060, \u0060GetGrain\u0060, \u0060GetGrain\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 3 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":"src/Orleans.Core.Abstractions/Core/IGrainFactory.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb70708da84406d10c081560d792242893c363f039fa1a5b6cb7bc96ef92c035"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IMembershipTable (16 members): \u0060IMembershipTable\u0060 declares 16 members: \u0060InitializeMembershipTable\u0060, \u0060InitializeMembershipTableAsync\u0060, \u0060DeleteMembershipTableEntries\u0060, \u0060DeleteMembershipTableEntriesAsync\u0060, \u0060CleanupDefunctSiloEntries\u0060, \u0060CleanupDefunctSiloEntriesAsync\u0060, \u0060ReadRow\u0060, \u0060ReadRowAsync\u0060, \u0060ReadAll\u0060, \u0060ReadAllAsync\u0060, \u0060InsertRow\u0060, \u0060InsertRowAsync\u0060, \u0060UpdateRow\u0060, \u0060UpdateRowAsync\u0060, \u0060UpdateIAmAlive\u0060, \u0060UpdateIAmAliveAsync\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":"src/Orleans.Core/SystemTargetInterfaces/IMembershipTable.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2be5a9df519e3755ec16bd620c21f5d38b1ad4c8a4cc771422db92ecd740d12a"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IManagementGrain (34 members): \u0060IManagementGrain\u0060 declares 34 members under just 15 distinct name(s): \u0060GetHosts\u0060, \u0060GetHosts\u0060, \u0060GetDetailedHosts\u0060, \u0060GetDetailedHosts\u0060, \u0060ForceGarbageCollection\u0060, \u0060ForceGarbageCollection\u0060, \u0060ForceActivationCollection\u0060, \u0060ForceActivationCollection\u0060, \u0060ForceActivationCollection\u0060, \u0060ForceActivationCollection\u0060, \u0060ForceRuntimeStatisticsCollection\u0060, \u0060ForceRuntimeStatisticsCollection\u0060, \u0060GetRuntimeStatistics\u0060, \u0060GetRuntimeStatistics\u0060, \u0060GetSimpleGrainStatistics\u0060, \u0060GetSimpleGrainStatistics\u0060, \u0060GetSimpleGrainStatistics\u0060, \u0060GetSimpleGrainStatistics\u0060, \u0060GetDetailedGrainStatistics\u0060, \u0060GetDetailedGrainStatistics\u0060, \u0060GetGrainActivationCount\u0060, \u0060GetGrainActivationCount\u0060, \u0060GetTotalActivationCount\u0060, \u0060GetTotalActivationCount\u0060, \u0060SendControlCommandToProvider\u0060, \u0060SendControlCommandToProvider\u0060, \u0060GetActivationAddress\u0060, \u0060GetActivationAddress\u0060, \u0060GetActiveGrains\u0060, \u0060GetActiveGrains\u0060, \u0060GetGrainCallFrequencies\u0060, \u0060GetGrainCallFrequencies\u0060, \u0060ResetGrainCallFrequencies\u0060, \u0060ResetGrainCallFrequencies\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 34 separate responsibilities: a caller binds to 15 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 34 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":"src/Orleans.Core/SystemTargetInterfaces/IManagementGrain.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d6132f04d7eb3f766f0152840b4a1f4de03092027e810aaecea21bc5a5906fe"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IReminderServiceLifecycleHarness (22 members): \u0060IReminderServiceLifecycleHarness\u0060 declares 22 members: \u0060GrainFactory\u0060, \u0060ReminderTable\u0060, \u0060UtcNow\u0060, \u0060ReminderLoadingWindow\u0060, \u0060ReminderRefreshPeriod\u0060, \u0060ActiveSilos\u0060, \u0060WaitForStartupReadinessAsync\u0060, \u0060AdvanceAsync\u0060, \u0060RefreshAsync\u0060, \u0060WaitForOwnerCountAsync\u0060, \u0060GetOwners\u0060, \u0060IsOwner\u0060, \u0060WaitForScheduleAsync\u0060, \u0060GetLocalStartCount\u0060, \u0060GetLocalStopCount\u0060, \u0060GetScheduleChangeCount\u0060, \u0060WaitForScheduleChangeCountAsync\u0060, \u0060WaitForTickCountAsync\u0060, \u0060GetTickCount\u0060, \u0060JoinOneSiloAsync\u0060, \u0060LeaveSiloAsync\u0060, \u0060WaitForTopologyReconciliationAsync\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":"src/Orleans.Reminders.TestKit/ReminderServiceLifecycleTestRunner.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"c78a4c14ce120b8b17f24f2c72a8333e682a1f1a9a9e0f7623713ca4b653c40a"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IStreamPubSub (17 members): \u0060IStreamPubSub\u0060 declares 17 members under just 9 distinct name(s): \u0060RegisterProducer\u0060, \u0060RegisterProducer\u0060, \u0060UnregisterProducer\u0060, \u0060UnregisterProducer\u0060, \u0060RegisterConsumer\u0060, \u0060RegisterConsumer\u0060, \u0060UnregisterConsumer\u0060, \u0060UnregisterConsumer\u0060, \u0060ProducerCount\u0060, \u0060ProducerCount\u0060, \u0060ConsumerCount\u0060, \u0060ConsumerCount\u0060, \u0060GetAllSubscriptions\u0060, \u0060GetAllSubscriptions\u0060, \u0060CreateSubscriptionId\u0060, \u0060FaultSubscription\u0060, \u0060FaultSubscription\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 9 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":"src/Orleans.Streaming/Providers/IStreamProviderRuntime.cs"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"77b779d83c6d613ce9a9baeb8b0d1f2001b5dbc0cccb1986fa5e8b97814821cc"}},{"ruleId":"C2","level":"note","message":{"text":"Thin authorization enforcement: Authorization machinery exists but no [Authorize] usage and no imperative guard calls were found at handlers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1240e406e864a89e38d5e3fa370dee11971db94808c3db2fda9b41bf2e5b8efb"}},{"ruleId":"ED5","level":"warning","message":{"text":"Non-idempotent mutation: Journaling.DurableList.AddRange: \u0060Journaling.DurableList.AddRange\u0060 mutates persistent state (a repository write) with no idempotency guard, and the model confirms a re-run would double-apply it. A retry or at-least-once redelivery means it can run twice \u2014 add an exists/dedup check, an upsert, an idempotency-key/inbox, or a versioned write."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Journaling/DurableList.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"7be99dc87f9157722ed7e04544707ff4171dfbcbc3403f155040a2cbaa031e7e"}},{"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":"src/Orleans.Core/Runtime/InvokableObjectManager.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"416d28b4a4180fbee69e730d271d1eaccba9d5d15b2f02e929f9f8f3220de057"}},{"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":"src/Orleans.EventSourcing/Common/PrimaryBasedLogViewAdaptor.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"47803ab5ea7fd9ab81379872cd4fe1e2f99e137d7075e5de8334dc61eb109011"}},{"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":"src/Orleans.Runtime/Catalog/StatelessWorkerGrainContext.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac9d23a9f8cace3a9f7a01cdf0eb82ec35d597d7352f8890be9d142df326b840"}},{"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":"src/Orleans.Runtime/Catalog/StatelessWorkerGrainContext.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"536b5310631756527afcac7a5543327facf2e67aff3ab9f22cb9814796c66e92"}},{"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":"src/Orleans.Runtime/Catalog/StatelessWorkerGrainContext.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"369a49a0cdb9b32ef2294253678f1aa0d7f2f2698f03c32379a11f11b6670f66"}},{"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":"src/Orleans.Runtime/Catalog/StatelessWorkerGrainContext.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0727902c4679d32dc0f7c6b6bd7427b2702b48145223aff9e2d18a42cd9411b"}},{"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":"src/Orleans.Runtime/Core/HostedClient.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"e86f81491f4754ee37ed3d3d616ae5b70f9761c42975980ec3dd12350fa2027a"}},{"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":"src/Orleans.Runtime/Core/HostedClient.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"41398c44a2b3c97715584f92e1ad455585c8386a7bcbc58268c1c05a69b015cf"}},{"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":"src/Orleans.Runtime/Core/HostedClient.cs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"f1692d87673cf18197ee2c83881f5418b8376457d2d5db3e82d62c987189b88a"}},{"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":"src/Orleans.Serialization/Codecs/SkipFieldExtension.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"5516230e107b852b03bb8623db9f01ea8cce3d6e164ba4a48d4c0291e2c328e3"}},{"ruleId":"IC1","level":"warning","message":{"text":"Condition was already decided \u2014 an earlier guard makes this test constant: Control only reaches here when \u0060enumerator.MoveNext()\u0060 is true, because the guard on line 36 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":"src/Orleans.Core.Abstractions/Utils/Utils.cs"},"region":{"startLine":40}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d5978a97db1ea3197277f0e867778ced69439c31045f7e801e79d2e11ccf45a"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Scheduler\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":"src/Orleans.Core/Runtime/InvokableObjectManager.cs"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3e7f219635e2a2d72d87f696e5af79e5adda4fb33226a247e70b1caf2bd4d43"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060ActivationServices\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":"src/Orleans.Runtime/Catalog/StatelessWorkerGrainContext.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"a278a129954675e68fc3e37caa23161da923bba3d92a89bb3fe0a144ed3ea416"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060ObservableLifecycle\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":"src/Orleans.Runtime/Catalog/StatelessWorkerGrainContext.cs"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3625d573ecdde08bfdb9d940938b2503a0f981af98c63a2990f1efae4f4547c"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Scheduler\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":"src/Orleans.Runtime/Catalog/StatelessWorkerGrainContext.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"5392954bc7b28106f896fbb267f88d9c84f617e80d5ffb1831057e031162c242"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetTarget\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":"src/Orleans.Runtime/Catalog/StatelessWorkerGrainContext.cs"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"951ae9ce09a00ad803031b112b464d30603d40d9beea26aee083e53661d1097b"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060ObservableLifecycle\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":"src/Orleans.Runtime/Core/HostedClient.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"c18217d5b30d8a3870e3d8c9550e365fe05636a53769533462e2fcb0fd297d02"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060Scheduler\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":"src/Orleans.Runtime/Core/HostedClient.cs"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"897874c87966f42cd3d607b8b524380f4cdc84b3c7e3c6da9fc54383c30476f5"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060GetTarget\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":"src/Orleans.Runtime/Core/HostedClient.cs"},"region":{"startLine":426}}}],"partialFingerprints":{"codehealthFindingId/v1":"e445193ded0099322c70f91f9bb243d7558a24399993d477e18072efe74e3cb1"}},{"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":"src/Orleans.Runtime/Core/InsideRuntimeClient.cs"},"region":{"startLine":261}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f4ac8e971d4382134f20c3b277d1edf8792d427e6740962b6aa53613c522589"}},{"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":"src/Orleans.Runtime/GrainDirectory/DistributedGrainDirectory.cs"},"region":{"startLine":254}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ac3615b3b0715be6ce112d2f1701b95a8db654aaa1c15a08df69dba07a29053"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060OnRuntimeServicesStart\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Silo/Silo.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5c3f82cf7d35187f82582e9aba2ded52cd2bb5d6df7542a518e713ef055f321"}},{"ruleId":"IC1","level":"warning","message":{"text":"Empty method body \u2014 does nothing with its inputs: \u0060ThrowIfNull\u0060 takes parameters but its body is empty \u2014 it accepts inputs and does nothing. Either implement it or remove it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Serialization/Codecs/ArgumentNullExceptionPolyfill.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a7ff7ab904d229dc76a64b8e97167026955d3e6ae378137b44f11ab10a15a92"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060WriteField\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":"src/Orleans.Serialization/Codecs/SkipFieldExtension.cs"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2eeda7ef54cf38b83eb8032f09e35c3f9579ae4eea542da7445ce8308f242d"}},{"ruleId":"IC1","level":"warning","message":{"text":"Skipped test marks a known-real bug: A test is skipped with reason \u0022Flaky test. Needs to be investigated.\u0022 \u2014 the behavior it asserts is UNVERIFIED and this skip is likely the only marker of a real bug. It ages invisibly: fix the flakiness or track the bug somewhere that can\u0027t be forgotten."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/Orleans.Runtime.Internal.Tests/ActivationsLifeCycleTests/ActivationCollectorTests.cs"},"region":{"startLine":416}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fec2be96beed8fc2edb95c81cc6349572011ac9e04c74c0dd7c6023d7bc0c1"}},{"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/ActivationRebalancing/ActivationRebalancing.Cluster/Program.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8511230f972e1fb79f4c748f62bd10a5141007a765302b987f460202e6199af"}},{"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/ActivationRebalancing/ActivationRebalancing.Cluster/Program.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9dd47fa48e169119c3eb68dceabfc0732823a9ac636748694d078047bf6bedf"}},{"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/DurableJobsJournaling/DurableJobsJournaling.Silo/WorkflowGrains.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"45df802b112a6237b0f1e6588709cd431befb03b99270c5813c704c0664b7073"}},{"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":"src/AdoNet/Orleans.Persistence.AdoNet/Storage/Provider/Orleans3CompatibleStringKeyHasher.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f2e5b540f5f497e2333a896cbacccaec2b482f417f25fcde31ef0bfb66069b2"}},{"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":"src/AdoNet/Orleans.Persistence.AdoNet/Storage/Provider/Orleans3CompatibleStringKeyHasher.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"3130329917d48ad2b3f147d53bbe2b5ab3ed37f0a843c4ebc815487152b918a1"}},{"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":"src/Azure/Orleans.Reminders.AzureStorage/Storage/RemindersTableManager.cs"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2b805d9550139afbb15ac057f83fecfc4635e5b9bbc69d295b597fed60440c9"}},{"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":"src/Azure/Orleans.Reminders.AzureStorage/Storage/RemindersTableManager.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"bec389cd1aa472af73e37f951097e78a99c47c231955a6ac1a602e94538d214b"}},{"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":"src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueBatchContainer.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e5d2f1f4a53163e4476f7cb80cf63a654573586f7836dfefd5e222104d4fc09"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws NotSupportedException: \u0060GetEvents\u0060\u0027s body only throws NotSupportedException \u2014 sometimes a deliberate contract, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubAdapterReceiver.cs"},"region":{"startLine":432}}}],"partialFingerprints":{"codehealthFindingId/v1":"f64c99da6a0905840fdea56120ec2e422f6c9d3f6b2ae84ed83c326566886abe"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws NotSupportedException: \u0060ImportRequestContext\u0060\u0027s body only throws NotSupportedException \u2014 sometimes a deliberate contract, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Azure/Orleans.Streaming.EventHubs/Providers/Streams/EventHub/EventHubAdapterReceiver.cs"},"region":{"startLine":433}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c92d8c3b2527e2822bd7b9d8c6fc69d5c6471fcd1f24915da3f1f6a29d61e95"}},{"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":"src/Orleans.CodeGenerator/CopierGenerator.cs"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"c959af7b73bdfea222bae1f60d93de5ac396e480a5c627b52866f43b62707dd7"}},{"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":"src/Orleans.CodeGenerator/InvokableGenerator.cs"},"region":{"startLine":419}}}],"partialFingerprints":{"codehealthFindingId/v1":"93b57648ec9399061a753e82ee9ab59185c038de67f12a611930cad4a7687712"}},{"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":"src/Orleans.CodeGenerator/InvokableGenerator.cs"},"region":{"startLine":420}}}],"partialFingerprints":{"codehealthFindingId/v1":"41d9eb26a54158f64ee9bcbe7dcd96158bdf387d56927926146534674df6966c"}},{"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":"src/Orleans.CodeGenerator/InvokableGenerator.cs"},"region":{"startLine":422}}}],"partialFingerprints":{"codehealthFindingId/v1":"6ac45b86e06dea0501b7c90737d22c94a912c5aa9c3d19fcfcb507f48fba324e"}},{"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":"src/Orleans.CodeGenerator/SerializerGenerator.cs"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"e63ed437b589d7af61140f4058be4b624278d8a7df71e5436af2846cb6595543"}},{"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":"src/Orleans.CodeGenerator/SyntaxGeneration/SymbolSyntaxExtensions.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"fde943ed1bb4f92a945a1dbddd86bacb22f4533636f7d834b2c2985ee2e78a7e"}},{"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":"src/Orleans.Core/Manifest/GrainPropertiesResolver.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"69e31c25d92ce4c7eb69fd3728766eb99d30ce44142a5ad9360a9f5db0cdd0e5"}},{"ruleId":"IC1","level":"note","message":{"text":"Empty method body: \u0060Lease\u0060 has an empty body \u2014 confirm it\u0027s an intentional no-op and not an unfinished method."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Networking/Shared/MemoryPoolBlock.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"35381fc84ecaf1a89b492bc5904caf6c8859b5d5f1b043a1b92f7f7fe91f6211"}},{"ruleId":"IC1","level":"note","message":{"text":"Member throws NotSupportedException: \u0060ReceiveMessage\u0060\u0027s body only throws NotSupportedException \u2014 sometimes a deliberate contract, often an unfinished stub. Confirm it\u0027s intentional."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Runtime/ClientGrainContext.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5500d677303f9d2bc67d6453972afb51e8e90f9135b5d1c25cd450ad4c40046"}},{"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":"src/Orleans.Core/Runtime/OutsideRuntimeClient.cs"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec18af806f9445a9d4b153d270fa53dfe8579fc9154302210e2ca2432b6d0787"}},{"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":"src/Orleans.Core/Utils/SetExtensions.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"c88cf5fe780a1ecdc554a79800a7a53826d22c866983e2c4907b5cb943c4978a"}},{"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":"src/Orleans.Core/Utils/SetExtensions.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebe341b633c5686cdac752ce7fb39f77049a8e433fd659a3acbf5abd0b734cc3"}},{"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":"src/Orleans.Core/Utils/SetExtensions.cs"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c08ce6aa60a5eeb949f9d8f00e06e63a7f84e5f7753f30464c0cabe508797b"}},{"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":"src/Orleans.Core/Utils/SetExtensions.cs"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38b50ea3f88538da21fe0840b313f8e1d5134c214d9231fbfa36a0bb9be3caf"}},{"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":"src/Orleans.Core/Utils/SetExtensions.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbcf7186fcce3b296397438e69293b8b63b7c4104fe0e8e85efd2e76c5a04eab"}},{"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":"M4","level":"note","message":{"text":"README/code drift: README omits the Orleans.Dashboard.App project (admin dashboard) \u2014 reported by the model that read the README against this repository; no term search was run for this one, so nothing here has been checked against the tree. Treat it as a reading to confirm, not as a measured contradiction: verify it against the code before acting on it, and if the footprint it describes does exist, this row is wrong."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"343bbbd51ceb8de7a9ff88d79f7c797abf9b5921f8727b67b4d0f4f8a22c5e49"}},{"ruleId":"P10","level":"note","message":{"text":"No explicit versioning: No explicit version was found by any of the six routes this check reads: a \u0060\u003CVersion\u003E\u0060 or \u0060\u003CVersionPrefix\u003E\u0060 property; a \u0060GitVersion\u0060 or \u0060MinVer\u0060 reference; the split Arcade spelling (\u0060\u003CMajorVersion\u003E\u0060 AND \u0060\u003CMinorVersion\u003E\u0060 together); a hand-written \u0060[assembly: AssemblyVersion]\u0060 in source, with \u0060bin/\u0060 and \u0060obj/\u0060 excluded so the SDK\u0027s generated AssemblyInfo cannot satisfy it; or a version handed to MSBuild by the pipeline, as \u0060-p:Version=\u0060 / \u0060-p:PackageVersion=\u0060 on a \u0060dotnet build\u0060 or \u0060dotnet pack\u0060 line. Only project files, first-party source and CI files are read, so a version computed somewhere none of those can see is invisible here. A published library needs explicit semantic versioning so consumers can reason about breaking changes."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"f25ed74033b9d9b8444441f8dacb71f30e7bc88fc4c32bea7aeaebd4fda20968"}},{"ruleId":"P12","level":"note","message":{"text":"Sleep-based test synchronization: 175 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":"P2","level":"note","message":{"text":"Logging is not universal: Only 56/81 service-like projects use logging (pure contract/DTO projects are excluded \u2014 they have nothing to log). Of those 81, 11 ship a process this repository operates; the rest are libraries their consumer hosts, where the logging decision belongs to the host."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: 43 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":"Awaits without ConfigureAwait(false): Only 564/3422 awaits use ConfigureAwait(false). A library that captures the caller\u0027s context can stall or deadlock its host \u2014 the classic way a dependency drags an app down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9409e0163ea155fbf96ac6090b9aebd32c62808d0aee4aa2a31f3d049418befc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplication concentrated across 5 sibling directories (8 clone groups): 8 duplicated blocks under src/Dashboard/Orleans.Dashboard.App/src/ have copies in at least two of the sibling directories components, grains, lifecycle, overview, silos \u2014 7 of them are reported below, and 1 is counted here but not reported individually: those copies match on shape but no longer clear R10\u0027s bar for an individually reported row \u2014 either they kept neither their own names nor their values, or what was copied is too small to stand on its own (it reports near-exact duplication only, and only of substantial extent). What this row states is the concentration, which the detector measured over all 8 and which does not depend on how exactly each block\u0027s copies still match. That concentration is one structural fact, not 8 local ones: the siblings replicate behaviour none of them owns, which is the shape of a missing shared module \u2014 a common library every sibling imports \u2014 rather than 8 separate extractions. Check first whether the siblings are deliberately standalone deliverables (scaffold templates, demo apps that must stay copy-pasteable); where they are, the duplication is the design and the per-block rows are the ones to act on."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/components/grain-table.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"8137d972d5b1e5ec4aee78ddf2ecc1214e2e6c3d31fa674ecfcd41950aae7e69"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (51 matched lines \u00D7 2 locations): src/Dashboard/Orleans.Dashboard.App/src/components/grain-table.tsx:103 \u00B7 src/Dashboard/Orleans.Dashboard.App/src/grains/silo-table.tsx:33 \u2014 the two spans are one implementation copied and then locally edited \u2014 342 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/components/grain-table.tsx"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"46520176f24d9fcf776a65b5601d2b5170852bc2efbb5616dc0812c836c2d4df"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (35 lines \u00D7 2 locations): src/Dashboard/Orleans.Dashboard.App/src/grains/grain.tsx:138 \u00B7 src/Dashboard/Orleans.Dashboard.App/src/overview/overview.tsx:121 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/grains/grain.tsx"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"120665b18218b529002ec4c48fed9ef4f4cd1ca29dd90d218872f6023a56b56f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (31 lines \u00D7 2 locations): src/Dashboard/Orleans.Dashboard.App/src/grains/grain.tsx:66 \u00B7 src/Dashboard/Orleans.Dashboard.App/src/silos/silo.tsx:70 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/grains/grain.tsx"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b3bc1ce767271e4298531aac260feadf35f26b98ae78d9322deff2cb74f7c91"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): src/Dashboard/Orleans.Dashboard.App/src/overview/overview.tsx:45 \u00B7 src/Dashboard/Orleans.Dashboard.App/src/silos/silo.tsx:64 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/overview/overview.tsx"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6bdef9b49e362292e2f7e3d5b31b5a7091d055f466c92fb762146bf3fce3e12"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (20 matched lines \u00D7 2 locations): src/Dashboard/Orleans.Dashboard.App/src/components/multi-series-chart-widget.tsx:24 \u00B7 src/Dashboard/Orleans.Dashboard.App/src/components/time-series-chart.tsx:72 \u2014 the two spans are one implementation copied and then locally edited \u2014 90 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/components/multi-series-chart-widget.tsx"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"a42b6217ea30a9b4691168ad1df52ae4cc2acfb1def85ad9dc9e307c0aa02b37"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2 locations): src/Dashboard/Orleans.Dashboard.App/src/components/reminder-table.tsx:108 \u00B7 src/Dashboard/Orleans.Dashboard.App/src/components/reminder-table.tsx:129 \u2014 both copies are in the same file, so extract the block 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":"src/Dashboard/Orleans.Dashboard.App/src/components/reminder-table.tsx"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"da3c592c6d16a7a87a81afac9abd82b5f6e88a7bd02f0c965ef9dcc984ad94a4"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2 locations): src/Dashboard/Orleans.Dashboard.App/src/index.tsx:212 \u00B7 src/Dashboard/Orleans.Dashboard.App/src/index.tsx:234 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/index.tsx"},"region":{"startLine":212}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cc284dab7104ea160043dff548ca873396ccb04b5137157137afc0f08401fc"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (17 lines \u00D7 2 locations): src/Dashboard/Orleans.Dashboard.App/src/lifecycle/lifecycle.tsx:71 \u00B7 src/Dashboard/Orleans.Dashboard.App/src/lifecycle/lifecycle.tsx: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":"src/Dashboard/Orleans.Dashboard.App/src/lifecycle/lifecycle.tsx"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9968c8f612635aae4c4ca5051221e18650ed42fc76162fc6bb55656bbc8cac05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2 locations): src/Dashboard/Orleans.Dashboard.App/src/overview/overview.tsx:180 \u00B7 src/Dashboard/Orleans.Dashboard.App/src/overview/overview.tsx:196 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/overview/overview.tsx"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"81128e426926c40990af9345604b5001069bcf018779fbeb9f47b4bea042d36f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/Dashboard/Orleans.Dashboard.App/src/grains/grains.tsx:36 \u00B7 src/Dashboard/Orleans.Dashboard.App/src/silos/silos.tsx:28 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/grains/grains.tsx"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b54f4d155fc466a2f755fe5976efc4c638a73af79a1a4ba8d46d59184cb00d0a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): src/Dashboard/Orleans.Dashboard.App/src/silos/silo.tsx:196 \u00B7 src/Dashboard/Orleans.Dashboard.App/src/silos/silo.tsx:231 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/silos/silo.tsx"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e928eb2e7968937b9d69e739a6f755cacce43f591b6f7188e4ac32478f9632f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 4 locations): src/Dashboard/Orleans.Dashboard.App/src/components/grain-table.tsx:188 \u00B7 src/Dashboard/Orleans.Dashboard.App/src/components/grain-table.tsx:202 \u00B7 src/Dashboard/Orleans.Dashboard.App/src/components/grain-table.tsx:216 \u00B7 src/Dashboard/Orleans.Dashboard.App/src/components/grain-table.tsx:230 \u2014 all 4 copies are in the same file, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/components/grain-table.tsx"},"region":{"startLine":188}}}],"partialFingerprints":{"codehealthFindingId/v1":"d04f32ac10bc6c8ad4592fa082401e93deca3b6cf6b53275a821df416f7cab4e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): src/Dashboard/Orleans.Dashboard.App/src/overview/overview.tsx:158 \u00B7 src/Dashboard/Orleans.Dashboard.App/src/silos/silo.tsx:284 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/overview/overview.tsx"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"b83826413ff59f0cf0a25b4e1bdf625c67da365b1d02c0524d29a7e6ad1fdb7f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): src/Dashboard/Orleans.Dashboard.App/src/components/gauge-widget.tsx:15 \u00B7 src/Dashboard/Orleans.Dashboard.App/src/components/multi-series-chart-widget.tsx:16 \u2014 the two spans are one implementation copied and then locally edited \u2014 65 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/components/gauge-widget.tsx"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b6959a857b1ab42884fae24628e0306f53a52ac9d3c16f6e73a70432603b268"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): src/Dashboard/Orleans.Dashboard.App/src/lib/typeName.ts:41 \u00B7 src/Dashboard/Orleans.Dashboard.App/src/lib/typeName.ts:64 \u2014 both copies are in the same file, so extract the block 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":"src/Dashboard/Orleans.Dashboard.App/src/lib/typeName.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"836fe5419518b9c4647810cc7b764a3d17a5e09e3b8ccd2f7dd67712fa44629f"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): src/Dashboard/Orleans.Dashboard.App/src/components/reminder-table.tsx:31 \u00B7 src/Dashboard/Orleans.Dashboard.App/src/grains/grain-details.tsx:21 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/components/reminder-table.tsx"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea63739ddf07988ef173973c3b33b2f10ff40d980e9a0c07b72eba3380f4de0"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): src/Dashboard/Orleans.Dashboard.App/src/lib/typeName.ts:11 \u00B7 src/Dashboard/Orleans.Dashboard.App/src/lib/typeName.ts:39 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/lib/typeName.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"6da5445551d099fce8276692528a90303410079bd831208e9cbb73f13bb1c12f"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseSuffix (cyclomatic 14, cognitive 14): parseSuffix has cyclomatic complexity 14 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/lib/typeName.ts"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c53b649bdd28043ed603e9781af39b9f29e069d5390197e8451ef1d1b47e94d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function parseType (cyclomatic 11, cognitive 11): parseType has cyclomatic complexity 11 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/lib/typeName.ts"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"785282ff46bc0e4e6413335e23caccddc4e448a59521a00eba8f5b9b588068f5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatMemberName (cyclomatic 11, cognitive 10): formatMemberName has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard.App/src/grains/grain.tsx"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"27b5a04de7a404e52b5add9c2411668bce80ec87ec281b13a8d1452b80625295"}},{"ruleId":"S1","level":"warning","message":{"text":"Third-party script without Subresource Integrity: \u0060https://d3js.org/d3.v7.min.js\u0060 is executed by this page with no Subresource Integrity. Whoever can answer that request \u2014 the CDN, anyone who compromises it, anyone on the network path \u2014 runs arbitrary script in this page\u0027s origin, with its session. The URL also names no version, so it resolves to whatever that origin serves at fetch time \u2014 the executed bytes can change with nobody touching this repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/ActivationRebalancing/ActivationRebalancing.Frontend/wwwroot/index.html"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"716bd4d2c7fcc5429fc28a095037db423c10716c185b6ce845e841af5fc25179"}},{"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":"src/Orleans.Core/Async/TaskExtensions.cs"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"1960d4ccfcb8cfad9b4275d3b5697f4fa6385d45d2d519eb18cb04de6d4a1324"}},{"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":"src/Orleans.Core/Manifest/ClientClusterManifestProvider.cs"},"region":{"startLine":275}}}],"partialFingerprints":{"codehealthFindingId/v1":"78662e1441e5b4cba45097186aafa8a0ae4063eaec602361074b07d16ea3f33d"}},{"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":"src/Orleans.Journaling/JournaledStateManager.cs"},"region":{"startLine":1097}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd631a34afd34139fde57a8dc6d26910bf6c0def67ef425d891c4f10d84588d7"}},{"ruleId":"X1","level":"error","message":{"text":"Blocking wait while holding a \u0060lock\u0060: This blocks on a Task **while holding a \u0060lock\u0060**, which is worse than an ordinary sync-over-async in two ways. \u0060await\u0060 is illegal inside a \u0060lock\u0060 body, so the usual fix \u2014 make the caller \u0060async\u0060 and await it \u2014 cannot be applied where this block stands. And the thread parks while still holding the lock, so it occupies the critical section doing no work: every other caller serialises behind an operation that is only waiting, and if the awaited task itself needs a thread the pool has run out of, they wait forever. Do the async work OUTSIDE the critical section: take the lock only to read the shared state, release it, await the call, then re-take the lock to publish the result \u2014 re-checking on re-entry whether another caller won the race and, if so, discarding your result rather than overwriting theirs. Where the critical section genuinely has to span the async call, \u0060lock\u0060 is the wrong primitive: use an async-aware one (\u0060SemaphoreSlim\u0060 with \u0060await WaitAsync()\u0060) so waiters yield their thread instead of parking it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Reminders/ReminderService/LocalReminderService.cs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"65bc92a0ace6dd85422a4054cef892f7217f8ced28fa5e0fdaaeac83afd9bead"}},{"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":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":975}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c67f1528f03a1c9d95ea25355eabb370050a782bb7ed99c9cb72696831576ad"}},{"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":"src/Orleans.Runtime/ConsistentRing/RingRangeListenerManager.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"e298fcd0e733b4d9491e8d452d304cc5ae1954bf49a13bfa897ef2240637980c"}},{"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":"src/Orleans.Runtime/Manifest/ClusterManifestProvider.cs"},"region":{"startLine":712}}}],"partialFingerprints":{"codehealthFindingId/v1":"53bfdadf158e4b3fec5745c6fe3b7d10bc06e4dfd16cfb26b12a09c330dafd3f"}},{"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":"src/Orleans.Runtime/MembershipService/MembershipAgent.cs"},"region":{"startLine":236}}}],"partialFingerprints":{"codehealthFindingId/v1":"34f57f2638b2cb02e04378e2d9a643db1dc21d01e2fcd7b328c6036fef5dc2e6"}},{"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":"src/Orleans.Runtime/Placement/PlacementService.cs"},"region":{"startLine":491}}}],"partialFingerprints":{"codehealthFindingId/v1":"564d6a0ede4ee19bd545ba4abd1ccb40bf90bdf77b233370f0796deda27a3b42"}},{"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":"src/Orleans.Runtime/Silo/Silo.cs"},"region":{"startLine":504}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c946fc5443820ee185623c76490e2c43014de608cc452e34d2264a4efcbd4a0"}},{"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":"src/Orleans.TestingHost/InProcessSiloHandle.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0c63dbb62f210c0d7bfefb3d4b764d56135bf74932c3fefab95a0ab3132a1e2"}},{"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":"src/Orleans.TestingHost/InProcTestCluster.cs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"65f66daf3d637a7afeeac483c12a786d3a37e8d86a127cbf25e009cb609c92ae"}},{"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":"src/Orleans.TestingHost/InProcTestCluster.cs"},"region":{"startLine":530}}}],"partialFingerprints":{"codehealthFindingId/v1":"0332134419a087ea84a7a1ccb9c65fbae7eb77a5b1c8553ccb26e5ca6a8227e2"}},{"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":"src/Orleans.TestingHost/InProcTestCluster.cs"},"region":{"startLine":680}}}],"partialFingerprints":{"codehealthFindingId/v1":"47233fe1c94c3550fe6760851495ad6f47d0de145813dd09e3a61b88f3c1897c"}},{"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":"src/Orleans.TestingHost/SiloHandle.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1840f0470b6542e241c0e7bf62c3dcbc582eec37df350b471db15909f31e41d"}},{"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":"src/Orleans.TestingHost/StandaloneSiloHandle.cs"},"region":{"startLine":353}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6332f70f71e8c5488e02bacc66ffe941a5658d6606e5b1afbb5e3e2f8744c95"}},{"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":"src/Orleans.TestingHost/TestCluster.cs"},"region":{"startLine":324}}}],"partialFingerprints":{"codehealthFindingId/v1":"a19c5a161dae51e8e4ce5240e2584664380f61ac4062e5e32af661f773dabb87"}},{"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":"src/Orleans.TestingHost/TestCluster.cs"},"region":{"startLine":553}}}],"partialFingerprints":{"codehealthFindingId/v1":"b994da7c958ea9904677d859bd45153a8609010cc950ff4ed4f494c29f2ccc7f"}},{"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":"src/Orleans.TestingHost/TestCluster.cs"},"region":{"startLine":708}}}],"partialFingerprints":{"codehealthFindingId/v1":"89b4b30ab4644808ad96c7c658ff12ab4a66abfd0c31f731a0ede942c172c5aa"}},{"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":"src/Orleans.TestingHost/TestCluster.cs"},"region":{"startLine":1246}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f536b4d42c37d1a8523ac56293e47245d71f2fff9cf74f7629a8c7bdef82fd3"}},{"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":"src/Orleans.Connections.Security/Security/DuplexPipeStream.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"d00445c20bd38fe8a7c0e24a06719136b909163053d8de2e4782eed57ad60dfd"}},{"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":"src/Orleans.Connections.Security/Security/DuplexPipeStream.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"5494eb6dc2ecce5edfea73e322233568e7ab6d649284be4d6e49325c443250c6"}},{"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":"src/Orleans.Connections.Security/Security/DuplexPipeStream.cs"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aeda729a6a19fc764942079b3ab9b5046ead02d0e6e22ebba6d596c25ae1f4d"}},{"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":"src/Orleans.Connections.Security/Security/DuplexPipeStream.cs"},"region":{"startLine":189}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c49ba436bb689a94b9d37004b21a0d7fa8b7713a10d4252ae4d4e6fae17f0cb"}},{"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":"src/Orleans.Connections.Security/Security/DuplexPipeStream.cs"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"51595f0bb0aa8e98261dbbc62eeab1eada6a86d38bfce8c8e476207b15bb3bac"}},{"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":"src/Orleans.Transactions.TestKit.Base/TestRunners/TransactionRecoveryEventObserver.cs"},"region":{"startLine":619}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f20e00cfdf30af83e7e313028a70b25b04a6e72ff46ad3353acedaee3b66b8a"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060assemblyName is { Length: \u003E 0 } \u0026\u0026 assemblyName.Contains(\u0022Orleans\u0022)\u0060 appears character-identically in 2 files \u2014 src/Orleans.Core/Core/DefaultClientServices.cs, src/Orleans.Runtime/Hosting/DefaultSiloServices.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":"src/Orleans.Core/Core/DefaultClientServices.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc09d9f4a0ba6ea055469da1c6f88a2a1ccdda45e3057c62e5a53ab47026d202"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060bool.TryParse(cfg[\u0022EnableDistributedTracing\u0022], out var enableDistributedTracing) \u0026\u0026 enableDistributedTracing\u0060 appears character-identically in 2 files \u2014 src/Orleans.Core/Core/DefaultClientServices.cs, src/Orleans.Runtime/Hosting/DefaultSiloServices.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":"src/Orleans.Core/Core/DefaultClientServices.cs"},"region":{"startLine":190}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc6a291c32c624028a46670c1f3c6582c112f66bda69c6c58361b7c147b12168"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060grainBinding.TryGetValue(WellKnownGrainTypeProperties.StreamBindingIncludeNamespaceKey, out var value) \u0026\u0026 string.Equals(value, \u0022true\u0022, Strin\u2026\u0060 appears character-identically in 2 files \u2014 src/Orleans.BroadcastChannel/IdMapping/DefaultChannelIdMapper.cs, src/Orleans.Streaming/Core/DefaultStreamIdMapper.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":"src/Orleans.BroadcastChannel/IdMapping/DefaultChannelIdMapper.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c11829b65b1315a8dc9442b2df4798211bd08c1efebc497291e756cb7bdddfbc"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060MembershipTableTestFixture\u0060 implements \u0060IDisposable\u0060 \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060_initializationGate\u0060 itself (line 31), which makes that instance its own. But \u0060_initializationGate\u0060 is named in none of the methods the disposal search covered: \u0060DisposeAsync\u0060 (line 399), \u0060DisposeAsync\u0060 (line 401), \u0060DisposeAsync\u0060 (line 399), \u0060DisposeAsync\u0060 (line 401), \u0060CompleteDisposalAsync\u0060 (line 431), \u0060ObserveLateCleanupFailureAsync\u0060 (line 460) \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 (\u0060_initializationGate?.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":"src/Orleans.Clustering.TestKit/MembershipTableTestFixture.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"f89cfac6ac9f3efe67d780ca3753846854c3a1450fcccbb3d4faa92ce3362983"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060task\u0060 is a \u0060Task\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 178). Every use of it in \u0060StartClosing\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 task = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Networking/Connection.cs"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc42e3eb8555a06a1357b31c26db2b55d4c2053622ba952487bdc2e3f7c46f5c"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060JobShard\u0060 implements \u0060IDisposable\u0060 \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060_mutationLock\u0060 itself (line 158), which makes that instance its own. But \u0060_mutationLock\u0060 is named in none of the methods the disposal search covered: \u0060DisposeAsync\u0060 (line 389) \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 (\u0060_mutationLock?.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":"src/Orleans.DurableJobs/JobShard.cs"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"3004d3c77bbb8e79c444bd524699475f425a613e647732edc12d3d30c3ca17ef"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposes a dependency it does not own: \u0060_stateManager\u0060 is never created by \u0060JournaledJobShard\u0060 \u2014 every assignment to it takes a constructor parameter \u2014 yet this type disposes it here (line 272). Its declared type \u0060IJournaledStateManager\u0060 is an interface, so the instance came from whoever resolved it, and that owner decides when it ends. Disposing it from here reaches outside this object\u0027s lifetime: a dependency shared with the rest of the process is torn down when THIS instance goes away, and the real owner\u0027s later \u0060Dispose()\u0060 runs a second time on an object already disposed. Drop the call \u2014 a type disposes what it constructed, and only that. If this dependency genuinely is exclusive to this instance, construct it here (or take an owned factory) so the ownership is stated in the code rather than assumed."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.DurableJobs/JournaledJobShard.cs"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c669795835e9a73af118494da6b6abae75f2c05b6555eecc67f2774166300b6"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060cancellation\u0060 is a \u0060CancellationTokenSource\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 346). Every use of it in \u0060CreateWorker\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 cancellation = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Catalog/StatelessWorkerGrainContext.cs"},"region":{"startLine":346}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d4dda3857faaf7f8a230827e1f53cb648e0ca63025fbb6fe837124433eb78e0"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060ClusterManifestProvider\u0060 implements \u0060IDisposable\u0060 \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060_peerProbeSlots\u0060 itself (line 33), which makes that instance its own. But \u0060_peerProbeSlots\u0060 is named in none of the methods the disposal search covered: \u0060DisposeAsync\u0060 (line 708), \u0060Dispose\u0060 (line 710), \u0060StopAsync\u0060 (line 682), \u0060DisposeAsync\u0060 (line 708) \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 (\u0060_peerProbeSlots?.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":"src/Orleans.Runtime/Manifest/ClusterManifestProvider.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"706dfefc3035214478010123ae4ea1644a223f8fbe98538b16fa1c5b12667a04"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060cancellation\u0060 is a \u0060CancellationTokenSource\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 108). Every use of it in \u0060Participate\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 cancellation = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/MembershipService/ClusterMembershipService.cs"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1af4eff25d4e733e4e76e3b1caf1e60b0a6bddae86c8da2f51091e5ab5e0fb0"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060MembershipAgent\u0060 implements \u0060IDisposable\u0060 \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060cancellation\u0060 itself (line 23), which makes that instance its own. But \u0060cancellation\u0060 is named in none of the methods the disposal search covered: \u0060Dispose\u0060 (line 449) \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 (\u0060cancellation?.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":"src/Orleans.Runtime/MembershipService/MembershipAgent.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"76a76de21885da53df55dbe5a680564fd335bedfc0b9a1800e8866158dc2ab9a"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060task\u0060 is a \u0060Task\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 15). Every use of it in \u0060QueueAction\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 task = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Scheduler/TaskSchedulerUtils.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c4c8aa3c653f80380e04a253cbe5beb64e2042d471b31fbc2216ac918fb6790"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060task\u0060 is a \u0060Task\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 24). Every use of it in \u0060QueueAction\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 task = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Scheduler/TaskSchedulerUtils.cs"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"dad6f29725bef2c0f4d55cc323445bfff25702df3a104650cab64eb96c066b35"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060manager\u0060 is a \u0060PersistentStreamPullingManager\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 80). Every use of it in \u0060InitializePullingAgents\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 manager = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Streaming/Providers/SiloStreamProviderRuntime.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"cb2df9c1cd2a5207fe26cb8c3570f7c08c0fd5dd6a1ce8013f9cf0133efb678d"}},{"ruleId":"X18","level":"warning","message":{"text":"Finalizer on a type that owns no unmanaged resource: \u0060SiloHandle\u0060 declares a finalizer (line 73), but nothing in the type is unmanaged: no \u0060IntPtr\u0060/\u0060UIntPtr\u0060 or pointer field, no \u0060SafeHandle\u0060, no \u0060HandleRef\u0060, no \u0060extern\u0060/\u0060DllImport\u0060 member and no \u0060Marshal\u0060/\u0060GCHandle\u0060/\u0060NativeMemory\u0060 use. A finalizer can only release what the garbage collector cannot, so on a purely-managed type it releases nothing and costs something: every instance is put on the finalizer queue, survives at least one extra collection, and is then finalized on a thread that is NOT the disposing one \u2014 where the managed objects it touches may already have been finalized themselves. Delete the finalizer (and the \u0060GC.SuppressFinalize\u0060 that exists to defuse it); if a handle is added later, wrap it in a \u0060SafeHandle\u0060, which brings its own correct finalization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/SiloHandle.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce1e216120db7d847c6206bbe401c6e32c3d7b11eb80b86a098d9f6459d6b384"}},{"ruleId":"X18","level":"warning","message":{"text":"Finalizer on a type that owns no unmanaged resource: \u0060TestClusterPortAllocator\u0060 declares a finalizer (line 77), but nothing in the type is unmanaged: no \u0060IntPtr\u0060/\u0060UIntPtr\u0060 or pointer field, no \u0060SafeHandle\u0060, no \u0060HandleRef\u0060, no \u0060extern\u0060/\u0060DllImport\u0060 member and no \u0060Marshal\u0060/\u0060GCHandle\u0060/\u0060NativeMemory\u0060 use. A finalizer can only release what the garbage collector cannot, so on a purely-managed type it releases nothing and costs something: every instance is put on the finalizer queue, survives at least one extra collection, and is then finalized on a thread that is NOT the disposing one \u2014 where the managed objects it touches may already have been finalized themselves. Delete the finalizer (and the \u0060GC.SuppressFinalize\u0060 that exists to defuse it); if a handle is added later, wrap it in a \u0060SafeHandle\u0060, which brings its own correct finalization."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/TestClusterPortAllocator.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a39a5e14a5a057a466dbbbaf6089cbc3ddbbfa127a50e98b330033c0a0456b6"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060signal\u0060 is a \u0060ManualResetEventSlim\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 191). Every use of it in \u0060Acquire\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 signal = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/TestClusterPortAllocator.cs"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0dbedee5d6d1983239d7e6a01dadbd57e8d1e55c5f5881428ea901f326a9779"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async methods take a CancellationToken: Only 763/1248 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":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 73 rejects \u0060value\u0060 and line 73 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(value)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060value\u0060, and on that path \u0060value\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":"src/Orleans.Core.Abstractions/Manifest/MajorMinorVersion.cs"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac865f7ad5b8f7fa891fe5b4124163df7c4e31a4a85c9b7af0ed7689bbb113c7"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 81 rejects \u0060reminderName\u0060 and line 81 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(reminderName)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060reminderName\u0060, and on that path \u0060reminderName\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":"src/Orleans.Reminders/GrainReminderExtensions.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e78510321e4920cb7b8082773ce2ff289a902997148e2d9d6ebf6c0d2380735"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 160 rejects \u0060reminderName\u0060 and line 160 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(reminderName)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060reminderName\u0060, and on that path \u0060reminderName\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":"src/Orleans.Reminders/GrainReminderExtensions.cs"},"region":{"startLine":160}}}],"partialFingerprints":{"codehealthFindingId/v1":"27059fa81bb52a37b302b5ac1c471f35d583df5cf33c39c031edf8ba7a57353b"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 275 rejects \u0060assembly\u0060 and line 277 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(assembly)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060assembly\u0060, and on that path \u0060assembly\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":"src/Orleans.Serialization/TypeSystem/TypeSpec.cs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"b79094319c6c7f9f090b36583f3db97c00988aa00df135e5afc21da195c72483"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 378 rejects \u0060value\u0060 and line 380 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(value)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060value\u0060, and on that path \u0060value\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":"src/Orleans.Serialization/TypeSystem/TypeSpec.cs"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cd66ac0da1e1cdd46c61726b2925c35af26bd106dd8e01623dd3b5b349260e3"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 31 rejects \u0060name\u0060 and line 33 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(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":"src/Orleans.Streaming/GrainStreamingExtensions.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"8be0842358d81ab7c042faa5b7a731b5ed465e29c15d36ee3e7f95905fc82e0f"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 61 rejects \u0060name\u0060 and line 63 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(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":"src/Orleans.Streaming/GrainStreamingExtensions.cs"},"region":{"startLine":63}}}],"partialFingerprints":{"codehealthFindingId/v1":"dc3aa56dda7b5eb28c71d3caf7d60d5a417fbe8988c67a49d4197ebaaf22e210"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 109 rejects \u0060name\u0060 and line 109 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":"src/Orleans.Streaming/PersistentStreams/PersistentStreamProvider.cs"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"e671e7352cfbde15e421e5e85509965f9c00d7fc981613e3e423740cba4f1540"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 65 rejects \u0060strProviderName\u0060 and line 67 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(strProviderName)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060strProviderName\u0060, and on that path \u0060strProviderName\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":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingManager.cs"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e5ca598af02c83200e52abca87f5e03a4d59b5a5d7d0fe98e042d4fc83595e7"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 41 rejects \u0060batchContainers\u0060 and line 43 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060!batchContainers.Any()\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060batchContainers\u0060, and on that path \u0060batchContainers\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":"src/Orleans.Streaming/QueueAdapters/BatchContainerBatch.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"6684f345a201e042e1d4b0976c34fd65d2d76f2bb845b2b311daa6cb8c29d77a"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 43 rejects \u0060invariantName\u0060 and line 45 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(invariantName)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060invariantName\u0060, and on that path \u0060invariantName\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":"src/AdoNet/Shared/Storage/DbConnectionFactory.cs"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"0505d8fa28626dd3e42536dade3a34b36c993980e3e52159a6eb628b11f667d0"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 105 rejects \u0060invariantName\u0060 and line 107 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(invariantName)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060invariantName\u0060, and on that path \u0060invariantName\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":"src/AdoNet/Shared/Storage/DbConnectionFactory.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"8397ff901e40dfb87dc22f5aa62bda55d212c59d591ca9a2cebe3903ab9e559a"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 110 rejects \u0060connectionString\u0060 and line 112 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(connectionString)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060connectionString\u0060, and on that path \u0060connectionString\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":"src/AdoNet/Shared/Storage/DbConnectionFactory.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"4830d9eb906cede0ea07488673edb1b19f05c35fc50cdcbbe0b47cf1d3eac67d"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 78 rejects \u0060dataConnectionString\u0060 and line 78 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrEmpty(dataConnectionString)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060dataConnectionString\u0060, and on that path \u0060dataConnectionString\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":"src/AWS/Orleans.Streaming.SQS/Storage/SQSStorage.cs"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9a43967787e4c2c25ecb447c3b71923bd549be66b7b0524ffda2ae08ae6bc2a"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 35 rejects \u0060serviceId\u0060 and line 35 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrEmpty(serviceId)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060serviceId\u0060, and on that path \u0060serviceId\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":"src/AWS/Orleans.Streaming.SQS/Streams/SQSAdapter.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"78bef28fdaf0d2fee452f08f8f4e1e48d6d5d253925c98fd19fd4a93bc68b477"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 34 rejects \u0060serviceId\u0060 and line 34 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrEmpty(serviceId)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060serviceId\u0060, and on that path \u0060serviceId\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":"src/AWS/Orleans.Streaming.SQS/Streams/SQSAdapterReceiver.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"960fdd3fc5e268fbddc24f6455c2a93a046ea2d6ddde071f8e2a9b94501607e4"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 128 rejects \u0060connectionString\u0060 and line 128 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(connectionString)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060connectionString\u0060, and on that path \u0060connectionString\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":"src/Azure/Shared/Storage/AzureStorageOperationOptions.cs"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a50bdeb45d215106c4fa5a331e24b8b5be980508519e0176f27443017740c2c"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 77 rejects \u0060connectionString\u0060 and line 77 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(connectionString)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060connectionString\u0060, and on that path \u0060connectionString\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":"src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/AzureQueue/AzureQueueStreamOptions.cs"},"region":{"startLine":77}}}],"partialFingerprints":{"codehealthFindingId/v1":"667d4cd04990f20d53e9458b0732b01980a3a295c73b21c952dcf801bceaebf1"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 34 rejects \u0060clusterId\u0060 and line 36 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrEmpty(clusterId)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060clusterId\u0060, and on that path \u0060clusterId\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":"src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/PersistentStreams/AzureTableStorageStreamFailureHandler.cs"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1e085a911778a447462b4ac34284608f17574b4f33ce83dbfd12b2dc9fbc046"}},{"ruleId":"X20","level":"warning","message":{"text":"Argument guard throws the exception its own condition disproves: The guard on line 102 rejects \u0060streamProviderName\u0060 and line 104 reports that rejection as \u0060ArgumentNullException\u0060 \u2014 but the condition\u0027s own test \u0060string.IsNullOrWhiteSpace(streamProviderName)\u0060 is true of a value that is NOT null: it is satisfied by an EMPTY \u0060streamProviderName\u0060, and on that path \u0060streamProviderName\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":"src/Azure/Orleans.Streaming.AzureStorage/Providers/Streams/PersistentStreams/AzureTableStorageStreamFailureHandler.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5347ce1135aa034952c08f37cf0302ca54692e985a999f73d727bad63c2e36d"}},{"ruleId":"X27","level":"warning","message":{"text":"Collection is structurally changed while it is being enumerated: \u0060_cache\u0060 is enumerated directly, and line 84 calls \u0060_cache.Remove(\u2026)\u0060 inside the loop body \u2014 a structural change to a \u0060Dictionary\u0060. The next \u0060MoveNext\u0060 throws \u0060InvalidOperationException: Collection was modified; enumeration operation may not execute\u0060, so every pass that reaches this call ends the loop by exception instead of by running out of items, and the remaining items are never seen."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Messaging/CachingIdSpanCodec.cs"},"region":{"startLine":80}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb27f63e32aa9b486f2b5d79780db3e3a7d0dbbfed5b3294cfd20ba63555a46a"}},{"ruleId":"X27","level":"warning","message":{"text":"Collection is structurally changed while it is being enumerated: \u0060_cache\u0060 is enumerated directly, and line 93 calls \u0060_cache.Remove(\u2026)\u0060 inside the loop body \u2014 a structural change to a \u0060Dictionary\u0060. The next \u0060MoveNext\u0060 throws \u0060InvalidOperationException: Collection was modified; enumeration operation may not execute\u0060, so every pass that reaches this call ends the loop by exception instead of by running out of items, and the remaining items are never seen."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Messaging/CachingSiloAddressCodec.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"aadee3e5aec19242a7964fa48206418e5199eb5e2dd13acc74c89bc22e544982"}},{"ruleId":"X27","level":"warning","message":{"text":"Collection is structurally changed while it is being enumerated: \u0060localReminders\u0060 is enumerated directly, and line 456 calls \u0060localReminders.Remove(\u2026)\u0060 inside the loop body \u2014 a structural change to a \u0060Dictionary\u0060. The next \u0060MoveNext\u0060 throws \u0060InvalidOperationException: Collection was modified; enumeration operation may not execute\u0060, so every pass that reaches this call ends the loop by exception instead of by running out of items, and the remaining items are never seen."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Reminders/ReminderService/LocalReminderService.cs"},"region":{"startLine":447}}}],"partialFingerprints":{"codehealthFindingId/v1":"81799d545360503d9c79d935358b1519b23fcd09167ed5b280e0288eb7df8bd3"}},{"ruleId":"X27","level":"warning","message":{"text":"Collection is structurally changed while it is being enumerated: \u0060_inProgress\u0060 is enumerated directly, and line 444 calls \u0060_inProgress.Remove(\u2026)\u0060 inside the loop body \u2014 a structural change to a \u0060Dictionary\u0060. The next \u0060MoveNext\u0060 throws \u0060InvalidOperationException: Collection was modified; enumeration operation may not execute\u0060, so every pass that reaches this call ends the loop by exception instead of by running out of items, and the remaining items are never seen."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Placement/PlacementService.cs"},"region":{"startLine":438}}}],"partialFingerprints":{"codehealthFindingId/v1":"e546c2c328c572ee15adf89d9637d25ccd10b4540607ab8d08dd2031ca26b5c0"}},{"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":"src/Orleans.Core.Abstractions/Utils/Utils.cs"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"46cf13a85deb16f92e4984307c1188fbebb596a02004cc5a93e953d11ac3ac55"}},{"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":"src/Orleans.Core.Abstractions/Utils/Utils.cs"},"region":{"startLine":241}}}],"partialFingerprints":{"codehealthFindingId/v1":"910aa97020e1c437bb753862746b5eaab08fe7d902ed8d889f3b81bb51ae2d3a"}},{"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: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Async/AsyncLock.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"722d6cd6e3d1e2f7861330516d4b2be07fb70b9c34bc936c0b0b6ee0fd30e030"}},{"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":"src/Orleans.Core/Caching/ConcurrentLruCache.cs"},"region":{"startLine":1056}}}],"partialFingerprints":{"codehealthFindingId/v1":"4fddfec5eab347bb270cb76ad27160f4c8013a3ec6fa743e8e4db9394c6834dd"}},{"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":"src/Orleans.Core/Lifecycle/LifecycleSubject.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f31f850e255ca910aecc3bec1dc0bb0b81c0aa7ba3141e997ce27310b4e7627"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Lifecycle/LifecycleSubject.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"171dc3ee8a1535abf7aee30683e2af831a06bd5becbfdec663332aff3db072ca"}},{"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: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Networking/ConnectionManager.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"38a3ffb75a7b99a2d4d95ef1165a0488d2cc5b67eb85832ab7284485f649e6ef"}},{"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: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Core/Networking/ConnectionManager.cs"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad29c87d7869620f4ba9201fca6bad092f83fddff65e52aa6ebbfe282e37e70f"}},{"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":"src/Orleans.Core/Networking/Shared/SocketExtensions.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c8321ad78befd3954c3df0ac523a022289e91ce4af0fee0bb1ea786caa8f63e"}},{"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":"src/Orleans.Core/Networking/Shared/SocketExtensions.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"8626c052c0b39017917f31a6e73f8ed069ec4f662adf4edb4df85e7a184fd9e4"}},{"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":"src/Orleans.Runtime/Cancellation/GrainCallCancellationManager.cs"},"region":{"startLine":157}}}],"partialFingerprints":{"codehealthFindingId/v1":"98324935c2871bb878cc0f631b4d3addb12a1adb8fbd50a42960cd9f02d6c4eb"}},{"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":"src/Orleans.Runtime/Cancellation/GrainCallCancellationManager.cs"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"577426cfd9fddb7c7b4232bb8fa04e6241421a7a205aba5f09789a47f2eb9b80"}},{"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: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":1046}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ac4fc805ff52520a6feb7c8a248e5d4d0f87c4ac04f418d3955183c45a08bd"}},{"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":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":1594}}}],"partialFingerprints":{"codehealthFindingId/v1":"3065f74c7fa2857d48e782c56a8f70a3a3e5d100d99c8668b9b0d4cd8fe9a43a"}},{"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: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Catalog/ActivationData.cs"},"region":{"startLine":2584}}}],"partialFingerprints":{"codehealthFindingId/v1":"a711b4ecbc4fd4f614bfb0e3bde4908ce62a7ea221c6a908d5ba4a6e6dbdb9a7"}},{"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":"src/Orleans.Runtime/Core/SystemTarget.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e6e3c4902c8d5ca5c86989530ea9385709a1e0b060814730de6eb7dc7cbf071"}},{"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: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Silo/Silo.cs"},"region":{"startLine":507}}}],"partialFingerprints":{"codehealthFindingId/v1":"2061ecdd91361547705a25dce3ae2597137a3d8fb5d9ddf5de36d2f9d42fe0be"}},{"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: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Silo/Watchdog.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"24da0a6436622fbc6bff50b76811597f420267f1b35b251e2c192ad836934141"}},{"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: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Silo/Watchdog.cs"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"684beffa68f29638914afb6cad4083194ba537235bc265561870fea24b48ceb4"}},{"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: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Runtime/Silo/Watchdog.cs"},"region":{"startLine":224}}}],"partialFingerprints":{"codehealthFindingId/v1":"d43abf16d91db65314bdf0040acca9923aad7bbf60c3064a6eba57d68fe366b1"}},{"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":"src/Orleans.Streaming/PersistentStreams/QueueStreamDataStructures.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"4703606eb5aac07363fda229d639cea0fbd3734120d76f45e426230a01490f40"}},{"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: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/InProcessSiloHandle.cs"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"295d8edd98f3f16ea930182f93f2f2b5f36c3984025f2e1d906231c87af1664a"}},{"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":"src/Orleans.TestingHost/StandaloneSiloHandle.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"87774132ce346a6d26d87cc722b0e0ccf83cd38f87b1ae59c4d47cac3ad99631"}},{"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":"src/Orleans.TestingHost/StandaloneSiloHandle.cs"},"region":{"startLine":270}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc61f25238e0b9c4fe2adf0405ee5365f510a9bd8ee379e15b3137b6a5db38c3"}},{"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: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/StandaloneSiloHandle.cs"},"region":{"startLine":355}}}],"partialFingerprints":{"codehealthFindingId/v1":"f81ed8bc53d1fd226a5404700900cc9226e06200a2c33c699dda43f9409b0825"}},{"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":"src/Orleans.TestingHost/StandaloneSiloHost.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"a85fcabd32c9538a61281fdf1fc359e5efbf7c459bf17f6d53aab38b71618541"}},{"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":"src/Orleans.TestingHost/StandaloneSiloHost.cs"},"region":{"startLine":154}}}],"partialFingerprints":{"codehealthFindingId/v1":"746a0b89ebd708ba0382092813e6c7d411bcd79d9ea31cd57afa396c43180655"}},{"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":"src/Orleans.TestingHost/TestClusterPortAllocator.cs"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ba73729bdd58552d01e342eef6621f2c63af362f7e725e218547a695c983a88"}},{"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":"src/Orleans.TestingHost/TestClusterPortAllocator.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"ccbc28a0b45d369b8419ad3d60eec3d94ef5bd18dc0657694c2da8d0d5c7909b"}},{"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":"src/Orleans.TestingHost/TestClusterPortAllocator.cs"},"region":{"startLine":269}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0b2de9da21fbbf02c35ec3b4c9375947fb6a41713e9fc89163a6db7d2883b4a"}},{"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":"src/Orleans.TestingHost/TestClusterPortAllocator.cs"},"region":{"startLine":280}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8a4aab0773fa1de67038e842163ad19f8f6d00f69c7e1d1f6f8fc3b6df8eff3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/Utils/StorageEmulator.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"37cfdaa4ee7cea2e97e6507fef6bcfa7680ced1f708f5f881cf01b5fbde1b09f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.TestingHost/Utils/StorageEmulator.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bf6c1581467c7c3a7ab27f853d42082ad2217ebfe52b27b485d6d3fef4953f0"}},{"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: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard/DashboardHost.cs"},"region":{"startLine":86}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b8da376efd8d0bd47d86f8919eec355bc3aa9c095d9b9d87a83e943d72cbf84"}},{"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: narrow the catch to the exception this release can actually raise, and record it through whatever this codebase already uses to report problems \u2014 or, if it truly cannot matter, say why in a comment on the catch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Dashboard/Orleans.Dashboard/DashboardHost.cs"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e7414c3a9fbc7568f05fb725ada94ed01d50a43ca347c561dc70d7604e78f9e"}},{"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":"src/Dashboard/Orleans.Dashboard/DashboardHost.cs"},"region":{"startLine":123}}}],"partialFingerprints":{"codehealthFindingId/v1":"435fb170fc5d5625f845f3d0b40adde30a78b435752168551315c4e5f1742348"}},{"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":"src/Azure/Orleans.Reminders.AzureStorage/Storage/AzureBasedReminderTable.cs"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"26bd194d28d20ee7c80e7ac563e0414acbeb5520414540b5e34912a7e7c31d19"}},{"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":"src/Orleans.Transactions.TestKit.Base/TestRunners/ScopedTransactionsTestRunner.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"22134859b84f33d0782fd084bc0cbff350f8bf3c96bebd136c35e9f178b53da6"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/ChaoticCluster/ChaoticCluster.Silo/Program.cs"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"c87229d6fac1c406c3ad1d12ad13a3b61aacfdf8319e633783642a6e419706bd"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/ChaoticCluster/ChaoticCluster.Silo/Program.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f4f98e76528895bd293389ad357a86b60c50bca0551e8f08cdc32d57c26a787"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/ChaoticCluster/ChaoticCluster.Silo/Program.cs"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"77e8220605041ed306b21f6e38c064dd2d4fbbb224d9c8b1d2d62c1ff3fdd561"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/ChaoticCluster/ChaoticCluster.Silo/Program.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e74fb6785eab3a7265f60f6a754343d273440839959de786ecda8ef0e431c3c"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/ChaoticCluster/ChaoticCluster.Silo/Program.cs"},"region":{"startLine":111}}}],"partialFingerprints":{"codehealthFindingId/v1":"32b129574d740df110c6337e9452730ff12c02b4e9a649f602fed5456023de0e"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/ChaoticCluster/ChaoticCluster.Silo/Program.cs"},"region":{"startLine":113}}}],"partialFingerprints":{"codehealthFindingId/v1":"168d089212fe3119de207ba53203c0cbe739d7454e0b1ec49971c436f4ecdc94"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"playground/ChaoticCluster/ChaoticCluster.Silo/Program.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae14cb4ea26d1ca46b1e0259ec2ede3a114e1537c7f950c2ae52000728d93a40"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"db964e39ed8dfa424b1802186d19f33aab6c70653d4a5e5e832944b10b6eb63d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs"},"region":{"startLine":293}}}],"partialFingerprints":{"codehealthFindingId/v1":"994eefcbcbfec14ea222716cb7e44386df6cdd7607c9ba46ce49484c7e7b1e1d"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingAgent.cs"},"region":{"startLine":333}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cd6cacaae92c07891c528fd00525722486e27d4e6d672969e5966b69dd7d9ea"}},{"ruleId":"X4","level":"note","message":{"text":"Interpolated log message defeats structured logging: Logging an interpolated string (\u0060$\u0022...\u0022\u0060) collapses the event to plain text \u2014 you lose the named, queryable properties structured logging exists for. Use a message template with placeholders: \u0060LogInformation(\u0022User {UserId} did {Action}\u0022, id, action)\u0060. If these calls go through a logging wrapper that only accepts a pre-formatted string, give the wrapper a template\u002Bargs overload that forwards to the underlying logger, then migrate call sites to it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"src/Orleans.Streaming/PersistentStreams/PersistentStreamPullingManager.cs"},"region":{"startLine":398}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8973e1775459f4f73c36bf3f5f354d750ea3a565a250d952ab5639e652593b5"}},{"ruleId":"X5","level":"note","message":{"text":"Null-forgiving operator (\u0060!\u0060) suppressions reduce the NRT score: ~1.7 \u0060!\u0060 suppressions per 1k syntax nodes \u2014 1817 suppression(s) across the 1092195 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"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-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-22","guid":"b68d9ca7-bdde-d057-a6cc-9f8b1e739552","name":"CWE-22","shortDescription":{"text":"CWE-22"},"helpUri":"https://cwe.mitre.org/data/definitions/22.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":"CWE-321","shortDescription":{"text":"CWE-321"},"helpUri":"https://cwe.mitre.org/data/definitions/321.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":"CWE-506","shortDescription":{"text":"CWE-506"},"helpUri":"https://cwe.mitre.org/data/definitions/506.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":"Command Injection","shortDescription":{"text":"Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"OS Command Injection","shortDescription":{"text":"OS Command Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Cross-site Scripting (XSS)","shortDescription":{"text":"Cross-site Scripting (XSS)"},"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":"CWE-829","shortDescription":{"text":"CWE-829"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-862","guid":"2d96ecd7-f7f1-7f55-9f3a-43bb5bafdf33","name":"CWE-862","shortDescription":{"text":"CWE-862"},"helpUri":"https://cwe.mitre.org/data/definitions/862.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"SQL Injection","shortDescription":{"text":"SQL Injection"},"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":"Code Injection","shortDescription":{"text":"Code Injection"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]}],"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":23,"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."]}]}