{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"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":"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":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX5","name":"Architecture \u0026 structure","shortDescription":{"text":"Architecture \u0026 structure"},"helpUri":"https://codehealth.canine.dev/dimensions/AX5"},{"id":"AX7","name":"Slice cohesion","shortDescription":{"text":"Slice cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/AX7"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"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":"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":"R11","name":"Import Boundaries","shortDescription":{"text":"Import Boundaries"},"helpUri":"https://codehealth.canine.dev/dimensions/R11"},{"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":"X2","name":"Cancellation propagation","shortDescription":{"text":"Cancellation propagation"},"helpUri":"https://codehealth.canine.dev/dimensions/X2"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X21","name":"Side-effecting pattern guard","shortDescription":{"text":"Side-effecting pattern guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X21"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X23","name":"Unguarded diagnostic materialisation","shortDescription":{"text":"Unguarded diagnostic materialisation"},"helpUri":"https://codehealth.canine.dev/dimensions/X23"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X4","name":"Structured logging","shortDescription":{"text":"Structured logging"},"helpUri":"https://codehealth.canine.dev/dimensions/X4"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X7","name":"Silent fallback defaults","shortDescription":{"text":"Silent fallback defaults"},"helpUri":"https://codehealth.canine.dev/dimensions/X7"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"LSKotlinSemanticTokensProvider.getRangeWithToken (cyclomatic 44): LSKotlinSemanticTokensProvider.getRangeWithToken has cyclomatic complexity 44 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/semanticTokens/LSKotlinSemanticTokensProvider.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9ba74b89f641b8b43531db276c8d64d495144ebcb3ae0921bdf5ab418bf4de"}},{"ruleId":"D1","level":"warning","message":{"text":"ModCommandData.from (cyclomatic 38): ModCommandData.from has cyclomatic complexity 38 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/modcommands/ModCommandData.kt"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"16434e0c2f94cbde9c9cfa2843aee6a1077bd3646999df0d505556439fa5a786"}},{"ruleId":"D1","level":"warning","message":{"text":"ModCommandDataKt.executeCommand (cyclomatic 35): ModCommandDataKt.executeCommand has cyclomatic complexity 35 (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":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/modcommands/ModCommandData.kt"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"861eddaf36948d43bf9234452f9b0830efa6b6880002baee902ae0f82c57c734"}},{"ruleId":"D1","level":"warning","message":{"text":"ModCompletionCommandConverter.split (cyclomatic 27): ModCompletionCommandConverter.split has cyclomatic complexity 27 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/completion/ModCompletionCommandConverter.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"c93225c738a0cea9dd573334c340ff54c875162f5c36eb90e2ddf20a8448f26f"}},{"ruleId":"D1","level":"warning","message":{"text":"OptionPaneReader.read (cyclomatic 25): OptionPaneReader.read has cyclomatic complexity 25 (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":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/modcommands/EditOptions.kt"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"33bdd34e2badf3dfeb4a013f6673b819d1cd09a6de76123ce6e5e29b2ddc7fdd"}},{"ruleId":"D1","level":"warning","message":{"text":"serverBundleDownload.downloadFile (cyclomatic 24): serverBundleDownload.downloadFile has cyclomatic complexity 24 (threshold 15). Most of this is not in the body itself: 6 of the 24 points are its own statements and the rest belongs to one function literal inside it that branches (line 399). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"89af6b4666a67aeb56197be433bcc4c578618a60a4dad5b0feb3382f22ffb43d"}},{"ruleId":"D1","level":"warning","message":{"text":"initializationSettings.projectRejectionReason (cyclomatic 21): initializationSettings.projectRejectionReason has cyclomatic complexity 21 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/initializationSettings.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"5ca3cd2cbd8eb00559e10bc544d43069d6d3765e454efd505aaa97a88bb2ed28"}},{"ruleId":"D1","level":"warning","message":{"text":"FormRenderer.component (cyclomatic 21): FormRenderer.component has cyclomatic complexity 21 (threshold 15). Of this number, 20 points are the body\u0027s own statements and 1 belongs to one function literal inside it that branches. To reduce it, 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":"vscode-extension-core/src/editOptionsModel.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"f82910ae70ce7cefcfa80ed3e60299809f14f88baeceb457829d6c550a3d112f"}},{"ruleId":"D1","level":"warning","message":{"text":"KindsKt.getKind (cyclomatic 20): KindsKt.getKind has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/psi/src/com/jetbrains/ls/api/features/impl/kotlin/psi/kinds.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0837071fba617d12a47385397cb46b1b04ab2c4039482ee7618e155d2cec2429"}},{"ruleId":"D1","level":"warning","message":{"text":"KindsKt.getKind (cyclomatic 20): KindsKt.getKind has cyclomatic complexity 20 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/symbols/kinds.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a1bbf951dda1e1de82ac5ea8298c40e3bbb67b748890575be15ef6fdc51fdcd"}},{"ruleId":"D1","level":"warning","message":{"text":"lspClient.registerSettingsChangeWatcher (cyclomatic 19): lspClient.registerSettingsChangeWatcher has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 4 function items inside it that branch (prompt, a function literal at line 1185, schedule, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/lspClient.ts"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"a1cad688d08a58781a2300e4c26025116c5accf97e84651528a035109e48111c"}},{"ruleId":"D1","level":"warning","message":{"text":"keyHandler.handleEnter (cyclomatic 19): keyHandler.handleEnter has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 1 of the 19 points is its own statement and the rest belongs to 2 function literals inside it that branch (lines 334, 328). 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-language-kotlin/src/kotlin/keyHandler.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"d34221939980b47e69fc5003e3f803de02fa052f7aa5c2e53cbcc58b2d37335a"}},{"ruleId":"D1","level":"warning","message":{"text":"keyHandler.handleDoubleQuoteKey (cyclomatic 17): keyHandler.handleDoubleQuoteKey has cyclomatic complexity 17 (threshold 15). To reduce it, name the conditions: bind each compound test to a well-named local or a small predicate function, so the body reads as a sequence of named decisions rather than a chain of operators."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-language-kotlin/src/kotlin/keyHandler.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6253739c19e213ce1aeead9edf05260141a9a17a8712e7d6da4b0f648dd63b3"}},{"ruleId":"D1","level":"warning","message":{"text":"MainEdit.convertTemplate (cyclomatic 16): MainEdit.convertTemplate has cyclomatic complexity 16 (threshold 15). To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/completion/ModCompletionCommandConverter.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da50c38c29add2fd403e2208d2cf2fb35e2517d8b7c34585af50b9076d54635"}},{"ruleId":"D1","level":"warning","message":{"text":"lspClient.doStartLspClient (cyclomatic 16): lspClient.doStartLspClient has cyclomatic complexity 16 (threshold 15). Of this number, 10 points are the body\u0027s own statements and 6 belong to 2 function literals inside it that branch. To reduce it, separate the cases: extract each independent branch into its own named function, and where the body has guards that only reject input, fold those into early returns at the top."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/lspClient.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c4f24a324a757a1fbc227ee2d400ac8ca90aa0149907dbfa73cfab52cc7d72d"}},{"ruleId":"D1","level":"warning","message":{"text":"lspClient.startServer (cyclomatic 16): lspClient.startServer has cyclomatic complexity 16 (threshold 15). To reduce it, split the body: these branches sit side by side rather than nested inside one another, so extracting each one on its own would leave a function per branch. Group the statements between the checks into named steps and move each step into its own function, so the body reads as a short sequence of named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/lspClient.ts"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"476cbad6d182c86396101c05d470ceeccf90f6156742045929afa17087b7fabf"}},{"ruleId":"D1","level":"warning","message":{"text":"handleKeyType.registerHandleKeyType (cyclomatic 16): handleKeyType.registerHandleKeyType has cyclomatic complexity 16 (threshold 15). Most of this is not in the body itself: 1 of the 16 points is its own statement and the rest belongs to one function literal inside it that branches (line 37). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/handleKeyType.ts"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"5c885627da643111f01fe3c17852c698629a5ed2a0c1ba82d39009e4b85b776f"}},{"ruleId":"D2","level":"warning","message":{"text":"ModCompletionCommandConverter.split (cognitive 57): ModCompletionCommandConverter.split has cognitive complexity 57 (threshold 15). Drivers by points: if/else 18 (41 pts), boolean chains 8, loops 2 (4 pts), match/switch 1 (4 pts) (nesting depth added 28). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/completion/ModCompletionCommandConverter.kt"},"region":{"startLine":215}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6208d4635a835edae1e2cb9b0b286c073ae86eefdfeb09c159bc8ace2098262"}},{"ruleId":"D2","level":"warning","message":{"text":"ModCommandDataKt.executeCommand (cognitive 38): ModCommandDataKt.executeCommand has cognitive complexity 38 (threshold 15). Drivers by points: if/else 11 (21 pts), match/switch 6 (13 pts), boolean chains 2, loops 1 (2 pts) (nesting depth added 18). 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":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/modcommands/ModCommandData.kt"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"23ccd20d11aac25068cefd582b19e33ca83bd92b40f85b23b92fe15d1c383965"}},{"ruleId":"D2","level":"warning","message":{"text":"LSKotlinSemanticTokensProvider.getRangeWithToken (cognitive 38): LSKotlinSemanticTokensProvider.getRangeWithToken has cognitive complexity 38 (threshold 15). Drivers by points: if/else 15 (20 pts), match/switch 7 (15 pts), boolean chains 3 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/semanticTokens/LSKotlinSemanticTokensProvider.kt"},"region":{"startLine":138}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b6e3ae4fb4a803036db19e831a9efa50d648955f1662d1bc2fb9927cb537dbe"}},{"ruleId":"D2","level":"warning","message":{"text":"lspClient.doStartLspClient (cognitive 38): lspClient.doStartLspClient has cognitive complexity 38 (threshold 15). Drivers by points: if/else 7 (18 pts), ternaries 3 (9 pts), error handling 3 (8 pts), loops 2 (3 pts) (nesting depth added 23). Of this number, 23 points are the body\u0027s own statements and 15 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/lspClient.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"f889fa09e1d0f7a0f8af9610c9bfcf102aefb3147081c09beb5ab57fa4494295"}},{"ruleId":"D2","level":"warning","message":{"text":"ModCommandData.from (cognitive 34): ModCommandData.from has cognitive complexity 34 (threshold 15). Drivers by points: match/switch 11 (22 pts), if/else 10, boolean chains 2 (nesting depth added 11). 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":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/modcommands/ModCommandData.kt"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"23a62a46611b62a12f3b3a433618a4ea25787dae3d9388d017cf2dca599c838e"}},{"ruleId":"D2","level":"warning","message":{"text":"serverBundleDownload.withInstallLock (cognitive 28): serverBundleDownload.withInstallLock has cognitive complexity 28 (threshold 15). Drivers by points: if/else 8 (24 pts), error handling 1 (2 pts), boolean chains 1, loops 1 (nesting depth added 17). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"183153936c68cfa0b6bf8836168f8872353ffa8ad89d95fb036414248206fd97"}},{"ruleId":"D2","level":"warning","message":{"text":"LSCommonIntentionFixesCodeActionProvider.infoInspections (cognitive 26): LSCommonIntentionFixesCodeActionProvider.infoInspections has cognitive complexity 26 (threshold 15). Drivers by points: if/else 4 (13 pts), loops 4 (11 pts), boolean chains 2 (nesting depth added 16). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonIntentionFixesCodeActionProvider.kt"},"region":{"startLine":87}}}],"partialFingerprints":{"codehealthFindingId/v1":"3157487fdffb2dcffb4abf0a60522952c0a20891c2e8afbbbcec52210567d7ab"}},{"ruleId":"D2","level":"warning","message":{"text":"MainEdit.convertTemplate (cognitive 25): MainEdit.convertTemplate has cognitive complexity 25 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 4, loops 2, match/switch 1 (2 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":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/completion/ModCompletionCommandConverter.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b11abaacadc8cc418d0502c0bd60581ff20bab5637195de0ed1e7bf6bd52350"}},{"ruleId":"D2","level":"warning","message":{"text":"initializationSettings.projectRejectionReason (cognitive 25): initializationSettings.projectRejectionReason has cognitive complexity 25 (threshold 15). Drivers by points: if/else 9 (14 pts), boolean chains 7, loops 4 (nesting depth added 5). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/initializationSettings.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"f40a103a4f44298bd86c833cdfb682cc74aae2caa88e8e1d32614c9f74e8de02"}},{"ruleId":"D2","level":"warning","message":{"text":"keyHandler.handleStringLiteralKey (cognitive 25): keyHandler.handleStringLiteralKey has cognitive complexity 25 (threshold 15). Drivers by points: if/else 7 (16 pts), match/switch 2 (6 pts), boolean chains 2, ternaries 1 (nesting depth added 13). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-language-kotlin/src/kotlin/keyHandler.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"be50a4f139a13bb3d94020dfb8e0ee72ed17528e5dbe30f2a9a9e9ee30f2145d"}},{"ruleId":"D2","level":"warning","message":{"text":"serverBundleDownload.downloadFile (cognitive 22): serverBundleDownload.downloadFile has cognitive complexity 22 (threshold 15). Drivers by points: if/else 7 (9 pts), ternaries 7, boolean chains 6 (nesting depth added 2). Most of this is not in the body itself: 5 of the 22 points are its own statements and the rest belongs to one function literal inside it that branches (line 399). The decisions are inside the literal, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literal\u0027s work into a named function or method at the enclosing scope and have the literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"215b8c522dacd021d815c0dba2c5f705a630f6e3065e232181f0b3162b7b2a7b"}},{"ruleId":"D2","level":"warning","message":{"text":"lspClient.ensureBundledServerLauncher (cognitive 21): lspClient.ensureBundledServerLauncher has cognitive complexity 21 (threshold 15). Drivers by points: if/else 7 (13 pts), error handling 2 (4 pts), ternaries 1 (4 pts) (nesting depth added 11). Of this number, 14 points are the body\u0027s own statements and 7 belong to 2 function literals inside it that branch. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/lspClient.ts"},"region":{"startLine":759}}}],"partialFingerprints":{"codehealthFindingId/v1":"04faf10daa0fd039b8c98ec437f9863f039b1544907eb29d57f84011c26d9004"}},{"ruleId":"D2","level":"warning","message":{"text":"lspClient.registerSettingsChangeWatcher (cognitive 19): lspClient.registerSettingsChangeWatcher has cognitive complexity 19 (threshold 15). Drivers by points: if/else 13, boolean chains 6. None of this is in the body itself: all 19 points belong to 4 function items inside it that branch (prompt, a function literal at line 1185, schedule, \u2026). The named helpers are already separate functions; the literals\u0027 work cannot be called, reviewed or tested from outside this body. To reduce it, move the named helpers out of the body to the enclosing scope and lift each literal\u0027s work into a named function there, so each is measured, reviewed and tested on its own, and reduce whichever one then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/lspClient.ts"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ff3dfa595cbbbe8e2d61aaa3fbb8f1bee758c23009a98517d92bc35c2a3465c"}},{"ruleId":"D2","level":"warning","message":{"text":"RunStepsKt.run (cognitive 18): RunStepsKt.run has cognitive complexity 18 (threshold 15). Drivers by points: if/else 6 (11 pts), loops 2 (4 pts), match/switch 1 (2 pts), boolean chains 1 (nesting depth added 8). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"buildtool.api/src/com/jetbrains/ls/buildtool/api/run/RunSteps.kt"},"region":{"startLine":29}}}],"partialFingerprints":{"codehealthFindingId/v1":"f0e69ed3563fc1f5a626484caba3a7fe4300508d8092516608898923dcc4b4e1"}},{"ruleId":"D2","level":"warning","message":{"text":"lspClient.startServer (cognitive 17): lspClient.startServer has cognitive complexity 17 (threshold 15). Drivers by points: if/else 10, ternaries 6 (7 pts) (nesting depth added 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":"vscode-extension-core/src/lspClient.ts"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"6b7c437afc4c7f156565061c332e9c0284ff3bd9aaf2de4d021a603884bd5484"}},{"ruleId":"D2","level":"warning","message":{"text":"keyHandler.handleEnter (cognitive 16): keyHandler.handleEnter has cognitive complexity 16 (threshold 15). Drivers by points: if/else 6 (9 pts), boolean chains 5, ternaries 2 (nesting depth added 3). None of this is in the body itself: all 16 points belong to 2 function literals inside it that branch (lines 334, 328). 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-language-kotlin/src/kotlin/keyHandler.ts"},"region":{"startLine":318}}}],"partialFingerprints":{"codehealthFindingId/v1":"036f3c7f3311e1af59b389cd823a185cab32a0614067830c99289fdc5816a92e"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: kotlin/keyHandler.ts: FileTooLong \u2014 1203 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 703 over it, 2.41\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":"vscode-language-kotlin/src/kotlin/keyHandler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"df710b83cf73691f207877bbbde5de643e92c1e3eb9ffcd429a7b7405a3571bc"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/lspClient.ts: FileTooLong \u2014 948 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 448 over it, 1.90\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":"vscode-extension-core/src/lspClient.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7cdc9a0314f9c70258a00d67fd12ef07ae38a561f606bb680be59703561b3117"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/keyHandlerUtils.ts: FileTooLong \u2014 760 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 260 over it, 1.52\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/keyHandlerUtils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e5d9b7e3b5f4dac026407ed1e8a23176465867048f1b0fef640937b2a84bdc72"}},{"ruleId":"D3","level":"warning","message":{"text":"MethodTooLong: ModCommandDataKt.executeCommand: MethodTooLong \u2014 executeCommand runs 129 significant lines (blank, comment-only and punctuation-only lines excluded) in one body. The bar is 100 significant lines; this is 29 over it, 1.29\u00D7 the bar. This is length, not branching: a long straight-line body scores low on complexity and is still read whole to change any part of it, so the complexity numbers beside this row neither confirm nor excuse it. To reduce it, extract each cohesive step of the body \u2014 the runs of statements that work on the same values and would earn the same name \u2014 into its own named unit, and have this one call them in order."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/modcommands/ModCommandData.kt"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"21b2d761530f3175efb262cdbb32a42037f9926a409ba33a99887baf2f54be06"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/serverBundleDownload.ts: FileTooLong \u2014 617 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 117 over it, 1.23\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":"vscode-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddef1bd3d7fe1129475936b1dbc6f9da6de47868bca8a2cf074251a97ed0e8c2"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: modcommands/ModCommandData.kt: FileTooLong \u2014 563 significant lines (blank, comment-only and punctuation-only lines excluded). The bar is 500 significant lines; this is 63 over it, 1.13\u00D7 the bar. To reduce it, split the file along the responsibilities already in it: move each cohesive group of declarations into its own sibling file in the same module or package, so no one file has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/modcommands/ModCommandData.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"16c8f4417d4b819282d621c34d8ead5980b209c4c7558846eefffeceec09f3ab"}},{"ruleId":"D4","level":"warning","message":{"text":"Members sharing a duplicated core (5 members, 50\u002B identical tokens): features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonInjectionSyntaxErrorDiagnosticProvider.kt:33-49 | features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonIntentionFixesCodeActionProvider.kt:61-84 | features-impl/common/src/com/jetbrains/ls/api/features/impl/common/extract/LSExtractModCommandProviderBase.kt:59-74 | features-impl/common/src/com/jetbrains/ls/api/features/impl/common/safeDelete/LSCommonSafeDeleteProvider.kt:51-72 | features-impl/common/src/com/jetbrains/ls/api/features/impl/common/surroundWith/LSSurroundWithCodeActionProvider.kt:64-78 \u2014 These 5 members share a duplicated core: a run of at least 50 identical tokens appears in every one of them. That run is NOT broken out as duplicated-block rows below \u2014 it is what admitted this row, and the blocks below cover only the part of it that clears the block floor, so they understate the correspondence. Read the members as one construct written 5 times. The repair is at the members\u0027 grain \u2014 factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Extracting the individual blocks below is not the same fix: it leaves every body in place and the next edit still has to be made 5 times."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonInjectionSyntaxErrorDiagnosticProvider.kt"},"region":{"startLine":33}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca4d32514ab7fbf68b0cd2317affecfa899316f26581e7219f0ade2cb3be86e8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (41 corresponding lines): features-impl/common/src/com/jetbrains/ls/api/features/impl/common/completion/ModCompletionCommandConverter.kt:90-135 | features-impl/common/src/com/jetbrains/ls/api/features/impl/common/modcommands/ModCommandData.kt:469-509 \u2014 These two members are one piece of code written twice and then edited apart: 41 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/completion/ModCompletionCommandConverter.kt"},"region":{"startLine":90}}}],"partialFingerprints":{"codehealthFindingId/v1":"cf38115df22dcc4404f1072c80c4f944e03bcb3c3f2e61e786d5a27c011bc2a4"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): features-impl/java-base/src/com/jetbrains/ls/api/features/impl/javaBase/LSJavaPackageDefinitionProvider.kt:35-58 | features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/definitions/LSKotlinPackageDefinitionProvider.kt:35-55 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/java-base/src/com/jetbrains/ls/api/features/impl/javaBase/LSJavaPackageDefinitionProvider.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"966d316a7448c3c21a5b3b05f83ea76b7334aaccc02a0ea3ff9bf2ed0e8e1441"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (21 corresponding lines): features-impl/common/src/com/jetbrains/ls/api/features/impl/common/callHierarchy/LSCallHierarchyProviderBase.kt:58-81 | features-impl/common/src/com/jetbrains/ls/api/features/impl/common/callHierarchy/LSCallHierarchyProviderBase.kt:84-104 \u2014 These two members are one piece of code written twice and then edited apart: 21 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/callHierarchy/LSCallHierarchyProviderBase.kt"},"region":{"startLine":58}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a918f236f3182991122fed36ec94683102e6c14a1d1a6d08b866c9fbedd884e"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (16 corresponding lines): features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/typeHierarchy/LSKotlinTypeHierarchyProvider.kt:277-292 | features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/typeHierarchy/LSKotlinTypeHierarchyProvider.kt:294-313 \u2014 These two members are one piece of code written twice and then edited apart: 16 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/typeHierarchy/LSKotlinTypeHierarchyProvider.kt"},"region":{"startLine":277}}}],"partialFingerprints":{"codehealthFindingId/v1":"354661b2302ea89839058b808302de9cf6380acb8e33593b59cb23c886f09c54"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (14 corresponding lines): features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/typeHierarchy/LSKotlinTypeHierarchyProvider.kt:116-129 | features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/typeHierarchy/LSKotlinTypeHierarchyProvider.kt:132-145 \u2014 These two members are one piece of code written twice and then edited apart: 14 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/typeHierarchy/LSKotlinTypeHierarchyProvider.kt"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"8f20941af6f358efade9f9ebf4544eeb10e5d0936a9bd247cb8be509398cc5bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): features-impl/common/src/com/jetbrains/ls/api/features/impl/common/callHierarchy/LSCallHierarchyProviderBase.kt:44-55 | features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/typeHierarchy/LSKotlinTypeHierarchyProvider.kt:100-113 \u2014 These two members are one piece of code written twice and then edited apart: 12 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/callHierarchy/LSCallHierarchyProviderBase.kt"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"425d5f29ac0ef848c187666e31002b96b183d6fdb4b35896cf995c485a0abaee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): api.features/src/com/jetbrains/ls/api/features/implementation/LSImplementation.kt:20-34 | api.features/src/com/jetbrains/ls/api/features/typeDefinition/LSTypeDefinition.kt:20-34 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api.features/src/com/jetbrains/ls/api/features/implementation/LSImplementation.kt"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"0dc91d80061937e4b45ad2ddf2c009efa14d088eccd82b9858a1f8ce028cf5f7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (17 corresponding lines): api.features/src/com/jetbrains/ls/api/features/diagnostics/LSDiagnostic.kt:21-46 | api.features/src/com/jetbrains/ls/api/features/diagnostics/LSDiagnostic.kt:49-65 \u2014 These two members are one piece of code written twice and then edited apart: 17 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api.features/src/com/jetbrains/ls/api/features/diagnostics/LSDiagnostic.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b151e100b7a6d2de21062f4ece4f0f5a4ebbef639d520bd66cd75b1ac20d94d"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): api.features/src/com/jetbrains/ls/api/features/semanticTokens/LSSemanticTokens.kt:34-41 | api.features/src/com/jetbrains/ls/api/features/semanticTokens/LSSemanticTokens.kt:44-51 \u2014 These two members are one piece of code written twice and then edited apart: 8 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api.features/src/com/jetbrains/ls/api/features/semanticTokens/LSSemanticTokens.kt"},"region":{"startLine":34}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b907a33f2bc1654ae61ad48bb1621accb0f7070a881d0e2599097bba8403c0a"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (15 corresponding lines): features-impl/common/src/com/jetbrains/ls/api/features/impl/common/rename/renameUtils.kt:23-37 | features-impl/common/src/com/jetbrains/ls/api/features/impl/common/rename/renameUtils.kt:39-53 \u2014 These two members are one piece of code written twice and then edited apart: 15 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/rename/renameUtils.kt"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"e39642ced4044ba09fab2e41738cb5e9fb557dd96fad6f3740ceee0149f14398"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): api.features/src/com/jetbrains/ls/api/features/callHierarchy/LSCallHierarchy.kt:24-28 | api.features/src/com/jetbrains/ls/api/features/typeHierarchy/LSTypeHierarchy.kt:22-26 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api.features/src/com/jetbrains/ls/api/features/callHierarchy/LSCallHierarchy.kt"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"743cd87e8aea6f265d6feeecc1efa82ee1307471a446e2a010bf2aad98762e11"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): api.features/src/com/jetbrains/ls/api/features/callHierarchy/LSCallHierarchy.kt:31-35 | api.features/src/com/jetbrains/ls/api/features/typeHierarchy/LSTypeHierarchy.kt:29-33 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api.features/src/com/jetbrains/ls/api/features/callHierarchy/LSCallHierarchy.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"38702191b0122b9804d37a86a57e29205b3c41976e5c9fcf44591363d5e9fd20"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): features-impl/common/src/com/jetbrains/ls/api/features/impl/common/callHierarchy/LSCallHierarchyProviderBase.kt:172-180 | features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/typeHierarchy/LSKotlinTypeHierarchyProvider.kt:390-398 \u2014 These two members are one piece of code written twice and then edited apart: 9 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/callHierarchy/LSCallHierarchyProviderBase.kt"},"region":{"startLine":172}}}],"partialFingerprints":{"codehealthFindingId/v1":"96e197936935559d762554ea105075c1039fe395f53046c7501a84dcbda7f9ae"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonSyntaxErrorDiagnosticProvider.kt:22-26 | features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/diagnostics/compiler/LSKotlinCompilerDiagnosticsProvider.kt:34-38 \u2014 These two members are one piece of code written twice and then edited apart: 5 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonSyntaxErrorDiagnosticProvider.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"9bc57929d486e8b8bdd6ea5c4ce5d54cbac0d23dc622c09971951af9eb4d280e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (32 lines \u00D7 2): features-impl/kotlin/psi/src/com/jetbrains/ls/api/features/impl/kotlin/psi/kinds.kt:21-52 | features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/symbols/kinds.kt:21-52 \u2014 before extracting anything, compare \u0060features-impl/kotlin/psi/src/com/jetbrains/ls/api/features/impl/kotlin/psi/kinds.kt\u0060 and \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/symbols/kinds.kt\u0060 as WHOLE FILES: 88% of the shorter file\u0027s lines also appear in the other, so this reads as one file having been copied from the other rather than as a helper waiting to be extracted. The 1 duplicated block(s) this scan matched between them are fragments of that copy, not the extent of it \u2014 treat the file pair as the unit. The two sit in different directories, so one cannot simply be deleted in favour of the other while both are reached separately: hoist the shared part into a location both already depend on and have each file call it, and retire whichever file turns out to have no caller of its own left. Extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/psi/src/com/jetbrains/ls/api/features/impl/kotlin/psi/kinds.kt"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6aa1be7d1ae7a4c8766bde2aa9c3dfea579aa7b8ceeb23368841eacc2d0320f"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (12\u201316 lines \u00D7 2): buildtool.api/src/com/jetbrains/ls/buildtool/api/run/RunSteps.kt:79-90 | buildtool.api/src/com/jetbrains/ls/buildtool/api/run/processRunHandle.kt:81-96 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from both call sites, so a change lands once. Read the line range as the matched WINDOW rather than a finished unit: at \u0060buildtool.api/src/com/jetbrains/ls/buildtool/api/run/RunSteps.kt:79\u0060 it runs out through the closing brace of the declaration holding it \u2014 the window is that declaration\u0027s tail, not a fragment that begins part-way through something, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"buildtool.api/src/com/jetbrains/ls/buildtool/api/run/RunSteps.kt"},"region":{"startLine":79}}}],"partialFingerprints":{"codehealthFindingId/v1":"4b5e1bae5c834dfae6b9d4d1208c6da5ec147395c6e2cc29372642709e1f9df0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (4\u20135 lines \u00D7 5): features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonInjectionSyntaxErrorDiagnosticProvider.kt:36-39 | features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonIntentionFixesCodeActionProvider.kt:64-67 | features-impl/common/src/com/jetbrains/ls/api/features/impl/common/extract/LSExtractModCommandProviderBase.kt:59-63 | features-impl/common/src/com/jetbrains/ls/api/features/impl/common/safeDelete/LSCommonSafeDeleteProvider.kt:51-55 | features-impl/common/src/com/jetbrains/ls/api/features/impl/common/surroundWith/LSSurroundWithCodeActionProvider.kt:64-68 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere all 5 call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made 5 times. Read the line range as the matched WINDOW rather than a finished unit: at \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonInjectionSyntaxErrorDiagnosticProvider.kt:36\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it. \u2605 These copies have DRIFTED, and that is worth reading before extracting anything: just before the matched lines, \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonIntentionFixesCodeActionProvider.kt:62\u0060 calls \u0060isSource\u0060, \u0060withAnalysisContextAndFileSettings\u0060 and \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/extract/LSExtractModCommandProviderBase.kt:59\u0060 does not \u2014 after which the two agree again for 3 more lines. One of those two behaviours is the intended one and the other is what a copy-paste left behind, so decide which BEFORE unifying them: extracting the shared part will silently settle it, and if the copy that skips the call is the wrong one, that bug is already live."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonInjectionSyntaxErrorDiagnosticProvider.kt"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"b6434d53c01f227e8a5339187f6503ea614b3a204b657c3feb8a36ace0d407dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/superDeclarations/LSKotlinSuperDeclarationsProvider.kt:47-51 | features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/typeHierarchy/LSKotlinTypeHierarchyProvider.kt:101-105 \u2014 the copies span different directories, so extracting a shared function means choosing where it lives: put it somewhere both call sites can already reach \u2014 a location they all depend on today, or a new shared one if there is none \u2014 and call it from each site; until then, every change has to be made twice. Read the line range as the matched WINDOW rather than a finished unit: at \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/superDeclarations/LSKotlinSuperDeclarationsProvider.kt:47\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that. The matched lines also transfer control out of the body holding them, which cannot survive a move into a called unit unchanged: have the extracted unit return that decision and let each site act on it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/superDeclarations/LSKotlinSuperDeclarationsProvider.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"7812bbfe479144aea6dfd01d31cde7657ca04488908f296fa1ac8516066f4995"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: features-impl/common/src/com/jetbrains/ls/api/features/impl/common/modcommands/ModCommandData.kt: features-impl/common/src/com/jetbrains/ls/api/features/impl/common/modcommands/ModCommandData.kt changed 30 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 38 in ModCommandData.from at line 334. 4 of those changes were fix/bug commits, and the other 26 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 23:15:35 \u002B00:00\u0027 --until=\u00272026-11-13 23:15:35 \u002B00:00\u0027 --full-history --no-merges -- features-impl/common/src/com/jetbrains/ls/api/features/impl/common/modcommands/ModCommandData.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/modcommands/ModCommandData.kt"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef78d58e376212bbedf19410e4837be8a224a75e9d38f41b70500779a3370ae8"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: vscode-extension-core/src/lspClient.ts: vscode-extension-core/src/lspClient.ts changed 26 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 19 in lspClient.registerSettingsChangeWatcher at line 1123. Frequent change and high complexity in one file compound: schedule the next change to it to include carving out the part being edited, with the area under test before it moves. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 23:15:35 \u002B00:00\u0027 --until=\u00272026-11-13 23:15:35 \u002B00:00\u0027 --full-history --no-merges -- vscode-extension-core/src/lspClient.ts\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/lspClient.ts"},"region":{"startLine":1123}}}],"partialFingerprints":{"codehealthFindingId/v1":"1416e826766a3c7f1305a5fa7e4ef9de3295284c79f82d1256bb20a72773b436"}},{"ruleId":"D15","level":"warning","message":{"text":"Repeated repair: features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSInspectionManager.kt: features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSInspectionManager.kt changed 9 times in last 90 days and 7 of those changes were fix/bug commits, so repair is the majority of this file\u0027s churn. Its max cyclomatic complexity is 9 (its worst body is LSInspectionManager.getLazyFix at line 64), AT OR UNDER the 15 threshold, so this is deliberately not filed as a churn \u00D7 complexity hotspot \u2014 the difficulty here is in the behaviour the file has to get right, not in its control flow, and refactoring it for complexity would be the wrong move. The repairs counted were: \u201CLSP-1234 [lsp] Revive quick fixes that update inspection options\u201D; \u201CLSP-1493 [lsp] stamp diagnostic fixes when diagnostics are computed\u201D; \u201CDBE-25878 [datagrip]: Refactor DataGrip quick fixes to use ModCommand API for the LSP\u201D; \u201CLSP-1990 [lsp] Display name rather than familyName for ModCommandAction-based quick-fixes\u201D. Each one is a case this code did not handle. Before the next change lands here, check that every one of them is pinned by a test that fails without its fix; where the same area keeps coming back, the durable fix is usually at the interface that keeps being misused rather than at the line that was last corrected. Counted over 2026-08-15..2026-11-13, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-15 23:15:35 \u002B00:00\u0027 --until=\u00272026-11-13 23:15:35 \u002B00:00\u0027 --full-history --no-merges -- features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSInspectionManager.kt\u0060: merges are excluded because a merge re-states changes already counted at their own commits, and history is NOT path-simplified because a change that reached the file through a merged branch is still a change to it. That command counts raw commits and can read HIGHER than this row, which counts a cherry-picked re-land, and a revert together with the commit it undoes, once each \u2014 a difference of several commits on a file whose history was re-landed or reverted inside the window."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSInspectionManager.kt"},"region":{"startLine":64}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b5ef04fcff514b927d8f823d7547ef39330236eab65358188097c9751ef0412"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 5 significant file(s) lose their only recent owner: vscode-testing/src/serviceMessages.ts, vscode-testing/src/testTree.ts, vscode-testing/src/teamCityReader.ts, vscode-testing/src/testRunFixture.ts, vscode-testing/src/testPlan.ts. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1caccfe84b089f849f2f7db602a22de76d71d207f2e6d3a5197a54e3a4e20765"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #2: If anonymized user #2 becomes unavailable, 7 significant file(s) lose their only recent owner: features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/typeHierarchy/LSKotlinTypeHierarchyProvider.kt, features-impl/common/src/com/jetbrains/ls/api/features/impl/common/semanticTokens/LSHighlightingSemanticTokens.kt, features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/extract/LSKotlinExtractVariableProvider.kt, features-impl/kotlin/psi/src/com/jetbrains/ls/api/features/impl/kotlin/psi/LSKotlinDocumentSymbolCustomizer.kt, features-impl/common/src/com/jetbrains/ls/api/features/impl/common/documentHighlight/LSCommonDocumentHighlightProvider.kt, api.features/src/com/jetbrains/ls/api/features/semanticTokens/LSSemanticTokenType.kt, features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonInjectionSyntaxErrorDiagnosticProvider.kt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"ea0c8758de27f29c112ecb14ab851af846ba6c92572ff35c1c53ae52892bfdcd"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #3: If anonymized user #3 becomes unavailable, 6 significant file(s) lose their only recent owner: features-impl/common/src/com/jetbrains/ls/api/features/impl/common/move/LSCommonMoveProvider.kt, features-impl/common/src/com/jetbrains/ls/api/features/impl/common/move/LSMoveFilesOrDirectoriesProcessor.kt, features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/callHierarchy/LSKotlinCallHierarchyRenderer.kt, features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/callHierarchy/LSKotlinCallHierarchyProvider.kt, features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/processors/LSMoveKotlinFileProcessor.kt, features-impl/common/src/com/jetbrains/ls/api/features/impl/common/rename/renameUtils.kt. Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"d8ba348c9f9adf8a8089c1d6ce919f505abdfd1c618b39cf2e3864c097c35f84"}},{"ruleId":"D16","level":"note","message":{"text":"Further sole-owners (lower concentration): 3 other contributor(s) are each the sole owner of a small amount of code below the off-boarding threshold \u2014 folded into the bus-factor score and metrics (22 single-owned of 153 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; 153 of the 312 production source files in this repository met that bar). They are anonymized user #4 (2 file(s)), anonymized user #5 (1 file(s)), anonymized user #6 (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: features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/apiImpl/KotlinFirCacheImpl.kt, vscode-extension-core/src/lspRouter.ts, vscode-extension-core/src/keyHandlerUtils.ts, vscode-extension-core/src/showConflictsModel.ts."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"6eac528f2429e724e1a97ed868f79eefbcf1888dab4af9a9e673429369bb5b2f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO drop fallback \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/lspClient.ts"},"region":{"startLine":753}}}],"partialFingerprints":{"codehealthFindingId/v1":"8dfad5be55e046c42c271362c5b0971f32fb999c7f515adab7ceb370cb5de615"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // todo should probably be implemented on the vscode side \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/semanticTokens/LSKotlinSemanticTokensProvider.kt"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"bff25caec3cb04fa35ec86058ba085d91e2cb673cecff5739159f080b7deb7f0"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Something more robust \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/psi/src/com/jetbrains/ls/api/features/impl/kotlin/psi/LSKotlinDocumentSymbolCustomizer.kt"},"region":{"startLine":96}}}],"partialFingerprints":{"codehealthFindingId/v1":"0015e9b5f7d28bd82d6c7cd4e6dcf5dbe811f2d0987fb1ce100c48d7db0ddb44"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: Handle deprecated declarations. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/psi/src/com/jetbrains/ls/api/features/impl/kotlin/psi/LSKotlinWorkspaceSymbolCustomizer.kt"},"region":{"startLine":47}}}],"partialFingerprints":{"codehealthFindingId/v1":"581e4df688580fa48ba9fc69085660ef67afab93546e10ab2530755d32a22bdf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: check newtext equality, see how it\u0027s implemented in LSJavaCompletionProvider \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/modcommands/ModCommandData.kt"},"region":{"startLine":503}}}],"partialFingerprints":{"codehealthFindingId/v1":"22e93157c78963a4084f0686ac226ce5b0829123cb7c6b567aa1220d6872057f"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO(bartekpacia): centralize common logging so it\u0027s not repeated N times across all LS*Providers \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonIntentionFixesCodeActionProvider.kt"},"region":{"startLine":73}}}],"partialFingerprints":{"codehealthFindingId/v1":"c43137083aaf4db3e4f859962d4663a099d0106f6d5fbf631d6047953d8477ff"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO LSP-236 send partial results here"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api.features/src/com/jetbrains/ls/api/features/semanticTokens/LSSemanticTokens.kt"},"region":{"startLine":31}}}],"partialFingerprints":{"codehealthFindingId/v1":"cdd69626277369c9f4e7fb096a9766398d5358b6bd987603b7bbcc659839062b"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO LSP-237 handle other parts of \u0060DocumentDiagnosticReport\u0060"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api.features/src/com/jetbrains/ls/api/features/diagnostics/LSDiagnosticProvider.kt"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"7766a6b1f3f5ba79edb685468de17f6c81d6de021b8e06cc1318ed1feb3f2010"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO we just need to return smth, not sure that the result is used \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api.features/src/com/jetbrains/ls/api/features/commands/document/LSDocumentCommandComandExecutor.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"dd27ee62027bb6c9b431b12c54109ab5f47bced83133153283907bedaeb1bb18"}},{"ruleId":"D34","level":"note","message":{"text":"Orphaned files with no living knowledge: 4 of 153 analysed file(s) have no living knowledge left \u2014 their last meaningful change has decayed away, so if one breaks, no one currently understands it (counted over production source files of roughly 2,400 bytes or more, excluding vendored, generated, example/demo and scaffolding-template trees and test files identified by path convention, largest first; 153 of the 312 production source files in this repository met that bar). None is large enough to earn a read-through of its own, so this row stands in for the per-file rows rather than raising one each \u2014 most significant first: kotlin-vscode/testSources/tokenization/sample.kt, api.features/src/com/jetbrains/ls/api/features/semanticTokens/encoding/SemanticTokensEncoder.kt, api.features/src/com/jetbrains/ls/api/features/semanticTokens/encoding/SemanticTokensDecoder.kt, api.features/src/com/jetbrains/ls/api/features/semanticTokens/LSSemanticTokenModifier.kt. 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":"api.features/src/com/jetbrains/ls/api/features/semanticTokens/encoding/SemanticTokensEncoder.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e625118ed7934814a01b448f413009c88d6ef90238606486683b2c5906d2b181"}},{"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":"api.features/src/com/jetbrains/ls/api/features/semanticTokens/encoding/SemanticTokensDecoder.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe8033b23e79e3ed14d2561906d97b21b901c52b66b3be8c7617a9f1f7bdde64"}},{"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":"api.features/src/com/jetbrains/ls/api/features/semanticTokens/LSSemanticTokenModifier.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a5f2ed7c538d875716b5f4b4ed3c3167bbfbbcaa0fc81093bcf6d4d96f284074"}},{"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":"kotlin-vscode/testSources/tokenization/sample.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"adb065b4dd71fb9e6d552f8c820aa675b8c7b26e6cdfa0f645afe96ff91caabc"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: LSSimpleCodeActionProvider.kt \u2194 LSKotlinCompilerDiagnosticsFixesCodeActionProvider.kt: \u0060api.features/src/com/jetbrains/ls/api/features/codeActions/LSSimpleCodeActionProvider.kt\u0060 (context api.features) and \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/diagnostics/compiler/LSKotlinCompilerDiagnosticsFixesCodeActionProvider.kt\u0060 (context features-impl) sit in DIFFERENT parts of the tree yet change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00604089b84c\u0060 [Analyzer] LSP-480 Change API to support file settings configuration; \u006022a992b1\u0060 cleanup [lsp]: replace \u0060file\u0060 with \u0060virtualFile\u0060 for clarity in varia\u2026 (at that commit the file was still \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/common/kotlin/diagnostics/compiler/LSKotlinCompilerDiagnosticsFixesCodeActionProvider.kt\u0060); \u006006b47afa\u0060 cleanup [lsp]: access function \u0060LSServer#withAnalysisContext\u0060 from co\u2026 (at that commit the file was still \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/common/kotlin/diagnostics/compiler/LSKotlinCompilerDiagnosticsFixesCodeActionProvider.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api.features/src/com/jetbrains/ls/api/features/codeActions/LSSimpleCodeActionProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"223f2d533f78cdafbef6539d3f42cc1d826255d06234437a87bedc0556d0f9a0"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: LSSimpleCodeActionProvider.kt \u2194 LSKotlinIntentionCodeActionProvider.kt: \u0060api.features/src/com/jetbrains/ls/api/features/codeActions/LSSimpleCodeActionProvider.kt\u0060 (context api.features) and \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/diagnostics/intentions/LSKotlinIntentionCodeActionProvider.kt\u0060 (context features-impl) sit in DIFFERENT parts of the tree yet change together 70% of the time (7 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 7 shared commits counted here, the most recent 3 are \u00604089b84c\u0060 [Analyzer] LSP-480 Change API to support file settings configuration; \u006022a992b1\u0060 cleanup [lsp]: replace \u0060file\u0060 with \u0060virtualFile\u0060 for clarity in varia\u2026 (at that commit the file was still \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/common/kotlin/diagnostics/intentions/LSKotlinIntentionCodeActionProvider.kt\u0060); \u006006b47afa\u0060 cleanup [lsp]: access function \u0060LSServer#withAnalysisContext\u0060 from co\u2026 (at that commit the file was still \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/common/kotlin/diagnostics/intentions/LSKotlinIntentionCodeActionProvider.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api.features/src/com/jetbrains/ls/api/features/codeActions/LSSimpleCodeActionProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f4e832f90a8fdcaaf0a44cf87c170d875b7aa2814bbad5540952d0d8d63a4f95"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: LSSimpleCodeActionProvider.kt \u2194 LSCommonSyntaxErrorDiagnosticProvider.kt: \u0060api.features/src/com/jetbrains/ls/api/features/codeActions/LSSimpleCodeActionProvider.kt\u0060 (context api.features) and \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonSyntaxErrorDiagnosticProvider.kt\u0060 (context features-impl) sit in DIFFERENT parts of the tree yet change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00604089b84c\u0060 [Analyzer] LSP-480 Change API to support file settings configuration; \u006022a992b1\u0060 cleanup [lsp]: replace \u0060file\u0060 with \u0060virtualFile\u0060 for clarity in varia\u2026 (at that commit the file was still \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSSyntaxErrorDiagnosticProvider.kt\u0060); \u006006b47afa\u0060 cleanup [lsp]: access function \u0060LSServer#withAnalysisContext\u0060 from co\u2026 (at that commit the file was still \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSSyntaxErrorDiagnosticProvider.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api.features/src/com/jetbrains/ls/api/features/codeActions/LSSimpleCodeActionProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"8db10f3b9bd70bcdab71957a13aa72a3148391dfd6fdd4a723981339191855c9"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: LSSimpleCodeActionProvider.kt \u2194 LSKotlinCompilerDiagnosticsProvider.kt: \u0060api.features/src/com/jetbrains/ls/api/features/codeActions/LSSimpleCodeActionProvider.kt\u0060 (context api.features) and \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/diagnostics/compiler/LSKotlinCompilerDiagnosticsProvider.kt\u0060 (context features-impl) sit in DIFFERENT parts of the tree yet change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00604089b84c\u0060 [Analyzer] LSP-480 Change API to support file settings configuration; \u006022a992b1\u0060 cleanup [lsp]: replace \u0060file\u0060 with \u0060virtualFile\u0060 for clarity in varia\u2026 (at that commit the file was still \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/common/kotlin/diagnostics/compiler/LSKotlinCompilerDiagnosticsProvider.kt\u0060); \u006006b47afa\u0060 cleanup [lsp]: access function \u0060LSServer#withAnalysisContext\u0060 from co\u2026 (at that commit the file was still \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/common/kotlin/diagnostics/compiler/LSKotlinCompilerDiagnosticsProvider.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api.features/src/com/jetbrains/ls/api/features/codeActions/LSSimpleCodeActionProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5294a4980cdeb2e7645b79232a4096ea13f21a4b547cc19a7f49826b84955275"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: LSSimpleCodeActionProvider.kt \u2194 LSCommonInspectionDiagnosticProvider.kt: \u0060api.features/src/com/jetbrains/ls/api/features/codeActions/LSSimpleCodeActionProvider.kt\u0060 (context api.features) and \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonInspectionDiagnosticProvider.kt\u0060 (context features-impl) sit in DIFFERENT parts of the tree yet change together 60% of the time (6 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 6 shared commits counted here, the most recent 3 are \u00604089b84c\u0060 [Analyzer] LSP-480 Change API to support file settings configuration; \u006022a992b1\u0060 cleanup [lsp]: replace \u0060file\u0060 with \u0060virtualFile\u0060 for clarity in varia\u2026 (at that commit the file was still \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/inspections/LSCommonInspectionDiagnosticProvider.kt\u0060); \u006006b47afa\u0060 cleanup [lsp]: access function \u0060LSServer#withAnalysisContext\u0060 from co\u2026 (at that commit the file was still \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/inspections/LSCommonInspectionDiagnosticProvider.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api.features/src/com/jetbrains/ls/api/features/codeActions/LSSimpleCodeActionProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4146a27379b52922bd5dfbb9789c0b9a5d793fc4c5df1af274350257c1e1b9d0"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: LSSimpleCodeActionProvider.kt \u2194 LSCommonDefinitionProvider.kt: \u0060api.features/src/com/jetbrains/ls/api/features/codeActions/LSSimpleCodeActionProvider.kt\u0060 (context api.features) and \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/definitions/LSCommonDefinitionProvider.kt\u0060 (context features-impl) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006022a992b1\u0060 cleanup [lsp]: replace \u0060file\u0060 with \u0060virtualFile\u0060 for clarity in varia\u2026; \u006006b47afa\u0060 cleanup [lsp]: access function \u0060LSServer#withAnalysisContext\u0060 from co\u2026; \u00605bc427f1\u0060 [lsp] cleanup: migrate (almost) all usages of \u0027runReadAction {}\u0027 to \u0027\u2026 (at that commit the file was still \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/definitions/LSDefinitionProviderCommonImpl.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api.features/src/com/jetbrains/ls/api/features/codeActions/LSSimpleCodeActionProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"dcb90a81615c22714e62080294eeded21c208a4c3a4e5f5186d3532533f1a90d"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: LSSimpleCodeActionProvider.kt \u2194 LSCommonReferencesProvider.kt: \u0060api.features/src/com/jetbrains/ls/api/features/codeActions/LSSimpleCodeActionProvider.kt\u0060 (context api.features) and \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/references/LSCommonReferencesProvider.kt\u0060 (context features-impl) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006022a992b1\u0060 cleanup [lsp]: replace \u0060file\u0060 with \u0060virtualFile\u0060 for clarity in varia\u2026; \u006006b47afa\u0060 cleanup [lsp]: access function \u0060LSServer#withAnalysisContext\u0060 from co\u2026; \u00605bc427f1\u0060 [lsp] cleanup: migrate (almost) all usages of \u0027runReadAction {}\u0027 to \u0027\u2026 (at that commit the file was still \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/references/LSReferencesProviderCommonImpl.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api.features/src/com/jetbrains/ls/api/features/codeActions/LSSimpleCodeActionProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0321b1842b4cba59f3be4e86633dcec6f8553299e94fb0c4b78250b77179ebb"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: LSSimpleCodeActionProvider.kt \u2194 LSKotlinPackageDefinitionProvider.kt: \u0060api.features/src/com/jetbrains/ls/api/features/codeActions/LSSimpleCodeActionProvider.kt\u0060 (context api.features) and \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/definitions/LSKotlinPackageDefinitionProvider.kt\u0060 (context features-impl) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006022a992b1\u0060 cleanup [lsp]: replace \u0060file\u0060 with \u0060virtualFile\u0060 for clarity in varia\u2026 (at that commit the file was still \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/common/kotlin/definitions/LSKotlinPackageDefinitionProvider.kt\u0060); \u006006b47afa\u0060 cleanup [lsp]: access function \u0060LSServer#withAnalysisContext\u0060 from co\u2026 (at that commit the file was still \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/common/kotlin/definitions/LSKotlinPackageDefinitionProvider.kt\u0060); \u00605bc427f1\u0060 [lsp] cleanup: migrate (almost) all usages of \u0027runReadAction {}\u0027 to \u0027\u2026 (at that commit the file was still \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/common/kotlin/definitions/LSKotlinPackageDefinitionProvider.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api.features/src/com/jetbrains/ls/api/features/codeActions/LSSimpleCodeActionProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e65a691155d842027152bea7f0b288812be5f0f036b097fbdd55b6e7b5528e7e"}},{"ruleId":"D35","level":"error","message":{"text":"Boundary-crossing change coupling: LSSimpleCodeActionProvider.kt \u2194 LSKotlinSemanticTokensProvider.kt: \u0060api.features/src/com/jetbrains/ls/api/features/codeActions/LSSimpleCodeActionProvider.kt\u0060 (context api.features) and \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/semanticTokens/LSKotlinSemanticTokensProvider.kt\u0060 (context features-impl) sit in DIFFERENT parts of the tree yet change together 50% of the time (5 of the 10 commits that touched whichever of the two files changed less often, counting a file under its earlier names as well \u2014 a repo-wide or module-wide sweep is evidence about the sweep rather than about any pair inside it and is left out of BOTH sides of this ratio, while a dependency bump, a formatter/rename sweep, or a commit whose edit to one of the two files was a tool directive such as //go:generate or whitespace only is left out of the shared count ONLY, so the two sides are not taken over identical commit sets) \u2014 the bounded-context boundary may be in the wrong place, or one context is leaking into the other. This is the behavioural boundary violation a static scan can\u0027t see. You can check this without leaving the row: of the 5 shared commits counted here, the most recent 3 are \u006022a992b1\u0060 cleanup [lsp]: replace \u0060file\u0060 with \u0060virtualFile\u0060 for clarity in varia\u2026 (at that commit the file was still \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/common/kotlin/semanticTokens/LSKotlinSemanticTokensProvider.kt\u0060); \u006006b47afa\u0060 cleanup [lsp]: access function \u0060LSServer#withAnalysisContext\u0060 from co\u2026 (at that commit the file was still \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/common/kotlin/semanticTokens/LSKotlinSemanticTokensProvider.kt\u0060); \u00605bc427f1\u0060 [lsp] cleanup: migrate (almost) all usages of \u0027runReadAction {}\u0027 to \u0027\u2026 (at that commit the file was still \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/common/kotlin/semanticTokens/LSSemanticTokensProviderKotlinImpl.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api.features/src/com/jetbrains/ls/api/features/codeActions/LSSimpleCodeActionProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"579ec9fa527e9f0182a5ef6cbe91c917a6861072f7c3a88c9be68912aaea2a1f"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: LSKotlinPackageDefinitionProvider.kt \u2192 LSCommonDefinitionProvider.kt, LSCommonInspectionDiagnosticProvider.kt, LSCommonSyntaxErrorDiagnosticProvider.kt, LSHoverProviderBase.kt, LSCommonReferencesProvider.kt, LSKotlinSemanticTokensProvider.kt: \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/definitions/LSKotlinPackageDefinitionProvider.kt\u0060 changes together with 6 other files \u2014 \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/definitions/LSCommonDefinitionProvider.kt\u0060, \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonInspectionDiagnosticProvider.kt\u0060, \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonSyntaxErrorDiagnosticProvider.kt\u0060, \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/hover/LSHoverProviderBase.kt\u0060, \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/references/LSCommonReferencesProvider.kt\u0060, \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/semanticTokens/LSKotlinSemanticTokensProvider.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 6 separate couplings, not 6 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 6."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/definitions/LSKotlinPackageDefinitionProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"a78ffcc726e945aae4fcb5c88b33f995230420df3200555f820d678348527b96"}},{"ruleId":"D35","level":"warning","message":{"text":"Change-coupling hub: LSCommonSyntaxErrorDiagnosticProvider.kt \u2192 LSCommonInspectionDiagnosticProvider.kt, LSKotlinCompilerDiagnosticsFixesCodeActionProvider.kt, LSKotlinCompilerDiagnosticsProvider.kt, LSKotlinIntentionCodeActionProvider.kt: \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonSyntaxErrorDiagnosticProvider.kt\u0060 changes together with 4 other files \u2014 \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonInspectionDiagnosticProvider.kt\u0060, \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/diagnostics/compiler/LSKotlinCompilerDiagnosticsFixesCodeActionProvider.kt\u0060, \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/diagnostics/compiler/LSKotlinCompilerDiagnosticsProvider.kt\u0060, \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/diagnostics/intentions/LSKotlinIntentionCodeActionProvider.kt\u0060 \u2014 none of which declares a dependency on it: one file is the hub of 4 separate couplings, not 4 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 4."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonSyntaxErrorDiagnosticProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"babbdeac48ee419c5f7f66c478df68df58798b809cb11c991feeb15f7be0735a"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: LSJavaBaseLanguageConfiguration.kt \u2194 LSKotlinLanguageConfiguration.kt: \u0060features-impl/java-base/src/com/jetbrains/ls/api/features/impl/javaBase/LSJavaBaseLanguageConfiguration.kt\u0060 and \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/configuration/LSKotlinLanguageConfiguration.kt\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 \u00603892e258\u0060 misc LSP: extract more copy-pasted code into module shared between ID\u2026; \u00602912dc0e\u0060 refactor [analyzer] move java/kotlin inits to XML; \u0060182ad99e\u0060 LSP-1069 lsp: allow specifying bazel projectview file in settings \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/java-base/src/com/jetbrains/ls/api/features/impl/javaBase/LSJavaBaseLanguageConfiguration.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e1c36a9305632dedb2d2b3bce157cae1f5db0092439aa9f16753816a5ade9a30"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: LSCommonInspectionDiagnosticProvider.kt \u2194 LSKotlinCompilerDiagnosticsProvider.kt: \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonInspectionDiagnosticProvider.kt\u0060 and \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/diagnostics/compiler/LSKotlinCompilerDiagnosticsProvider.kt\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 \u0060b3b19934\u0060 LSP-514: Do not show any diagnostics except to syntax errors for file\u2026; \u00604089b84c\u0060 [Analyzer] LSP-480 Change API to support file settings configuration; \u006022a992b1\u0060 cleanup [lsp]: replace \u0060file\u0060 with \u0060virtualFile\u0060 for clarity in varia\u2026 (at that commit the files were still \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/inspections/LSCommonInspectionDiagnosticProvider.kt\u0060 and \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/common/kotlin/diagnostics/compiler/LSKotlinCompilerDiagnosticsProvider.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonInspectionDiagnosticProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"42f70d8fae055da58babc6cbc0bfdd1d288173de29ded5ef943caabb8f50a083"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: LSCommonDefinitionProvider.kt \u2194 LSCommonReferencesProvider.kt: \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/definitions/LSCommonDefinitionProvider.kt\u0060 and \u0060features-impl/common/src/com/jetbrains/ls/api/features/impl/common/references/LSCommonReferencesProvider.kt\u0060 change together 53% of the time (9 of the 17 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 9 shared commits counted here, the most recent 3 are \u0060e54836f1\u0060 misc lsp: reuse implementations of definitions, references and implem\u2026; \u00603892e258\u0060 misc LSP: extract more copy-pasted code into module shared between ID\u2026; \u0060d87d46b0\u0060 [Java] LSP-981: Make reference resolved at the end of identifier poss\u2026 \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/definitions/LSCommonDefinitionProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"af51311778fdef4dbb4b00bc5b6c58c285d345f0a7fb95b67d95c3880552a2a1"}},{"ruleId":"D35","level":"warning","message":{"text":"Change coupling: LSKotlinCompilerDiagnosticsProvider.kt \u2194 LSKotlinIntentionCodeActionProvider.kt: \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/diagnostics/compiler/LSKotlinCompilerDiagnosticsProvider.kt\u0060 and \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/diagnostics/intentions/LSKotlinIntentionCodeActionProvider.kt\u0060 change together 50% of the time (7 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 7 shared commits counted here, the most recent 3 are \u00604089b84c\u0060 [Analyzer] LSP-480 Change API to support file settings configuration; \u0060546c9d4d\u0060 cleanup [lsp]: remove \u0022common\u0022 package prefix from Kotlin implementation; \u006022a992b1\u0060 cleanup [lsp]: replace \u0060file\u0060 with \u0060virtualFile\u0060 for clarity in varia\u2026 (at that commit the files were still \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/common/kotlin/diagnostics/compiler/LSKotlinCompilerDiagnosticsProvider.kt\u0060 and \u0060features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/common/kotlin/diagnostics/intentions/LSKotlinIntentionCodeActionProvider.kt\u0060) \u2014 run \u0060git show\u0060 on any of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/diagnostics/compiler/LSKotlinCompilerDiagnosticsProvider.kt"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9138e4ae5286dac1be8ff0045741d8a5de7ce1bfe383c30d15fc7e0f5d516158"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: codeActions \u2192 commands: \u0060LSSimpleCodeActionProvider\u0060 (slice \u0027codeActions\u0027) depends on \u0060LSCommandDescriptor\u0060 from slice \u0027commands\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api.features/src/com/jetbrains/ls/api/features/codeActions/LSSimpleCodeActionProvider.kt"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"3c4384156ae38e1034d00c1c657a77762fd1f934312afb0a9ce6424feb9f1a85"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: resolve \u2192 configuration: \u0060ResolveDataWithConfigurationEntryId\u0060 (slice \u0027resolve\u0027) depends on \u0060UniqueId\u0060 from slice \u0027configuration\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"api.features/src/com/jetbrains/ls/api/features/resolve/ResolveDataWithConfigurationEntryId.kt"},"region":{"startLine":10}}}],"partialFingerprints":{"codehealthFindingId/v1":"c51afba85c43d24e45331111aae503bcad842c9150f0d75a208aed1f563162fa"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 configuration: \u0060CallHierarchyItemData\u0060 (slice \u0027impl\u0027) depends on \u0060UniqueId\u0060 from slice \u0027configuration\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/callHierarchy/LSCallHierarchyProviderBase.kt"},"region":{"startLine":169}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc57bf299114e82e25338f48e41f81cafec6883a967cee3c63cd04c30d04609"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 utils: \u0060Declaration\u0060 (slice \u0027impl\u0027) depends on \u0060PsiSerializablePointer\u0060 from slice \u0027utils\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/callHierarchy/LSCallHierarchyProviderBase.kt"},"region":{"startLine":194}}}],"partialFingerprints":{"codehealthFindingId/v1":"b39d90fe711ed3dc268e77b0cbcb866e606f22da99592b310e0b7b304eb2e066"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 utils: \u0060ImplicitMember\u0060 (slice \u0027impl\u0027) depends on \u0060PsiSerializablePointer\u0060 from slice \u0027utils\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/callHierarchy/LSCallHierarchyProviderBase.kt"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"3fbedd2249425289f90c812a6689a3e59375b3df4becc80e91329090880f437c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 language: \u0060LSCompletionProviderHelper\u0060 (slice \u0027impl\u0027) depends on \u0060LSLanguage\u0060 from slice \u0027language\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/completion/LSCompletionProviderHelper.kt"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"66ade0890cc6514aafe7801c6ece08990167f3b3a9921369b72a6b40625f62df"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 language: \u0060CompletionCandidate\u0060 (slice \u0027impl\u0027) depends on \u0060LSLanguage\u0060 from slice \u0027language\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/completion/LSCompletionProviderHelper.kt"},"region":{"startLine":343}}}],"partialFingerprints":{"codehealthFindingId/v1":"1a92f0108316a6c8dec0e6932864b0301eb9cef5aa7e8a586fc9e6ab1a7e597b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 language: \u0060LSCommonConfigurationKt\u0060 (slice \u0027impl\u0027) depends on \u0060LSConfigurationPiece\u0060 from slice \u0027language\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/configuration/LSCommonConfiguration.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e25c758690e4ab3e8dadf83ca12a9a9f6a5e5c6d4bc8b73e6cc003d43c3bbd1"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 language: \u0060LSCommonServerExtension\u0060 (slice \u0027impl\u0027) depends on \u0060LSConfigurationPiece\u0060 from slice \u0027language\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/configuration/LSCommonServerExtension.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"38274f2dfd199a0daad181bf8e162538b805fe7ee2945f58df12c37192c04cd6"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 commands: \u0060LSDecompileCommandDescriptorProvider\u0060 (slice \u0027impl\u0027) depends on \u0060LSCommandDescriptor\u0060 from slice \u0027commands\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/decompiler/LSDecompileCommandDescriptorProvider.kt"},"region":{"startLine":22}}}],"partialFingerprints":{"codehealthFindingId/v1":"bd229a733f58ba5842eb923d1e4d0bc71be885940833ccd894c1a26eae8786f1"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 codeActions: \u0060LSCommonInspectionOptionsCodeActionProvider\u0060 (slice \u0027impl\u0027) depends on \u0060LSCodeActionGroup\u0060 from slice \u0027codeActions\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/diagnostics/LSCommonInspectionOptionsCodeActionProvider.kt"},"region":{"startLine":82}}}],"partialFingerprints":{"codehealthFindingId/v1":"fb6edb4573cd2276a11412eb1fb1f8fd87a79c8768d4c7311e587a9e89b8e62b"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 commands: \u0060LSInterpolateFileTemplateCommandDescriptorProvider\u0060 (slice \u0027impl\u0027) depends on \u0060LSCommandDescriptor\u0060 from slice \u0027commands\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/fileTemplates/LSInterpolateFileTemplateCommandDescriptorProvider.kt"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"337361a986c9ab0e072af263d9396c8b16af88967fc35cb73a1965f0b14fe857"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 configuration: \u0060LSInlayHintsProviderBase\u0060 (slice \u0027impl\u0027) depends on \u0060UniqueId\u0060 from slice \u0027configuration\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/inlayHints/LSInlayHintsProviderBase.kt"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"71b5f2e4be67a99a3ee21d6eec949ea8922b2fda232ccb46818c24ca1aa8c959"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 utils: \u0060PsiPointerInlayActionPayloadSerializable\u0060 (slice \u0027impl\u0027) depends on \u0060PsiSerializablePointer\u0060 from slice \u0027utils\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/inlayHints/LSInlayHintsProviderBase.kt"},"region":{"startLine":480}}}],"partialFingerprints":{"codehealthFindingId/v1":"210cd9ea6fb86696a530e556b531b6546929394173d363a94550ec79d6037951"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 configuration: \u0060InlayHintResolveData\u0060 (slice \u0027impl\u0027) depends on \u0060UniqueId\u0060 from slice \u0027configuration\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/inlayHints/LSInlayHintsProviderBase.kt"},"region":{"startLine":493}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d1cd3f7d5d4cd7dd74068b6033a959de3f1e873f613fba9e8ba3619a81cb89f"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 commands: \u0060LSApplyFixCommandDescriptorProvider\u0060 (slice \u0027impl\u0027) depends on \u0060LSCommandDescriptor\u0060 from slice \u0027commands\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/modcommands/LSApplyFixCommandDescriptorProvider.kt"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9e21dc4cd047505afc1843177d6509ef67acdbcdc3b4143da6403672d0beb95"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 semanticTokens: \u0060Piece\u0060 (slice \u0027impl\u0027) depends on \u0060LSSemanticTokenType\u0060 from slice \u0027semanticTokens\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/semanticTokens/LSHighlightingSemanticTokens.kt"},"region":{"startLine":52}}}],"partialFingerprints":{"codehealthFindingId/v1":"a6c878dbf26c62cacb962de53f83cdadea0e3ed558d8e980ac621fab3443ddea"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 commands: \u0060LSStackTraceCommandDescriptorProvider\u0060 (slice \u0027impl\u0027) depends on \u0060LSCommandDescriptor\u0060 from slice \u0027commands\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/common/src/com/jetbrains/ls/api/features/impl/common/stackTrace/LSStackTraceCommandDescriptorProvider.kt"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d0f96a8e043d6bc0367f8598eb2d10c8a84e91646d81cf7dd4057b4447c4546"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 language: \u0060JavaBaseLanguageServerExtension\u0060 (slice \u0027impl\u0027) depends on \u0060LSConfigurationPiece\u0060 from slice \u0027language\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/java-base/src/com/jetbrains/ls/api/features/impl/javaBase/JavaBaseLanguageServerExtension.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"b2827e8d241b846e8fb09cce31dd4aa58d5933b00d704e76459cb6d01764aeae"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 language: \u0060LSJavaBaseLanguageConfigurationKt\u0060 (slice \u0027impl\u0027) depends on \u0060LSConfigurationPiece\u0060 from slice \u0027language\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/java-base/src/com/jetbrains/ls/api/features/impl/javaBase/LSJavaBaseLanguageConfiguration.kt"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"6a7818ac71173ef2e252e9dcebf3331666c31f9d076a8dafc57041db77634e63"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 language: \u0060LSJavaLanguageKt\u0060 (slice \u0027impl\u0027) depends on \u0060LSLanguage\u0060 from slice \u0027language\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/java-base/src/com/jetbrains/ls/api/features/impl/javaBase/LSJavaLanguage.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"1e7acef76705bcf0108c4a4e57d94a3900883e4b798e7cde1a25a1f003391541"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 configuration: \u0060LSKotlinCallHierarchyProvider\u0060 (slice \u0027impl\u0027) depends on \u0060UniqueId\u0060 from slice \u0027configuration\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/callHierarchy/LSKotlinCallHierarchyProvider.kt"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"921cbbe2bbe193ec57ab343d07e11bbb92dae0196ad3466c626decafea382dbb"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 configuration: \u0060LSKotlinCompletionProvider\u0060 (slice \u0027impl\u0027) depends on \u0060UniqueId\u0060 from slice \u0027configuration\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/completion/LSKotlinCompletionProvider.kt"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"94889027dd8e3eb62ca103bd60f9130b1f0f0094a6184edf950ec83df439b53c"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 language: \u0060KotlinLanguageServerExtension\u0060 (slice \u0027impl\u0027) depends on \u0060LSConfigurationPiece\u0060 from slice \u0027language\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/configuration/KotlinLanguageServerExtension.kt"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"7e12bb134a9f55746d9eeb81c389ea12240445167496bb2296c11f8f7b3cf1ed"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 language: \u0060LSKotlinLanguageConfigurationKt\u0060 (slice \u0027impl\u0027) depends on \u0060LSConfigurationPiece\u0060 from slice \u0027language\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/configuration/LSKotlinLanguageConfiguration.kt"},"region":{"startLine":72}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c5124389f8e241445d03902e84e6cc4f2fad290f6740f3da057d220522b7d72"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 utils: \u0060KotlinCompilerDiagnosticData\u0060 (slice \u0027impl\u0027) depends on \u0060PsiSerializablePointer\u0060 from slice \u0027utils\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/diagnostics/compiler/KotlinCompilerDiagnosticData.kt"},"region":{"startLine":15}}}],"partialFingerprints":{"codehealthFindingId/v1":"b058d7f9440c9bbc726ec929d1ff42e05fe37e86423010b0cbbc70b4609f0187"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 language: \u0060LSKotlinLanguageKt\u0060 (slice \u0027impl\u0027) depends on \u0060LSLanguage\u0060 from slice \u0027language\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/language/LSKotlinLanguage.kt"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"fcc4ba49b585abb90a4ae4cc04feb1138c6fd3b903b1acf34a3ef1d780214b73"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 semanticTokens: \u0060LSKotlinSemanticTokensProviderKt\u0060 (slice \u0027impl\u0027) depends on \u0060LSSemanticTokenModifierCustom\u0060 from slice \u0027semanticTokens\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/semanticTokens/LSKotlinSemanticTokensProvider.kt"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"1f777d995dd56cbdc304ad9ebcf563512a76f3104e252e0a1c8f65e740a28cd9"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 configuration: \u0060LSKotlinTypeHierarchyProvider\u0060 (slice \u0027impl\u0027) depends on \u0060UniqueId\u0060 from slice \u0027configuration\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/typeHierarchy/LSKotlinTypeHierarchyProvider.kt"},"region":{"startLine":95}}}],"partialFingerprints":{"codehealthFindingId/v1":"3dc80b7252c95c182de7f88976f94666d5b94b4bad589afe80485884baa201f2"}},{"ruleId":"AX7","level":"warning","message":{"text":"Cross-slice coupling: impl \u2192 utils: \u0060TypeHierarchyItemData\u0060 (slice \u0027impl\u0027) depends on \u0060PsiSerializablePointer\u0060 from slice \u0027utils\u0027."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/typeHierarchy/LSKotlinTypeHierarchyProvider.kt"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"96bb27b8dead030f9990465d3dfca8b517bcffc2fdaea797ee43024a75c6abcd"}},{"ruleId":"M2","level":"note","message":{"text":"No ADRs: No Architecture Decision Records found \u2014 no conventional ADR directory, no numbered \u0060NNNN-title\u0060 documents in any markup this check reads, and nothing ADR-shaped by content. Design rationale recorded elsewhere (a design-notes tree, a mailing list, pull-request discussion) is not visible to this check and is not re-findable per decision, so a future maintainer cannot ask why one choice was made and get an answer."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"670b3d6e36a756d63097d0dfbf90afd5fc761308800b9354894a07c3f4e4aa14"}},{"ruleId":"M2","level":"note","message":{"text":"No architecture diagram/doc: No C4/Structurizr/PlantUML/Mermaid/Graphviz/D2 diagram, no drawn diagram named for the architecture, no file named \u0060architecture\u0060 or \u0060design\u0060 in any markup this check reads, and nothing in the README, docs or contributor guides that announces the shape \u2014 no \u0060## Architecture\u0060 heading, no \u0022architecture overview\u0022/\u0022high-level design\u0022 phrasing, no \u0022the architecture is \u2026\u0022 introduction, no guided code tour. A shape laid out in prose that never names itself as the architecture is not visible to this check, and neither is one kept outside the repository, so this row reports the absence of a re-findable shape document \u2014 not evidence that nobody wrote the shape down."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"0c190e7c159d1850ee706c3ac4486e151e8a4fe169de4bf61436b9f399654f06"}},{"ruleId":"P1","level":"warning","message":{"text":"No CI pipeline: No CI workflow found (.github/workflows, azure-pipelines.yml, .gitlab-ci.yml, \u2026) \u2014 changes aren\u0027t gated by an automated build/test."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"44f01af96e50474fba2df84d95ddf4f7e1d34c29c307830b9efc9057daa6b670"}},{"ruleId":"P2","level":"note","message":{"text":"Logging is not universal: Only 1/2 runnable modules use logging (modules with no entry point or server are excluded \u2014 they are libraries a runnable module hosts). Silent: \u0060vscode-extension-core\u0060."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"91a94e21d6d4d0e6a2003f94505b0b02b157176f0b24c4820f3f82b4447a97fe"}},{"ruleId":"P3","level":"note","message":{"text":"No SAST: No static application security testing detected. For this repository\u0027s stack, add spotbugs with find-sec-bugs (or \u0060semgrep --config=auto\u0060, which runs on any language) \u2014 this repository has no CI pipeline yet, so run it locally to clear the existing findings, then make it a step of the first workflow you add so a regression fails the build. What was searched, so you can tell an absence from a miss: the 0 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":[],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060kotlin-vscode/package.json\u0060 declares packages, and nothing in the repository keeps them current: no Dependabot or Renovate configuration that schedules updates, and no dependency-review gate on pull requests. A pinned dependency stays at the version it was added at until someone notices \u2014 including after an advisory is published against it. Add a \u0060.github/dependabot.yml\u0060 with one \u0060package-ecosystem\u0060 entry per ecosystem the tree uses (or an enabled \u0060renovate.json\u0060), and gate pull requests with \u0060actions/dependency-review-action\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kotlin-vscode/package.json"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"d59114f0403e611047e356129393976192a4f3a0f8addc4718471260c28adc37"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060chmodSync\u0060 in \u0060ensureBundledServerLauncher\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/lspClient.ts"},"region":{"startLine":840}}}],"partialFingerprints":{"codehealthFindingId/v1":"720d554ed5653d5a845b4538ecc31101f4e007698cdc7cefa3843815654d9f14"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060ensureServerLauncher\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":100}}}],"partialFingerprints":{"codehealthFindingId/v1":"7b9761f93a60b12a6336c8af0a0d2b7b4780fdd8c32decd858175a232172238d"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060ensureServerLauncher\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":106}}}],"partialFingerprints":{"codehealthFindingId/v1":"85f88f15feacbbbce6880127342fca12438428793e6728a673d751c761f83cb2"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060ensureServerLauncher\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d97a075bc5f9d98bda5ef78988eb3dd56805ed4d45209c1a63549a4c5389adc"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":121}}}],"partialFingerprints":{"codehealthFindingId/v1":"bf3ebbd373fa1e38ff1e01a60b95a27648f101120cb28d467f0dc3f3c6497ca5"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060anonymous function\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"3849b48b00cdf2a42d4788ec2c830f4005871757e62caaef3835b6e53d8dd1a9"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060ensureServerLauncher\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"41161d3a36b4138ed964a6e26538deffc24e91b5ff2dc153d851794f735843c6"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060findCachedServerLauncher\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":162}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a63a651490d83fbd65e3dd44bceb24c340d05ac628af39e66a2772e1bb94b01"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060publishExtractedServerBundle\u0060 blocks the event loop until it finishes \u2014 a blocking call inside async code stalls the event loop \u2014 every other request waits for as long as it runs."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"b310a784b0e40b45f741ae0b1b59a59f3a2c664b8383f084f99b61674c7211a5"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (15 lines \u00D7 2 locations): vscode-language-kotlin/src/kotlin/keyHandler.ts:609 \u00B7 vscode-language-kotlin/src/kotlin/keyHandler.ts:639 \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-language-kotlin/src/kotlin/keyHandler.ts"},"region":{"startLine":609}}}],"partialFingerprints":{"codehealthFindingId/v1":"39941f9d2d3dd6c78cb913466bd911934eaea4aaf34018556a395c0fd91c9796"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): vscode-extension-core/src/keyHandlerUtils.ts:119 \u00B7 vscode-extension-core/src/keyHandlerUtils.ts:134 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/keyHandlerUtils.ts"},"region":{"startLine":119}}}],"partialFingerprints":{"codehealthFindingId/v1":"a317bf8694234a21be8b34e2bb645bd88d3baceacce15b34b3b7be0f2923c78d"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): vscode-extension-core/src/keyHandlerUtils.ts:668 \u00B7 vscode-language-kotlin/src/kotlin/keyHandler.ts:371 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/keyHandlerUtils.ts"},"region":{"startLine":668}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d36c4605e6694c0db6003b36a502ee9707e0fdfafe110021ef26e6ce5b6b492"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): vscode-extension-core/src/keyHandlerUtils.ts:406 \u00B7 vscode-language-kotlin/src/kotlin/keyHandler.ts:578 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/keyHandlerUtils.ts"},"region":{"startLine":406}}}],"partialFingerprints":{"codehealthFindingId/v1":"94cc450b4443393c220c3c49dded4e1d8caea3c5a13f76dd5c53310603319c7c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (13 lines \u00D7 2 locations): vscode-extension-core/src/serverBundleDownload.ts:783 \u00B7 vscode-extension-core/src/testing/archiveExtraction.ts:170 \u2014 the 2 copies are spread across 2 directories, so the shared home is a decision rather than an obvious spot: check first whether one of them already owns this behaviour, and otherwise put the extracted module somewhere all of the sites already reach rather than making one of them depend on another."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":783}}}],"partialFingerprints":{"codehealthFindingId/v1":"aa3f1b985ca8642ec8f2d573c9ff058b9b816f8128904be60a785f12d8773ea1"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 2 locations): vscode-language-kotlin/src/kotlin/keyHandler.ts:173 \u00B7 vscode-language-kotlin/src/kotlin/keyHandler.ts:280 \u2014 both copies are in the same file, so extract the block 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-language-kotlin/src/kotlin/keyHandler.ts"},"region":{"startLine":173}}}],"partialFingerprints":{"codehealthFindingId/v1":"57856eaf37bd32fda976c8d1421735d1100b1ef0c5e2a862cc04bb595379f085"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): vscode-extension-core/src/keyHandlerUtils.ts:573 \u00B7 vscode-language-kotlin/src/kotlin/keyHandler.ts:883 \u2014 the 2 copies are spread across 2 files, and the CITED SPAN is not a self-contained block \u2014 it runs from inside one construct into the next (the tail of a branch plus the head of the following one, a run of switch arms, the end of a declaration plus the list that follows it) rather than covering a whole unit. So do not lift these lines literally: no call can be substituted for a half-open construct. Extract the enclosing repeated UNIT instead \u2014 the whole function, component or branch these lines sit in \u2014 and where the repetition IS the construct (a run of switch arms, a stack of near-identical declarations) replace it with one table or registry looked up by key rather than a helper each arm calls. The copies still drift apart the first time only one of them is edited, which is why this is reported."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/keyHandlerUtils.ts"},"region":{"startLine":573}}}],"partialFingerprints":{"codehealthFindingId/v1":"4d54175539aaaba1650c86d2f5fef43f26d31adec9fc51a0e478fb99e11e7d27"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (10 lines \u00D7 2 locations): vscode-extension-core/src/serverBundleDownload.ts:370 \u00B7 vscode-extension-core/src/serverBundleDownload.ts:641 \u2014 both copies are in the same file, so extract the block 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-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":370}}}],"partialFingerprints":{"codehealthFindingId/v1":"f140f221afc6be97305f6ac1ef92e5af248b0b3ab2e9902d31e804d247478742"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (10 matched lines \u00D7 2 locations): vscode-testing/src/testTree.ts:175 \u00B7 vscode-testing/src/testTree.ts:197 \u2014 the two spans are one implementation copied and then locally edited \u2014 100 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-testing/src/testTree.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5e99b0f48947fd35d7e8208c33b9838e6583e2f7ee8972608ab5e9f4bd1e9e8"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): vscode-extension-core/src/keyHandlerUtils.ts:178 \u00B7 vscode-extension-core/src/keyHandlerUtils.ts:188 \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-extension-core/src/keyHandlerUtils.ts"},"region":{"startLine":178}}}],"partialFingerprints":{"codehealthFindingId/v1":"7887332c26aae0925557f78629eb90f13c54ea11c197c202274b7d9975da008c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): vscode-language-kotlin/src/kotlin/keyHandler.ts:875 \u00B7 vscode-language-kotlin/src/kotlin/keyHandler.ts:906 \u2014 both copies are in the same file, so extract the block 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-language-kotlin/src/kotlin/keyHandler.ts"},"region":{"startLine":875}}}],"partialFingerprints":{"codehealthFindingId/v1":"3e7672abbf64adf1cd3c428280090c255e67c947fa9510e30094de35410420d3"}},{"ruleId":"R11","level":"warning","message":{"text":"Boundary violation [package:relative-cross-package]: vscode-extension-core/src/keyHandlerTestUtils.ts:8 reaches into another package with a relative path (../node_modules/web-tree-sitter/web-tree-sitter.wasm) \u2014 import the package by name instead."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/keyHandlerTestUtils.ts"},"region":{"startLine":8}}}],"partialFingerprints":{"codehealthFindingId/v1":"23e604befaa2ed309229a1edfac07f4b50a35b3d08683c9aeb4b43e2491c54f4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function projectRejectionReason (cyclomatic 21, cognitive 25): projectRejectionReason has cyclomatic complexity 21 and cognitive complexity 25; 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-extension-core/src/initializationSettings.ts"},"region":{"startLine":166}}}],"partialFingerprints":{"codehealthFindingId/v1":"3cd2cf521bcd475a5047b08e6e1831fdba1918b29405e47adc02b20348f09ea9"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 20, cognitive 18): (anonymous) has cyclomatic complexity 20 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":399}}}],"partialFingerprints":{"codehealthFindingId/v1":"89d3fd27468f3eb7a7f6f4a2c753925b8adbc85b6cd1f1138dc97ecef06bf8fa"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function component (cyclomatic 20, cognitive 10): component has cyclomatic complexity 20 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/editOptionsModel.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"d2c0a510b5da7489dfe37352bb924d0fcd9ed35e3f3a35f3ad93023443f0cdc2"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 19, cognitive 18): (anonymous) has cyclomatic complexity 19 and cognitive complexity 18; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-language-kotlin/src/kotlin/keyHandler.ts"},"region":{"startLine":334}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c0b460ec3db4bef4e36b9707b19644a1adeced7e8a6d3c53a0b662c0ef10112"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startServer (cyclomatic 18, cognitive 19): startServer has cyclomatic complexity 18 and cognitive complexity 19; 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-extension-core/src/lspClient.ts"},"region":{"startLine":931}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d83b59d2982089a21e461422785f7733e7d6fbf55926184cff790bd6d32f92a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleDoubleQuoteKey (cyclomatic 17, cognitive 16): handleDoubleQuoteKey has cyclomatic complexity 17 and cognitive complexity 16; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-language-kotlin/src/kotlin/keyHandler.ts"},"region":{"startLine":142}}}],"partialFingerprints":{"codehealthFindingId/v1":"272c1b0affc86d730d254135fc8390c0552d517ae1da1887f8cfc03e1c6f3438"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleStringLiteralKey (cyclomatic 16, cognitive 26): handleStringLiteralKey has cyclomatic complexity 16 and cognitive complexity 26; 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-language-kotlin/src/kotlin/keyHandler.ts"},"region":{"startLine":243}}}],"partialFingerprints":{"codehealthFindingId/v1":"425f92802a026c3286cf82000e86c386ff68373ba7648094ffb7deba64c39d35"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 16, cognitive 13): (anonymous) has cyclomatic complexity 16 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/handleKeyType.ts"},"region":{"startLine":37}}}],"partialFingerprints":{"codehealthFindingId/v1":"5b9745029d4d40485e1091f3052caad6218aea2c22d35fb478e4f08c7da7a86c"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function shouldAutoCloseOpeningDelimiter (cyclomatic 16, cognitive 9): shouldAutoCloseOpeningDelimiter has cyclomatic complexity 16 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/keyHandlerUtils.ts"},"region":{"startLine":885}}}],"partialFingerprints":{"codehealthFindingId/v1":"9f987889d16bf6aa0509ff042c89ff2f39d84eb287e9ab21c6480a78f80c9de4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 15): (anonymous) has cyclomatic complexity 15 and cognitive complexity 15; 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-extension-core/src/lspClient.ts"},"region":{"startLine":1133}}}],"partialFingerprints":{"codehealthFindingId/v1":"884cb7bdfc4b608bfeda30bd0d37064ccfd4f642d241379da4f1ec7ea86a5e4a"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function configOf (cyclomatic 15, cognitive 14): configOf has cyclomatic complexity 15 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-jvm-testing/src/jvmTestLanguage.ts"},"region":{"startLine":179}}}],"partialFingerprints":{"codehealthFindingId/v1":"a82f1cf11633792b7e22ca5076ad184c5e964980f800dd1aba77a3ebd0053108"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function clearCachesAndRestart (cyclomatic 14, cognitive 16): clearCachesAndRestart has cyclomatic complexity 14 and cognitive complexity 16; 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-extension-core/src/lspClient.ts"},"region":{"startLine":281}}}],"partialFingerprints":{"codehealthFindingId/v1":"47d45e8feda035c8131b85f2cf7a371e4331135d020ee302ab1a96c202aa17b1"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleMultilineStringLiteralEnter (cyclomatic 14, cognitive 16): handleMultilineStringLiteralEnter has cyclomatic complexity 14 and cognitive complexity 16; 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-language-kotlin/src/kotlin/keyHandler.ts"},"region":{"startLine":1223}}}],"partialFingerprints":{"codehealthFindingId/v1":"97ec15c547d2fa609f827995610df5c20d29960836d6cff929f3913be4c2b2a5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function readServerBundleMetadata (cyclomatic 14, cognitive 15): readServerBundleMetadata has cyclomatic complexity 14 and cognitive complexity 15; 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-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"49c76dc6d1481a096e986599bdc624198f6f8a7a0d38a18c16240e04e7ef2d53"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function locate (cyclomatic 14, cognitive 15): locate has cyclomatic complexity 14 and cognitive complexity 15; 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-testing/src/teamCityReader.ts"},"region":{"startLine":136}}}],"partialFingerprints":{"codehealthFindingId/v1":"7d3f2448379a841fe12a014557cb6cd8437e5f823379c28d196006545fe53c3d"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeStatusTooltipContent (cyclomatic 14, cognitive 13): computeStatusTooltipContent has cyclomatic complexity 14 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 sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/statusBarModel.ts"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"98dfb574ee3acf0fc90e17e225af891d6f75df640c87cb3b4ecfc6cb94e944e6"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleRegularEnter (cyclomatic 14, cognitive 11): handleRegularEnter has cyclomatic complexity 14 and cognitive complexity 11; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-language-kotlin/src/kotlin/keyHandler.ts"},"region":{"startLine":437}}}],"partialFingerprints":{"codehealthFindingId/v1":"a386c8777582dd4c37eefac35ee9876a19a508b291f45c96272d73836178db11"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function handleFileCreated (cyclomatic 13, cognitive 13): handleFileCreated has cyclomatic complexity 13 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-extension-core/src/fileTemplates.ts"},"region":{"startLine":24}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a2f7384018b6de83679a1f5a4f7ce0dcfe6f93c34d735ddebd5c30f8218d4c5"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function withInstallLock (cyclomatic 12, cognitive 28): withInstallLock has cyclomatic complexity 12 and cognitive complexity 28; 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-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":509}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f11ae5a5e12f3084c0fc73ee82639d5d8cc2deb649eec92148e453a8be6ae8b"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function doStartLspClient (cyclomatic 12, cognitive 26): doStartLspClient has cyclomatic complexity 12 and cognitive complexity 26; 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-extension-core/src/lspClient.ts"},"region":{"startLine":498}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d3d4b393cbe93ee4c040517613c6fc707f75d8250e43ebc1adbdbddca6a2944"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getRegularEnterResult (cyclomatic 12, cognitive 12): getRegularEnterResult has cyclomatic complexity 12 and cognitive complexity 12; 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-extension-core/src/keyHandlerUtils.ts"},"region":{"startLine":362}}}],"partialFingerprints":{"codehealthFindingId/v1":"13ef96f9ac49cad91b14e021e908c7d932a1c929dd40d44867e98b0e614022a4"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 12, cognitive 10): (anonymous) has cyclomatic complexity 12 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-testing/src/testPlan.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"d0fbf4261fc33e7705ce3ec9140e054ed8659619064a3856eb953ec7ac011493"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function feed (cyclomatic 11, cognitive 13): feed 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-extension-core/src/runTerminalModel.ts"},"region":{"startLine":70}}}],"partialFingerprints":{"codehealthFindingId/v1":"408d5df0e82df1077b6abe9231b5145d63365f5c7d088af9a610e75f2aaa3a65"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function choose (cyclomatic 11, cognitive 12): choose has cyclomatic complexity 11 and cognitive complexity 12; 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-jvm-testing/src/jvmTestConfig.ts"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"88faa0ad34af266e75d975c05173befb7a0c9129baf0ff1f198ccb5e6e07c271"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function getClosedBlockCommentBodyIndent (cyclomatic 11, cognitive 10): getClosedBlockCommentBodyIndent has cyclomatic complexity 11 and cognitive complexity 10; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-language-kotlin/src/kotlin/keyHandler.ts"},"region":{"startLine":870}}}],"partialFingerprints":{"codehealthFindingId/v1":"e41228899b5bb16fb5ba4a19a8f81839fff28267393f5ba92fb1a78b56fe0968"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function computeStatusText (cyclomatic 11, cognitive 9): computeStatusText has cyclomatic complexity 11 and cognitive complexity 9; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive sits below cyclomatic here, so much of the count is breadth \u2014 arms side by side rather than stacked \u2014 and splitting per arm would leave a function per arm; group the work between the checks into named steps instead. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/statusBarModel.ts"},"region":{"startLine":114}}}],"partialFingerprints":{"codehealthFindingId/v1":"798a57b1be72a9da906e6ba40a2e4fb6cc010283ca36a78fb8855b7d180c2623"}},{"ruleId":"R3","level":"warning","message":{"text":"vscode-language-kotlin/src/kotlin/keyHandler.ts: 1543 lines of code: vscode-language-kotlin/src/kotlin/keyHandler.ts has 1543 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-language-kotlin/src/kotlin/keyHandler.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b0a103f23797d258c4781076e384371ecc46add3eddcb04127b368cd82ea3ce"}},{"ruleId":"R3","level":"warning","message":{"text":"vscode-extension-core/src/lspClient.ts: 1352 lines of code: vscode-extension-core/src/lspClient.ts has 1352 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-extension-core/src/lspClient.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"ca33e5897d680a9980f310ad7a021b965c4b47f0cedc289e6a971295988b2a48"}},{"ruleId":"R3","level":"warning","message":{"text":"vscode-extension-core/src/keyHandlerUtils.ts: 958 lines of code: vscode-extension-core/src/keyHandlerUtils.ts has 958 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-extension-core/src/keyHandlerUtils.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"5a104db3b2867c872a812061afea2ca00f928b23f4a387a0bbbeb963f0900292"}},{"ruleId":"R3","level":"warning","message":{"text":"vscode-extension-core/src/serverBundleDownload.ts: 763 lines of code: vscode-extension-core/src/serverBundleDownload.ts has 763 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-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"19bf9e26c3c78af800acf708ea812d3e2ae6a4f5ceccc566672d14a848d07f43"}},{"ruleId":"R3","level":"warning","message":{"text":"vscode-extension-core/src/editOptionsModel.ts: 513 lines of code: vscode-extension-core/src/editOptionsModel.ts has 513 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-extension-core/src/editOptionsModel.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"7692334476811c58a09270a162c700de1552e0610011b36519952487b2cf7c60"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kotlin-vscode/launch-vscode.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2f1f9d404379fb3eb8097d0aa0e11692be5bc35abdf03f801b236333f24c8b8f"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kotlin-vscode/unpack-server.mjs"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"117c70c92a80a17ffffe45ebb87acefef25b8bd1e6e1119ea0ff92cc2dddf223"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kotlin-vscode/src/extension.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"03e87be6edcf5423bc5a25162dfe345f52acd8482196fbba6aaa2196175e3902"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-language-kotlin/src/kotlin/module.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"88373d16af7b8020c1f14449db2c082abf0522794b263585b39f661e0989b9f6"}},{"ruleId":"R4","level":"warning","message":{"text":"No test reaches this file: No test imports this module directly or transitively. Import reachability cannot see a test that executes a file by path instead of importing it, nor one that drives it through a running browser by navigating to a URL \u2014 if neither does, no test reaches this one."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-jvm-testing/src/module.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0f6ea742ea12b4ae41434f72dd025fa3a955d1b090ee3e35626c479b28daf76"}},{"ruleId":"R6","level":"warning","message":{"text":"No lint script: test \u2713 \u00B7 lint \u2717 \u00B7 typecheck \u2713 \u2014 read from this repository\u0027s package.json scripts and corroborated against its CI workflows. A script counts when its name or command matches the step: \u0060test\u0060 for the suite, \u0060lint\u0060 or \u0060prettier\u0060 for linting, \u0060typecheck\u0060/\u0060type-check\u0060/\u0060tsc\u0060 for type checking. \u2717 therefore means no script or CI step under those names was found, NOT that the step is absent from your pipeline \u2014 a task invoked by a runner this check does not read, or named something else entirely, is not seen and is worth confirming before acting on a cross. A \u2713 means the wiring is DECLARED \u2014 a script or CI step under those names exists. It is not a statement that the step passes, or that it runs at all: nothing here installs a dependency or executes a suite."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bc8e67e81453cf5399dd04786d18b232180426b135169175fee670bdd83ccb03"}},{"ruleId":"R8","level":"error","message":{"text":"Unlisted import \u0027ts-checker-rspack-plugin\u0027: Imported but not declared in any reachable package.json \u2014 installs work only by hoisting accident."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kotlin-vscode/rspack.base.config.ts"},"region":{"startLine":3}}}],"partialFingerprints":{"codehealthFindingId/v1":"e8dc986fd4ffe914b661adf553c6063528467946391b63c7d81cc679f2b1f9bc"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): vscode-extension-core/src/buildTask.ts \u2192 vscode-extension-core/src/lspClient.ts \u2192 vscode-extension-core/src/buildTask.ts (one verified cycle inside a mutually-dependent group of 15 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/buildTask.ts"},"region":{"startLine":35}}}],"partialFingerprints":{"codehealthFindingId/v1":"b01b47e238e6cc874d8ba9996fec9d69db2085a7c89f08d34a14212012acd18c"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: kotlin-vscode/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"kotlin-vscode/package.json"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"b24f9525312659f148ad9f0e6796389a1ebb0e5f57d3116337a7241779d8e7e4"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: vscode-extension-core/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/package.json"},"region":{"startLine":26}}}],"partialFingerprints":{"codehealthFindingId/v1":"f3c9f364862b260df44260985cb68465329acc7e678d3351725669bf1c451767"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: vscode-jvm-testing/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-jvm-testing/package.json"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"0097988f50e3137e89c03d81c54ea03ffd09f02d5662229211a0933de2450363"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: vscode-language-kotlin/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-language-kotlin/package.json"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d5bb27379722a2e90a7d1dbcd714c77909edbbf1e8128be9dc6e95c5628350e"}},{"ruleId":"SC1","level":"warning","message":{"text":"JavaScript dependencies are not locked: vscode-testing/package.json declares dependencies that no committed lockfile resolves \u2014 there is no package-lock.json / yarn.lock / pnpm-lock.yaml / bun.lock beside it, and no locked workspace above it names it \u2014 so its installs aren\u0027t reproducible (SSDF PW.4.4). Commit its package manager\u0027s lockfile (or add it to the locked workspace) and install from it (\u0060npm ci\u0060, \u0060yarn --immutable\u0060, \u0060pnpm i --frozen-lockfile\u0060 or \u0060bun i --frozen-lockfile\u0060). Advisory \u2014 never scored."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-testing/package.json"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"aaa0b60c47ef84e138eacdf63d51e5ffa3700b7db8133bc09130e70b6072a8cf"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060client === undefined || client.initializeResult === undefined\u0060 appears character-identically in 2 files \u2014 vscode-extension-core/src/extension.ts, vscode-extension-core/src/fileTemplates.ts. 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":"vscode-extension-core/src/extension.ts"},"region":{"startLine":171}}}],"partialFingerprints":{"codehealthFindingId/v1":"a0fd7df336a2527d1bfe536fc396917b3e9aa64885df26b57e37d74ef2f36840"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060lower.endsWith(\u0027.tar.gz\u0027) || lower.endsWith(\u0027.tgz\u0027)\u0060 appears character-identically in 2 files \u2014 kotlin-vscode/unpack-server.mjs, vscode-extension-core/src/serverBundleDownload.ts. 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":"kotlin-vscode/unpack-server.mjs"},"region":{"startLine":57}}}],"partialFingerprints":{"codehealthFindingId/v1":"d126ccbbeb9fb7733972cb0015aea20d19ad75e8e6686af583ea5fc241de93df"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060node === null || getPreviousSignificantChar(text, index) !== \u0027,\u0027\u0060 appears character-identically in 2 files \u2014 vscode-extension-core/src/keyHandlerUtils.ts, vscode-language-kotlin/src/kotlin/keyHandler.ts. 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":"vscode-extension-core/src/keyHandlerUtils.ts"},"region":{"startLine":408}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef07d1e1e16b786aa9305d5ccef0984eb0a9ca7ee1fcdd1565c56df0b57f3f26"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060typeof value === \u0027object\u0027 \u0026\u0026 value !== null \u0026\u0026 !Array.isArray(value)\u0060 appears character-identically in 2 files \u2014 vscode-extension-core/src/initializationSettings.ts, vscode-jvm-testing/src/jvmTestConfig.ts. 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":"vscode-extension-core/src/initializationSettings.ts"},"region":{"startLine":159}}}],"partialFingerprints":{"codehealthFindingId/v1":"e728aae8a6bef088a6642a4bf26de57e06040b5cfc9c0da8398e961cdafa91f8"}},{"ruleId":"X18","level":"warning","message":{"text":"Owned disposable field is never released: \u0060RunOutputTerminal\u0060 declares a disposal member \u2014 so it has told every caller it holds something worth releasing \u2014 and it constructs \u0060writeEmitter\u0060 itself (line 102, \u0060new EventEmitter\u0060), which makes that instance its own. But \u0060writeEmitter\u0060 is named in none of the methods the disposal search covered: \u0060dispose\u0060 (line 149) \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 \u0060EventEmitter\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.writeEmitter.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-extension-core/src/runTerminal.ts"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"b0cb873564c565115c12348e54d70130e1df23a82f83da51bd48702bbc315f01"}},{"ruleId":"X2","level":"note","message":{"text":"Not all async functions that make a request accept an AbortSignal: Only 3/5 async functions that make a cancellable request (fetch, axios, ky, ofetch, got, undici, node:http) accept an AbortSignal or pass one on, so a request keeps running after whatever wanted it has given up \u2014 a page navigated away from, an unmounted component, a timed-out job. Take a \u0060signal\u0060 (or an options object that carries one) and hand it to the request; where nothing could ever cancel the call, omitting it is a deliberate choice \u2014 judge against how the function is used."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"bd89d014f84408f7063269aa5892ba3df7c9af3e981ecfb0752c5731bc62d406"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: checkGeoRestricted: \u0060checkGeoRestricted\u0060 awaits \u0060fetch(\u2026)\u0060 but neither accepts an AbortSignal nor passes one on, so its caller cannot stop the request once it has started. Accept \u0060{ signal }\u0060 and pass it through: \u0060fetch(url, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/geoRestriction.ts"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"593f11dc224d334e5d5d7e2c025f270f6b03d5975a2bfee56fe53111c27445af"}},{"ruleId":"X2","level":"warning","message":{"text":"Async function without AbortSignal: downloadFile: \u0060downloadFile\u0060 holds an AbortSignal but calls \u0060pipeline(\u2026)\u0060 without it, so its caller\u0027s cancellation never reaches that call and it runs to its end after whatever wanted it has given up. Hand the signal on: \u0060pipeline(\u2026, { signal })\u0060."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":381}}}],"partialFingerprints":{"codehealthFindingId/v1":"7df9385dba916a3bfc7c8fd44709b69752387e9daeeea97e1580ef7212f7fa47"}},{"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-extension-core/src/editOptions.ts"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"26262a748e522bbc007fc1499e9afa73b9aafb2c1fa27b92cf74aaec9017fab9"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, () =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/intellijExtensions.ts"},"region":{"startLine":101}}}],"partialFingerprints":{"codehealthFindingId/v1":"d73f95be1fec699f0e7592057c81898ae17fa29b62eb81c7e7cd62e4487efa78"}},{"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-extension-core/src/intellijExtensions.ts"},"region":{"startLine":268}}}],"partialFingerprints":{"codehealthFindingId/v1":"78e05254652a1c1f1e16e0ddd6ca008e082666838684c7d5cacb052fceef426c"}},{"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-extension-core/src/lspClient.ts"},"region":{"startLine":554}}}],"partialFingerprints":{"codehealthFindingId/v1":"ec604b9ca72191329356a549252630b69be9803cdc41d7f2b08649479ed22026"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.catch(() =\u003E {})\u0060 handles the rejection by doing nothing \u2014 the failure is discarded with no log and no rethrow, and the chain carries on as if the work succeeded. Log it through whatever this codebase already uses to report problems, hand it to a caller that can (\u0060next(error)\u0060, a returned rejection), or don\u0027t catch it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/serverBundleDownload.ts"},"region":{"startLine":561}}}],"partialFingerprints":{"codehealthFindingId/v1":"e477549d200728128fa6cb236d62fe165e7a8a50af5c7d8ab6e1e79c77115600"}},{"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":"kotlin-vscode/launch-vscode.mjs"},"region":{"startLine":209}}}],"partialFingerprints":{"codehealthFindingId/v1":"74da92754022ea0ff996fad1e554c853b0d7ed7c3171d937c03ba520b392d804"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch (_: Exception)\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":"features-impl/kotlin/src/com/jetbrains/ls/api/features/impl/kotlin/typeHierarchy/LSKotlinTypeHierarchyProvider.kt"},"region":{"startLine":395}}}],"partialFingerprints":{"codehealthFindingId/v1":"a2f3a8de4e4378982cc6dcf414f80494fbe19e6888fe8732d365dde9e9901fd9"}},{"ruleId":"X7","level":"note","message":{"text":"Silent fallback default in catch: \u0060proxyJvmOptions\u0060 swallows every exception into \u0060return []\u0060 \u2014 a data error becomes a silent behavior change with no trail. Log the failure or let it raise. If that constant is the correct answer rather than a stand-in for a value that could not be read, say so in a comment on the handler or in the docstring, and the row stops firing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"vscode-extension-core/src/proxySettings.ts"},"region":{"startLine":16}}}],"partialFingerprints":{"codehealthFindingId/v1":"9a3ff97d137711c0c2c9d2a9ade1c8541d6b2085f6bd6a37d0fc69d7f291dbfb"}}],"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-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-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-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-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-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":"A03:2025","guid":"168e227c-7735-2e57-bc6e-997affe644c5","name":"Software Supply Chain Failures","shortDescription":{"text":"Software Supply Chain Failures"},"helpUri":"https://top10.owasp.org/2025/A03_2025-Software_Supply_Chain_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]}],"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":0,"secretScannerRunsExcluded":0}}}]}