{"$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":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"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":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D31","name":"IaC \u0026 Container Security","shortDescription":{"text":"IaC \u0026 Container Security"},"helpUri":"https://codehealth.canine.dev/dimensions/D31","relationships":[{"target":{"id":"CWE-1032","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-732","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-16","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A02:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1032","CWE-732","CWE-16"],"owasp":"A02:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX6","name":"Interface segregation","shortDescription":{"text":"Interface segregation"},"helpUri":"https://codehealth.canine.dev/dimensions/AX6"},{"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":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P4","name":"Deployment \u0026 Rollback","shortDescription":{"text":"Deployment \u0026 Rollback"},"helpUri":"https://codehealth.canine.dev/dimensions/P4"},{"id":"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":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"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":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"Server.process_message (cyclomatic 55): Server.process_message has cyclomatic complexity 55 (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":"lib/ruby_lsp/server.rb"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddaaaab4a4072e6d8ed6bca1e5f08f9a9b5bfe76ea990a75350f5b5405c7e1ac"}},{"ruleId":"D1","level":"warning","message":{"text":"RubyLsp.registerCommands (cyclomatic 48): RubyLsp.registerCommands has cyclomatic complexity 48 (threshold 15). Most of this is not in the body itself: 1 of the 48 points is its own statement and the rest belongs to 22 function literals inside it that branch (lines 626, 348, 562, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/rubyLsp.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"33aaf2074a313debac07e0cd3fe1a3f409d9cf57ca57b7e0e6274361692b3d4f"}},{"ruleId":"D1","level":"warning","message":{"text":"TypeInferrer.infer_receiver_for_call_node (cyclomatic 31): TypeInferrer.infer_receiver_for_call_node has cyclomatic complexity 31 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/type_inferrer.rb"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"166d90a18b088a78ef409443f5b928d10b42cca612eb118bf58be88c263c42af"}},{"ruleId":"D1","level":"warning","message":{"text":"Server.run_initialize (cyclomatic 29): Server.run_initialize has cyclomatic complexity 29 (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":"lib/ruby_lsp/server.rb"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"b88d544b5986a272d18fe039eb2856e342d48afc78e743e8ab8d60ce0c653713"}},{"ruleId":"D1","level":"warning","message":{"text":"GlobalState.apply_options (cyclomatic 25): GlobalState.apply_options has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/global_state.rb"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"585fb2d73d9497b4371618a55ddcc577ed17ef77a72c8c9f72da93df2973d94b"}},{"ruleId":"D1","level":"warning","message":{"text":"SetupBundler.setup! (cyclomatic 25): SetupBundler.setup! has cyclomatic complexity 25 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/setup_bundler.rb"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"0bfb73d9bfb0e4f2a695c1c785557160ee5dfb9f4c29ef999547f99c742e5fc7"}},{"ruleId":"D1","level":"warning","message":{"text":"RubyDocument.locate (cyclomatic 24): RubyDocument.locate has cyclomatic complexity 24 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/ruby_document.rb"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"65425dd97064ec895a302976b8ff977e16cb8db1ac9319c18795cfa043191f36"}},{"ruleId":"D1","level":"warning","message":{"text":"Configuration.indexable_uris (cyclomatic 18): Configuration.indexable_uris has cyclomatic complexity 18 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_indexer/lib/ruby_indexer/configuration.rb"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"d55bc606ac2f610831686dac628fba698011e0ccdbc8e67999dbd9bbabbe96ca"}},{"ruleId":"D1","level":"warning","message":{"text":"PackageURL.parse (cyclomatic 18): PackageURL.parse has cyclomatic complexity 18 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/requests/support/package_url.rb"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"94d6eb63540be146a63e2fa365a33c1ae54051ae43a3f07bbf976f1d4b0b7d4b"}},{"ruleId":"D1","level":"warning","message":{"text":"Index.linearize_superclass (cyclomatic 17): Index.linearize_superclass 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":"lib/ruby_indexer/lib/ruby_indexer/index.rb"},"region":{"startLine":830}}}],"partialFingerprints":{"codehealthFindingId/v1":"785e531734cde36702b996cbdb7bd32cc858e231c3c4dbb9f71447d0ac60981c"}},{"ruleId":"D1","level":"warning","message":{"text":"ERBScanner.scan_char (cyclomatic 17): ERBScanner.scan_char 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":"lib/ruby_lsp/erb_document.rb"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e96ccd9ae277d24bd9bd06ae301e125b6b3d6b5a869aa2d039299fb5d20fab6"}},{"ruleId":"D1","level":"warning","message":{"text":"Completion.complete_methods (cyclomatic 17): Completion.complete_methods 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":"lib/ruby_lsp/listeners/completion.rb"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ae986709a042ef7ce289f73340bd851b725de17168ed3a3863c8cf17936c66"}},{"ruleId":"D2","level":"warning","message":{"text":"RubyLsp.registerCommands (cognitive 56): RubyLsp.registerCommands has cognitive complexity 56 (threshold 15). Drivers by points: if/else 36 (42 pts), ternaries 6, boolean chains 5, loops 2, error handling 1 (nesting depth added 6). None of this is in the body itself: all 56 points belong to 22 function literals inside it that branch (lines 626, 562, 348, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/rubyLsp.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a191a660ca9dc0ca2683c6ebe600ba8e19526f158fc02118ace6cd460e05063"}},{"ruleId":"D2","level":"warning","message":{"text":"RubyDocument.locate (cognitive 32): RubyDocument.locate has cognitive complexity 32 (threshold 15). Drivers by points: if/else 11 (21 pts), boolean chains 8, match/switch 1 (2 pts), loops 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/ruby_document.rb"},"region":{"startLine":25}}}],"partialFingerprints":{"codehealthFindingId/v1":"1556c6f7ef48f2c1e86dc8814633cd138059ebb877512dbf1d11ce004763fdd7"}},{"ruleId":"D2","level":"warning","message":{"text":"PackageURL.parse (cognitive 29): PackageURL.parse has cognitive complexity 29 (threshold 15). Drivers by points: if/else 11 (14 pts), match/switch 8 (11 pts), boolean chains 4 (nesting depth added 6). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/requests/support/package_url.rb"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"793f1e01ca8e227eb0b09b22000ad00471a7720f2b8221870d75b41ec32f5a05"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.run_initialize (cognitive 26): Server.run_initialize has cognitive complexity 26 (threshold 15). Drivers by points: if/else 21, boolean chains 4, match/switch 1. To reduce it, split the body: this score is breadth rather than depth \u2014 many checks laid out side by side rather than nested inside one another, so inverting conditions into early returns has nothing left to flatten. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/server.rb"},"region":{"startLine":216}}}],"partialFingerprints":{"codehealthFindingId/v1":"72420d7d18c01c66bea94c48f77e96f9fc9ce708799052bdd2106b60e457c3cd"}},{"ruleId":"D2","level":"warning","message":{"text":"PackageURL.to_s (cognitive 25): PackageURL.to_s has cognitive complexity 25 (threshold 15). Drivers by points: if/else 10 (15 pts), match/switch 5 (6 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 7). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/requests/support/package_url.rb"},"region":{"startLine":273}}}],"partialFingerprints":{"codehealthFindingId/v1":"38b53cfa9859aa3c399d202932e0c42fb8fb3ab88e2cf29eb27392810a6204b1"}},{"ruleId":"D2","level":"warning","message":{"text":"GlobalState.apply_options (cognitive 24): GlobalState.apply_options has cognitive complexity 24 (threshold 15). Drivers by points: if/else 17 (19 pts), boolean chains 5 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"lib/ruby_lsp/global_state.rb"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ea651ffa4207abb3c2eff23439729fb5582c4839de74ea791889cb192abcbe4"}},{"ruleId":"D2","level":"warning","message":{"text":"TypeInferrer.infer_receiver_for_call_node (cognitive 24): TypeInferrer.infer_receiver_for_call_node has cognitive complexity 24 (threshold 15). Drivers by points: if/else 11 (22 pts), boolean chains 1, match/switch 1 (nesting depth added 11). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/type_inferrer.rb"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"28fcfe1164e261ac59de1a6e04ab287bd07c372e099a64925f784c1681711046"}},{"ruleId":"D2","level":"warning","message":{"text":"SetupBundler.setup! (cognitive 23): SetupBundler.setup! has cognitive complexity 23 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 8, ternaries 2 (3 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/setup_bundler.rb"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a0a5a3631e06a3da373a99d914f81afdfeee984d07935d982353aa708ad204e"}},{"ruleId":"D2","level":"warning","message":{"text":"ERBScanner.scan_char (cognitive 22): ERBScanner.scan_char has cognitive complexity 22 (threshold 15). Drivers by points: if/else 10 (16 pts), boolean chains 5, match/switch 1 (nesting depth added 6). 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":"lib/ruby_lsp/erb_document.rb"},"region":{"startLine":98}}}],"partialFingerprints":{"codehealthFindingId/v1":"e62f4109dd399b0e417ffab0994a6be861c299b1e9036f11ca287022dd6b34a3"}},{"ruleId":"D2","level":"warning","message":{"text":"Server.process_message (cognitive 21): Server.process_message has cognitive complexity 21 (threshold 15). Drivers by points: if/else 6 (11 pts), error handling 3 (5 pts), match/switch 2 (5 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/server.rb"},"region":{"startLine":18}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5a154a838b8be03f9c73f98f555dbd013e19d2d447dd415f3ae5a33f766c247"}},{"ruleId":"D2","level":"warning","message":{"text":"Ruby.activateRuby (cognitive 21): Ruby.activateRuby has cognitive complexity 21 (threshold 15). Drivers by points: if/else 9 (17 pts), error handling 2 (4 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/ruby.ts"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf8c117950ce91d88bf3505da6f8515160097663c8bad69272d1706063eff84c"}},{"ruleId":"D2","level":"warning","message":{"text":"CodeActionResolve.refactor_variable (cognitive 19): CodeActionResolve.refactor_variable has cognitive complexity 19 (threshold 15). Drivers by points: if/else 11 (15 pts), boolean chains 3, ternaries 1 (nesting depth added 4). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/requests/code_action_resolve.rb"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3764f96c7c3c52fd69f0c8f79c762ffa3469c42bdb62081264e9377c185e1dc"}},{"ruleId":"D2","level":"warning","message":{"text":"Completion.complete_methods (cognitive 18): Completion.complete_methods has cognitive complexity 18 (threshold 15). Drivers by points: if/else 9 (10 pts), boolean chains 4, ternaries 2 (3 pts), error handling 1 (nesting depth added 2). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"lib/ruby_lsp/listeners/completion.rb"},"region":{"startLine":478}}}],"partialFingerprints":{"codehealthFindingId/v1":"ff9c9f37e26f767a0483abcffa6c0df26cb2395ad8bd50b4aa778bed81c1a011"}},{"ruleId":"D2","level":"warning","message":{"text":"BaseServer.start (cognitive 17): BaseServer.start has cognitive complexity 17 (threshold 15). Drivers by points: if/else 4 (7 pts), error handling 2 (5 pts), boolean chains 2, ternaries 1 (2 pts), match/switch 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/base_server.rb"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"b8c4eec83c1c01f39390d019b9f2221398ffc447f8a20a72d3b162c3e7d9384b"}},{"ruleId":"D2","level":"warning","message":{"text":"SetupBundler.write_custom_gemfile (cognitive 17): SetupBundler.write_custom_gemfile has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10 (12 pts), boolean chains 3, ternaries 1 (2 pts) (nesting depth added 3). To reduce it, split the body: most of this score is breadth rather than depth \u2014 checks laid out side by side rather than stacked \u2014 so group the statements between the checks into named steps and move each step into its own function. Some of it IS depth: where a check sits inside another whose only job is to reach it, merge the two into one condition, 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":"lib/ruby_lsp/setup_bundler.rb"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"c5c737baa03a5e673a14342f79bd34616a8739fbfd26bf75ac650a31677be287"}},{"ruleId":"D2","level":"warning","message":{"text":"Client.benchmarkMiddleware (cognitive 17): Client.benchmarkMiddleware has cognitive complexity 17 (threshold 15). Drivers by points: if/else 6 (13 pts), boolean chains 2, error handling 1, ternaries 1 (nesting depth added 7). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/client.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9ff5c870f52fd58d99104f73b0476dce5c2b7baa09cfa04dff415de202e42a"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: RubyLsp.registerCommands: MethodTooLong \u2014 registerCommands runs 300 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 200 over it, 3.00\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":"vscode/src/rubyLsp.ts"},"region":{"startLine":219}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eec6a039b4cc313186bf881b2ae17279e7f33a5b9a83a80c70ee5c9d9c9c888"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ruby_lsp/server.rb: FileTooLong \u2014 1097 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 597 over it, 2.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":"lib/ruby_lsp/server.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"aee520a86e36b174feb094519c67c55a574e39e1e32c2935f91ae4c9326b6ee0"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DocumentHighlight: TooManyMethods \u2014 63 methods. The bar is 30 methods; this is 33 over it, 2.10\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/document_highlight.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e01b39dcb4bac1303b6c7ae188dc4ee0c51b6628055cdb243c18775a90dc400"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DeclarationListener: TooManyMethods \u2014 62 methods. The bar is 30 methods; this is 32 over it, 2.07\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"6cba75ed4b4cdfcba60d18ecf15eb49157293b0b728f4b906669038b54b76d24"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Server: TooManyMethods \u2014 55 methods. The bar is 30 methods; this is 25 over it, 1.83\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/server.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"50d9bd359d34f712a272d425d6ad8209cc1bb57dcf9c6928b03895ea3c776b86"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ruby_indexer/declaration_listener.rb: FileTooLong \u2014 798 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 298 over it, 1.60\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":"lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"344d903dfae55ab610d059785189467c48685238886ed9a9629c3c7eb22a963e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Index: TooManyMethods \u2014 43 methods. The bar is 30 methods; this is 13 over it, 1.43\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_indexer/lib/ruby_indexer/index.rb"},"region":{"startLine":5}}}],"partialFingerprints":{"codehealthFindingId/v1":"04bd83b1fa24707f0b0115a5f9782f4ebbf93fb694024c04beffc696aa862619"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: RubyLsp: ClassTooLong \u2014 551 significant lines (blank, comment-only and punctuation-only lines excluded), 16 methods. The bar is 400 significant lines; this is 151 over it, 1.38\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":"vscode/src/rubyLsp.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"c1abbdc7725310e035d24ccf73105910744c3c2fba900c984d6d5696c69ef42d"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Hover: TooManyMethods \u2014 38 methods. The bar is 30 methods; this is 8 over it, 1.27\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/hover.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"87011ec4cf76a5e06445aea7359d2a4575e3576eb76cf5020f7856566afd0f7c"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: ruby_indexer/index.rb: FileTooLong \u2014 622 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 122 over it, 1.24\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_indexer/lib/ruby_indexer/index.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"59f55a93893eec937f716c09cc3a495b53fc83c230f3ae5ecf53a6f8e96fccda"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Definition: TooManyMethods \u2014 37 methods. The bar is 30 methods; this is 7 over it, 1.23\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/definition.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d369f129846d1c17c0108e44b5b83e0e8d1c7a0f79e1e94ff78d43c4f33cd61"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/rubyLsp.ts: FileTooLong \u2014 568 significant lines (blank, comment-only and punctuation-only lines excluded), about 97% of them inside a single declaration: RubyLsp (24-952). The bar is 500 significant lines; this is 68 over it, 1.14\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/rubyLsp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"32c77c65c8e51feb79c484e1e07c26ad0e12867822121b910e46bfee4c1d203e"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: Completion: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/completion.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f20b803bd4eb356e1765be54a7821c9d318f900941e985a7c8529cd6454b509"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: DocumentSymbol: TooManyMethods \u2014 34 methods. The bar is 30 methods; this is 4 over it, 1.13\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/document_symbol.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7703caa942127cc34807b79a78cd5747cc2a375ca75a069b04828ec9d7cc05"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: FoldingRanges: TooManyMethods \u2014 31 methods. The bar is 30 methods; this is 1 over it, 1.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/folding_ranges.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4229f7a1ef2e98f88581fbb0fd18fc96d02c0d2cf27229e2168475c87a2b1c99"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (4 members, 50\u002B identical tokens): lib/ruby_lsp/server.rb:725-745 | lib/ruby_lsp/server.rb:934-954 | lib/ruby_lsp/server.rb:978-999 | lib/ruby_lsp/server.rb:1004-1024 \u2014 These 4 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 4 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 4 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/server.rb"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"86faf3007295f136b4e0275f2ea64dcb46baf2408cb408a2f3c4e4524ac7025a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (20 lines \u00D7 2): lib/ruby_lsp/listeners/completion.rb:366-385 | lib/ruby_lsp/listeners/completion.rb:400-419 \u2014 both copies are in the same file, so extract the block 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":"lib/ruby_lsp/listeners/completion.rb"},"region":{"startLine":366}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f1f4152b8d1f94ee979522f854221849583059d7ea2509b74baa485ffbb5e06"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (19 lines \u00D7 2): lib/ruby_lsp/requests/prepare_rename.rb:22-40 | lib/ruby_lsp/requests/rename.rb:34-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. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/requests/prepare_rename.rb"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f9338fe2d0e32caa29d0619fe52a30e7ccc7f71ca1d922af0c481e3f6e51cfc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13\u201317 lines \u00D7 2): lib/ruby_lsp/server.rb:535-547 | lib/ruby_lsp/server.rb:556-572 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/ruby_lsp/server.rb:556\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. 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":"lib/ruby_lsp/server.rb"},"region":{"startLine":535}}}],"partialFingerprints":{"codehealthFindingId/v1":"36246e8704127f082a5f443a0a71096d7a2cecb6816f7f578d438cb7fcd7f093"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): lib/ruby_lsp/server.rb:666-681 | lib/ruby_lsp/server.rb:913-929 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/ruby_lsp/server.rb:666\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":"lib/ruby_lsp/server.rb"},"region":{"startLine":666}}}],"partialFingerprints":{"codehealthFindingId/v1":"43225fd9007f986f0cd8b3e89e97f77bcb3c503e67daf55b3f5b84154b06e037"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2): lib/ruby_lsp/listeners/definition.rb:262-274 | lib/ruby_lsp/listeners/definition.rb:305-317 \u2014 both copies are in the same file, so extract the block 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":"lib/ruby_lsp/listeners/definition.rb"},"region":{"startLine":262}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1525d066242e3fd63df9e0b9819c2f7da115d8e6945ca6ef1bad1dda1c3e0e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 4): lib/ruby_lsp/server.rb:725-736 | lib/ruby_lsp/server.rb:934-945 | lib/ruby_lsp/server.rb:978-989 | lib/ruby_lsp/server.rb:1004-1015 \u2014 all 4 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/ruby_lsp/server.rb:725\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/server.rb"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"f9500fcf98e29a956b0a7f240ca26403f8a382ddc167af8ebe12483e07c6e201"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (10\u201311 lines \u00D7 2): lib/ruby_lsp/requests/code_action_resolve.rb:117-127 | lib/ruby_lsp/requests/code_action_resolve.rb:224-233 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/ruby_lsp/requests/code_action_resolve.rb: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. 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":"lib/ruby_lsp/requests/code_action_resolve.rb"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"0849745ee4e92f252073d6038fc421625947a55deba4f73638f6f1addceb5ddf"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): lib/ruby_lsp/listeners/definition.rb:363-369 | lib/ruby_lsp/listeners/definition.rb:378-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 \u0060lib/ruby_lsp/listeners/definition.rb:363\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":"lib/ruby_lsp/listeners/definition.rb"},"region":{"startLine":363}}}],"partialFingerprints":{"codehealthFindingId/v1":"3ad767db220a301847a88eb639ebe98039d8d94ad7b8474d0ff3a838dad805ea"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): lib/ruby_lsp/listeners/document_highlight.rb:78-82 | lib/ruby_lsp/listeners/document_highlight.rb:598-602 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/ruby_lsp/listeners/document_highlight.rb:78\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":"lib/ruby_lsp/listeners/document_highlight.rb"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"65222c48fd4bb985326094d870ae6b8ce14489310fdac2e38212114fa1feb6f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8\u201313 lines \u00D7 2): lib/ruby_lsp/requests/discover_tests.rb:39-46 | lib/ruby_lsp/requests/discover_tests.rb:55-67 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060lib/ruby_lsp/requests/discover_tests.rb:55\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":"lib/ruby_lsp/requests/discover_tests.rb"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c75b5af2492f9cf5a9955b4e6926a1098cd727c3811fc8ff5a4440d0dc82e65"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DocumentHighlight (LCOM4 7): DocumentHighlight\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/document_highlight.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"14e0a3040566eb80737b455b0442d1cde1917e96f7f243f994c2ba0946c4fb7f"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DocumentLink (LCOM4 7): DocumentLink\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/document_link.rb"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"bca3f40f3ed1a5c776e2e0e08d0ef1085f44723bb35f83345e953b956b0684c6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: DocumentSymbol (LCOM4 7): DocumentSymbol\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/document_symbol.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"4adab96882f0ce36503339918b9f59ef47bd0d6990a4a7cafb3c3cb2f4a9d3b6"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: FoldingRanges (LCOM4 7): FoldingRanges\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/folding_ranges.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"b14c1a656c993885d4a0b2cc130f2d8f3f765486e0ef43aec7f39581bc862a57"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: InlayHints (LCOM4 7): InlayHints\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/inlay_hints.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"db3541432fa05be9382f52deb7fe4db4f55dbcb5074570ccbd673afe48216ad3"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: TestDiscovery (LCOM4 7): TestDiscovery\u0027s methods fall into 7 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 7 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/test_discovery.rb"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"d13ddab2fd9f42f9244624a58991faecf720b1c2f71ab0381a84fe36b80effa1"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Completion (LCOM4 6): Completion\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/completion.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d327fb2bf690a253f6c38e795bf1f749253a67ebc18e7683339fc597a6f9de8"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Definition (LCOM4 6): Definition\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/definition.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"56a1271a08571b57e0377278d821552357d8815f85dd7792afa5d674f349b84b"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SemanticHighlighting (LCOM4 6): SemanticHighlighting\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/semantic_highlighting.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e6ac93c40ff87ff2f71c669a1d2a450ee2746a3d20ddca0e8434458dff45b95"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: SignatureHelp (LCOM4 6): SignatureHelp\u0027s methods fall into 6 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 6 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/signature_help.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"077b25a0811d15cac98472d99b0864436479571c54cd50dbd118a47601e93866"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: CodeLens (LCOM4 5): CodeLens\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/code_lens.rb"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"f23227e55e334f89c2d006d4068018d89be2179bf141b26c08bb5a7ec9b716dc"}},{"ruleId":"D6","level":"warning","message":{"text":"Low cohesion: Hover (LCOM4 5): Hover\u0027s methods fall into 5 groups that share no field and call none of each other, against a bar of more than 3 for this run (LCOM4, configurable \u2014 your repository\u0027s bar is the one quoted here). Each group is a set of methods reachable from one another through shared fields or direct calls, so 5 groups means the type has that many internally-connected clusters with nothing tying them together. Types whose shape makes a high count expected \u2014 and which would otherwise dominate this list \u2014 are excluded before this row is raised, so this is a genuine split candidate rather than a metric reading. It is still a shape, not a defect: confirm the groups match responsibilities you can name before splitting."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/hover.rb"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b907c2e75b85349e6788d98194c969d9462606c01b03a309162bf84b6fef930"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 2 significant file(s) lose their only recent owner: lib/ruby_lsp/listeners/test_style.rb, lib/ruby_lsp/listeners/spec_style.rb. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"e321dbf8354bf5191e00a0175006f2d8ff8ad0a07017f7bd5f42e42b6487d9b7"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 1 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (3 single-owned of 81 analysed files in total, 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; 81 of the 137 production source files in this repository met that bar). They are anonymized user #2 (1 file(s)) \u2014 spread or document their files in the same way, at lower priority than the named off-boarding risks above. The files folded here: vscode/src/chatAgent.ts."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: implement subtypes \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/server.rb"},"region":{"startLine":1204}}}],"partialFingerprints":{"codehealthFindingId/v1":"7aed28aed531826f57e38e0482e8b6843e3ffeb071f99e7147db4e9d857c08ec"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: avoid passing document once we have alternative ways to get at \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/requests/support/rubocop_diagnostic.rb"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e2cf89a8b3bb67ac41089c28895102e56197544c85a655e0c581880a38d5bc1"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: # TODO: fails for multiline strings - may be preferable to use block \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060# REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/requests/support/rubocop_diagnostic.rb"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"608ba7d9440cc4169ebae77110099213aff09595eb02d3a251b5f5a3dff6ddc5"}},{"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: \u0022Execute folding range for the host language\u0022 repeats the code it sits on: 4 of its 5 words (execute, folding, range, host) are already in \u0060const hostResponse = await vscode.commands.executeCommand\u003Cvscode.FoldingRange[]\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":"vscode/src/client.ts"},"region":{"startLine":729}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b40c40ff47e103530a8f95c7cad7bcc1f1332f8583317bd2a4756ca437e425e"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Execute document links for the host language\u0022 repeats the code it sits on: 4 of its 5 words (execute, document, links, host) are already in \u0060const hostResponse = await vscode.commands.executeCommand\u003Cvscode.DocumentLink[]\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":"vscode/src/client.ts"},"region":{"startLine":746}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf9468888e9a64e50e5fe0746c38ac6f7a24acb8440b21fd305f22c855f99836"}},{"ruleId":"D26","level":"note","message":{"text":"Projects may be oversized for their cohesion: 1 of 2 project(s) overshoot their size bounds, lowering Project Cohesion to 0.0/10. The most over is \u0060(repository root)\u0060 (16165 LoC, 351 module-visible types across 10 directories). Review these for cohesion \u2014 draw the boundary inside the module first (group each responsibility into its own package or directory and keep the cross-boundary members non-public), since splitting a published package moves types between packages and breaks consumers."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d5a94650dc74886a0f1f08eb9fb6775f1fc395279ef7e901c970c9d26f767a72"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d5b8f11381d61a58459ffc7c595fd52d09c03c711894a63a9578043d2338412b"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"482e3b19efd040fb2215efbc5e65f5b9996234817368c5a9198eb89910e46231"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a1e315ee108c0ef562ce67afc8a028397a22037063b69dfeed4bc9ab20c1f6cc"},"taxa":[{"id":"CWE-269","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"e691c6cc17786243b74cadcec8e3c95e627c4b76881d70fae4028ed5009393f6"},"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":"4eff00fa1630f3893f417ca45faa87934c5218ca4d1cfbda258e32adc23f8c85"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"3602f6357fe427be08ea4de363837f00cb0132d1a6c895624771f8c98484a849"},"taxa":[{"id":"CWE-522","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"8b1c6dc97d2260fbbc6b387f7a48d423c308c4bc615982242e754822c01fd2b4"},"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"}},{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"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":"8553fd93b39a387b1ed446207b02de147a04ad710cb1991481d21be010f37d63"},"taxa":[{"id":"CWE-250","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":"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":"28a1fbe536d50d0564e8fd5b437ab7c5ec0478b5f590bf78ab15afd4b49813a1"},"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":"00deabf9697237a3c9eafa6ddcfffad6eb9f1a30f141928fb6942250086369cc"},"taxa":[{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9434ad92cafe54de638f563bcf2a563566fff045a593ecab30592e39a55d5253"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd6ba9180326292d0d672e8e4c8af56cfc17d91d11cf39adcb2f2ed569d9828f"},"taxa":[{"id":"CWE-1265","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"5f53c70c380e70b16185928d9c4e10ce7f3109fd2f92b776494503aaca75bf4d"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06: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":"6586ae0954cf58b9c401db676b9b7e755fb9accb724e001520dd4ce867f87467"},"properties":{"dependency":{"package":"json","version":"2.18.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"e09fed0e38e2bc52024cd0d65bcffa57fef97181f8ca4cf65aef4931c4e653e7"},"properties":{"dependency":{"package":"erb","version":"6.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"unknown"}}}},{"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":"0d04d91ce98fb192e488f10d0c1d4ae607bc0d5fe6dc93338f433576e068c974"},"properties":{"dependency":{"package":"@azure/msal-node","version":"5.2.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"fcb39cd41c0d04d8dd72ff7b1d1651f2f33bec7950b34e571b4595fd35ff3b45"},"properties":{"dependency":{"package":"brace-expansion","version":"1.1.11","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"50020625bbc096f6b135751e7631c58b565404b9cdff56dfd653ba26614d5ed4"},"properties":{"dependency":{"package":"brace-expansion","version":"2.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"cb159645c047818f6412287b08758dad3977477af16514e8f21e4deb3bdc512c"},"properties":{"dependency":{"package":"brace-expansion","version":"5.0.7","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"10794d9be13ac74f8183fe80e5250641f2d8298b274b7c4ea97ea7796e75f896"},"properties":{"dependency":{"package":"fast-uri","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"21ebb83064e5eee2d62d2e9b1cf8eeaba25a937c111c82c138106d40ad0e648e"},"properties":{"dependency":{"package":"follow-redirects","version":"1.16.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"fb1e6c94079c4c10f94116eac9fecb9baceb6c9d827de3d3bd88d74fd742cd82"},"properties":{"dependency":{"package":"form-data","version":"4.0.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"6795d1719e11f251301db4484cf9647be76561ab4962148975842b7b2f2c2978"},"properties":{"dependency":{"package":"js-yaml","version":"4.1.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"3c9f4b04f94e467324c61bdb08c6d599ddcce6ef4bf9b8d88a0dce444814fc73"},"properties":{"dependency":{"package":"js-yaml","version":"4.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"06229220bc08a223428fefb97435e270b5d56442e6e63ac8b0251a77aeccb819"},"properties":{"dependency":{"package":"linkify-it","version":"5.0.1","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"6679cc9176e666f71739b99631a18c517952916fd2dc804dee22b384e2e24473"},"properties":{"dependency":{"package":"markdown-it","version":"14.2.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"bfb5eeae1a7ec0ded5fdec073a0c0b5fdd5ebe2cc46f047cb7dc246b6e3cf244"},"properties":{"dependency":{"package":"minimatch","version":"3.1.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"046d80ce711875476595f49f582cb09f41bc80134bc429fa5767014b73e46717"},"properties":{"dependency":{"package":"serialize-javascript","version":"6.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"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":"243d0720410d1f877d566fc8646f26be26456170703d1a96dd81ad2ca2d6bb2b"},"properties":{"dependency":{"package":"undici","version":"7.27.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"a916386c0b545dcbc80e7cce1c10939c444254c3579e97551b664611c027e036"},"properties":{"dependency":{"package":"yard","version":"0.9.38","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[GHSA redacted]"],"reachability":{"kind":"unknown"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"73032a53428da6bfd2d2ea30937baec896e4d8c78e4fdd2406de8595cd71913c"},"properties":{"dependency":{"package":"@humanfs/node","version":"0.16.6","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"97d5b1561647e671b51de9163d7581424d6f46a0be8fc4bb47678ba7fa1a87c9"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"4ab1b8daa0018529bfe4ca14aa373c3073b844131f05d219ac7e948a33f000bc"},"properties":{"dependency":{"package":"glob","version":"10.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7fdaefa85ea0f6d68f33f48c94aa024c00497f0c4c3d9168acc86a020b7bd558"},"properties":{"dependency":{"package":"glob","version":"13.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"499dd161db3e11d53da4fa096d398ce625227e672f953979b6370801849a0ec0"},"properties":{"dependency":{"package":"minimatch","version":"10.2.5","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0472d7706618a7db95411c3f3b87817889ca4bd8e0ca66c300c14847c310d59f"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1f5d48c099b1b1d79c7555c5b4feb09256251a4716e53aa5e0ab512590a3c2c0"},"properties":{"dependency":{"package":"qs","version":"6.15.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"296e9c7a0dddf83d88ddfd30a8c2aebd56b439a7f5b240f77c62502d6eada4e9"},"properties":{"dependency":{"package":"@eslint/plugin-kit","version":"0.3.3","advisory":"[GHSA redacted]","reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","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":"8caa3be079ad234f65f601d4a4a5c382540bf72cbf8feae64916f0c17fe29106"},"properties":{"dependency":{"package":"diff","version":"7.0.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3adeb5ca433f8377e0513466abe226661632e2c7a65ab03d48b79033987746ab"}},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3b1568673c97a5ce9b1ec5a08dba083d705b7ca92047378b6f33333438b27491"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D31","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"c790f76cf70ef3b7e11b2b2e046aa998549442297137ee1873617b41f8d8e165"}},{"ruleId":"D34","level":"error","message":{"text":"Orphaned knowledge: No living knowledge remains for this large file \u2014 its last meaningful change has decayed away; if it breaks, no one currently understands it. Schedule a read-through / add characterisation tests before it bites."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/document_highlight.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"50915bb39617a8bdbfe7daa5ad69f233f3756ecdfccbac32a3fbae55140e0fed"}},{"ruleId":"D34","level":"note","message":{"text":"Further orphaned files (smaller): 9 smaller file(s) also have no living knowledge \u2014 folded into the freshness score and metrics rather than raised one row each \u2014 most significant first: lib/ruby_lsp/requests/support/package_url.rb, lib/ruby_lsp/listeners/document_symbol.rb, lib/ruby_lsp/listeners/code_lens.rb, lib/ruby_lsp/listeners/folding_ranges.rb, vscode/src/dependenciesTree.ts, lib/ruby_lsp/response_builders/semantic_highlighting.rb, vscode/src/infoCollector.ts, lib/ruby_lsp/requests/go_to_relevant_file.rb (and 1 more) (10 orphaned of 81 analysed files in total, 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; 81 of the 137 production source files in this repository met that bar). Attach the read to the next change that touches one of them: have a second person review that change, and leave behind a short comment or test recording what the file is for, so the knowledge comes back at the cost of a change you were making anyway."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ce861fd78f6935114d3a342cb90ad25870f984e1042954fcbbe27c0e23be3658"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned file: No one still active in this repository holds living knowledge of this file: everyone who made a meaningful change to it has gone quiet, or what the current team did to it (moves, reformatting, log-level or import edits, renames) never needed understanding it. If it breaks, no one currently understands it. Attach the read to the next change that touches it: have a second person review that change, and leave behind a short comment or test recording what the file is for."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/requests/support/package_url.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec374c8b9018a1e26732985d860d2f85faacc7c34767f029b39cbef8f5c5ecec"}},{"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":"lib/ruby_lsp/listeners/document_symbol.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"53e5c9ffb066b558cc30ae55d6a42d55561a9d4a42a1bdbf3c48ffb990159064"}},{"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":"lib/ruby_lsp/listeners/code_lens.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"640395715ce73fe1ac889b2b466e69edd109a2479ff550eaa90cf5b31f64de16"}},{"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":"lib/ruby_lsp/listeners/folding_ranges.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88b7c1f80224ccc1b27f07e6339464ee4fd8fd7493cf65a06fc104dfd989c03c"}},{"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":"vscode/src/dependenciesTree.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef37dbffee3b3e51630cb3fe230de4e6ee9a0743069afe9b6541770591778bb1"}},{"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":"lib/ruby_lsp/response_builders/semantic_highlighting.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"23c97d5869d6c676963da9671f037397ff7f3bc40bf8d68f4a26c5162ed54b0b"}},{"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":"vscode/src/infoCollector.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f7b505043b8139842916d0fbdc9917f3058150e9499cef49a0a4bc6a86f4a737"}},{"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":"lib/ruby_lsp/requests/go_to_relevant_file.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3cf0a4c4a9e066c6fda9173df283acb5f18adfdb35bbeb552435d659948a76a"}},{"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":"lib/rubocop/cop/ruby_lsp/use_register_with_handler_method.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc7753c0b55b23ec594c6037449dbd113ba69a0ef0ae40749fd5c629128d3025"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: signature_help.rb \u2192 completion.rb, definition.rb, hover.rb, completion.rb, hover.rb: \u0060lib/ruby_lsp/listeners/signature_help.rb\u0060 changes together with 5 other files \u2014 \u0060lib/ruby_lsp/listeners/completion.rb\u0060, \u0060lib/ruby_lsp/listeners/definition.rb\u0060, \u0060lib/ruby_lsp/listeners/hover.rb\u0060, \u0060lib/ruby_lsp/requests/completion.rb\u0060, \u0060lib/ruby_lsp/requests/hover.rb\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 5 separate couplings, not 5 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 5."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/signature_help.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"db6d1ab21bd33563db492a0b94780b39c204f59e63793e2f038a412418840164"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: client.ts \u2194 status.ts: \u0060vscode/src/client.ts\u0060 and \u0060vscode/src/status.ts\u0060 change together 63% of the time (22 of the 35 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency between them. They sit in the same directory, but in this ecosystem each file is its own module \u2014 a sibling reference still needs an import \u2014 so the missing import edge is real: the coupling runs through shared behaviour, not a declared dependency. If they duplicate structure, extract the common part into one unit; otherwise the coupling is hidden and worth breaking. You can check this without leaving the row: of the 22 shared commits counted here, the most recent 3 are \u00605f13ecda\u0060 Remove experimental features from extension and migrate old settings \u2026; \u0060d8e4c32f\u0060 Show that server is running on degraded mode (#2800); \u0060a6ddd5bf\u0060 Eagerly activate workspaces for opened files (#2283) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e99cbdd66124e34dda502f1939ee51bac609281853af61f565d4016a2e6dd04"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: completion.rb \u2194 completion_resolve.rb: \u0060lib/ruby_lsp/listeners/completion.rb\u0060 and \u0060lib/ruby_lsp/requests/completion_resolve.rb\u0060 change together 57% of the time (8 of the 14 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) with no explicit dependency \u2014 the edge is real but nothing declares it. Read the pair before acting: if one registers itself into the other through a hook or an initialiser, the missing dependency is DELIBERATE \u2014 the registration is the link, and it is meant not to be an import \u2014 and the thing to add is a comment on each side naming the other, not a merge; if they simply belong together, co-locate them; if neither holds, the coupling is hidden and worth breaking. You can check this without leaving the row: of the 8 shared commits counted here, the most recent 3 are \u0060316d4b08\u0060 Support Hover, Completion, Go to definition for Class Variables (#2944); \u0060c00f2bce\u0060 Add infrastructure for keyword documentation (#2581); \u0060e66513d7\u0060 Introduce guessed receiver types (#2210) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/completion.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7abb0b418ca8d114ea66afca4880ec83312b90ab277b880ea196e01c8f6dae8f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: hover.rb \u2192 completion.rb, definition.rb, completion_resolve.rb: \u0060lib/ruby_lsp/listeners/hover.rb\u0060 changes together with 3 other files \u2014 \u0060lib/ruby_lsp/listeners/completion.rb\u0060, \u0060lib/ruby_lsp/listeners/definition.rb\u0060, \u0060lib/ruby_lsp/requests/completion_resolve.rb\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 3 separate couplings, not 3 unrelated pairs. Read the hub first: if the others each duplicate a part of what it does, the shared concern belongs in ONE unit and extracting it clears every edge at once; if the hub is a registry, dispatcher or barrel that must name each of them, the coupling is structural and the question is whether that list can be discovered instead of enumerated. Fixing the hub is one change; breaking the couplings one pair at a time is 3."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ruby_lsp/listeners/hover.rb"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"100e8e39381b51ef71053365c8e7f71b2871bc0d75931777ee1e4c4b384ac9c1"}},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1b213f6eedd4b140d0bc37bdf1496f72811a643f34064f12518b32e9e83bcfc7"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"0e17f71490e4d120a48b2b2881ab866c93b272bef2febb673a3e8e42b2c288ab"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"eb00976a698a5d68999b7ee6d27206fd374e916853e7ff1ead5eed42386f043f"},"taxa":[{"id":"CICD-SEC-9","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"90f83b4fa27db32740afe9540c905f3c0499caed87f61049a8a903ecc95b41c3"},"taxa":[{"id":"CICD-SEC-8","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","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":"645044c57fe8e12eeb6dbed33a581c26a1c9ecec3e08f0356457a492868542c3"}},{"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":"9381ca0a691921c2e007795c85f4bb201ec7a16e46bc1c73b740e9eba2b90eec"},"taxa":[{"id":"CICD-SEC-6","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":"19d4cbb252a3e4997007fe629a8fde65a6a24e745494155b47ed43cbf523f1eb"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ba798da8bd3afa41d6494fdd26fa745c62944fff9457d05ceb377cc983eb4a33"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"57a43920eef625f573fed8b2a703ee6bb2537de54a7adfbd5ee99a70fc3fcea9"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2e40de492e15d73125d7e25574781b2e100763c53bdf4ae4ec33493503b64c76"},"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":"a5fd692e6e7b902d9752f5585c7c8424de872c07565cd7b9a49cf413aad68d61"},"taxa":[{"id":"CICD-SEC-4","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"d657599f6f99da1927d3377533dfc0888b34c4d84aa7d5579841fd72d0e39bce"},"taxa":[{"id":"CICD-SEC-6","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/fixtures/minitest_example.rb"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd15567b745cc089a6536a4e93018fca73f3deee1891cb97d1e7118aa4f5f19a"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/requests/code_actions_formatting_test.rb"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"d03c3b83a55ecb4325d32863a749b2df6033112c46a8cbafef0eef06aa85b083"}},{"ruleId":"IC1","level":"note","message":{"text":"Disabled test: A test is skipped/ignored \u2014 coverage that looks present but never runs. Re-enable it or delete it so the green run means something."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"test/requests/code_actions_formatting_test.rb"},"region":{"startLine":38}}}],"partialFingerprints":{"codehealthFindingId/v1":"167d78768860e807ad99f01f73f225fa76721efc7b94cb31b9bd9f5d09f51136"}},{"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":"P2","level":"warning","message":{"text":"No structured logging: No logging call was found in the 133 Ruby, JavaScript/TypeScript production file(s) this check read across 2 module(s). Each was searched for its ecosystem\u0027s logging libraries (JavaScript/TypeScript: pino, winston, bunyan, log4js, loglevel, consola, the NestJS Logger; Ruby: Rails.logger, Logger.new, SemanticLogger, Lograge) and for a call on a receiver named \u0060log\u0060/\u0060logger\u0060 (or ending in \u0060Logger\u0060/\u0060_logger\u0060) with a level verb. It cannot see logging through a repo-local wrapper named otherwise, or in source it did not read \u2014 this is \u0027no logging found by this walk\u0027, not a verdict that nothing here logs. If it is right, production issues will be hard to diagnose."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"9f10d71351c6778ebe84e761f82a90d4f9ed6c64f5e01975ede8fda7e4e2ebc5"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add brakeman for Rails apps, otherwise \u0060semgrep --config=auto\u0060 or CodeQL\u0027s ruby pack as a CI step. What was searched, so you can tell an absence from a miss: the 22559 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/ci.yml"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P6","level":"note","message":{"text":"No changelog: No CHANGELOG/HISTORY/RELEASES file \u2014 what shipped when isn\u0027t easy to reconstruct for support or audit. (Versioning/tagging makes releases traceable, but a changelog records the what.)"},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"dda5aa5aed8cbb292c3ef2b733bc138f614293ae6426c85e98bf31ef330d9415"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (24 lines \u00D7 2 locations): vscode/src/rails.ts:13 \u00B7 vscode/src/rails.ts:47 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/rails.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1dbbcb1cd196adb3d08ae4fa34aaae608e737838172458023649433a41a234a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (22 lines \u00D7 2 locations): vscode/src/dependenciesTree.ts:183 \u00B7 vscode/src/dependenciesTree.ts:209 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/dependenciesTree.ts"},"region":{"startLine":183}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4658f26ab6d862993b2daf629a73bf80d99eb696c97571ce7f33405b573ec30"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (21 lines \u00D7 2 locations): vscode/src/rubyLsp.ts:440 \u00B7 vscode/src/rubyLsp.ts:466 \u2014 both copies are in the same file, so extract the block 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":"vscode/src/rubyLsp.ts"},"region":{"startLine":440}}}],"partialFingerprints":{"codehealthFindingId/v1":"498a09d3c5b64e3ad5446389221a53e44b61bec8288b422d44e4d800a24ada70"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): vscode/src/streamingRunner.ts:327 \u00B7 vscode/src/streamingRunner.ts:341 \u2014 both copies are in the same file, so extract the block 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":"vscode/src/streamingRunner.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"2457a431e63b7a5102632800d63d4ef627404136123bf3a04c9bc2501691f728"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 4 locations): vscode/src/streamingRunner.ts:305 \u00B7 vscode/src/streamingRunner.ts:317 \u00B7 vscode/src/streamingRunner.ts:331 \u00B7 vscode/src/streamingRunner.ts:345 \u2014 all 4 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/streamingRunner.ts"},"region":{"startLine":305}}}],"partialFingerprints":{"codehealthFindingId/v1":"b78283ef1f8a5a2c04a0996073101e4cb7c13bb410ac958e59c91c4cf9e6a508"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 3 locations): vscode/src/ruby/asdf.ts:30 \u00B7 vscode/src/ruby/mise.ts:15 \u00B7 vscode/src/ruby/rvm.ts:20 \u2014 the 3 copies are spread across 3 files, and the SHAPE of this repetition could not be determined. It is not a run of declarations, a listing, a declaration header, a type body or a slice through a construct \u2014 and it was not measured as a run of executable statements either, so this row cannot tell you whether a function can stand where these lines are. Read the two spans before acting, because the move is opposite in the two cases. Where they are statements, the ordinary answer holds: give the shared part one home and call it from each site. Where they turn out to be declarations, a literal\u0027s entries, or the cases of an enumeration, there is no call site to call anything from, and collapsing them would delete what each copy pins \u2014 a shared base type, a generated set, or one exported constant each site refers to is the move instead, and sometimes the honest answer is that there is nothing to extract at all. Reported because the copies drift apart the first time only one of them is edited, which is true whichever of those they are."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/ruby/asdf.ts"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"2bd35c96d2bbc464dfd1c9a8c5fb50e5602456a8f10633f2f832ad57d2e0efe2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): vscode/src/ruby/custom.ts:11 \u00B7 vscode/src/ruby/none.ts:30 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 tokens are still identical, in the same order in both files, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/ruby/custom.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"86283022d4da9ce469b319a8475cdf9487d6f5105b2240566db8a20b5faa63d7"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (9 matched lines \u00D7 2 locations): vscode/src/testController.ts:621 \u00B7 vscode/src/testController.ts:668 \u2014 the two spans are one implementation copied and then locally edited \u2014 75 tokens are still identical, in the same order in both spans, with only local edits between them. The copies have already begun to drift, which is this row\u0027s finding: an edit made to one and not the other changes behaviour silently. Diff the two spans first to learn what genuinely differs, then extract the shared core into one module both sites use, passing the differences in as parameters \u2014 or, if one copy exists only because the other could not be imported from its context, make one of them the single source the other is generated or re-exported from. If one copy is no longer reachable, delete it rather than letting it shadow the live one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/testController.ts"},"region":{"startLine":621}}}],"partialFingerprints":{"codehealthFindingId/v1":"528c526d69cf3ef3d5bea6adf2a3db1ccc9a5a5986069a7f00d8fcbe637b7b47"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): vscode/src/workspace.ts:310 \u00B7 vscode/src/workspace.ts:325 \u2014 both copies are in the same file, so extract the block 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":"vscode/src/workspace.ts"},"region":{"startLine":310}}}],"partialFingerprints":{"codehealthFindingId/v1":"167f279f0c36593bf9e69a1e147f3219a2f339af769675a5e5b803a2349ffe5a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): vscode/src/client.ts:725 \u00B7 vscode/src/client.ts:742 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/client.ts"},"region":{"startLine":725}}}],"partialFingerprints":{"codehealthFindingId/v1":"400dc942dbf5780c4c50b9b1d9c38b8ecadd91febf0d8a6ad55a558be8c90594"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 3 locations): vscode/src/ruby/mise.ts:10 \u00B7 vscode/src/ruby/rbenv.ts:8 \u00B7 vscode/src/ruby/rv.ts:8 \u2014 the 3 copies are spread across 3 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/ruby/mise.ts"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"456c393f4637b1b60413f2cf20443ebe693d6841c9032049e448a4e12f28481c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): vscode/src/ruby/mise.ts:50 \u00B7 vscode/src/ruby/rv.ts:38 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/ruby/mise.ts"},"region":{"startLine":50}}}],"partialFingerprints":{"codehealthFindingId/v1":"46e8bdd1b4939a9dd7593e47c93eded4ed448852e33057f1bc83947c0e8c2694"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): vscode/src/rubyLsp.ts:380 \u00B7 vscode/src/rubyLsp.ts:390 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/rubyLsp.ts"},"region":{"startLine":380}}}],"partialFingerprints":{"codehealthFindingId/v1":"2eaebef0868a11a5437807516eae0c1910f0e48121039d883f57ea2de8858bd1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2 locations): vscode/src/workspaceChannel.ts:19 \u00B7 vscode/src/workspaceChannel.ts:27 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/workspaceChannel.ts"},"region":{"startLine":19}}}],"partialFingerprints":{"codehealthFindingId/v1":"18f75e176ccfdd7c22eef67a1ce67aafffcadd2b3e0319a198ed5adb7b56093a"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): vscode/src/rubyLsp.ts:386 \u00B7 vscode/src/rubyLsp.ts:391 \u2014 all 2 copies are in the same file, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/rubyLsp.ts"},"region":{"startLine":386}}}],"partialFingerprints":{"codehealthFindingId/v1":"b42847258cb8bda7d0dd1310a9a72985cb2e68e636267ebd96624766e155aae0"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function resolveHandler (cyclomatic 13, cognitive 24): resolveHandler has cyclomatic complexity 13 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/testController.ts"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"61521acf005b0be147fabb186f98155a88424cd9956c458496e5b7fc41daf2f9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function installOrUpdateServer (cyclomatic 13, cognitive 14): installOrUpdateServer has cyclomatic complexity 13 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/workspace.ts"},"region":{"startLine":255}}}],"partialFingerprints":{"codehealthFindingId/v1":"83afeb24c17663cb96ba0eecb272bb450e62d56040a8b6b7b397966a7c96a114"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function benchmarkMiddleware (cyclomatic 12, cognitive 17): benchmarkMiddleware has cyclomatic complexity 12 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/client.ts"},"region":{"startLine":485}}}],"partialFingerprints":{"codehealthFindingId/v1":"b161cd90701beaa5b39ea763310ef3153f34a87dd1b61d95ee6b8e56df0fcc84"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function runHandler (cyclomatic 11, cognitive 27): runHandler has cyclomatic complexity 11 and cognitive complexity 27; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/testController.ts"},"region":{"startLine":778}}}],"partialFingerprints":{"codehealthFindingId/v1":"1eeea849b09bdbb8ec3fe08034528c188daeacd4c1762b47edd63ee5e575cb6c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleTests (cyclomatic 11, cognitive 13): handleTests has cyclomatic complexity 11 and cognitive complexity 13; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/testController.ts"},"region":{"startLine":496}}}],"partialFingerprints":{"codehealthFindingId/v1":"8654c164491441b9e1922a309ba1a76b7748faabceac06211fd371fca1d8c600"}},{"ruleId":"R3","level":"warning","message":{"text":"vscode/src/testController.ts: 1111 lines of code: vscode/src/testController.ts has 1111 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/testController.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"71f7bc126c8264481b3aef43939a840b97d22a2434a4b7f2f1dbcd69b910c58b"}},{"ruleId":"R3","level":"warning","message":{"text":"vscode/src/rubyLsp.ts: 811 lines of code: vscode/src/rubyLsp.ts has 811 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/rubyLsp.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb2bceaa8774a8c34e831505be7b44113d15ca38c662f388efc2ac960a4408f6"}},{"ruleId":"R3","level":"warning","message":{"text":"vscode/src/client.ts: 680 lines of code: vscode/src/client.ts has 680 significant lines (blank lines excluded), over the 400-line bar, and contains logic \u2014 a file this long is usually several responsibilities in one module."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/client.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"734445227998bd643fc0826978e7ff752f48c3e3d1ea72c4f236e095f536ef5e"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027@vscode/test-electron\u0027: Declared in vscode/package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"4a15d50c22f15a825eb0b3a3f453eb30e52b32d979c7cc56d65d625d4b1c686d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060!target || target.is_a?(Prism::ProgramNode)\u0060 appears character-identically in 3 files \u2014 lib/ruby_lsp/requests/prepare_rename.rb, lib/ruby_lsp/requests/references.rb, lib/ruby_lsp/requests/rename.rb. 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":"lib/ruby_lsp/requests/prepare_rename.rb"},"region":{"startLine":32}}}],"partialFingerprints":{"codehealthFindingId/v1":"7289dffa282d7cf288fc95dca3949511ddd9c1fc0908c79e81449808b0fb1a9d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \[e-mail redacted]_or_higher? \u0026\u0026 self_receiver?(node)\u0060 appears character-identically in 3 files \u2014 lib/ruby_lsp/listeners/completion.rb, lib/ruby_lsp/listeners/definition.rb, lib/ruby_lsp/listeners/hover.rb. 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":"lib/ruby_lsp/listeners/completion.rb"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"f344179d23f87c2434786f9175bcb6961cac728d4bcce0c103e0d6396f698d81"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060document.is_a?(RubyDocument) || document.is_a?(ERBDocument)\u0060 appears character-identically in 2 files \u2014 lib/ruby_lsp/requests/rename.rb, lib/ruby_lsp/server.rb. 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":"lib/ruby_lsp/requests/rename.rb"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"439dad11e99bbc72c922dca8c13bcbde707c45407c5aca7a3442136f5ee50baa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node.is_a?(Prism::ConstantTargetNode) || node.is_a?(Prism::ConstantPathTargetNode)\u0060 appears character-identically in 2 files \u2014 lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb, lib/ruby_lsp/ruby_document.rb. 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":"lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb"},"region":{"startLine":683}}}],"partialFingerprints":{"codehealthFindingId/v1":"af32b8d34be998732282d591c3b944ed0c16e8ef0e0879fdaa212963ae453e98"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060receiver.nil? || receiver.is_a?(Prism::SelfNode)\u0060 appears character-identically in 2 files \u2014 lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb, lib/ruby_lsp/requests/support/common.rb. 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":"lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb"},"region":{"startLine":787}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad455a5dd39c6c037c0fd8317890a83af15f9e9b9207dc742fb9d41da30eb9aa"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060rest.name || Entry::RestParameter::DEFAULT_NAME\u0060 appears character-identically in 2 files \u2014 lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb, lib/ruby_indexer/lib/ruby_indexer/rbs_indexer.rb. 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":"lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb"},"region":{"startLine":981}}}],"partialFingerprints":{"codehealthFindingId/v1":"eef0b1cb1d91fb8f31aa430b7879b0f558b40fbce31bd75172756effb25abe8d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target.is_a?(Prism::ConstantReadNode) \u0026\u0026 parent.is_a?(Prism::ConstantPathNode)\u0060 appears character-identically in 4 files \u2014 lib/ruby_lsp/requests/definition.rb, lib/ruby_lsp/requests/prepare_rename.rb, lib/ruby_lsp/requests/references.rb, lib/ruby_lsp/requests/rename.rb. 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":"lib/ruby_lsp/requests/definition.rb"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"8038110e1ee8a9152bb97248166a66a4c4bdda9708d11268437934ca2d0dbf8b"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060target.parent.nil? || target.parent.is_a?(Prism::ConstantReadNode)\u0060 appears character-identically in 2 files \u2014 lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb, lib/ruby_indexer/lib/ruby_indexer/reference_finder.rb. 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":"lib/ruby_indexer/lib/ruby_indexer/declaration_listener.rb"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"727c05d2c7d2c48f018435a381e2df1c1fdb49ed1298b624b8e22b121f82c5d5"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060DependenciesTree\u0060 declares a disposal member \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060_onDidChangeTreeData\u0060 itself (line 15, \u0060new vscode.EventEmitter\u0060), which makes that instance its own. But \u0060_onDidChangeTreeData\u0060 is named in none of the methods the disposal search covered: \u0060dispose\u0060 (line 38) \u2014 that is the disposal member plus every method it calls on \u0060this\u0060 BY NAME, so a release reached through a base class, a callback or a registry is not followed and is worth checking before acting. The field is released nowhere else in the class and is never handed to anything else, so no other owner can be releasing it. On what was read, the class\u0027s disposal releases everything except the one thing it owns. Whatever \u0060vscode.EventEmitter\u0060 holds until its own \u0060dispose()\u0060 runs \u2014 the listeners subscribed to it, a pending timer, GPU memory \u2014 outlives this instance\u0027s disposal: a subscriber that registered through it stays attached, and anything that holds the subscription keeps the whole chain reachable. Release it in the disposal member (\u0060this._onDidChangeTreeData.dispose()\u0060), or, if it truly does not need releasing, drop the disposal member so the claim and the behaviour agree."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/dependenciesTree.ts"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"dfde1e82159cf06c58de9bc766f8e8c5fe64b07e3dfb1618fa985aa64986e94b"}},{"ruleId":"X23","level":"note","message":{"text":"Diagnostic log message is built whether or not it is wanted: \u0060logDebuggerMessage\u0060 at line 252 is called with an argument built by \u0060args.join(\u0022 \u0022)\u0060 (line 252), whose cost grows with the collection it walks. JavaScript evaluates a call\u0027s arguments BEFORE entering the method, so that join/projection runs in full every time this line is reached \u2014 and then the level check inside the logger discards the string it produced, because logDebuggerMessage is a level a shipped configuration normally leaves off. Nothing here decides beforehand whether the message is wanted: no \u0060isLevelEnabled\u0060/\u0060isDebugEnabled\u0060 test, no debug flag, no \u0060NODE_ENV\u0060 build switch."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/debugger.ts"},"region":{"startLine":252}}}],"partialFingerprints":{"codehealthFindingId/v1":"ac7bfbc8d65e666c84ed1977b26d03d7133eacc3ad5629464ee24a8c2f5b5a72"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/chatAgent.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"76c6b9be6ef5bd0314a13af5bbca532dba5d397f1b9211654d018360da4b68bd"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/chatAgent.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"d7a2ea6a5c46af6fcf73485a168a2ea3521fdfc425a8ff04065778da885cef70"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/ruby.ts"},"region":{"startLine":348}}}],"partialFingerprints":{"codehealthFindingId/v1":"c013af179604d53704e7ca38e19e74d23a0dd9ceb92cd79a0cf3ddea926d86b2"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/rubyLsp.ts"},"region":{"startLine":900}}}],"partialFingerprints":{"codehealthFindingId/v1":"658c0e1e578f532bf084822d9f5594b460d8686493e93a734d582b4271d9c833"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/rubyLsp.ts"},"region":{"startLine":907}}}],"partialFingerprints":{"codehealthFindingId/v1":"7722569142bd0f87e1024d9117031d210cd52163069e89ed591a1c777b0079ea"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/workspace.ts"},"region":{"startLine":88}}}],"partialFingerprints":{"codehealthFindingId/v1":"144e96f5e762a8ce9dd51094900c7248112e92aca77c8d0acd4f210e96c935b1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/ruby/asdf.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"0c60a7ac49e276dfabbb5845b4f13d5af36cf640942a57c364f983d4279578c1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/ruby/chruby.ts"},"region":{"startLine":285}}}],"partialFingerprints":{"codehealthFindingId/v1":"d4ad308095bc6bab67f6e20f3b981c61b4f61814b46ef480be72eff0dd4dfce9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_error:any)\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/ruby/chruby.ts"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"957b6c4dbbd519c9b0e37aea3c65da1550315bc8950114ba04c0f734eea2874b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/ruby/rubyInstaller.ts"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8fc6ddb63c384a7c758ddb61958ece9e3c29686d4c35b15b69f039c74446882"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/ruby/rvm.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"4409b0b12f18d2ff31eef4321a5f0c753e21ccc7824adefbfd2fb2108e8483f9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): An empty catch block silently discards the error \u2014 failures vanish with no log and no rethrow. Log it, handle it, or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode/src/ruby/versionManager.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"7eafe536d66b2d4b0c48f4e97bb73232713765a9b24272d444a6769e23020d8e"}},{"ruleId":"X5","level":"note","message":{"text":"Ruby\u0027s type checker does not check nil everywhere: 90/93 of this repository\u0027s Ruby product files are checked for nil \u2014 90 by Sorbet at \u0060# typed: true\u0060 or above, 0 under a Steepfile target\u0027s \u0060check\u0060 paths with diagnostics that make \u0060Ruby::NoMethod\u0060 an error. A file at \u0060# typed: false\u0060 (Sorbet\u0027s reading of a file with no sigil), \u0060ignore\u0060, outside Sorbet\u0027s input or under its \u0060--ignore\u0060, or Steep-checked only under \u0060lenient\u0060/\u0060silent\u0060, is one where \u0060user.name.upcase\u0060 on a nilable \u0060name\u0060 passes, and the first nil reaching it is a \u0060NoMethodError: undefined method \u0027upcase\u0027 for nil\u0060 in production."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"32b27113b1bc22f400935e8620d19eae7fd3ef145cc36018609c445ea8cd4af1"}}],"taxonomies":[{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d","organization":"MITRE","informationUri":"https://cwe.mitre.org/","isComprehensive":false,"shortDescription":{"text":"The MITRE Common Weakness Enumeration (CWE)."},"taxa":[{"id":"CWE-1032","guid":"5f21e517-68aa-a650-9a25-5771ef024637","name":"OWASP Top Ten \u2014 Security Misconfiguration category","shortDescription":{"text":"OWASP Top Ten \u2014 Security Misconfiguration category"},"helpUri":"https://cwe.mitre.org/data/definitions/1032.html"},{"id":"CWE-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1265","guid":"9bfc5711-f2f2-6252-bd2e-ff21a1e98a6c","name":"CWE-1265","shortDescription":{"text":"CWE-1265"},"helpUri":"https://cwe.mitre.org/data/definitions/1265.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-16","guid":"659db3ea-affc-8453-8add-c1218fbfcb92","name":"Configuration","shortDescription":{"text":"Configuration"},"helpUri":"https://cwe.mitre.org/data/definitions/16.html"},{"id":"CWE-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-250","guid":"52ee12e8-390a-7351-b1e6-388afa694e54","name":"CWE-250","shortDescription":{"text":"CWE-250"},"helpUri":"https://cwe.mitre.org/data/definitions/250.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-269","guid":"70e1f5f6-81e5-4e5a-ba40-b541c3a346e2","name":"Improper Privilege Management","shortDescription":{"text":"Improper Privilege Management"},"helpUri":"https://cwe.mitre.org/data/definitions/269.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-522","guid":"71fb233e-ce6a-ae57-9419-ef8373540b09","name":"Insufficiently Protected Credentials","shortDescription":{"text":"Insufficiently Protected Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/522.html"},{"id":"CWE-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-732","guid":"1da27e8f-b330-7650-ab63-bd61953eae5d","name":"Incorrect Permission Assignment for Critical Resource","shortDescription":{"text":"Incorrect Permission Assignment for Critical Resource"},"helpUri":"https://cwe.mitre.org/data/definitions/732.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"A01:2025","guid":"df693558-c822-0452-8f7b-4d53cb6bcc59","name":"Broken Access Control","shortDescription":{"text":"Broken Access Control"},"helpUri":"https://top10.owasp.org/2025/A01_2025-Broken_Access_Control/"},{"id":"A02:2025","guid":"668dee9e-41bc-6354-97d0-fdf8f40c50c1","name":"Security Misconfiguration","shortDescription":{"text":"Security Misconfiguration"},"helpUri":"https://top10.owasp.org/2025/A02_2025-Security_Misconfiguration/"},{"id":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"},{"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-4","guid":"c859d8ea-8b24-a157-9406-94929c10397a","name":"Poisoned Pipeline Execution (PPE)","shortDescription":{"text":"Poisoned Pipeline Execution (PPE)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-04-Poisoned-Pipeline-Execution"},{"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":54,"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."]}]}