{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D11","name":"Test Reliability","shortDescription":{"text":"Test Reliability"},"helpUri":"https://codehealth.canine.dev/dimensions/D11"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"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":"D23","name":"Boundary Type-Coupling","shortDescription":{"text":"Boundary Type-Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D23"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX2","name":"Stateful singletons","shortDescription":{"text":"Stateful singletons"},"helpUri":"https://codehealth.canine.dev/dimensions/AX2"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"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":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"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":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X1","name":"Async correctness","shortDescription":{"text":"Async correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"id":"X12","name":"Unreachable branch","shortDescription":{"text":"Unreachable branch"},"helpUri":"https://codehealth.canine.dev/dimensions/X12"},{"id":"X13","name":"Undrained process stream","shortDescription":{"text":"Undrained process stream"},"helpUri":"https://codehealth.canine.dev/dimensions/X13"},{"id":"X14","name":"Bypassable address classification","shortDescription":{"text":"Bypassable address classification"},"helpUri":"https://codehealth.canine.dev/dimensions/X14"},{"id":"X15","name":"Unvalidated length from an untrusted reader","shortDescription":{"text":"Unvalidated length from an untrusted reader"},"helpUri":"https://codehealth.canine.dev/dimensions/X15"},{"id":"X16","name":"Unfloored truncation loop","shortDescription":{"text":"Unfloored truncation loop"},"helpUri":"https://codehealth.canine.dev/dimensions/X16"},{"id":"X17","name":"Uncapped recursion over a caller-supplied document","shortDescription":{"text":"Uncapped recursion over a caller-supplied document"},"helpUri":"https://codehealth.canine.dev/dimensions/X17"},{"id":"X18","name":"Disposal-pattern correctness","shortDescription":{"text":"Disposal-pattern correctness"},"helpUri":"https://codehealth.canine.dev/dimensions/X18"},{"id":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"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":"StandardLibrary.CallFunc (cyclomatic 91): StandardLibrary.CallFunc has cyclomatic complexity 91 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/StandardLibrary.cs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"27089a5f02727449212b00c1ff2473f8a062657c6efbee9225051a34e5f30911"}},{"ruleId":"D1","level":"warning","message":{"text":"Compiler.Compile (cyclomatic 84): Compiler.Compile has cyclomatic complexity 84 (threshold 15). Of this number, 74 points are the body\u0027s own statements and 10 belong to 4 function items inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Compiler.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"20702ff2d43594a076cbb9ee3714e14221b655286c9a896d12a5a638c2bc08b5"}},{"ruleId":"D1","level":"warning","message":{"text":"Validators.TryValidateMethodAsAction (cyclomatic 62): Validators.TryValidateMethodAsAction has cyclomatic complexity 62 (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":"YarnSpinner.HostAnalysis/Validators.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e208f393582d1711d5e8e6531ce5b172d34ef570addc4b024413fa377111eba"}},{"ruleId":"D1","level":"warning","message":{"text":"VirtualMachine.RunInstruction (cyclomatic 60): VirtualMachine.RunInstruction has cyclomatic complexity 60 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"24b6076129c6c9616e1c7a3c01d6d22ecb31fd4d37494b9f7f621ee39586d6e6"}},{"ruleId":"D1","level":"warning","message":{"text":"Creators.TryCreateNewParameters (cyclomatic 60): Creators.TryCreateNewParameters has cyclomatic complexity 60 (threshold 15). Of this number, 59 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":"YarnSpinner.HostAnalysis/Creators\u002BParameters.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc209988f6cf3eaf033779de9da083dc73a6e80000d9af6f6ff0e680553e1fa5"}},{"ruleId":"D1","level":"warning","message":{"text":"LineParser.BuildMarkupTreeFromTokens (cyclomatic 55): LineParser.BuildMarkupTreeFromTokens has cyclomatic complexity 55 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/YarnSpinner.Markup/LineParser.cs"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"f572c8d22b4081793192e2d166df7e86e4fa28d0cb9862033c59443909731cbc"}},{"ruleId":"D1","level":"warning","message":{"text":"InstructionCollectionExtensions.GetBasicBlocks (cyclomatic 46): InstructionCollectionExtensions.GetBasicBlocks has cyclomatic complexity 46 (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":"YarnSpinner.Compiler/Analysis/InstructionCollectionExtensions.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"03a6caa9122c3fb1ffa65ca50bda9441ec5014880633185968d1ac973184fcb0"}},{"ruleId":"D1","level":"warning","message":{"text":"LineParser.LexMarkup (cyclomatic 42): LineParser.LexMarkup has cyclomatic complexity 42 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/YarnSpinner.Markup/LineParser.cs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"2585ae918cfd9697063d130def02dde573cc24d9b5f77480edeef03eb7d5c85c"}},{"ruleId":"D1","level":"warning","message":{"text":"Creators.UnityReturnType (cyclomatic 38): Creators.UnityReturnType has cyclomatic complexity 38 (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":"YarnSpinner.HostAnalysis/Creators\u002BSupporting.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"30c58bce6b9c03eb188a068d7cd43a8747e18b5af156a98f82436251d5b66bff"}},{"ruleId":"D1","level":"warning","message":{"text":"GeneratorExtensions.ToJSON (cyclomatic 38): GeneratorExtensions.ToJSON has cyclomatic complexity 38 (threshold 15). Of this number, 37 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. 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":"YarnSpinner.SourceGenerator/GeneratorExtensions.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"1063c7551caf63e36a43db07aa4f7112cae3e34079c48531a9cb95f88a023ef9"}},{"ruleId":"D1","level":"warning","message":{"text":"Instruction.ToDescription (cyclomatic 34): Instruction.ToDescription has cyclomatic complexity 34 (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":"YarnSpinner/Program.cs"},"region":{"startLine":271}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec2a56d370e4a07ff6a44c66cb59040ef4f0359cda11ae375b294fbb961c9c21"}},{"ruleId":"D1","level":"warning","message":{"text":"NestedAnalyser.AnalyseActionsByInvoke (cyclomatic 30): NestedAnalyser.AnalyseActionsByInvoke 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":"YarnSpinner.SourceGenerator/Analyser.cs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"32d5704cac7c185e929978cef8a9a78826c647a82c82ae32a72b4384a4aa2c2a"}},{"ruleId":"D1","level":"warning","message":{"text":"UserDefinedTypesListener.ExitEnum_statement (cyclomatic 27): UserDefinedTypesListener.ExitEnum_statement 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":"YarnSpinner.Compiler/Visitors/UserDefinedTypesListener.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"a7a618acc2759014601bfb7448c071415e1cd40ba5742d66ddab12755a42b244"}},{"ruleId":"D1","level":"warning","message":{"text":"Generator.Initialize (cyclomatic 24): Generator.Initialize has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 5 function items inside it that branch (a function literal at line 47, GetSeverityName, a function literal at line 153, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Diagnostics/Generator.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e527f96aa7a449b457951a1f21d27aeb6a6d8e582a60fc4db54b1d54d7488f6"}},{"ruleId":"D1","level":"warning","message":{"text":"Validators.TryValidateConverter (cyclomatic 24): Validators.TryValidateConverter has cyclomatic complexity 24 (threshold 15). Of this number, 22 points are the body\u0027s own statements and 2 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":"YarnSpinner.HostAnalysis/Validators.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e94f52b29ccfababfad26799cf049ae92c8f3883050d118779d8bd2468de6e7"}},{"ruleId":"D1","level":"warning","message":{"text":"YarnErrorListener.SyntaxError (cyclomatic 23): YarnErrorListener.SyntaxError 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":"YarnSpinner.Compiler/ErrorListener.cs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"1d66442087de5494ed4ed8a8ca7b993fb9b5e2a321b82d78a5d733115d06aa35"}},{"ruleId":"D1","level":"warning","message":{"text":"DescriptiveLineTagGenerator.GenerateLineTag (cyclomatic 22): DescriptiveLineTagGenerator.GenerateLineTag 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":"YarnSpinner.Compiler/LineTaggers/DescriptiveLineTagGenerator.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b3380c0f882b79ca1caa0c2e2f23c502a36c0118fadf168df732de1ddaf60ba"}},{"ruleId":"D1","level":"warning","message":{"text":"Definitions.Definitions.ctor (cyclomatic 21): Definitions.Definitions.ctor has cyclomatic complexity 21 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function, or replace a long branch ladder over a single value with a data-driven lookup or dispatch table."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Project.cs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"d12c18522d6728123873856e9761470f6151dc7e3b069458510e64ca1da5cfbc"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeCheckerListener.ResolveInitialValues (cyclomatic 20): TypeCheckerListener.ResolveInitialValues 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":"YarnSpinner.Compiler/TypeCheckerListener.cs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1f2dd8bdb1d3df57104eedad016f6452062d2b17c726d08db69384b9552f4d5"}},{"ruleId":"D1","level":"warning","message":{"text":"Compiler.AddErrorsForInvalidNodeNames (cyclomatic 19): Compiler.AddErrorsForInvalidNodeNames has cyclomatic complexity 19 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Compiler.cs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"021a02e0878c27086dcb8b31715c4e5494d9b2a05beed7d30abe030749042bf7"}},{"ruleId":"D1","level":"warning","message":{"text":"ActionExtensions.GetDeclaration (cyclomatic 19): ActionExtensions.GetDeclaration 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":"YarnSpinner.Compiler/Project.cs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"26891ffd78d2b9724a543ee6f1f5e3b258c3d86f3644a5b7e77597e23fdce454"}},{"ruleId":"D1","level":"warning","message":{"text":"MarkupParseResult.DeleteRange (cyclomatic 18): MarkupParseResult.DeleteRange 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":"YarnSpinner/YarnSpinner.Markup/MarkupParseResult.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"95895166cfad39bf57de6bb7db0bfa6fa4b9a385877bc909bce80418fb2f8ee7"}},{"ruleId":"D1","level":"warning","message":{"text":"UntaggedLineListener.RunLineTagger (cyclomatic 18): UntaggedLineListener.RunLineTagger 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":"YarnSpinner.Compiler/Utility.cs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"f57e1271af63dfedca10aea76d1911bc81c38a59f6fa04eb416d5c4344245a59"}},{"ruleId":"D1","level":"warning","message":{"text":"CompileTimeSyntaxBuilder.BuildCommandInvoker (cyclomatic 18): CompileTimeSyntaxBuilder.BuildCommandInvoker 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":"YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"77fc1b4ae04df6a787a950ec7134dcd1ff4a5bc448c976b3c055ea7223f1f7a5"}},{"ruleId":"D1","level":"warning","message":{"text":"SyntaxValidationListener.CheckMalformedCommandsInText (cyclomatic 17): SyntaxValidationListener.CheckMalformedCommandsInText 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":"YarnSpinner.Compiler/SyntaxValidationListener.cs"},"region":{"startLine":150}}}],"partialFingerprints":{"codehealthFindingId/v1":"25216cb951a174cd5266d55f5f2ba43738f9a957f39253a2af59b9dc2e1e9157"}},{"ruleId":"D1","level":"warning","message":{"text":"Utility.ExtractStringBlocks (cyclomatic 17): Utility.ExtractStringBlocks 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":"YarnSpinner.Compiler/Utility.cs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"d793253aa3ade275af0f2af45b30c318faa6cbddbe88069850b3fb5cf100f3f2"}},{"ruleId":"D1","level":"warning","message":{"text":"Creators.ActionFromMethodSymbol (cyclomatic 17): Creators.ActionFromMethodSymbol 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":"YarnSpinner.HostAnalysis/Creators.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"0de0a224facbb87befa0fbc68a9301a4734b155709bb460766870945ea48935a"}},{"ruleId":"D1","level":"warning","message":{"text":"CompileTimeSyntaxBuilder.BuildFunctionInvoker (cyclomatic 17): CompileTimeSyntaxBuilder.BuildFunctionInvoker 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":"YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fbb5f0c2466250f051e83ccdb0c013a8329403312f3bcb639b051ca8742c784"}},{"ruleId":"D1","level":"warning","message":{"text":"Solver.TrySolve (cyclomatic 16): Solver.TrySolve 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":"YarnSpinner.Compiler/TypeSolver/Solver.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8375dfee3daed6a88c252f4341338cb6e4c146a256770e7f72be06bd99e8f81"}},{"ruleId":"D2","level":"warning","message":{"text":"LineParser.LexMarkup (cognitive 142): LineParser.LexMarkup has cognitive complexity 142 (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":"YarnSpinner/YarnSpinner.Markup/LineParser.cs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"a844a07e9eb2164e245c0a255afa57856574eab9b67bebcfeb9246a301bbdf7f"}},{"ruleId":"D2","level":"warning","message":{"text":"LineParser.BuildMarkupTreeFromTokens (cognitive 136): LineParser.BuildMarkupTreeFromTokens has cognitive complexity 136 (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":"YarnSpinner/YarnSpinner.Markup/LineParser.cs"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"74ca1f30d7c9c52d3fe1a5cba2f03402b79b983c60379a444da2dc3bb850997b"}},{"ruleId":"D2","level":"warning","message":{"text":"Compiler.Compile (cognitive 134): Compiler.Compile has cognitive complexity 134 (threshold 15). Of this number, 128 points are the body\u0027s own statements and 6 belong to 4 function items inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Compiler.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c182796cf5ee474aefd8c65f24fad17cf1e66d1de6e9e115419dbb790a8e95a"}},{"ruleId":"D2","level":"warning","message":{"text":"Creators.TryCreateNewParameters (cognitive 113): Creators.TryCreateNewParameters has cognitive complexity 113 (threshold 15). Of this number, 112 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":"YarnSpinner.HostAnalysis/Creators\u002BParameters.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6785d59285da16ef1988ab301017cc34ed909f7fe27375dba5ce5e6eb0a3c6"}},{"ruleId":"D2","level":"warning","message":{"text":"StandardLibrary.CallFunc (cognitive 93): StandardLibrary.CallFunc has cognitive complexity 93 (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":"YarnSpinner/StandardLibrary.cs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f9324769a1ff4201b17dc337a9914915312e55e75b10e27154e6a2c2d34f18d"}},{"ruleId":"D2","level":"warning","message":{"text":"VirtualMachine.RunInstruction (cognitive 81): VirtualMachine.RunInstruction has cognitive complexity 81 (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":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"3283eb328c31ff9e8c2a18ab6381085f63dd6db3c9cc75560267964a93a19f40"}},{"ruleId":"D2","level":"warning","message":{"text":"UserDefinedTypesListener.ExitEnum_statement (cognitive 56): UserDefinedTypesListener.ExitEnum_statement has cognitive complexity 56 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Visitors/UserDefinedTypesListener.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"30db9ce4eeacf083ef8a012c4e13443cbcfe3a8511205521b5a8ef40014ad862"}},{"ruleId":"D2","level":"warning","message":{"text":"Validators.TryValidateMethodAsAction (cognitive 49): Validators.TryValidateMethodAsAction 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":"YarnSpinner.HostAnalysis/Validators.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d21ee29165b3bfbfc6a58d4b45a9b28140bf12911bbd25b36369295128f20ce"}},{"ruleId":"D2","level":"warning","message":{"text":"DescriptiveLineTagGenerator.PrepareForLines (cognitive 48): DescriptiveLineTagGenerator.PrepareForLines has cognitive complexity 48 (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":"YarnSpinner.Compiler/LineTaggers/DescriptiveLineTagGenerator.cs"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab8187c736a914604f9d43f75635622ce5771135934015911b8fdee74f762660"}},{"ruleId":"D2","level":"warning","message":{"text":"InstructionCollectionExtensions.GetBasicBlocks (cognitive 46): InstructionCollectionExtensions.GetBasicBlocks 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":"YarnSpinner.Compiler/Analysis/InstructionCollectionExtensions.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"cceb87ad0fae30464b2c27768a44eb0cfe646e810bce5c9327033032cf89cc03"}},{"ruleId":"D2","level":"warning","message":{"text":"Compiler.AddErrorsForInvalidNodeNames (cognitive 46): Compiler.AddErrorsForInvalidNodeNames has cognitive complexity 46 (threshold 15). Of this number, 43 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":"YarnSpinner.Compiler/Compiler.cs"},"region":{"startLine":948}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdafcae97cea9359b88593262b8180a92d279e41c691469a5470c4fa2311dfdd"}},{"ruleId":"D2","level":"warning","message":{"text":"NestedAnalyser.AnalyseActionsByInvoke (cognitive 42): NestedAnalyser.AnalyseActionsByInvoke 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":"YarnSpinner.SourceGenerator/Analyser.cs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"611e1081044eb45a14db8f8123da2d6596ae23a982d71676cf5f6adec5c55e8f"}},{"ruleId":"D2","level":"warning","message":{"text":"CompileTimeSyntaxBuilder.BuildCommandInvoker (cognitive 42): CompileTimeSyntaxBuilder.BuildCommandInvoker 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":"YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"4567e65b08bca4b41c649fcc79912bdd2ab4698679a0e0f49f2b42c94b860c62"}},{"ruleId":"D2","level":"warning","message":{"text":"UntaggedLineListener.RunLineTagger (cognitive 41): UntaggedLineListener.RunLineTagger has cognitive complexity 41 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Utility.cs"},"region":{"startLine":473}}}],"partialFingerprints":{"codehealthFindingId/v1":"63263d141df4baefecc7766d3cc73eb8cbac4047f693c2a4486c7da9c3cee606"}},{"ruleId":"D2","level":"warning","message":{"text":"NestedAnalyser.ValidateActions (cognitive 41): NestedAnalyser.ValidateActions has cognitive complexity 41 (threshold 15). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.SourceGenerator/Analyser.cs"},"region":{"startLine":245}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ca5fda5933aa1af0c24da534b936eefa4f2a5c1f9d509df9d1480f956983c6"}},{"ruleId":"D2","level":"warning","message":{"text":"Validators.TryValidateConverter (cognitive 40): Validators.TryValidateConverter has cognitive complexity 40 (threshold 15). Of this number, 38 points are the body\u0027s own statements and 2 belong to 2 function literals inside it that branch. To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, and where an else follows a branch that already returns, drop the trailing else and let the rest of the body continue at one level."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.HostAnalysis/Validators.cs"},"region":{"startLine":299}}}],"partialFingerprints":{"codehealthFindingId/v1":"21ee5d804b49eec65bc75414ea2352e4d2f0327fc1335b3e3cfbda5bcd9dc0ba"}},{"ruleId":"D2","level":"warning","message":{"text":"CompileTimeSyntaxBuilder.BuildFunctionInvoker (cognitive 40): CompileTimeSyntaxBuilder.BuildFunctionInvoker 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":"YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs"},"region":{"startLine":197}}}],"partialFingerprints":{"codehealthFindingId/v1":"159e722793a0d9140c273bd5eb0de06e9961c98512e9f8ee3e1d882a9572d538"}},{"ruleId":"D2","level":"warning","message":{"text":"Solver.TrySolve (cognitive 34): Solver.TrySolve 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":"YarnSpinner.Compiler/TypeSolver/Solver.cs"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d86d601288c1755c425c4e8052b8b0825484aa45e9a042cbb00dfec4745b4e"}},{"ruleId":"D2","level":"warning","message":{"text":"YarnErrorListener.SyntaxError (cognitive 33): YarnErrorListener.SyntaxError 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":"YarnSpinner.Compiler/ErrorListener.cs"},"region":{"startLine":425}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf63c1e2cea0c48386f204d1eca23ce6c84a2a0865a45bb6f49b7175d9ca1dd0"}},{"ruleId":"D2","level":"warning","message":{"text":"LineParser.WalkTree (cognitive 32): LineParser.WalkTree 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":"YarnSpinner/YarnSpinner.Markup/LineParser.cs"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"1703cc5cb57426a0a068c01eb65d9c1a04761d35cff5d8761278fcc3623f5779"}},{"ruleId":"D2","level":"warning","message":{"text":"DescriptiveLineTagGenerator.GenerateLineTag (cognitive 31): DescriptiveLineTagGenerator.GenerateLineTag 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":"YarnSpinner.Compiler/LineTaggers/DescriptiveLineTagGenerator.cs"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87d121b6043979301cd1899ca858e824357dad1f0dcdf87fa1cabdb5ab2b4f4"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeCheckerListener.ResolveInitialValues (cognitive 31): TypeCheckerListener.ResolveInitialValues 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":"YarnSpinner.Compiler/TypeCheckerListener.cs"},"region":{"startLine":1203}}}],"partialFingerprints":{"codehealthFindingId/v1":"93d9714aca815e65a3f7f0f84cb4244aefd12932266c634703dcd0f0790d0ef5"}},{"ruleId":"D2","level":"warning","message":{"text":"NestedAnalyser.CompilationEndAction (cognitive 30): NestedAnalyser.CompilationEndAction 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":"YarnSpinner.SourceGenerator/Analyser.cs"},"region":{"startLine":93}}}],"partialFingerprints":{"codehealthFindingId/v1":"d354d53258830509d921435518b70cda80f0e359d7b7ddc1e576e6fc270395c8"}},{"ruleId":"D2","level":"warning","message":{"text":"Utility.ExtractStringBlocks (cognitive 29): Utility.ExtractStringBlocks 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":"YarnSpinner.Compiler/Utility.cs"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b7ada51063a956e6ea427e2d72dbde59da9acdeb35638cf2a1106cac8bfb452"}},{"ruleId":"D2","level":"warning","message":{"text":"MarkupParseResult.DeleteRange (cognitive 28): MarkupParseResult.DeleteRange 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":"YarnSpinner/YarnSpinner.Markup/MarkupParseResult.cs"},"region":{"startLine":174}}}],"partialFingerprints":{"codehealthFindingId/v1":"98ca619b41ae18c4befa6c903724b57dca1ced8f5b7214b9eea9ac253c8b70bf"}},{"ruleId":"D2","level":"warning","message":{"text":"Creators.ValidActionFromMethodSymbol (cognitive 28): Creators.ValidActionFromMethodSymbol 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":"YarnSpinner.HostAnalysis/Creators.cs"},"region":{"startLine":43}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1907b6d860d058e767e44e359c34ae29786183960a92e4c60fa5abf4984bda4"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeCheckerListener.GetDependenciesForVariable (cognitive 26): TypeCheckerListener.GetDependenciesForVariable has cognitive 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/TypeCheckerListener.cs"},"region":{"startLine":1319}}}],"partialFingerprints":{"codehealthFindingId/v1":"4bfa2a20424eba8056e50e3ab61b8d025772d28020485a67f47c24de7e2b74af"}},{"ruleId":"D2","level":"warning","message":{"text":"Creators.ActionFromMethodSymbol (cognitive 26): Creators.ActionFromMethodSymbol has cognitive complexity 26 (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":"YarnSpinner.HostAnalysis/Creators.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"8b15f9a168ee615215b8e53c6e6790a33c6f542178e4a2a2848205cd8e3bf9c7"}},{"ruleId":"D2","level":"warning","message":{"text":"GeneratorExtensions.ToJSON (cognitive 26): GeneratorExtensions.ToJSON has cognitive 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, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.SourceGenerator/GeneratorExtensions.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"47747d04915c94bd80dabfb43c3a2479816b59157a011cc7cf9df0223207ef33"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeGroupCompiler.CompileNodeGroup (cognitive 25): NodeGroupCompiler.CompileNodeGroup 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":"YarnSpinner.Compiler/NodeGroupCompiler.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fccaf13596ee6fee20fa179e01b667e06a342373dbca2dd883ecc4fc8c94cf"}},{"ruleId":"D2","level":"warning","message":{"text":"StringTableGeneratorVisitor.VisitLine_statement (cognitive 25): StringTableGeneratorVisitor.VisitLine_statement has cognitive complexity 25 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Visitors/StringTableGeneratorVisitor.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca0f3263c22b892f2af4ba787bb1ef9a56de872a6ac5ec56a3ec5a4eeb339726"}},{"ruleId":"D2","level":"warning","message":{"text":"Action.TryValidateAction (cognitive 25): Action.TryValidateAction 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":"YarnSpinner.Shared/Action.cs"},"region":{"startLine":467}}}],"partialFingerprints":{"codehealthFindingId/v1":"fbdc458d8f7f5c500797d714460723b1330e722520ed59626f62c2927bdabad9"}},{"ruleId":"D2","level":"warning","message":{"text":"Definitions.Definitions.ctor (cognitive 24): Definitions.Definitions.ctor 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":"YarnSpinner.Compiler/Project.cs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"40f162749dda984dd1243431016289531ae1ece4ee41cc4dd1359d94fe2daf32"}},{"ruleId":"D2","level":"warning","message":{"text":"Creators.UnityReturnType (cognitive 24): Creators.UnityReturnType has cognitive complexity 24 (threshold 15). To reduce it, flatten the nesting: invert conditions into early returns or guard clauses so the happy path stays at one level, and lift the deepest nested block into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.HostAnalysis/Creators\u002BSupporting.cs"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"95e12e3008ac193f7ec0827e6e8a784b3840d136217668726813cfbe6fca4bfc"}},{"ruleId":"D2","level":"warning","message":{"text":"Project.DefinitionsFiles.get (cognitive 23): Project.DefinitionsFiles.get 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":"YarnSpinner.Compiler/Project.cs"},"region":{"startLine":290}}}],"partialFingerprints":{"codehealthFindingId/v1":"f532f236c84afd02fe1df875d64cc6532e81ad7cd7ec40d84888b9ddf108bf43"}},{"ruleId":"D2","level":"warning","message":{"text":"DocstringExtractor.TryCreateDocumentation (cognitive 23): DocstringExtractor.TryCreateDocumentation 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":"YarnSpinner.SourceGenerator/DocstringExtractor.cs"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"3721bd8cea897f47f47271aefa2b468f04007e11e82b7abdda9db30c32a2f3af"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeCheckerListener.ExitFunction_call (cognitive 22): TypeCheckerListener.ExitFunction_call 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":"YarnSpinner.Compiler/TypeCheckerListener.cs"},"region":{"startLine":827}}}],"partialFingerprints":{"codehealthFindingId/v1":"d600e2f33b5d04dd75b16b7436bea4902f6316c80286558242a541e6cba31187"}},{"ruleId":"D2","level":"warning","message":{"text":"Utility.GenerateYarnFileWithDeclarations (cognitive 20): Utility.GenerateYarnFileWithDeclarations 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":"YarnSpinner.Compiler/Utility.cs"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"83675dac22f7f3c01c67c40f9fca5f34d48d0d8e09a86a875234e3cce4133937"}},{"ruleId":"D2","level":"warning","message":{"text":"Solver.TryMergeSubsitutions (cognitive 19): Solver.TryMergeSubsitutions has cognitive complexity 19 (threshold 15). Of this number, 15 points are the body\u0027s own statements and 4 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/TypeSolver/Solver.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab07ecd9b32f45be8c138739a8e11a86c7519d5c494b4ec2c6a50ccafdf5fa4a"}},{"ruleId":"D2","level":"warning","message":{"text":"CompileTimeSyntaxBuilder.BuildDefaultParameterTuple (cognitive 19): CompileTimeSyntaxBuilder.BuildDefaultParameterTuple 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":"YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"18e27716c42a2d26e3d8d3135cdd3ae621276db3dd7fc44fdb3bd7451f9a5530"}},{"ruleId":"D2","level":"warning","message":{"text":"SmartVariableEvaluationVirtualMachine.GetSaliencyOptionsForNodeGroup (cognitive 18): SmartVariableEvaluationVirtualMachine.GetSaliencyOptionsForNodeGroup 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":"YarnSpinner/SmartVariableEvaluationVirtualMachine.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"47e46237ebb4c616e4e08c61ce6281ebb7573824b3d87d83a2ed651f256ad9a2"}},{"ruleId":"D2","level":"warning","message":{"text":"Compiler.AddUnreachableCodeDiagnostics (cognitive 18): Compiler.AddUnreachableCodeDiagnostics has cognitive complexity 18 (threshold 15). Of this number, 17 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Compiler.cs"},"region":{"startLine":834}}}],"partialFingerprints":{"codehealthFindingId/v1":"77f64d5c76df999bbecb6d1658aa00424a741807407c7791ff6f5e2289d3cfb1"}},{"ruleId":"D2","level":"warning","message":{"text":"DocstringExtractor.TryGetDocumentation (cognitive 18): DocstringExtractor.TryGetDocumentation 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":"YarnSpinner.SourceGenerator/DocstringExtractor.cs"},"region":{"startLine":81}}}],"partialFingerprints":{"codehealthFindingId/v1":"fd8132c47762cd3e46aa360c9ac5782c28bf4d80a014262f77989315a2b338d8"}},{"ruleId":"D2","level":"warning","message":{"text":"RuntimeSyntaxBuilder.BuildSyntax (cognitive 18): RuntimeSyntaxBuilder.BuildSyntax 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":"YarnSpinner.SourceGenerator/RuntimeSyntaxBuilder.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"189c41cf49fae013c50e6d44a2f21a72442234ab04026c0df38b0f4014edcb0b"}},{"ruleId":"D2","level":"warning","message":{"text":"Compiler.GetContentIDTags (cognitive 17): Compiler.GetContentIDTags 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":"YarnSpinner.Compiler/Compiler.cs"},"region":{"startLine":1329}}}],"partialFingerprints":{"codehealthFindingId/v1":"b86e7332a114427920aaf7b42832e1920121ebf89cc12091881021f2946f51e3"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionExtensions.GetDeclaration (cognitive 17): ActionExtensions.GetDeclaration 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":"YarnSpinner.Compiler/Project.cs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"30b8f91b96dae9525becaf39a5368f06cb20fa95f2f2f6ec06e0c1f81d9a7caa"}},{"ruleId":"D2","level":"warning","message":{"text":"LineParser.CleanUpUnmatchedCloses (cognitive 16): LineParser.CleanUpUnmatchedCloses 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":"YarnSpinner/YarnSpinner.Markup/LineParser.cs"},"region":{"startLine":1415}}}],"partialFingerprints":{"codehealthFindingId/v1":"8bd5b1f46877890424b26bfa2bbffaefc49f7262428aac88bbd7c24823f69cb5"}},{"ruleId":"D2","level":"warning","message":{"text":"IndentAwareLexer.HandleNewLineToken (cognitive 16): IndentAwareLexer.HandleNewLineToken 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":"YarnSpinner.Compiler/IndentAwareLexer.cs"},"region":{"startLine":264}}}],"partialFingerprints":{"codehealthFindingId/v1":"1cf2422b194f98d4b4d47d1e07eddd59e4018c23fa7a247dc201bf9ff13b5809"}},{"ruleId":"D2","level":"warning","message":{"text":"ActionExtensions.ParameterFromJSON (cognitive 16): ActionExtensions.ParameterFromJSON 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":"YarnSpinner.Compiler/Project.cs"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"b72cc74ae7960341d9bb0c3cb9f236b1c58e7f4c902a74375047f2a014c82354"}},{"ruleId":"D2","level":"warning","message":{"text":"NodeMetadataVisitor.VisitLine_statement (cognitive 16): NodeMetadataVisitor.VisitLine_statement 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":"YarnSpinner.Compiler/Visitors/NodeMetadataVisitor.cs"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"637ed6ad9035afbed4aad426295595e8360c87f7cc4900e7380058f918400d99"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Compiler.Compile: MethodTooLong \u2014 Compile runs 329 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 229 over it, 3.29\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":"YarnSpinner.Compiler/Compiler.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4911972e2312f0c22750b2ac5db16e80e10bff419fa3bc18c87817c373d254d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: VirtualMachine.RunInstruction: MethodTooLong \u2014 RunInstruction runs 216 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 116 over it, 2.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":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ce0f921ac4d2c64fbaab5f3552fde0983240a36daa9e3375b31b8dded0e2456"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LineParser.BuildMarkupTreeFromTokens: MethodTooLong \u2014 BuildMarkupTreeFromTokens runs 214 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 114 over it, 2.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":"YarnSpinner/YarnSpinner.Markup/LineParser.cs"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"361276d2f0d61cf049313aae39187bd74c8da0324bbf9b32a59ccb827d68ab51"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StandardLibrary.TryGetFunction: MethodTooLong \u2014 TryGetFunction runs 204 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 104 over it, 2.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":"YarnSpinner/StandardLibrary.cs"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"1b39c5757fa636a493674b157136d4dd2d4c708e610b5ead677b0f4a673a4f28"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: StandardLibrary.CallFunc: MethodTooLong \u2014 CallFunc runs 194 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 94 over it, 1.94\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":"YarnSpinner/StandardLibrary.cs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"afe22cfdff5c7dfaa64ac5f5e771de8d24c509c72008c6f27601bd5b715a6169"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: LineParser.LexMarkup: MethodTooLong \u2014 LexMarkup runs 175 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 75 over it, 1.75\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":"YarnSpinner/YarnSpinner.Markup/LineParser.cs"},"region":{"startLine":276}}}],"partialFingerprints":{"codehealthFindingId/v1":"da47fd74302619f6b45b7ff3606be68b5abc847dcfc7a8e708f3db3768d54871"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: TypeCheckerListener: TooManyMethods \u2014 576 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":"YarnSpinner.Compiler/TypeCheckerListener.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c9b4c2a6214ed1e7890db7c24630ba02659f9b9916c675c889bcf50ad27952e"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Validators.TryValidateMethodAsAction: MethodTooLong \u2014 TryValidateMethodAsAction runs 154 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 54 over it, 1.54\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":"YarnSpinner.HostAnalysis/Validators.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"02f64714f508fbc17f79b1e7f38ddd576f37a222f651a19e1f6572d486fa2b74"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: Creators.TryCreateNewParameters: MethodTooLong \u2014 TryCreateNewParameters runs 153 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 53 over it, 1.53\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.HostAnalysis/Creators\u002BParameters.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82e87a05bfe199ff572eebd206018a0c9b276adf0986e7fd987b9feddbff3e5"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: Compiler: ClassTooLong \u2014 590 significant lines (blank, comment-only and punctuation-only lines excluded), 22 methods. The bar is 400 significant lines; this is 190 over it, 1.48\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":"YarnSpinner.Compiler/Compiler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5b6fefd2c11bd943a670bd7d54a13c3497806e60fec266e0d7bfe5e159fc5b1"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: YarnSpinner.Markup/LineParser.cs: FileTooLong \u2014 733 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 233 over it, 1.47\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":"YarnSpinner/YarnSpinner.Markup/LineParser.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9476c267d008dd604e8cf517dd40c2bf1e5615cdc5a726579f0fa2e3ee03eb38"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: LineParser: ClassTooLong \u2014 573 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 173 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":"YarnSpinner/YarnSpinner.Markup/LineParser.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ecfbdf0a34a2b0369090af770a89d4247e81b905a17de2f68233ede700a276d"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: InstructionCollectionExtensions.GetBasicBlocks: MethodTooLong \u2014 GetBasicBlocks runs 136 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 36 over it, 1.36\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Analysis/InstructionCollectionExtensions.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"0cfd406dc98eac9f250a849128cc284ec5043b10a7b74f87af63a775829b7621"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: YarnSpinner.Compiler/Compiler.cs: FileTooLong \u2014 672 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 172 over it, 1.34\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":"YarnSpinner.Compiler/Compiler.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cba28252efd0dcba0a9651950f40a3da0e3717ae54448edd5ec2eb91fa05b0ca"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: CodeGenerationVisitor: TooManyMethods \u2014 573 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":"YarnSpinner.Compiler/Visitors/CodeGenerationVisitor.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"35a20b458180ba2971a96a6e078d5987343d3489765f6139e8d5f3a5f4af3c03"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: YarnSpinner.Compiler/TypeCheckerListener.cs: FileTooLong \u2014 623 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 123 over it, 1.25\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":"YarnSpinner.Compiler/TypeCheckerListener.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"405267d15bf8a29510482eb9e3d1f431abee1fc022fd3e0e539600327012a8d5"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: NodeGroupCompiler.CompileNodeGroup: MethodTooLong \u2014 CompileNodeGroup runs 122 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 22 over it, 1.22\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/NodeGroupCompiler.cs"},"region":{"startLine":54}}}],"partialFingerprints":{"codehealthFindingId/v1":"37db9d598d8ddfefc76d7cd97b9aa1b74d357a5ed32d7c8fd942dbffa04ffc27"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: StandardLibrary: ClassTooLong \u2014 481 significant lines (blank, comment-only and punctuation-only lines excluded), 10 methods. The bar is 400 significant lines; this is 81 over it, 1.20\u00D7 the bar. The type holds no instance state, so there is no shared data to group its members by. To reduce it, split it by area instead: give each cohesive family of members its own smaller type, so no one type has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/StandardLibrary.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74b09f8b80ed485cef6c1f72bd07640c65e449e02db3a499ce0ddc548be2d05"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: Visitors/CodeGenerationVisitor.cs: FileTooLong \u2014 597 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 97 over it, 1.19\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Visitors/CodeGenerationVisitor.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1df9edc9a186890ef6160a08746820a9b38e4d9f57e15235ca4aa0e415dcb65"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: GeneratorExtensions.ToJSON: MethodTooLong \u2014 ToJSON 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":"YarnSpinner.SourceGenerator/GeneratorExtensions.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"026881a73f77870ef4944c3c7d4f7e24d59f3da3b207398e06e3a01a656fbc76"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: YarnSpinner/StandardLibrary.cs: FileTooLong \u2014 507 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 7 over it, 1.01\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/StandardLibrary.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"b074912d96c695ea50b07c6fb82dd6b6ec78cd520492ad61fdc80a11b5dd8e1e"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (77 shared lines): YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs:198-361 | YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs:364-529 \u2014 These two members are variants of one another: 77 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":"YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs"},"region":{"startLine":198}}}],"partialFingerprints":{"codehealthFindingId/v1":"183a80fcab8fc1d5ebcaa7093966407e2876033296c9d3f5b68c38c48fafaf79"}},{"ruleId":"D4","level":"warning","message":{"text":"Near-duplicate member pair (47 shared lines): YarnSpinner.HostAnalysis/Creators.cs:44-133 | YarnSpinner.HostAnalysis/Creators.cs:162-256 \u2014 These two members are variants of one another: 47 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":"YarnSpinner.HostAnalysis/Creators.cs"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbf0ce317ad6c30fcb6444811c1b7dee0ac6f69d88512f56a83277ef0e5b5b90"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): YarnSpinner.Compiler/TypeCheckerListener.cs:633-663 | YarnSpinner.Compiler/TypeCheckerListener.cs:667-683 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/TypeCheckerListener.cs"},"region":{"startLine":633}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6097bf0ff91e43d538cfcc14dd8392d367d682e2f57247d1df12abdd15ae706"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs:64-104 | YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs:116-156 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"bea92365bff53b4fce6816908caaa967c570f61594d798551e0d28193f676ad3"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): YarnSpinner.SourceGenerator/Generator.cs:277-303 | YarnSpinner.SourceGenerator/Generator.cs:305-339 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.SourceGenerator/Generator.cs"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"764d0324b8639e6b0b7ba82667d13845c8ce9f0c3c5ccf14b14fa998ecbb7ffb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (37 corresponding lines): YarnSpinner/Saliency/BestLeastRecentlyViewedSaliencyStrategy.cs:62-98 | YarnSpinner/Saliency/RandomBestLeastRecentlyViewedSaliencyStrategy.cs:64-110 \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":"YarnSpinner/Saliency/BestLeastRecentlyViewedSaliencyStrategy.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"d042d9f3da7b3db646123f45df178ac5e82c8e8e9a033f818d38fb5e21f1cee9"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (27 corresponding lines): YarnSpinner.Compiler/TypeSolver/Constraints/ConjunctionConstraint.cs:56-82 | YarnSpinner.Compiler/TypeSolver/Constraints/DisjunctionConstraint.cs:56-83 \u2014 These two members are one piece of code written twice and then edited apart: 27 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/TypeSolver/Constraints/ConjunctionConstraint.cs"},"region":{"startLine":56}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea5561ec18e446472add2f1a3b50dcb726fe64122157adfe16957fd9cfda862c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs:159-177 | YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs:179-195 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"25fdcb9f5c6a923f5db147e1de8aebc58eea5dfeb4699b07e6b24b026204b62d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (25 corresponding lines): YarnSpinner.Compiler/ErrorListener.cs:765-805 | YarnSpinner.Compiler/ErrorListener.cs:807-831 \u2014 These two members are one piece of code written twice and then edited apart: 25 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/ErrorListener.cs"},"region":{"startLine":765}}}],"partialFingerprints":{"codehealthFindingId/v1":"82d0a27e42e73ed00491515164f8c15bdbeef9d2e889772b4b7a4ee348e7b1a1"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): YarnSpinner.Compiler/TypeSolver/Constraints/TypeHasMemberConstraint.cs:37-57 | YarnSpinner.Compiler/TypeSolver/Constraints/TypeHasNameConstraint.cs:40-52 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/TypeSolver/Constraints/TypeHasMemberConstraint.cs"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"59191e8f69d8cbb574c988f93655000e602b3ac650fd4d17db199f6303158fda"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): YarnSpinner.Compiler/TypeCheckerListener.cs:936-945 | YarnSpinner.Compiler/TypeCheckerListener.cs:1059-1072 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/TypeCheckerListener.cs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"0776b547929f18785882162eae014b825a50be96b2bcf86f2fd4bdc7dfc9ddfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (24 corresponding lines): YarnSpinner.Compiler/Visitors/NodeMetadataVisitor.cs:103-126 | YarnSpinner.Compiler/Visitors/NodeMetadataVisitor.cs:129-152 \u2014 These two members are one piece of code written twice and then edited apart: 24 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Visitors/NodeMetadataVisitor.cs"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"f163572af0b7488ba10385deb6c7953560eda652e4b64cd5680f97d2c60b0a32"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 9\u002B corresponding lines): YarnSpinner.Compiler/TypeCheckerListener.cs:744-754 | YarnSpinner.Compiler/TypeCheckerListener.cs:758-766 | YarnSpinner.Compiler/TypeCheckerListener.cs:791-800 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 9 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/TypeCheckerListener.cs"},"region":{"startLine":744}}}],"partialFingerprints":{"codehealthFindingId/v1":"2195a66f4c2560ed41d789b1d63cf6537f6095710562a674f73c6532d4c37b41"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): YarnSpinner/YarnSpinner.Markup/LineParser.cs:946-958 | YarnSpinner/YarnSpinner.Markup/LineParser.cs:959-970 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/YarnSpinner.Markup/LineParser.cs"},"region":{"startLine":946}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ac2cfd5dcf9b413666244444cf4ccb902c62c098ca009773f1b68c320c750c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): YarnSpinner.Compiler/Visitors/NodeMetadataVisitor.cs:206-221 | YarnSpinner.Compiler/Visitors/NodeMetadataVisitor.cs:224-236 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Visitors/NodeMetadataVisitor.cs"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"d478b119c966638aff5fe52976203ab717090288218c587e38c05c10b29fe096"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (33 corresponding lines): YarnSpinner.Shared/Parameters/ConverterParameter.cs:15-47 | YarnSpinner.Shared/Parameters/ConverterParameter.cs:51-83 \u2014 These two members are one piece of code written twice and then edited apart: 33 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Shared/Parameters/ConverterParameter.cs"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b4f4ee2e7f98d11bfc5f9a009ea2950eeeb5b5e43406bab1c4ff216ef54ebd55"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 10\u002B corresponding lines): YarnSpinner.Compiler/TypeCheckerListener.cs:296-306 | YarnSpinner.Compiler/TypeCheckerListener.cs:309-318 | YarnSpinner.Compiler/TypeCheckerListener.cs:321-330 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 10 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/TypeCheckerListener.cs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"4399e9c8e48ca9e50744521f2dd2ae2d6588ba4a8d34b08b7fd2785ef7c9cb35"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): YarnSpinner.Compiler/TypeSolver/Constraints/FalseConstraint.cs:20-26 | YarnSpinner.Compiler/TypeSolver/Constraints/TrueConstraint.cs:17-23 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/TypeSolver/Constraints/FalseConstraint.cs"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"9d34281d08af54a6199451b64118b7fff0a1c5e4c61770d9717ec854eb358f77"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): YarnSpinner.Compiler/FileCompiler.cs:88-93 | YarnSpinner.Compiler/NodeGroupCompiler.cs:347-352 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/FileCompiler.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"e28082c4ab7aaae7e82df1a9a4ab18a0cb765aff0d863d6c9e5d52220d29cfcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): YarnSpinner/Dialogue.cs:901-925 | YarnSpinner/Program.cs:550-559 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/Dialogue.cs"},"region":{"startLine":901}}}],"partialFingerprints":{"codehealthFindingId/v1":"64fa38c3c406230fe565b065ff8864400cf02849edcda4795c335deb0ea32078"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (46\u201347 lines \u00D7 2): YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs:250-296 | YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs:422-467 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs:250\u0060 it runs out through the closing brace of the declaration holding it and carries on into the declaration that follows \u2014 the window is the tail of one member plus the head of the next, so no call can be substituted for those exact lines, and the smallest declaration that contains all of them is the type they sit in. The repeated unit is the member each site sits in: where those members\u0027 bodies are the same, move one whole member to the shared location and have the others delegate to it; where the copies are a run of near-identical overloads or wrappers that differ only in their signatures, the repetition IS the run \u2014 a one-line delegation has no helper inside it to lift \u2014 so generate the run from the set it enumerates, or accept it and keep each member\u0027s own documentation with it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs"},"region":{"startLine":250}}}],"partialFingerprints":{"codehealthFindingId/v1":"52fb2334b1ec0c0ecc630797424e290904c03554da4f5f2267767e6cb248ae81"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (24\u201328 lines \u00D7 2): YarnSpinner.HostAnalysis/Validators.cs:92-115 | YarnSpinner.HostAnalysis/Validators.cs:190-217 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060YarnSpinner.HostAnalysis/Validators.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. 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":"YarnSpinner.HostAnalysis/Validators.cs"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"427b2f0506ea274ee5490b208ab6cbffe3ed040986f86e9290b84447cb1b91c5"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): YarnSpinner.HostAnalysis/Creators.cs:60-79 | YarnSpinner.HostAnalysis/Creators.cs:181-200 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060YarnSpinner.HostAnalysis/Creators.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 \u0060method\u0060 to \u0060Validators.ActionValidation validation) ValidActionFromMethodSymbol(IMethodSymbol\u0060 in one and \u0060IMethodSymbol\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":"YarnSpinner.HostAnalysis/Creators.cs"},"region":{"startLine":60}}}],"partialFingerprints":{"codehealthFindingId/v1":"c990f95fb2c07e62a3180f739ad207a4c2b56bf476729c3bbef112e71a9aa890"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (21\u201322 lines \u00D7 2): YarnSpinner.SourceGenerator/Generator.cs:62-82 | YarnSpinner.SourceGenerator/Generator.cs:95-116 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060YarnSpinner.SourceGenerator/Generator.cs:62\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":"YarnSpinner.SourceGenerator/Generator.cs"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"e9dc7e34af9938b5b731bbbd19e8a7175165433e92ce55eed159a0ec3b33b11d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): YarnSpinner/YarnSpinner.Markup/MarkupParseResult.cs:472-491 | YarnSpinner/YarnSpinner.Markup/MarkupParseResult.cs:831-850 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. 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":"YarnSpinner/YarnSpinner.Markup/MarkupParseResult.cs"},"region":{"startLine":472}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2898f95ca363992cd2ba9d811aa5dfeebfa0fd370a223ce95bcb4e3a335115c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): YarnSpinner.HostAnalysis/Creators.cs:110-124 | YarnSpinner.HostAnalysis/Creators.cs:233-247 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060YarnSpinner.HostAnalysis/Creators.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. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060method\u0060 to \u0060Validators.ActionValidation validation) ValidActionFromMethodSymbol(IMethodSymbol\u0060 in one and \u0060IMethodSymbol\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":"YarnSpinner.HostAnalysis/Creators.cs"},"region":{"startLine":110}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5ef271a77691bad0b43e26cb30cd03dddaadd2772c8aae58cb950033e004a19"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (18 lines \u00D7 2): YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs:338-355 | YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs:505-522 \u2014 both copies are in the same file, so extract the block 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":"YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs"},"region":{"startLine":338}}}],"partialFingerprints":{"codehealthFindingId/v1":"4aa5feb47b443629e5b66b95ed50751d37be480bccf9a0525e08d53cefd30b8b"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2): YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs:65-79 | YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs:117-131 \u2014 both copies are in the same file, so extract the block 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":"YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"f61343df10552daa32760f76183bbaf3000e60bb1b15173b0c6de4db2bde1531"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9\u201316 lines \u00D7 2): YarnSpinner.Compiler/TypeSolver/Constraints/TypeHasMemberConstraint.cs:42-57 | YarnSpinner.Compiler/TypeSolver/Constraints/TypeHasNameConstraint.cs:44-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 \u0060YarnSpinner.Compiler/TypeSolver/Constraints/TypeHasMemberConstraint.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/TypeSolver/Constraints/TypeHasMemberConstraint.cs"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"762f7120108c0fd722ffce72e2fa31e779cc34efaa73cc98f04d59c5d46b4c5c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): YarnSpinner.HostAnalysis/Validators.cs:125-137 | YarnSpinner.HostAnalysis/Validators.cs:177-189 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060YarnSpinner.HostAnalysis/Validators.cs:125\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":"YarnSpinner.HostAnalysis/Validators.cs"},"region":{"startLine":125}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6a726f6a64752e502df6c09f0e335dc42c3d499b040f0163fc7f69613f0da89"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs:203-215 | YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs:372-384 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs:203\u0060 it does not close everything it opens, so those exact 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":"YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"468d569cbbbd8e6022517da2c020a61d49202f34c219488f17d17c32902890d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16 lines \u00D7 2): YarnSpinner.SourceGenerator/Generator.cs:66-81 | YarnSpinner.SourceGenerator/Generator.cs:169-185 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060YarnSpinner.SourceGenerator/Generator.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."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.SourceGenerator/Generator.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"095495abecdfd67f0fe9ef4d2cf4d0d61d961089ac1f662cefbd9c68a1899ef6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2): YarnSpinner.HostAnalysis/Creators.cs:95-106 | YarnSpinner.HostAnalysis/Creators.cs:213-224 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060YarnSpinner.HostAnalysis/Creators.cs:95\u0060 it does not close everything it opens, so those exact 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 \u0060method\u0060 to \u0060Validators.ActionValidation validation) ValidActionFromMethodSymbol(IMethodSymbol\u0060 in one and \u0060IMethodSymbol\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":"YarnSpinner.HostAnalysis/Creators.cs"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"04b088d12810b198f160af0a94c1230bc5fd4b743d0dd5694e1489df8ea1eca6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201314 lines \u00D7 2): YarnSpinner.Compiler/TypeCheckerListener.cs:687-699 | YarnSpinner.Compiler/TypeCheckerListener.cs:703-716 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Note first that the copies are not typed on the same thing: the declarations holding them bind \u0060context\u0060 to \u0060YarnSpinnerParser.ExpComparisonContext\u0060 in one and \u0060YarnSpinnerParser.ExpEqualityContext\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":"YarnSpinner.Compiler/TypeCheckerListener.cs"},"region":{"startLine":687}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5e2947f8d9b51fff9ea00d74e51cc009c202bf6db8b170945dcf88702d07820"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): YarnSpinner/YarnSpinner.Markup/LineParser.cs:1289-1296 | YarnSpinner/YarnSpinner.Markup/LineParser.cs:1301-1308 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060YarnSpinner/YarnSpinner.Markup/LineParser.cs:1289\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":"YarnSpinner/YarnSpinner.Markup/LineParser.cs"},"region":{"startLine":1289}}}],"partialFingerprints":{"codehealthFindingId/v1":"eebb05092783ac34431d6a5e5dfd41bdfd0b7d4f21ca8f8693515774153a215e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): YarnSpinner/StandardLibrary.cs:733-741 | YarnSpinner/StandardLibrary.cs:744-752 \u2014 both copies are in the same file, so extract the block 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":"YarnSpinner/StandardLibrary.cs"},"region":{"startLine":733}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dec23ed548f586d9fa8d43e5646f1dde56f294b3f196ce28028d372d6cede70"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 3): YarnSpinner.Compiler/Compiler.cs:130-136 | YarnSpinner.Compiler/Compiler.cs:956-962 | YarnSpinner.Compiler/Compiler.cs:1118-1124 \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":"YarnSpinner.Compiler/Compiler.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ed3a3108eda34240031ea44de24ef8e94d01f05466f81299acdb4207136b3c7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): YarnSpinner.SourceGenerator/DocstringExtractor.cs:117-123 | YarnSpinner.SourceGenerator/DocstringExtractor.cs:131-138 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060YarnSpinner.SourceGenerator/DocstringExtractor.cs:117\u0060 it does not close everything it opens, so those exact 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":"YarnSpinner.SourceGenerator/DocstringExtractor.cs"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"19dae4601a15b1df9018590707031d1a9c4bea1ab40efc5b96003e05feccc50f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): YarnSpinner.Compiler/TypeCheckerListener.cs:936-941 | YarnSpinner.Compiler/TypeCheckerListener.cs:949-954 | YarnSpinner.Compiler/TypeCheckerListener.cs:1013-1020 \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 \u0060YarnSpinner.Compiler/TypeCheckerListener.cs:936\u0060 it does not close everything it opens, so those exact 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 \u0060context\u0060 to \u0060YarnSpinnerParser.LineConditionContext\u0060 in one and \u0060YarnSpinnerParser.LineOnceConditionContext\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":"YarnSpinner.Compiler/TypeCheckerListener.cs"},"region":{"startLine":936}}}],"partialFingerprints":{"codehealthFindingId/v1":"9da121f99cfe94a0dc3560c4d8bcbe385924091274b6b0eb495783d518ce3cef"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): YarnSpinner.Compiler/TypeCheckerListener.cs:659-663 | YarnSpinner.Compiler/TypeCheckerListener.cs:679-683 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060YarnSpinner.Compiler/TypeCheckerListener.cs:659\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 \u0060context\u0060 to \u0060YarnSpinnerParser.ExpAddSubContext\u0060 in one and \u0060YarnSpinnerParser.ExpMultDivModContext\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":"YarnSpinner.Compiler/TypeCheckerListener.cs"},"region":{"startLine":659}}}],"partialFingerprints":{"codehealthFindingId/v1":"99dec2ac2a2ad94b38228f6ff4e66ae27c5aee4586e2e4ce3fcaa45db9839661"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): YarnSpinner/Saliency/BestLeastRecentlyViewedSaliencyStrategy.cs:46-58 | YarnSpinner/Saliency/RandomBestLeastRecentlyViewedSaliencyStrategy.cs:48-60 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"YarnSpinner/Saliency/BestLeastRecentlyViewedSaliencyStrategy.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba166c090b3311c7c7f7193a23ccdd3e79b6bd1a89e836699be3d2ca2b2c81bd"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): YarnSpinner/StandardLibrary.cs:942-950 | YarnSpinner/Types/EnumType.cs:126-134 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/StandardLibrary.cs"},"region":{"startLine":942}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1e5368f28366d788db304b090a71db9c2d0424aea6e54e2de732871e871baf7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): YarnSpinner.Compiler/FileCompiler.cs:89-93 | YarnSpinner.Compiler/NodeGroupCompiler.cs:348-352 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Each matched range is the entire body of the declaration above it, so the region is already a complete unit: move that whole declaration to the shared location and have each site call it, rather than lifting the lines out of their bodies. Any \u0060return\u0060 inside it is the body\u0027s own exit and keeps its meaning in the moved unit."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/FileCompiler.cs"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50e4ffe01bba779d654be093193eee5e3a89fcb79637e8d4ee50624bf0b109c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): YarnSpinner.Compiler/TypeSolver/Constraints/FalseConstraint.cs:21-26 | YarnSpinner.Compiler/TypeSolver/Constraints/TrueConstraint.cs:18-23 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. 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":"YarnSpinner.Compiler/TypeSolver/Constraints/FalseConstraint.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d6203cd98330d43b2cfa19a95403327c48ceed910774cb67eadc8b509dc0a4e7"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated: coverlet.collector: coverlet.collector 1.0.1 \u2192 10.1.1 available (referenced by YarnSpinner.Tests)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/YarnSpinner.Tests.csproj"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e62bd09ec7eba09dccb1fea54dcd5485c28bd1534ce7725051362f5cc32abbb"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated: coverlet.msbuild: coverlet.msbuild 3.1.0 \u2192 10.1.1 available (referenced by YarnSpinner.Tests)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/YarnSpinner.Tests.csproj"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"5236117776351e51f4fa099e11cd5691f0c164032069bc33046231657d299098"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated: CsvHelper: CsvHelper 12.2.2 \u2192 34.0.0 available (referenced by YarnSpinner.Compiler)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/YarnSpinner.Compiler.csproj"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"324f63dd55db72c58591d16c064dfe6a84949f145e848a41b6ed40ae3898c08a"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated: Microsoft.Extensions.FileSystemGlobbing: Microsoft.Extensions.FileSystemGlobbing 8.0.0 \u2192 11.0.0 available (referenced by YarnSpinner.Compiler)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/YarnSpinner.Compiler.csproj"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcaad3d23d29cc5d8561aacc4bd087a82e3412396353de3fd3d3842d95a87601"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated: System.Text.Json: System.Text.Json 8.0.5 \u2192 11.0.0 available (referenced by YarnSpinner.Compiler)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/YarnSpinner.Compiler.csproj"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd82dda7f3edf32dd016a072e5f5fc417a9a21a35cbaf4211b48190cd83a100"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: xunit: xunit 2.4.1 \u2014 Legacy \u2014 the publisher\u0027s replacement is \u0060xunit.v3\u0060; that is the next major line under a new package id, so the move is a breaking rename rather than a version bump \u2014 budget for API changes in the code that uses it, not only the reference swap."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/YarnSpinner.Tests.csproj"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37c8c0e8046c9e8358e976373216abfb78e9fdef63ed53d3edcaa7d2238edcd"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: YarnSpinner.Compiler/Compiler.cs: YarnSpinner.Compiler/Compiler.cs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 84 in Compiler.Compile at line 52. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 11:29:51 \u002B11:00\u0027 --until=\u00272026-11-16 11:29:51 \u002B11:00\u0027 --full-history --no-merges -- YarnSpinner.Compiler/Compiler.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":"YarnSpinner.Compiler/Compiler.cs"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"7bec1b99d17c824c2f1eff9ff91c018f534be56b772f7558d846b2ae4a4978ce"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: YarnSpinner/StandardLibrary.cs: YarnSpinner/StandardLibrary.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 91 in StandardLibrary.CallFunc at line 511. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 11:29:51 \u002B11:00\u0027 --until=\u00272026-11-16 11:29:51 \u002B11:00\u0027 --full-history --no-merges -- YarnSpinner/StandardLibrary.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":"YarnSpinner/StandardLibrary.cs"},"region":{"startLine":511}}}],"partialFingerprints":{"codehealthFindingId/v1":"bfa91bd10d4e5b218eb556e1af8457cb3390fe4c6adceb43ef0e509121c84107"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: YarnSpinner.HostAnalysis/Creators\u002BParameters.cs: YarnSpinner.HostAnalysis/Creators\u002BParameters.cs changed 5 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in Creators.TryCreateNewParameters at line 28. 1 of those changes was a fix/bug commit, and the other 4 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 11:29:51 \u002B11:00\u0027 --until=\u00272026-11-16 11:29:51 \u002B11:00\u0027 --full-history --no-merges -- YarnSpinner.HostAnalysis/Creators\u002BParameters.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":"YarnSpinner.HostAnalysis/Creators\u002BParameters.cs"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6d099383bd13d4b75fb766f1a380c1189e217691024c424ee70a73ac05be8832"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: YarnSpinner.HostAnalysis/Validators.cs: YarnSpinner.HostAnalysis/Validators.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 62 in Validators.TryValidateMethodAsAction at line 32. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 11:29:51 \u002B11:00\u0027 --until=\u00272026-11-16 11:29:51 \u002B11:00\u0027 --full-history --no-merges -- YarnSpinner.HostAnalysis/Validators.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":"YarnSpinner.HostAnalysis/Validators.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"65cc68980820b9f917e355618eee047664cb23c3d66ef0180906c03907597ca6"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: YarnSpinner/VirtualMachine.cs: YarnSpinner/VirtualMachine.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 60 in VirtualMachine.RunInstruction at line 514. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 11:29:51 \u002B11:00\u0027 --until=\u00272026-11-16 11:29:51 \u002B11:00\u0027 --full-history --no-merges -- YarnSpinner/VirtualMachine.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":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":514}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e30325b6f5d1cbb370d94ce383079b83cd628aefd7509839dd452c3ae7f8130"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: YarnSpinner.SourceGenerator/GeneratorExtensions.cs: YarnSpinner.SourceGenerator/GeneratorExtensions.cs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in GeneratorExtensions.ToJSON at line 71. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 11:29:51 \u002B11:00\u0027 --until=\u00272026-11-16 11:29:51 \u002B11:00\u0027 --full-history --no-merges -- YarnSpinner.SourceGenerator/GeneratorExtensions.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":"YarnSpinner.SourceGenerator/GeneratorExtensions.cs"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c9d0f4ec02bca564f175389bbf244708ccda10c6e5060c6bc7f1ac0d8bd9447"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: YarnSpinner/YarnSpinner.Markup/LineParser.cs: YarnSpinner/YarnSpinner.Markup/LineParser.cs changed 4 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 55 in LineParser.BuildMarkupTreeFromTokens at line 923. 1 of those changes was a fix/bug commit, and the other 3 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 11:29:51 \u002B11:00\u0027 --until=\u00272026-11-16 11:29:51 \u002B11:00\u0027 --full-history --no-merges -- YarnSpinner/YarnSpinner.Markup/LineParser.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":"YarnSpinner/YarnSpinner.Markup/LineParser.cs"},"region":{"startLine":923}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ce0abdaf4e5aab2416cad0d2a8d423de98ac9766c3b7abd50dc31ec1c96f6a1"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: YarnSpinner.SourceGenerator/Analyser.cs: YarnSpinner.SourceGenerator/Analyser.cs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 30 in NestedAnalyser.AnalyseActionsByInvoke at line 342. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 11:29:51 \u002B11:00\u0027 --until=\u00272026-11-16 11:29:51 \u002B11:00\u0027 --full-history --no-merges -- YarnSpinner.SourceGenerator/Analyser.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":"YarnSpinner.SourceGenerator/Analyser.cs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"d541c772f5539298cfdabed8df9b9478642aea67fabda45cd7754ab21bb33a03"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: YarnSpinner.Compiler/Project.cs: YarnSpinner.Compiler/Project.cs changed 9 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 21 in Definitions.Definitions.ctor at line 669. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 11:29:51 \u002B11:00\u0027 --until=\u00272026-11-16 11:29:51 \u002B11:00\u0027 --full-history --no-merges -- YarnSpinner.Compiler/Project.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":"YarnSpinner.Compiler/Project.cs"},"region":{"startLine":669}}}],"partialFingerprints":{"codehealthFindingId/v1":"67581a1cfb8bff7c37ae03fcfc420fe3c210583aee9b3664207c3aee374cbcbb"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs: YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs changed 7 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in CompileTimeSyntaxBuilder.BuildCommandInvoker at line 363. 2 of those changes were fix/bug commits, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 11:29:51 \u002B11:00\u0027 --until=\u00272026-11-16 11:29:51 \u002B11:00\u0027 --full-history --no-merges -- YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.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":"YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"72de182da67cb35cd6a3baa77f51132a502f3cf174cb5bdba5ab62c092df74c2"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: YarnSpinner.HostAnalysis/Creators.cs: YarnSpinner.HostAnalysis/Creators.cs changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 17 in Creators.ActionFromMethodSymbol at line 161. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-18..2026-11-16, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-18 11:29:51 \u002B11:00\u0027 --until=\u00272026-11-16 11:29:51 \u002B11:00\u0027 --full-history --no-merges -- YarnSpinner.HostAnalysis/Creators.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":"YarnSpinner.HostAnalysis/Creators.cs"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"f765f0e859d32519ca4d37bb5ce9397155a1fbd1a6dd0a2ccb67ba8cd0131958"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 16 significant file(s) lose their only recent owner: YarnSpinner.Shared/Action.cs, YarnSpinner.SourceGenerator/CompileTimeSyntaxBuilder.cs, YarnSpinner.SourceGenerator/Generator.cs, YarnSpinner.HostAnalysis/Validators.cs, YarnSpinner.HostAnalysis/Creators\u002BParameters.cs, YarnSpinner.HostAnalysis/ActionDiagnostics.cs, YarnSpinner.HostAnalysis/Creators.cs, YarnSpinner.SourceGenerator/DocstringExtractor.cs (\u002B8 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"78f4e9ee179759450c4fd3956c28b7b941d6915ce6409b02be9cf7462142fbbc"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 7 significant file(s) lose their only recent owner: YarnSpinner.Compiler/Declaration.cs, YarnSpinner.Compiler/NodeGroupCompiler.cs, YarnSpinner.Compiler/Visitors/UserDefinedTypesListener.cs, YarnSpinner.Diagnostics/Generator.cs, YarnSpinner.Compiler/Builders/EnumTypeBuilder.cs, YarnSpinner.Compiler/TypeSolver/Constraints/TypeConstraint.cs, YarnSpinner.Compiler/Visitors/NodeTrackingVisitor.cs. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1a5552396f5a40c9fe59e198f8ce2554098d57529000a5456c3989648b68b66f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: we should have some sort of way to create diagnostics that aren\u0027t attached to a location in a file \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Compiler.cs"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b3acfd7d774675eb6e330406e8ac7ed309475e9f3bca583563dedc3dcbc76b6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: change how markup presents it\u0027s diagnostics so we can get more useful diagnostics \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Compiler.cs"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b7142f45b6f32fbb2b23af81e7cd3366fc65b687c28c69e7df8c485f4c3ea4e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe fail instead of silently dropping this? if the \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/ErrorListener.cs"},"region":{"startLine":132}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6d4b42a4178d928f51a53f11bef11c81fc945042c8e68f22e8a41d484ca1b04"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: come up with a better system \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/IndentAwareLexer.cs"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6ee1c1517feec761686b2a9a9c73aff3088dc8e035e25f64e422b2ec43ee83f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: this should be empty by now actually... \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/IndentAwareLexer.cs"},"region":{"startLine":234}}}],"partialFingerprints":{"codehealthFindingId/v1":"813b275758811cb83b34a10feed7438bb7229523454ae50503dda584f782f1c0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: see above comment \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/IndentAwareLexer.cs"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1cedf3e92cd5143c2248de32f21a3ba592c4614c576f942f3abf3dc95e40581"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: see above comment \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/IndentAwareLexer.cs"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"dbacf25b5a63fd14965f203de25c7677558fed9808d4ebe73765174e50f464ea"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: see above comment \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/IndentAwareLexer.cs"},"region":{"startLine":314}}}],"partialFingerprints":{"codehealthFindingId/v1":"0ad138c1f71e3551a92d2846c581bdf7c0bf4b32db451b573081e524530db289"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: see above comment \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/IndentAwareLexer.cs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"7591be502361f06f35dddeed178c5252ffa4bfecb1753d1fb774cd1141b14a39"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 12 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/LineTaggers/DescriptiveLineTagGenerator.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d184cef102ccf401722212bd0bad0ff093e2a64902ab6c62aac3e121c050d7b"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS8602 \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":"YarnSpinner.Compiler/LineTaggers/DescriptiveLineTagGenerator.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"75c2bdc7b38c5d842c661c1d375de381bea5da963f6006fc6e486632edb33613"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: maybe the \u0027real\u0027 type names should be lowercased too? Rather \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/TypeCheckerListener.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"86adf5f9fb2081869f5c8f5c4f40ac6bdf9a0259b296d1c167cc054fcdc26782"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Random Random \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":"YarnSpinner.Compiler/Utility.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"615f3da001ad3f67adef4e45c25c9c0f74f8a9132cf6fe11c26ab2adf6fc9651"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: look into replacing this as it seems a bit odd \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Visitors/CodeGenerationVisitor.cs"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b086424ed43c317721db4cb395abb40241b7deb632f354ffb5eef93c114e9fbc"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: figure out a better way to do operators \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Visitors/CodeGenerationVisitor.cs"},"region":{"startLine":1336}}}],"partialFingerprints":{"codehealthFindingId/v1":"76d29bdee3d747c6c6e562ddf0d26ed1248b7ecd5679da51d4cc948cf641efd6"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: receive locale code from invoker instead of hard-coding \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Visitors/NodeMetadataVisitor.cs"},"region":{"startLine":292}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecfa6be5e1b8e023db76a03a0556d0630f656939f2e23ea0e6a571dcc7150c69"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private Dictionary\u003Cint, int\u003E indentToMinSeenSince \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":"YarnSpinner.Compiler/Visitors/NodeMetadataVisitor.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e8271ca5c0e31a0c41f21a0bebd6cc53bf2cf45c883583e80ca1a2b0fd5e7ff"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private int lastLineNumber \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":"YarnSpinner.Compiler/Visitors/NodeMetadataVisitor.cs"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad500b815932af4ff916af7deffc2c9c8d43410649d67650447a43557adfcf9"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 9 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Visitors/PreviewFeatureVisitor.cs"},"region":{"startLine":83}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf13fadc817ac5cfe153028ee805ff6f0f9607e6737fbed4742bd52f97a1c399"}},{"ruleId":"D17","level":"error","message":{"text":"WriteOnlyPrivateField: private YarnSpinnerParser.NodeContext? currentNodeContext \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":"YarnSpinner.Compiler/Visitors/StringTableGeneratorVisitor.cs"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"62a8a6aad751781b3095479100bc6cceef9ced2a30ab77a657a0383367325d9c"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: report a diagnostic \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Diagnostics/Generator.cs"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"738fb243003a52b36189340a677970b2fb780835aa72260ed54571c7cdfc9574"}},{"ruleId":"D17","level":"warning","message":{"text":"CommentedOutCode: 8 consecutive commented-code lines"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.HostAnalysis/ActionDiagnostics.cs"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"3d6c5e1078fbc154006f524ed558a6f4631ee112cf505b6e211a7b04e770e6d3"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable RS1035 \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":"YarnSpinner.SourceGenerator/Loggers.cs"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"488610465b24e39e61a14e7cf26f4fc1f485908253810a109954ad111ef79b31"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA2007 \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":"YarnSpinner.Tests/BasicFunctionLibrary.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"af9328dad1c405121ccd1cca8a09d47fefe059acceb29d98672abde606098800"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA2007 \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":"YarnSpinner/Dialogue.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e01c89169c1d76c502bfe7c83037aa727bd06ef3bc7548bab410e07d1961911"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: move to LSP \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/ErrorHandlingTests.cs"},"region":{"startLine":761}}}],"partialFingerprints":{"codehealthFindingId/v1":"e55749e00d960706b4dd255ed6e9473c1b205bd9a3a5abccc31ab661296adb25"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: This should also test cases where the duplicate line is in \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/ErrorHandlingTests.cs"},"region":{"startLine":853}}}],"partialFingerprints":{"codehealthFindingId/v1":"80fbb5e65634797c38ab54779f1c37b087c953c7696713c1bee8347835b2b6b3"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CS0618 \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":"YarnSpinner.Tests/ProjectFileTests.cs"},"region":{"startLine":120}}}],"partialFingerprints":{"codehealthFindingId/v1":"7963fbe5810254047846c96921d10077a11965d8a274b123d544998920276cdb"}},{"ruleId":"D17","level":"error","message":{"text":"DiscardedPureResult: result.Diagnostics.Should().ContainSingle().Which.Message.Contains(\u0022if statement\u0027s expression must be a Boolean, not a String\u0022); \u2014 strings are immutable, so this call cannot change the text it was called on: it computes a new string and the statement throws it away, leaving the original exactly as it was. The line reads as the transformation it names, and the value that comes out of this method later is the untransformed one. Assign the result \u2014 to the same variable, or to the field or property the transformed text was meant to reach \u2014 or, if the call really was pointless, delete the line rather than leaving something that looks like it works."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/TypeTests.cs"},"region":{"startLine":740}}}],"partialFingerprints":{"codehealthFindingId/v1":"d483f7f47a2c1ded051a69df0cc4188c99d2262e0673131331f8d42d1586a557"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: skip this test instead of passing \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/UpgraderTests.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"67e64ab62f4b837220db6ce0f03cedbbe36b76566575738b8f8dbd01bacb8f3e"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1307 \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":"YarnSpinner/CRC32.cs"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"270c379c1ea09c75d6e5b34ee2ad8ce44488b27c8da008de5be624706549c422"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1815 \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":"YarnSpinner/Dialogue.cs"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"c595f5bbee5ead6f9a4895d1e3447d83d2d6e680a85f5d79f8f2d036d1860ce1"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1815 \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":"YarnSpinner/Dialogue.cs"},"region":{"startLine":76}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d9046ecc8836023d89ba6660f3da0034983501467489c0b16586d45880f835a"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1815 \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":"YarnSpinner/Dialogue.cs"},"region":{"startLine":156}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8069b70a653ba2936475ef50b51a97d8f7a2c13ffe34aa8c30defd8d4428f69"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1815 \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":"YarnSpinner/YarnSpinner.Markup/IAttributeMarkerProcessor.cs"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"306a5e119fd9c9f027cb2dad73d2c3cf9ec798bf1563d1ce0fd3db2b7f57e6fd"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1815 \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":"YarnSpinner/YarnSpinner.Markup/MarkupParseResult.cs"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c38dcbb6ec608d2f6faa2a445d24f9700557f20912d50d4f5900cf9649bc1e18"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1815 \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":"YarnSpinner/YarnSpinner.Markup/MarkupParseResult.cs"},"region":{"startLine":296}}}],"partialFingerprints":{"codehealthFindingId/v1":"4cb5a78dda2c74af77e13e1318401f126208b840e62a8aa7e722df54f9249859"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1815 \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":"YarnSpinner/YarnSpinner.Markup/MarkupParseResult.cs"},"region":{"startLine":591}}}],"partialFingerprints":{"codehealthFindingId/v1":"745e03e9c798ca7a97fd264bbbd54a60e76e2ecb579f26a88f21b57ebabcc8bf"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1815 \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":"YarnSpinner/YarnSpinner.Markup/MarkupParseResult.cs"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"d11502de097b8a35789bb88bae84047e6af78bc5eef40ec86a0d8e84523f9b1d"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1716 \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":"YarnSpinner/Dialogue.cs"},"region":{"startLine":84}}}],"partialFingerprints":{"codehealthFindingId/v1":"141c27c70d6902221d9f617fd8c4ad0ffc9f15d82ea9f6a915af1fb9e3f37dfa"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // the list (TODO: maybe this list could be reused to save \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/Program.cs"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"e95e17d04073a9655292788a6723d00995a2c69d594293c54f4a6c2a047b351f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Come up with a better way for multiple types to share \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/StandardLibrary.cs"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6fc8c09f5486b75def336c2b2be432523e2e4af190d4b9257cdfb285b46c1ba"}},{"ruleId":"D17","level":"error","message":{"text":"FileScopedPragmaDisable: #pragma warning disable CA2007 \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":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":4}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a0f812b3eb165d3ee389201839d2b5a302fd62cf3e4dbf7db97e93e218bba6"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1051 \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":"YarnSpinner/YarnSpinner.Markup/IAttributeMarkerProcessor.cs"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"aad2e8b482cedd63380799b6c07c23cd93650e30146a600e853211665328f754"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1711 \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":"YarnSpinner/YarnSpinner.Markup/MarkupParseResult.cs"},"region":{"startLine":295}}}],"partialFingerprints":{"codehealthFindingId/v1":"7da3489549bcff0c5f4e02f6939d000691e67d21bd1019e51c3e118477306411"}},{"ruleId":"D17","level":"warning","message":{"text":"BarePragmaDisable: #pragma warning disable CA1720 \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":"YarnSpinner/YarnSpinner.Markup/MarkupValueType.cs"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e4a40a278ba4c01c8a75e1f17f091b4de92e009fefbb381ade3aaf2a73bd106a"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: 3021 \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":"YarnSpinner.Compiler/YarnSpinner.Compiler.csproj"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"a669864546bc24797ab8e844c06d1ec4d3612b7f0b4d8eb9d9c732ef43557c4a"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: RS2008 \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":"YarnSpinner.HostAnalysis/YarnSpinner.HostAnalysis.csproj"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"9377a177d9ec91c6028f98c827e927abb4f3e90b5d64ef633acc8ba8722c9274"}},{"ruleId":"D17","level":"error","message":{"text":"NoWarnInCsproj: RS2008 \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":"YarnSpinner.SourceGenerator/Analyser.csproj"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"0d50c9c550694b2f5261d9a6c23ef408df3c4238516fb7134d0eef5a4f2acbd5"}},{"ruleId":"D17","level":"error","message":{"text":"AnalyzerSeverityNone: CA1805 \u2014 this rule is switched off for every file the section matches, in every project under this directory, and the only record that it was ever switched off is this line: nothing at the sites it would have reported says so, so a reader of that code has no reason to look here, and code added years from now inherits the decision silently. Fix what the rule reports and delete the entry, or \u2014 where some sites really are legitimate \u2014 leave the rule on and suppress it at those sites with their reasons, so it keeps protecting the rest of the tree. If the rule is genuinely unwanted here, say why \u2014 on this line after the entry, or in the comment run directly above it: a comment that only repeats the rule\u0027s own title is read as no explanation at all and leaves this row in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".editorconfig"},"region":{"startLine":202}}}],"partialFingerprints":{"codehealthFindingId/v1":"fc34c9169936bfd57f9239e0d6a432a067791f2cbb4b006cb87005780fcb66ac"}},{"ruleId":"D17","level":"error","message":{"text":"AnalyzerSeverityNone: CA1819 \u2014 this rule is switched off for every file the section matches, in every project under this directory, and the only record that it was ever switched off is this line: nothing at the sites it would have reported says so, so a reader of that code has no reason to look here, and code added years from now inherits the decision silently. Fix what the rule reports and delete the entry, or \u2014 where some sites really are legitimate \u2014 leave the rule on and suppress it at those sites with their reasons, so it keeps protecting the rest of the tree. If the rule is genuinely unwanted here, say why \u2014 on this line after the entry, or in the comment run directly above it: a comment that only repeats the rule\u0027s own title is read as no explanation at all and leaves this row in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".editorconfig"},"region":{"startLine":203}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eb61c4f62a9d9ca1567423b1861b35344b2739cf6ded1e681280d4b29565e2e"}},{"ruleId":"D17","level":"error","message":{"text":"AnalyzerSeverityNone: CA1002 \u2014 this rule is switched off for every file the section matches, in every project under this directory, and the only record that it was ever switched off is this line: nothing at the sites it would have reported says so, so a reader of that code has no reason to look here, and code added years from now inherits the decision silently. Fix what the rule reports and delete the entry, or \u2014 where some sites really are legitimate \u2014 leave the rule on and suppress it at those sites with their reasons, so it keeps protecting the rest of the tree. If the rule is genuinely unwanted here, say why \u2014 on this line after the entry, or in the comment run directly above it: a comment that only repeats the rule\u0027s own title is read as no explanation at all and leaves this row in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".editorconfig"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"85fb42106b8690a220e464e0e71a1d0bac7c09b84775ac57c1ade4703c9de20b"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetTagsForNode: Method GetTagsForNode \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including YarnSpinner, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/Program.cs"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"a4a7aa16c665ec94422268ce6ff3466d64e094dd440edc627a78b1bdf63e9c39"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: MethodEqualTo: Method MethodEqualTo \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including YarnSpinner, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/Types/EnumType.cs"},"region":{"startLine":124}}}],"partialFingerprints":{"codehealthFindingId/v1":"f87ca4b1205436315f2df510958d2140808fd9df6d85e866f6a35b035b5991ea"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: Previous: Method Previous \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including YarnSpinner, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/YarnSpinner.Markup/LineParser.cs"},"region":{"startLine":231}}}],"partialFingerprints":{"codehealthFindingId/v1":"76f3eefbd15c130c8dfe0da053e5d42ab65c7c47ff3c920e9ec6dcab86863cc1"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: DeregisterFunction: Method DeregisterFunction \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including YarnSpinner.Tests, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/BasicFunctionLibrary.cs"},"region":{"startLine":352}}}],"partialFingerprints":{"codehealthFindingId/v1":"d38de84aff02e7a70a1bbf70407810043e471d8d4783cec0b3faacd1f7c3dd93"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetOffset: Method GetOffset \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including YarnSpinner.Tests, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/LanguageTests.cs"},"region":{"startLine":1127}}}],"partialFingerprints":{"codehealthFindingId/v1":"c7e480c24158c32c4f424907b1b02dab5598345fd01dd60805a4a344b40f7d0c"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: Reset: Method Reset \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including YarnSpinner.Tests, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/TestBase.cs"},"region":{"startLine":590}}}],"partialFingerprints":{"codehealthFindingId/v1":"112a851e832ad0cd7e76ef2996195e1d3924e341dd25a1625efa141b71c094b9"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AddOption: Method AddOption \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including YarnSpinner.Tests, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/TestPlan.cs"},"region":{"startLine":335}}}],"partialFingerprints":{"codehealthFindingId/v1":"a03af99ed60aabab836e30344a2262e5d8ae7242d9cb15a4fec81554b9d88eb6"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AddSelect: Method AddSelect \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including YarnSpinner.Tests, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/TestPlan.cs"},"region":{"startLine":341}}}],"partialFingerprints":{"codehealthFindingId/v1":"7412a74e50cf1a08e42302d3aeb8d55cf31b35b181dc6ad42ea923316de53d4d"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: AddCommand: Method AddCommand \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including YarnSpinner.Tests, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/TestPlan.cs"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"c207ad44b3ef93084461de5f10226797076abd00eb60c7f0d92809b56aaf8888"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetTokensFromFile: Method GetTokensFromFile \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including YarnSpinner.Compiler, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Compiler.cs"},"region":{"startLine":1239}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6d852c0df522a655bd55e395bc89f9aa4c53178b19bf58b8b39f773a28086f3"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetHeadersWithKey: Method GetHeadersWithKey \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including YarnSpinner.Compiler, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Compiler.cs"},"region":{"startLine":1276}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce4a8b82f49b8bfeadab17817d1340e59990b72713bace4ca6e58118c3cd9b49"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: GetDeclaration: Method GetDeclaration \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including YarnSpinner.Compiler, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Project.cs"},"region":{"startLine":782}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f1b7a5fdd4552e0b6a53565d20b1af177952948e6beaca2cadb35f277eed359"}},{"ruleId":"D17","level":"warning","message":{"text":"Dead code: ILanguageUpgrader: NamedType ILanguageUpgrader \u2014 Roslyn\u0027s SymbolFinder walked every project the solution loads, including YarnSpinner.Compiler, and found no reference to it. That walk cannot see three kinds of caller, so check them before removing it: code outside the solution file (a solution is a curated list, not the repository \u2014 a sibling test tree with its own .sln is invisible), a call resolved by reflection or dependency injection from the symbol\u0027s name, and any project the workspace could not load. This is \u0027no caller found by this walk\u0027, not a verdict that the symbol is unused."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Upgrader/ILanguageUpgrader.cs"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5383276b37a7c1b730b0ea4bc9e5102cd41dde779909f0018b40107894cbf526"}},{"ruleId":"D19","level":"note","message":{"text":"Documentation: no build, run or usage example: the repository holds project manifests and neither \u0060README.md\u0060 nor the documents it links hold a code block or a command. Show the command that builds or runs it, or a usage snippet."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"README.md"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c33a5992d4bd6ac1ea4b853ae69753fcd7e0410099c58731c86be53325ba8c96"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022add in all the standard library functions\u0022 repeats the code it sits on: 4 of its 4 words (add, standard, library, functions) are already in \u0060declarations.AddRange(GetDeclarationsFromLibrary(StandardLibrary.AllFunctions()));\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Compiler.cs"},"region":{"startLine":75}}}],"partialFingerprints":{"codehealthFindingId/v1":"83042e933dd17fda30b6365b4757c5507b24eec06671839d22b82a0d0512c51b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Visit every \u0027set\u0027 statement in the parse tree.\u0022 repeats the code it sits on: 4 of its 5 words (set, statement, parse, tree) are already in \u0060ParseTreeWalker.WalkTree\u003CYarnSpinnerParser.Set_statementContext\u003E(dialogueContext, (Action\u003CYarnSpinnerParser.Set_statemen \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Compiler.cs"},"region":{"startLine":910}}}],"partialFingerprints":{"codehealthFindingId/v1":"0105654cc381a465c5cf67e5a7af8a9d71f5e9ae6b379ea72ed001177a1b91a4"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Set the name of the node\u0022 repeats the code it sits on: 3 of its 3 words (set, name, node) are already in \u0060this.CurrentNode.Name = context.NodeTitle;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/FileCompiler.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"377e10c8cbe37f4511640f2304cfa1fe711cf1af04d20474db8dc6afda36d80a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add the node to our result.\u0022 repeats the code it sits on: 3 of its 3 words (add, node, result) are already in \u0060CompilationResult.Nodes.Add(this.CurrentNode);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/FileCompiler.cs"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"3de116374d619b291ed3743ef171874b77e0e609bf43d36f32b31e15db019b06"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Return the EOF token.\u0022 repeats the code it sits on: 3 of its 3 words (return, eof, token) are already in \u0060tokenToReturn = new CommonToken(Eof, \u0022\u003CEOF\u003E\u0022);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/IndentAwareLexer.cs"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"c24ef837d9855f141998cb194ad33af3bdfb79db19210d7cf36d7ded0dbba564"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Find the node in the collection of compiled nodes.\u0022 repeats the code it sits on: 4 of its 5 words (find, node, compiled, nodes) are already in \u0060var compiledNode = FindNode(nodeContext.NodeTitle);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/NodeGroupCompiler.cs"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1627430e4cb586cfcc300386be7978c5076e408c191cc3d71676a71eb47696f6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a new smart variable for this header\u0022 repeats the code it sits on: 4 of its 5 words (create, new, smart, variable) are already in \u0060var compiler = new SmartVariableCompiler(this.VariableDeclarations);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/NodeGroupCompiler.cs"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"7dd572b19663d401e85a59851288bd542b46680da69f0f0d22cfadaf993c1b7c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get the name of the \u0027once\u0027 variable.\u0022 repeats the code it sits on: 4 of its 4 words (get, name, once, variable) are already in \u0060var onceVariable = Compiler.GetContentViewedVariableName(nodeContext.NodeTitle\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/NodeGroupCompiler.cs"},"region":{"startLine":306}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed99d892a8addf739410400d5c3e8aef2a221999f99d12005d545f049465a662"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Enums require file version 5\u0022 repeats the code it sits on: 4 of its 4 words (enums, require, file, version) are already in \u0060throw new InvalidOperationException($\u0022Error in function {yarnName}: Enum parameters in functions require project file ve \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Project.cs"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e1aa334770a970886f905201b8079a4e8e7cde2e12fab6684b4a350aa4fc16e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Instances require file version 5\u0022 repeats the code it sits on: 4 of its 4 words (instances, require, file, version) are already in \u0060throw new InvalidOperationException($\u0022Error in function {yarnName}: Instance parameters in functions require project fil \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Project.cs"},"region":{"startLine":736}}}],"partialFingerprints":{"codehealthFindingId/v1":"4eb5ba9d178091735f6729b5c7e67337118a449039bb11884ecf690c611b7f65"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022short type is everything between the first and last index\u0022 repeats the code it sits on: 5 of its 6 words (short, type, first, last, index) are already in \u0060shortType = fullName[firstIndex..lastIndex];\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Project.cs"},"region":{"startLine":924}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c332a18025e461bae213a9bc801fe3063de96d06fec361036411752a7444932"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a token stream from the lexer output.\u0022 repeats the code it sits on: 4 of its 5 words (create, token, stream, lexer) are already in \u0060var tokens = new Antlr4.Runtime.CommonTokenStream(lexer);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/StructuredCommandParser.cs"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"546193c0abb296e846b3f4ddcfd89d983188042d693170805194bebdbdf2b412"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022The type of this function call is the return type of the function\u0022 repeats the code it sits on: 4 of its 4 words (type, function, call, return) are already in \u0060this.AddEqualityConstraint(context.Type, functionType.ReturnType, context, s =\u003E\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/TypeCheckerListener.cs"},"region":{"startLine":926}}}],"partialFingerprints":{"codehealthFindingId/v1":"25361208640b7625af5e758f703f5b2f32444e7d84da3f8dd7528c8ae0eb3363"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Unify the return types, too.\u0022 repeats the code it sits on: 3 of its 3 words (unify, return, types) are already in \u0060return TryUnify(xFunc.ReturnType, yFunc.ReturnType, subst);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/TypeSolver/Solver.cs"},"region":{"startLine":308}}}],"partialFingerprints":{"codehealthFindingId/v1":"222f9f2685acba5347d6a78370676b71b07f32ec045084b2120b656ed935cd3a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022if we enter a node and we have current nodes this is also an error\u0022 repeats the code it sits on: 4 of its 5 words (enter, node, current, nodes) are already in \u0060if (currentLines != null)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Utility.cs"},"region":{"startLine":344}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2ca140b39280a1452b30bdbcb20bb48db2d84f8642b2075abd84a578014d62d"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get the text for all of these hashtags...\u0022 repeats the code it sits on: 3 of its 3 words (get, text, hashtags) are already in \u0060var hashtagTexts = StringTableGeneratorVisitor.GetHashtagTexts(hashtags);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Utility.cs"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dc27db639ff6c74a5b6327a87ef3a23e88af1c154bc0e0d04ed2ff807847efd"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get the line ID for the shortcut\u0027s line\u0022 repeats the code it sits on: 4 of its 4 words (get, line, id, shortcut) are already in \u0060var lineID = Compiler.GetContentID(ContentIdentifierType.Line, shortcut.line_statement());\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Visitors/CodeGenerationVisitor.cs"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5601035d49f30215dc354db504f8f0884b2d0825d11593951e2529cde933f0e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022For each child statement in this line group item, evaluate that too.\u0022 repeats the code it sits on: 5 of its 6 words (child, statement, line, group, item) are already in \u0060foreach (var childStatement in lineGroupItem.statement())\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Visitors/CodeGenerationVisitor.cs"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ab9b48d6b4e8e59276e776ae07705de1fe5597f4f860d5e669b604ec831346"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Get the declaration for this variable\u0022 repeats the code it sits on: 3 of its 3 words (get, declaration, variable) are already in \u0060if (this.compiler.VariableDeclarations.TryGetValue(variableName, out var declaration) == false)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Visitors/CodeGenerationVisitor.cs"},"region":{"startLine":992}}}],"partialFingerprints":{"codehealthFindingId/v1":"7de2d14f093c64fefe48d054ab29e105ebc44087fcb46f7bd9288dda2e8b631b"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Add option info\u0022 repeats the code it sits on: 3 of its 3 words (add, option, info) are already in \u0060currentNode.Options.Add(new OptionInfo\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Visitors/NodeMetadataVisitor.cs"},"region":{"startLine":376}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3a20bc9366fa3baf0ec6b11d9f044280edf8383e1fcfcc6651de56dba1fb985"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022No raw value in this case statement.\u0022 repeats the code it sits on: 4 of its 5 words (raw, value, case, statement) are already in \u0060caseStatement.RawValue = null;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Visitors/UserDefinedTypesListener.cs"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"44c78641c7cd550a260f13faa8e81366cb0d4c9d71bcbd6e716118a6e2cb5f66"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022This case statement has a raw value. Parse it.\u0022 repeats the code it sits on: 4 of its 5 words (case, statement, raw, value) are already in \u0060Value value = new LiteralValueVisitor(context, this.sourceFileName, this.diagnostics).Visit(caseStatement.rawValue);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Visitors/UserDefinedTypesListener.cs"},"region":{"startLine":66}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ef62a33dcd814aa80658a192674724ced24c7c56298e4a4ac67cea84173322f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Do we have any cases that are missing values?\u0022 repeats the code it sits on: 3 of its 3 words (cases, missing, values) are already in \u0060var casesMissingValues = context.enum_case_statement().Where(c =\u003E c.RawValue == null);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Visitors/UserDefinedTypesListener.cs"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"528fa933355e0faf2bf5c191df615602e2f4e38cb1b5a890bec4c0ed3eac9e2f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create the new type.\u0022 repeats the code it sits on: 3 of its 3 words (create, new, type) are already in \u0060var newEnumType = new EnumType(context.name.Text, description ?? string.Empty, (TypeBase)rawType);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Visitors/UserDefinedTypesListener.cs"},"region":{"startLine":232}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b9335c7de1abffe152fd18a30ffd8cb3504a55a396c5bbeccf54b6eba7948c2"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022this attribute is an enum parameter\u0022 repeats the code it sits on: 3 of its 3 words (attribute, enum, parameter) are already in \u0060if (attribute.AttributeClass?.Name == \u0022YarnEnumParameterAttribute\u0022)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.HostAnalysis/Creators\u002BParameters.cs"},"region":{"startLine":130}}}],"partialFingerprints":{"codehealthFindingId/v1":"a90eee1a05b1859167fef19d225bd77a524fa3047f61756784e747380c7fcd22"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022this attribute is a node parameter\u0022 repeats the code it sits on: 3 of its 3 words (attribute, node, parameter) are already in \u0060if (attribute.AttributeClass?.Name == \u0022YarnNodeParameterAttribute\u0022)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.HostAnalysis/Creators\u002BParameters.cs"},"region":{"startLine":143}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0a5c8cfc3ff4fcfdc1a8c610d70187eb1ac5e6b3180f0f62fe7f2c4409e29e1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022testing that warnings are generated for empty nodes\u0022 repeats the code it sits on: 4 of its 5 words (testing, warnings, empty, nodes) are already in \u0060[Fact]\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/ErrorHandlingTests.cs"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"89a83feea5538b8e04a3402f8bba3d6ab2d818aa1c56c6e6e0dbf22fdb389b54"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Test every file in Tests/TestCases\u0022 repeats the code it sits on: 4 of its 4 words (test, file, tests, cases) are already in \u0060[Theory(Timeout = 1000)]\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/LanguageTests.cs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"a77d9aedad7ba098238b11a0a8cccf59ae0ec51eb0e91ce66a12a4bca8501d3f"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Test every file in Tests/TestCases\u0022 repeats the code it sits on: 4 of its 4 words (test, file, tests, cases) are already in \u0060[Theory(Timeout = 1000)]\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/LanguageTests.cs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6e5e8844212df13e94a561ef06882b561aa8e7d907a6c74720da80ef994a133"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Test every file in Tests/TestCases\u0022 repeats the code it sits on: 4 of its 4 words (test, file, tests, cases) are already in \u0060[Theory(Timeout = 1000)]\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/LanguageTests.cs"},"region":{"startLine":893}}}],"partialFingerprints":{"codehealthFindingId/v1":"a28e3a8bcc76f6bba2dadaff16880a5afa351087995da2cc5e8c05c580b2fb83"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022[z] this [a] is [b] some [c] markup [d] with [e] both [/c][/e][/d][/a][/z] misclosed tags and double unclosable tags[/b] [z] this [a] is [b] some [c] markup [d] \u2026\u0022 repeats the code it sits on: 5 of its 5 words (markup, misclosed, tags, double, unclosable) are already in \u0060line = \u0022[z] this [a] is [b] some [c] markup [d] with [e] both [/c][/e][/d][/z][/a] misclosed tags and double unclosable  \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/MarkupTests.cs"},"region":{"startLine":616}}}],"partialFingerprints":{"codehealthFindingId/v1":"92bf1dbbc02c2d0f741a653efaf6334f117ba3de8e19aafeb0cfe991d25c24ef"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Load the test plan\u0022 repeats the code it sits on: 3 of its 3 words (load, test, plan) are already in \u0060LoadTestPlan(testPlanPath);\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/UpgraderTests.cs"},"region":{"startLine":107}}}],"partialFingerprints":{"codehealthFindingId/v1":"d5907fff790947f31c099bde107f11f9fdc864e421e30a4d8839e7501ad061e9"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022If \u0027name\u0027 has an initial value, it is a stored variable\u0022 repeats the code it sits on: 4 of its 5 words (name, initial, value, variable) are already in \u0060if (this.InitialValues.ContainsKey(name))\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/Program.cs"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"178f33b86723c91407234d2bbb1b04a9ab0159b37eb980ce89bf46f57d021e9a"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022If \u0027name\u0027 is the name of a node in our smart variable nodes, then\u0022 repeats the code it sits on: 4 of its 5 words (node, smart, variable, nodes) are already in \u0060foreach (var node in this.SmartVariableNodes)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/Program.cs"},"region":{"startLine":248}}}],"partialFingerprints":{"codehealthFindingId/v1":"eff4db1ca8177f3953b8a31fc15ed0c90249a55c94e4d965861d8566a9e84bf6"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Iterate through all nodes in the program.\u0022 repeats the code it sits on: 3 of its 3 words (iterate, nodes, program) are already in \u0060foreach (var node in program.Nodes)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/SmartVariableEvaluationVirtualMachine.cs"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db2f82697ae60234ca2218793a5d6906c1ad7713faecc0463206f08f1680cd1"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Create a new saliency option for the node and add it to the set of options.\u0022 repeats the code it sits on: 7 of its 8 words (create, new, saliency, option, node, add, options) are already in \u0060options.Add(new Saliency.ContentSaliencyOption(node.Value.Name)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/SmartVariableEvaluationVirtualMachine.cs"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcf646d1f38ab0ca007dac467a0e6e94c1ce34e5bd0052d0144e00f6ec20670c"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Clear the saliency candidate list\u0022 repeats the code it sits on: 4 of its 4 words (clear, saliency, candidate, list) are already in \u0060saliencyCandidateList.Clear();\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":952}}}],"partialFingerprints":{"codehealthFindingId/v1":"4582743a86a71a60f9505df1aeb5d6a2fdaac03db0ddfb06182137e2eda4d0f0"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022check if the last token was text and if that text is a \\ we run this as if we were text\u0022 repeats the code it sits on: 4 of its 5 words (check, last, token, text) are already in \u0060if (last.Type == LexerTokenTypes.Text)\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/YarnSpinner.Markup/LineParser.cs"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7fbda0435b6c1bdd7d0d1f429bba62f679a1941ce80ea93d521a3a333d0007"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: \u0060YarnSpinner.Compiler\u0060 overshoots its size bounds (22089 LoC, 138 public types across 3 namespaces). 1 of 7 project(s) overshoot their size bounds, lowering Project Cohesion to 7.1/10. Review these for cohesion \u2014 draw the boundary inside the assembly first (group each responsibility into its own namespace/folder and keep the cross-boundary members internal), since splitting a published assembly moves types between packages and breaks consumers."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/YarnSpinner.Compiler.csproj"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ceffc7b8eb53381e6fe2192678d9b052bdaa76dcd1124eb9edb7449759b4747f"}},{"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":"9603565aa6069e0abcf535dcde33980e7f55a15fa6af1c7abedeeffe7f52bf08"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"aa8ee490371acdad2b62b958843583a0e94f30a79a22194bc3bc46d8eab253e9"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"31e15292ee7781495cff3025f3779e23aded0d07be93120b45c65e1d6518c389"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0bf32e7279f3ac62b6831412a5aabb18c6a74db5b29f84faccf95e0f4f9f681a"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"b045f06583c9b465f808666ab807bb301b75e163408a0670ffe050a381f461f6"},"taxa":[{"id":"CWE-214","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-532","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A09:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"15ce6a883c70e22a68396ec3d3be1dcdc908bb35bd70cd032d2965fc1abd0e7b"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1454238d3d996e4fcd48c32ebf8751e117c91b32bf7d8ea4c0de8d3fc0c02907"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4fd3501081e773a37ccf77f2ed52c8ff3d9f4ad039a16ba8054fa645d344fd37"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"8630c7ac6a0cefe483b018d9f11144902fcd5188d4d04b20194a731bd0cd5693"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"df7e29bb6c90f25333c1f1bd4f3e0debc287c327aa3eedda4c27a2047aab32b3"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-1329","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"c64d0b1760407887e8da19c88f32fb37fe12098a77171950378266cb00641d0a"},"taxa":[{"id":"CWE-1104","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"5b1234a8f41e2ab90c5914124be2da24cc1feea434a013ddcac1cec781ba81fb"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"df00b60b03dd69e57ac42cc2719c569c289e5617e45b94b8ead4830a7dc42fce"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"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":"1c98a5cf2f62ec9c04fa010952b98ed1d7f2cd9bda0abb47db40656daa50f2f1"},"taxa":[{"id":"CWE-22","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A01:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"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":"144ba3d64b2f88552ffc19d754e40bd2451972fd866ceb13b6e402c8039c1886"},"properties":{"dependency":{"package":"Newtonsoft.Json","version":"9.0.1","advisory":"[GHSA redacted]","severity":"high","reachability":{"kind":"unknown"}}}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 1 of 88 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 88 of the 120 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: YarnSpinner.Compiler/NodeMetadata.cs. Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/NodeMetadata.cs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f847903901188e6708710220fd6e7e73e3dc9a005a1503b23e3a9a950c7768"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"759dca709f1a032fb6f624ce672e6afb5558fce53ecf01fb73618c4d33923164"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"171a5915161e926e35d9f9302156f7a2c57d16c96d5bdd1af3f21e2d4308269b"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"65d87ec21c1ecf43a0424ab644272e64330044f506a9f75bd32965b5f8696841"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c5928b81075799790cb18fed2980a6b6e8aa5072772041c9951633efe8eb3542"},"taxa":[{"id":"CICD-SEC-1","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"AX2","level":"warning","message":{"text":"Process-global static state: TypeCheckerListener: \u0060TypeCheckerListener\u0060 keeps mutable \u0060static\u0060 state \u2014 one slot for the whole process, shared by every thread that reaches the type however its instances are created \u2014 and mutates it outside any lock (typeParameterCount; e.g. \u0060typeParameterCount\u0060 at line 341). Concurrent callers lose updates, and a collection that is not built for concurrent writers can corrupt."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/TypeCheckerListener.cs"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef4adf2a80b85e5887eb8392ca63efc0e90d4ee1e9e3112f0c1d8dfd79504698"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces Yarn \u2194 Yarn.Saliency depend on each other. The lightest dependency in the cycle is Yarn.Saliency \u2192 Yarn (Yarn.Saliency.BestLeastRecentlyViewedSaliencyStrategy \u2192 Yarn.IVariableStorage, 2 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/Saliency/BestLeastRecentlyViewedSaliencyStrategy.cs"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"e542fe72302cb272ca5a6c2aead3bdd1a781f1799458bf2e9f972c1058b8b502"}},{"ruleId":"AX3","level":"error","message":{"text":"Namespace dependency cycle: The namespaces TypeChecker \u2194 Yarn.Compiler depend on each other. The lightest dependency in the cycle is TypeChecker \u2192 Yarn.Compiler (TypeChecker.ConjunctionConstraint \u2192 Yarn.Compiler.Diagnostic, 6 type pair(s)); cut that one first, e.g. by moving the shared type to a namespace both can use or inverting it behind an interface."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/TypeSolver/Constraints/ConjunctionConstraint.cs"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cfb1891932ce985a3a07e9168ab1bc099d9dd36e0decf9d1d6e50c5040c775b"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IYarnSpinnerParserListener (114 members): \u0060IYarnSpinnerParserListener\u0060 declares 114 members: \u0060EnterDialogue\u0060, \u0060ExitDialogue\u0060, \u0060EnterFile_hashtag\u0060, \u0060ExitFile_hashtag\u0060, \u0060EnterNode\u0060, \u0060ExitNode\u0060, \u0060EnterTitle_header\u0060, \u0060ExitTitle_header\u0060, \u0060EnterWhen_header\u0060, \u0060ExitWhen_header\u0060, \u0060EnterHeader\u0060, \u0060ExitHeader\u0060, \u0060EnterHeader_when_expression\u0060, \u0060ExitHeader_when_expression\u0060, \u0060EnterBody\u0060, \u0060ExitBody\u0060, \u0060EnterStatement\u0060, \u0060ExitStatement\u0060, \u0060EnterLine_statement\u0060, \u0060ExitLine_statement\u0060, \u0060EnterLine_formatted_text\u0060, \u0060ExitLine_formatted_text\u0060, \u0060EnterHashtag\u0060, \u0060ExitHashtag\u0060, \u0060EnterLineCondition\u0060, \u0060ExitLineCondition\u0060, \u0060EnterLineOnceCondition\u0060, \u0060ExitLineOnceCondition\u0060, \u0060EnterExpParens\u0060, \u0060ExitExpParens\u0060, \u0060EnterExpMultDivMod\u0060, \u0060ExitExpMultDivMod\u0060, \u0060EnterExpComparison\u0060, \u0060ExitExpComparison\u0060, \u0060EnterExpNegative\u0060, \u0060ExitExpNegative\u0060, \u0060EnterExpAndOrXor\u0060, \u0060ExitExpAndOrXor\u0060, \u0060EnterExpAddSub\u0060, \u0060ExitExpAddSub\u0060, and 74 more. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. 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":"YarnSpinner.Compiler/Grammars/YarnSpinnerParserListener.cs"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"32ddf63c9d1b92663eb9323db64e3300f562f6cc519a822d233c3e681093e992"}},{"ruleId":"AX6","level":"note","message":{"text":"Fat interface: IYarnSpinnerParserVisitor\u003CResult\u003E (57 members): \u0060IYarnSpinnerParserVisitor\u003CResult\u003E\u0060 declares 57 members: \u0060VisitDialogue\u0060, \u0060VisitFile_hashtag\u0060, \u0060VisitNode\u0060, \u0060VisitTitle_header\u0060, \u0060VisitWhen_header\u0060, \u0060VisitHeader\u0060, \u0060VisitHeader_when_expression\u0060, \u0060VisitBody\u0060, \u0060VisitStatement\u0060, \u0060VisitLine_statement\u0060, \u0060VisitLine_formatted_text\u0060, \u0060VisitHashtag\u0060, \u0060VisitLineCondition\u0060, \u0060VisitLineOnceCondition\u0060, \u0060VisitExpParens\u0060, \u0060VisitExpMultDivMod\u0060, \u0060VisitExpComparison\u0060, \u0060VisitExpNegative\u0060, \u0060VisitExpAndOrXor\u0060, \u0060VisitExpAddSub\u0060, \u0060VisitExpNot\u0060, \u0060VisitExpValue\u0060, \u0060VisitExpEquality\u0060, \u0060VisitValueNumber\u0060, \u0060VisitValueTrue\u0060, \u0060VisitValueFalse\u0060, \u0060VisitValueVar\u0060, \u0060VisitValueString\u0060, \u0060VisitValueFunc\u0060, \u0060VisitValueTypeMemberReference\u0060, \u0060VisitVariable\u0060, \u0060VisitFunction_call\u0060, \u0060VisitTypeMemberReference\u0060, \u0060VisitIf_statement\u0060, \u0060VisitIf_clause\u0060, \u0060VisitElse_if_clause\u0060, \u0060VisitElse_clause\u0060, \u0060VisitSet_statement\u0060, \u0060VisitCommand_statement\u0060, \u0060VisitCommand_formatted_text\u0060, and 17 more. Counted as the author wrote them \u2014 a property is ONE member and its get/set accessors are not counted separately, and an event counts once. 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":"YarnSpinner.Compiler/Grammars/YarnSpinnerParserVisitor.cs"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"748adb1161fed2c143cdd6d4b908466b029d03e657b62faf96d751d7f515cc05"}},{"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":"YarnSpinner/Types/NumberType.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"33d1f6536fd93b1a9054386b3d3df2f6717ed424cbf48a3d5bf1fdc6014d03b0"}},{"ruleId":"IC1","level":"warning","message":{"text":"Both branches are identical \u2014 the condition decides nothing: The \u0060if\u0060 and its \u0060else\u0060 contain the same 1 statement, so no input can make the condition matter. Implement the distinction that was intended, or drop the branch and keep the body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Utility.cs"},"region":{"startLine":696}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1fa52533897c7720d23f43ba3fee062c3fa7d620521233eabfdd0636c511677"}},{"ruleId":"IC1","level":"warning","message":{"text":"Unfinished stub \u2014 throws NotImplementedException: \u0060ToBridgedType\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":"YarnSpinner/Types/NumberType.cs"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c1fae9f716cedeef36658f218432717b6d793549520c9638c734e04063f5167"}},{"ruleId":"IC1","level":"warning","message":{"text":"Fake-async \u2014 async method never awaits: \u0060Stop\u0060 is declared \u0060async\u0060 but never awaits anything, so it runs synchronously while pretending to be asynchronous. Drop \u0060async\u0060 or do the real async work."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":409}}}],"partialFingerprints":{"codehealthFindingId/v1":"006e5fff9e9d5a979695bfe753c87a4d64952b09b098529e7822f43dcbae3c92"}},{"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":"YarnSpinner.Compiler/ErrorListener.cs"},"region":{"startLine":490}}}],"partialFingerprints":{"codehealthFindingId/v1":"25ecbc077ae3e4c10483d3197079f211583e848eb99ffc12e6ccacf931f4d2e5"}},{"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":"YarnSpinner.Compiler/IndentAwareLexer.cs"},"region":{"startLine":256}}}],"partialFingerprints":{"codehealthFindingId/v1":"236fab88a0d26295cb799f9d5002846e509ba4948514bf3f9bffe4a2484499bf"}},{"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":"YarnSpinner.Compiler/IndentAwareLexer.cs"},"region":{"startLine":286}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba238229122167dbe700ee9d074c1e10f2e4d1fb4d47e9eada66e4cc7f67d809"}},{"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":"YarnSpinner.Compiler/IndentAwareLexer.cs"},"region":{"startLine":316}}}],"partialFingerprints":{"codehealthFindingId/v1":"08e54c714d855b51a62c52fa599c7e84baae79d49ba7b085eafcc4fa46355d95"}},{"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":"YarnSpinner.Compiler/IndentAwareLexer.cs"},"region":{"startLine":332}}}],"partialFingerprints":{"codehealthFindingId/v1":"7948e48616c5faeef0915eee2a4644a59520777a323582b561e1e06b3c1b11a6"}},{"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":"YarnSpinner.Compiler/IndentAwareLexer.cs"},"region":{"startLine":342}}}],"partialFingerprints":{"codehealthFindingId/v1":"ba36a485d6789098d6f37dd398938f4a6c9a1265b8570fcea4fde7de0503c599"}},{"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":"YarnSpinner.Compiler/IndentAwareLexer.cs"},"region":{"startLine":357}}}],"partialFingerprints":{"codehealthFindingId/v1":"2316091d3f44aa3ed2f4a893906dd85abde89db6e91e124eae3d284c62cc33e2"}},{"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":"YarnSpinner.Compiler/LineTaggers/DescriptiveLineTagGenerator.cs"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2f616ae7f23f301b441d460f5f830a9051aaeac78031c7519e26a504f56946e"}},{"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":"YarnSpinner.Compiler/LineTaggers/DescriptiveLineTagGenerator.cs"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f135c93a7dc83efef724dbf2bf741467c13e040ce6280834c2d07a44bd03a7aa"}},{"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":"YarnSpinner.Compiler/LineTaggers/DescriptiveLineTagGenerator.cs"},"region":{"startLine":155}}}],"partialFingerprints":{"codehealthFindingId/v1":"345edb82c7be7c9c330af5a404c0d69018a1ea2df5f1c929f7d8c40aebbd02c6"}},{"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":"YarnSpinner.Compiler/Visitors/StringTableGeneratorVisitor.cs"},"region":{"startLine":48}}}],"partialFingerprints":{"codehealthFindingId/v1":"8ab48279982367de3822dcbded714bfc82c0675dc40d1b89054140fb7f76d658"}},{"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":"YarnSpinner.SourceGenerator/Analyser.cs"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"13de1d24968e149af365c07410f6d840848bdfa2eaaf74fd19b1778e6daea168"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped (\u0022This diagnostic should be moved to the language server - whether or not a it\u0027s a problem that a node is unreferenced depends on the use case; additionally, at least one node will almost always be unreferenced, being the entry point\u0022) \u2014 coverage that looks present but never runs in any gate. If it\u0027s an opt-in suite, document how it runs; otherwise re-enable or delete it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/ErrorHandlingTests.cs"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"e7b6fd9884a55f93c2cce27bcf577ec0c79f067a87288e9e5d89b22f019ccaa4"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped (\u0022This test needs to be run in the language server, which has knowledge of commands\u0022) \u2014 coverage that looks present but never runs in any gate. If it\u0027s an opt-in suite, document how it runs; otherwise re-enable or delete it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/ErrorHandlingTests.cs"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"286d866a28839e5f11c7c491a1470943e4364544ef4edcd012c1233c7ae587d2"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped (\u0022Must be handled by Language Server because the compiler doesn\u0027t know about valid commands\u0022) \u2014 coverage that looks present but never runs in any gate. If it\u0027s an opt-in suite, document how it runs; otherwise re-enable or delete it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/ErrorHandlingTests.cs"},"region":{"startLine":757}}}],"partialFingerprints":{"codehealthFindingId/v1":"26056dda3b6be3e358ddb7f26e4c3cf840f11f579469271c70a07e175ecf4d14"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped (\u0022This error should be produced in the language server\u0022) \u2014 coverage that looks present but never runs in any gate. If it\u0027s an opt-in suite, document how it runs; otherwise re-enable or delete it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/ErrorHandlingTests.cs"},"region":{"startLine":780}}}],"partialFingerprints":{"codehealthFindingId/v1":"37d6b2ad6866d0cb6a027ee637a038473051292580e60e5efdfd5d1aa88028ea"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped (\u0022Language upgrader has been removed.\u0022) \u2014 coverage that looks present but never runs in any gate. If it\u0027s an opt-in suite, document how it runs; otherwise re-enable or delete it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/UpgraderTests.cs"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"b777d33ed17e202c7cf7324165fe77591524982e3f7b79623868d4f8e61020f5"}},{"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":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060YarnSpinner.Compiler/YarnSpinner.Compiler.csproj\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/YarnSpinner.Compiler.csproj"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"c6c579f951da84ee34146971472f5ebb36f6323e6c10e9b6079155951c85402f"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): Only 0/32 awaits in library code 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":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await vm.SetNode(node, cancellationToken)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/Dialogue.cs"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce5bd5c8c7adde96bae5e67ade2cf644029428ea1ffbae6a72625ffb16306d21"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await vm.Start(cancellationToken)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/Dialogue.cs"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"8da03f2e6cdcca03b6b451084c2209b177a9c1f0ae117df6be162c759364c66e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await vm.Start(cancellationToken)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/Dialogue.cs"},"region":{"startLine":517}}}],"partialFingerprints":{"codehealthFindingId/v1":"477a370d83dd36048c2be54e1980d3f5d6b8cc6be35bdf1c53643df6c1a79394"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await this.vm.SetNode(node, clearState: true, cancellationToken)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/Dialogue.cs"},"region":{"startLine":841}}}],"partialFingerprints":{"codehealthFindingId/v1":"1548b1e6e799389b08285132d3faffc8182945102cddea737a73ceeb292583cc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await this.vm.Stop()\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/Dialogue.cs"},"region":{"startLine":852}}}],"partialFingerprints":{"codehealthFindingId/v1":"02366cf4c1f40c472f3f40193fb7392a6f7af1062c46133d6d88a845674c8c76"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await Responder.HandleNodeStart(nodeName, cts.Token)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":394}}}],"partialFingerprints":{"codehealthFindingId/v1":"630b6ba41ebf6b894bf0f12becbc166a43915e9b1027904c906c641193907f31"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await Responder.PrepareForLines(stringIDs ?? new List\u003Cstring\u003E(), cts.Token)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":400}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ec267a37c94449611ca378a8fa152677db72f332734a48e2f383b84cbf93b4c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await RunInstruction(currentInstruction, dialogueCancellationSource.Token)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":470}}}],"partialFingerprints":{"codehealthFindingId/v1":"e42f9a30c0d66072b6ce4fe50d5b68a31fc3a9962dae7a3f31fe7a3f3dc667c3"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await ReturnFromNode(currentNode, dialogueCancellationSource.Token)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":476}}}],"partialFingerprints":{"codehealthFindingId/v1":"df4a6424618e14a96bdd972674e91616bd4d75a4ee9097efa674c7a287fc4575"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await Stop()\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":477}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b297820afdd712fceb34d82c2bb965775f71c93d5b8fbd3299f3d98110f1dc8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await Responder.HandleDialogueComplete()\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":482}}}],"partialFingerprints":{"codehealthFindingId/v1":"53218b4db7f61f98eaf08b016e28e74b71886c81c938cb2c99fa12d841627913"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await Responder.HandleNodeComplete(node.Name, cancellationToken)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":497}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2b696e929d3e0e3e2acb0faa7d1076616759fafafd8e288cc4c5172e4278cb2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await Responder.HandleLine(line, cancellationToken)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2c3e58b0a49345b7f48c8122a76a365dbdfe977848887d773e147e4a51ea1fa"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await Responder.HandleCommand(command, cancellationToken)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":577}}}],"partialFingerprints":{"codehealthFindingId/v1":"7523a1f496964f5bf9c39f0227023eaa902edd03f35e34f3225fae4677d5343d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await Stop()\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":638}}}],"partialFingerprints":{"codehealthFindingId/v1":"b5a4b67969fc77e46853f310fcbd321b11fd60c363ba3a7decc242d568b76119"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await Responder.HandleOptions(new OptionSet(optionChoices.ToArray()), cancellationT...\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":654}}}],"partialFingerprints":{"codehealthFindingId/v1":"f8648aa065a26594d4afdf9b80724a2342234057412d76b42fdc7cf695b2e220"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await CallFunction(i.CallFunc.FunctionName, state.stack, this.Responder, cancellati...\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":709}}}],"partialFingerprints":{"codehealthFindingId/v1":"adc28882f39081e54576828f643c2841c4aa04880015dc2173f968378a63a1e0"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await ReturnFromNode(currentNode, cancellationToken)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":806}}}],"partialFingerprints":{"codehealthFindingId/v1":"9023f75d44557cdfbd69f5534fba950b817b4c912488e18fa5bd87c03ec29191"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await ReturnFromNode(node, cancellationToken)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":812}}}],"partialFingerprints":{"codehealthFindingId/v1":"db45523c4545f4237b61188039e62d6739caa138df3874e32f88b63e76728963"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await Stop()\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":815}}}],"partialFingerprints":{"codehealthFindingId/v1":"15688ceb70b89d9fcc8cac1ccfab4f0fa5b02b789228090913b6dc3ae43600c1"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await ExecuteJumpToNode(i.RunNode.NodeName, isDetour: false, cancellationToken)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":820}}}],"partialFingerprints":{"codehealthFindingId/v1":"1fccb31bbb0e29a6409b4dc300a45ae1b74f60431cd42f2fe8a7332bb9fa889c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await ExecuteJumpToNode(null, isDetour: false, cancellationToken)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":823}}}],"partialFingerprints":{"codehealthFindingId/v1":"0affa4f040d49ecdffc42b93571292d5aad1c4d4b192582ced2d48b55e2b40fc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await ExecuteJumpToNode(i.DetourToNode.NodeName, isDetour: true, cancellationToken)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":826}}}],"partialFingerprints":{"codehealthFindingId/v1":"108929441b4a6d5f6223a727cdc8c3a5144c0d90a97c0e551b1acb379b0790cb"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await ExecuteJumpToNode(null, isDetour: true, cancellationToken)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":829}}}],"partialFingerprints":{"codehealthFindingId/v1":"09999fa6f014ee60e258463472077126e582a01590062c2b1b8b620bae5a9e62"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await ReturnFromNode(currentNode, cancellationToken)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":833}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a3d579fd4309a3a7c3063b517d7724edd45c299aee1b54c8894adc03c757d73"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await Stop()\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":844}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dfb077b011cfb82066da1dc4fade9266a2ac82acccc871322e23c6fc21f24c8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await SetNode(returnSite.nodeName, clearState: false, cancellationToken)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":847}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a18707c2f6fc7392b481cc4e6090c1f4789234e423a33caa0446a9a219cd355"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await ReturnFromNode(this.Program?.Nodes[CurrentNodeName], cancellationToken)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":974}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf25566796cebee10efa4df083576e8700cbc9b9bd872b903e62b7ccf1f732b4"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await ReturnFromNode(this.Program?.Nodes[poppedNodeName], cancellationToken)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4fe7b08f28695ad39f01ecfe1c26c37a5ce6bd2e33b20fc35f5c1a68c3b25ec"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await SetNode(nodeName, clearState: !isDetour, cancellationToken)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":993}}}],"partialFingerprints":{"codehealthFindingId/v1":"899ff1e632feba670d2e4cd2399b3cae8b5fe5dbf206c0b413a4e79db013c36c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await responder.InvokeFunction(functionName, parameters, token)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":1026}}}],"partialFingerprints":{"codehealthFindingId/v1":"8c0c0cefcfcc532421e02d9ddcac542e0a77011612b2a08d446d461cd64fad49"}},{"ruleId":"PF3","level":"warning","message":{"text":"Awaits without ConfigureAwait(false): \u0060await StandardLibrary.CallFunc(functionName, parameters, token)\u0060 resumes on the caller\u0027s captured context. In library code that context belongs to the host application, so a host that blocks on this call (or runs on a UI thread) can stall or deadlock \u2014 append \u0060.ConfigureAwait(false)\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/VirtualMachine.cs"},"region":{"startLine":1040}}}],"partialFingerprints":{"codehealthFindingId/v1":"80a851820b6ecb695fd2629244826eaf3be5c88b93bd7651f928d4a2ea33288c"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: YarnSpinner.Compiler/YarnSpinner.Compiler.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/YarnSpinner.Compiler.csproj"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"63e0a5712eb3e4ac67dc176fab3df70dd70b29bdbe67908e2f8d33aa726b81b8"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: YarnSpinner.Diagnostics/YarnSpinner.Diagnostics.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Diagnostics/YarnSpinner.Diagnostics.csproj"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"7796fcf99a4dbe216a738f910e45da0ca9c8fbd0751c4c4097cf7e498522bb23"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: YarnSpinner.HostAnalysis/YarnSpinner.HostAnalysis.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.HostAnalysis/YarnSpinner.HostAnalysis.csproj"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"e6794f2e73a3786560cd0215f3d6a4b4e388a583b3e6c3839ea55e1d39fc12f6"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: YarnSpinner.SourceGenerator/Analyser.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.SourceGenerator/Analyser.csproj"},"region":{"startLine":12}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d46a24de7314f50e75835b66336f9811f27cd68d1dd7602c21f5d75aa51cddc"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: YarnSpinner.Tests/YarnSpinner.Tests.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Tests/YarnSpinner.Tests.csproj"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c40e43644a42d393043748ef729c401913de440ecc00fbcb1fc78896403d4d4"}},{"ruleId":"SC1","level":"warning","message":{"text":"NuGet dependencies are not locked: YarnSpinner/YarnSpinner.csproj declares NuGet packages that no committed packages.lock.json resolves and no central package management pins \u2014 restores aren\u0027t reproducible or pinned (SSDF PW.4.4). Enable \u003CRestorePackagesWithLockFile\u003Etrue\u003C/RestorePackagesWithLockFile\u003E (commit the lockfile) or adopt Directory.Packages.props. Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner/YarnSpinner.csproj"},"region":{"startLine":27}}}],"partialFingerprints":{"codehealthFindingId/v1":"52b46cb3e8f06e9c105c260ca7b334679dc19bfbfba7c5c02ca344d3bb46e025"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060d.Severity == DiagnosticSeverity.Warning || d.Severity == DiagnosticSeverity.Error\u0060 appears character-identically in 2 files \u2014 YarnSpinner.HostAnalysis/Creators\u002BParameters.cs, YarnSpinner.HostAnalysis/Validators.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":"YarnSpinner.HostAnalysis/Creators\u002BParameters.cs"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"91bfc9d59381d942250e9719414a363ab460565bccdd9bfe932ded5ae5e9a3b4"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created and abandoned in the method that made it: \u0060lineParser\u0060 is a \u0060LineParser\u0060, which implements \u0060IDisposable\u0060, and it is created here (line 252). Every use of it in \u0060Compile\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 lineParser = \u2026;\u0060), which releases it at the end of the scope on every path including a throw."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Compiler.cs"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab331dadcf15dfbf854c4139b2d78fa9a2541fb426f047d3b9ab110101e4b0d1"}},{"ruleId":"X18","level":"warning","message":{"text":"Disposable created into a field and never released: \u0060lineParser\u0060 (line 23) holds a \u0060LineParser\u0060 that \u0060NodeMetadataVisitor\u0060 creates itself with \u0060new\u0060, and nothing in \u0060NodeMetadataVisitor\u0060 ever releases it: the type is not \u0060IDisposable\u0060, declares no \u0060Dispose\u0060, and every other mention of \u0060lineParser\u0060 only reads through it. And \u0060NodeMetadataVisitor\u0060 is not a process-lifetime owner: \u0060new NodeMetadataVisitor(fileUri)\u0060 (NodeMetadataVisitor.cs line 46) creates one per call and drops it when the call returns, so each call strands one unreleased \u0060LineParser\u0060 (a timer that keeps firing, a handle, a socket) until finalization. Implement \u0060IDisposable\u0060, release \u0060lineParser\u0060 there and dispose the owner at that call site \u2014 or keep one owner for the process instead of one per call."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Visitors/NodeMetadataVisitor.cs"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eff1a14556aae0ea5802f191808cb2b5efadcd3579ca51132379a07e968c365"}},{"ruleId":"X3","level":"warning","message":{"text":"Rethrow loses stack trace (\u0060throw ex;\u0060): \u0060throw ex;\u0060 resets the exception\u0027s stack trace to this line, hiding where it really came from. Use a bare \u0060throw;\u0060 to preserve the original stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Utility.cs"},"region":{"startLine":551}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e582d9766e2df548791f80d3c7bf1746889a7e6c65f9426990450aea3aacd7d"}},{"ruleId":"X3","level":"warning","message":{"text":"Rethrow loses stack trace (\u0060throw ex;\u0060): \u0060throw ex;\u0060 resets the exception\u0027s stack trace to this line, hiding where it really came from. Use a bare \u0060throw;\u0060 to preserve the original stack."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Utility.cs"},"region":{"startLine":567}}}],"partialFingerprints":{"codehealthFindingId/v1":"4411ad3eb4e220fa01bbd5469f1afcf88a6bbde7e4784aa10df04af73adf9c2f"}},{"ruleId":"X5","level":"warning","message":{"text":"Symbol treated as nullable, then dereferenced unguarded: This method contradicts itself about \u0060declaration\u0060: line 800 writes \u0060declaration?.Type\u0060, which says \u0060declaration\u0060 can be null, but line 412 then dereferences it directly as \u0060declaration.SourceFileName\u0060 with no null test between them and no guard around it. If the \u0060?.\u0060 is right, that dereference throws NullReferenceException on the input it was written for; if \u0060declaration\u0060 truly cannot be null here, the \u0060?.\u0060 is misleading. Settle it one way \u2014 test \u0060declaration\u0060 once before the first use and handle the null case, or drop the \u0060?.\u0060 \u2014 rather than leaving the two readings side by side."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/Compiler.cs"},"region":{"startLine":412}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e180ab15a56e4073047b113d0fbd75dd7850ead55383258c9eaa6c229054841"}},{"ruleId":"X5","level":"note","message":{"text":"Null-forgiving operator (\u0060!\u0060) suppressions override nullable warnings: ~0.2 \u0060!\u0060 suppressions per 1k syntax nodes \u2014 18 suppression(s) across the 108021 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. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4ae9a4afaefbfeb512a0b9a87d1bd44cd285ab1e804e4b89c8cf80f255687dfd"}},{"ruleId":"X9","level":"note","message":{"text":"Subsumed condition operand: \u0060loweredMsg.Contains(\u0022\u0027===\u0027\u0022)\u0060 can never decide this \u0060||\u0060 \u2014 every value satisfying \u0060loweredMsg.Contains(\u0022\u0027===\u0027\u0022)\u0060 also satisfies \u0060loweredMsg.Contains(\u0022===\u0022)\u0060, so the \u0060||\u0060 chain is already decided by the latter. The expression is equivalent to the chain without it, which means it is wider than it reads. Delete the dead operand, or narrow the surviving one if IT is the accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"YarnSpinner.Compiler/ErrorListener.cs"},"region":{"startLine":589}}}],"partialFingerprints":{"codehealthFindingId/v1":"97a1e82be0d64cc860a42c5c8353455f32a4a47388c0f0dde37ea975b59e38ae"}}],"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-1104","guid":"4c918cb5-b2a6-6c55-9963-a44ee464305e","name":"Use of Unmaintained Third Party Components","shortDescription":{"text":"Use of Unmaintained Third Party Components"},"helpUri":"https://cwe.mitre.org/data/definitions/1104.html"},{"id":"CWE-1329","guid":"f70f1c3f-4ccf-cb5e-bdd3-03ba4868d36d","name":"Reliance on Component That is Not Updateable","shortDescription":{"text":"Reliance on Component That is Not Updateable"},"helpUri":"https://cwe.mitre.org/data/definitions/1329.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-214","guid":"b10ad120-fb22-1351-9348-aa23b453e815","name":"CWE-214","shortDescription":{"text":"CWE-214"},"helpUri":"https://cwe.mitre.org/data/definitions/214.html"},{"id":"CWE-22","guid":"b68d9ca7-bdde-d057-a6cc-9f8b1e739552","name":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)","shortDescription":{"text":"Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)"},"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-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-532","guid":"1cd8877a-76e8-ce54-b40b-779af23364a0","name":"Insertion of Sensitive Information into Log File","shortDescription":{"text":"Insertion of Sensitive Information into Log File"},"helpUri":"https://cwe.mitre.org/data/definitions/532.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"id":"A09:2025","guid":"78892bc9-3c98-495d-881c-8af1390d643c","name":"Security Logging \u0026 Alerting Failures","shortDescription":{"text":"Security Logging \u0026 Alerting Failures"},"helpUri":"https://top10.owasp.org/2025/A09_2025-Security_Logging_and_Alerting_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-1","guid":"a40d9a4c-89f5-4b5d-b2dc-32dc9cbfe814","name":"Insufficient Flow Control Mechanisms","shortDescription":{"text":"Insufficient Flow Control Mechanisms"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-01-Insufficient-Flow-Control-Mechanisms"},{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"},{"id":"CICD-SEC-6","guid":"f2ee2486-b260-2952-a41f-6b67fa713940","name":"Insufficient Credential Hygiene","shortDescription":{"text":"Insufficient Credential Hygiene"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-06-Insufficient-Credential-Hygiene"},{"id":"CICD-SEC-8","guid":"b6b2dacf-a168-4957-876e-a8c73ee00eb0","name":"Ungoverned Usage of 3rd Party Services","shortDescription":{"text":"Ungoverned Usage of 3rd Party Services"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-08-Ungoverned-Usage-of-3rd-Party-Services"},{"id":"CICD-SEC-9","guid":"b3d36727-0395-5b51-94c4-5e173d62eab3","name":"Improper Artifact Integrity Validation","shortDescription":{"text":"Improper Artifact Integrity Validation"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-09-Improper-Artifact-Integrity-Validation"}]}],"properties":{"codehealthPublication":{"public":true,"notice":"This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings \u2014 which rule fired, in which file, on which line, and how to fix it \u2014 are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.","securityFindingsRedacted":25,"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."]}]}