{"$schema":"https://json.schemastore.org/sarif-2.1.0.json","version":"2.1.0","runs":[{"tool":{"driver":{"name":"codehealth","informationUri":"https://codehealth.canine.dev","rules":[{"id":"D1","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D1"},{"id":"D2","name":"Cognitive Complexity","shortDescription":{"text":"Cognitive Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/D2"},{"id":"D3","name":"God Classes","shortDescription":{"text":"God Classes"},"helpUri":"https://codehealth.canine.dev/dimensions/D3"},{"id":"D4","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/D4"},{"id":"D5","name":"Coupling","shortDescription":{"text":"Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D5"},{"id":"D6","name":"Cohesion (LCOM4)","shortDescription":{"text":"Cohesion (LCOM4)"},"helpUri":"https://codehealth.canine.dev/dimensions/D6"},{"id":"D10","name":"Test Quality","shortDescription":{"text":"Test Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D10"},{"id":"D12","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/D12"},{"id":"D13","name":"Secret Scanning","shortDescription":{"text":"Secret Scanning"},"helpUri":"https://codehealth.canine.dev/dimensions/D13","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D14","name":"License Compliance","shortDescription":{"text":"License Compliance"},"helpUri":"https://codehealth.canine.dev/dimensions/D14"},{"id":"D15","name":"Churn \u00D7 Complexity Hotspots","shortDescription":{"text":"Churn \u00D7 Complexity Hotspots"},"helpUri":"https://codehealth.canine.dev/dimensions/D15"},{"id":"D16","name":"Bus Factor","shortDescription":{"text":"Bus Factor"},"helpUri":"https://codehealth.canine.dev/dimensions/D16"},{"id":"D17","name":"Explicit Debt","shortDescription":{"text":"Explicit Debt"},"helpUri":"https://codehealth.canine.dev/dimensions/D17"},{"id":"D19","name":"Documentation Quality","shortDescription":{"text":"Documentation Quality"},"helpUri":"https://codehealth.canine.dev/dimensions/D19"},{"id":"D24","name":"Comment Value","shortDescription":{"text":"Comment Value"},"helpUri":"https://codehealth.canine.dev/dimensions/D24"},{"id":"D26","name":"Project Cohesion","shortDescription":{"text":"Project Cohesion"},"helpUri":"https://codehealth.canine.dev/dimensions/D26"},{"id":"D27","name":"Navigability","shortDescription":{"text":"Navigability"},"helpUri":"https://codehealth.canine.dev/dimensions/D27"},{"id":"D28","name":"Secrets (history)","shortDescription":{"text":"Secrets (history)"},"helpUri":"https://codehealth.canine.dev/dimensions/D28","relationships":[{"target":{"id":"CWE-798","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-259","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A07:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-798","CWE-259"],"owasp":"A07:2025"}},{"id":"D29","name":"Static Analysis (SAST)","shortDescription":{"text":"Static Analysis (SAST)"},"helpUri":"https://codehealth.canine.dev/dimensions/D29","relationships":[{"target":{"id":"CWE-79","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-89","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-94","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-77","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-79","CWE-89","CWE-78","CWE-94","CWE-77"],"owasp":"A05:2025"}},{"id":"D30","name":"Dependency Vulnerabilities","shortDescription":{"text":"Dependency Vulnerabilities"},"helpUri":"https://codehealth.canine.dev/dimensions/D30","relationships":[{"target":{"id":"CWE-1395","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-937","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1395","CWE-937"],"owasp":"A03:2025"}},{"id":"D34","name":"Knowledge Freshness","shortDescription":{"text":"Knowledge Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/D34"},{"id":"D35","name":"Change Coupling","shortDescription":{"text":"Change Coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/D35"},{"id":"D36","name":"Supply-chain Provenance \u0026 Signing","shortDescription":{"text":"Supply-chain Provenance \u0026 Signing"},"helpUri":"https://codehealth.canine.dev/dimensions/D36","relationships":[{"target":{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"CWE-494","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-1357","CWE-494"],"owasp":"A03:2025"}},{"id":"D43","name":"Malicious Dependencies","shortDescription":{"text":"Malicious Dependencies"},"helpUri":"https://codehealth.canine.dev/dimensions/D43","relationships":[{"target":{"id":"CWE-506","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},"kinds":["relevant"]},{"target":{"id":"A08:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}},"kinds":["relevant"]}],"properties":{"cwe":["CWE-506"],"owasp":"A08:2025"}},{"id":"D44","name":"Platform End-of-Life","shortDescription":{"text":"Platform End-of-Life"},"helpUri":"https://codehealth.canine.dev/dimensions/D44"},{"id":"AX10","name":"Code composition","shortDescription":{"text":"Code composition"},"helpUri":"https://codehealth.canine.dev/dimensions/AX10"},{"id":"AX3","name":"Project dependency cycles","shortDescription":{"text":"Project dependency cycles"},"helpUri":"https://codehealth.canine.dev/dimensions/AX3"},{"id":"AX4","name":"Dependency direction","shortDescription":{"text":"Dependency direction"},"helpUri":"https://codehealth.canine.dev/dimensions/AX4"},{"id":"AX9","name":"CQS / query purity","shortDescription":{"text":"CQS / query purity"},"helpUri":"https://codehealth.canine.dev/dimensions/AX9"},{"id":"AXB1","name":"Runtime evidence locked \u2014 no reproducible boot","shortDescription":{"text":"Runtime evidence locked \u2014 no reproducible boot"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB1"},{"id":"AXB2","name":"Runtime readiness","shortDescription":{"text":"Runtime readiness"},"helpUri":"https://codehealth.canine.dev/dimensions/AXB2"},{"id":"ED1","name":"Handler temporal coupling","shortDescription":{"text":"Handler temporal coupling"},"helpUri":"https://codehealth.canine.dev/dimensions/ED1"},{"id":"ED5","name":"Idempotency","shortDescription":{"text":"Idempotency"},"helpUri":"https://codehealth.canine.dev/dimensions/ED5"},{"id":"ES1","name":"Fold determinism","shortDescription":{"text":"Fold determinism"},"helpUri":"https://codehealth.canine.dev/dimensions/ES1"},{"id":"M1","name":"Documentation (README)","shortDescription":{"text":"Documentation (README)"},"helpUri":"https://codehealth.canine.dev/dimensions/M1"},{"id":"M2","name":"Architecture documentation","shortDescription":{"text":"Architecture documentation"},"helpUri":"https://codehealth.canine.dev/dimensions/M2"},{"id":"M3","name":"Folder \u0026 project structure","shortDescription":{"text":"Folder \u0026 project structure"},"helpUri":"https://codehealth.canine.dev/dimensions/M3"},{"id":"M4","name":"Documentation accuracy","shortDescription":{"text":"Documentation accuracy"},"helpUri":"https://codehealth.canine.dev/dimensions/M4"},{"id":"P1","name":"CI/CD gates","shortDescription":{"text":"CI/CD gates"},"helpUri":"https://codehealth.canine.dev/dimensions/P1"},{"id":"P10","name":"Library API \u0026 versioning","shortDescription":{"text":"Library API \u0026 versioning"},"helpUri":"https://codehealth.canine.dev/dimensions/P10"},{"id":"P12","name":"CI test-gate honesty","shortDescription":{"text":"CI test-gate honesty"},"helpUri":"https://codehealth.canine.dev/dimensions/P12"},{"id":"P2","name":"Observability","shortDescription":{"text":"Observability"},"helpUri":"https://codehealth.canine.dev/dimensions/P2"},{"id":"P3","name":"Security \u0026 performance tooling","shortDescription":{"text":"Security \u0026 performance tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/P3"},{"id":"P6","name":"Release Hygiene","shortDescription":{"text":"Release Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/P6"},{"id":"P7","name":"Outbound HTTP resilience","shortDescription":{"text":"Outbound HTTP resilience"},"helpUri":"https://codehealth.canine.dev/dimensions/P7"},{"id":"PF3","name":"Async \u0026 latency hygiene","shortDescription":{"text":"Async \u0026 latency hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/PF3"},{"id":"R1","name":"Type Safety","shortDescription":{"text":"Type Safety"},"helpUri":"https://codehealth.canine.dev/dimensions/R1"},{"id":"R10","name":"Code Duplication","shortDescription":{"text":"Code Duplication"},"helpUri":"https://codehealth.canine.dev/dimensions/R10"},{"id":"R2","name":"Cyclomatic Complexity","shortDescription":{"text":"Cyclomatic Complexity"},"helpUri":"https://codehealth.canine.dev/dimensions/R2"},{"id":"R3","name":"Large Files","shortDescription":{"text":"Large Files"},"helpUri":"https://codehealth.canine.dev/dimensions/R3"},{"id":"R4","name":"Test Coverage","shortDescription":{"text":"Test Coverage"},"helpUri":"https://codehealth.canine.dev/dimensions/R4"},{"id":"R5","name":"Dependency Freshness","shortDescription":{"text":"Dependency Freshness"},"helpUri":"https://codehealth.canine.dev/dimensions/R5"},{"id":"R6","name":"Tooling","shortDescription":{"text":"Tooling"},"helpUri":"https://codehealth.canine.dev/dimensions/R6"},{"id":"R7","name":"Dead Code","shortDescription":{"text":"Dead Code"},"helpUri":"https://codehealth.canine.dev/dimensions/R7"},{"id":"R8","name":"Dependency Hygiene","shortDescription":{"text":"Dependency Hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/R8"},{"id":"R9","name":"Circular Imports","shortDescription":{"text":"Circular Imports"},"helpUri":"https://codehealth.canine.dev/dimensions/R9"},{"id":"SC1","name":"Supply-chain hygiene","shortDescription":{"text":"Supply-chain hygiene"},"helpUri":"https://codehealth.canine.dev/dimensions/SC1"},{"id":"X10","name":"Duplicated predicate","shortDescription":{"text":"Duplicated predicate"},"helpUri":"https://codehealth.canine.dev/dimensions/X10"},{"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":"X19","name":"Unrestored process-global state","shortDescription":{"text":"Unrestored process-global state"},"helpUri":"https://codehealth.canine.dev/dimensions/X19"},{"id":"X20","name":"Mistyped argument guard","shortDescription":{"text":"Mistyped argument guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X20"},{"id":"X22","name":"Contradicted release guard","shortDescription":{"text":"Contradicted release guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X22"},{"id":"X24","name":"Document value interpolated into markup unescaped","shortDescription":{"text":"Document value interpolated into markup unescaped"},"helpUri":"https://codehealth.canine.dev/dimensions/X24"},{"id":"X25","name":"Inert configuration knob","shortDescription":{"text":"Inert configuration knob"},"helpUri":"https://codehealth.canine.dev/dimensions/X25"},{"id":"X26","name":"Unsynchronised callback handoff","shortDescription":{"text":"Unsynchronised callback handoff"},"helpUri":"https://codehealth.canine.dev/dimensions/X26"},{"id":"X27","name":"Collection changed while being enumerated","shortDescription":{"text":"Collection changed while being enumerated"},"helpUri":"https://codehealth.canine.dev/dimensions/X27"},{"id":"X28","name":"Index access outside its own emptiness guard","shortDescription":{"text":"Index access outside its own emptiness guard"},"helpUri":"https://codehealth.canine.dev/dimensions/X28"},{"id":"X29","name":"Per-element action decided by a fixed element","shortDescription":{"text":"Per-element action decided by a fixed element"},"helpUri":"https://codehealth.canine.dev/dimensions/X29"},{"id":"X3","name":"Exception handling","shortDescription":{"text":"Exception handling"},"helpUri":"https://codehealth.canine.dev/dimensions/X3"},{"id":"X30","name":"Support guard that admits what it rejects","shortDescription":{"text":"Support guard that admits what it rejects"},"helpUri":"https://codehealth.canine.dev/dimensions/X30"},{"id":"X31","name":"Test-only surface in a production module","shortDescription":{"text":"Test-only surface in a production module"},"helpUri":"https://codehealth.canine.dev/dimensions/X31"},{"id":"X32","name":"Type resolved by simple name across every loaded assembly","shortDescription":{"text":"Type resolved by simple name across every loaded assembly"},"helpUri":"https://codehealth.canine.dev/dimensions/X32"},{"id":"X5","name":"Nullable reference types","shortDescription":{"text":"Nullable reference types"},"helpUri":"https://codehealth.canine.dev/dimensions/X5"},{"id":"X6","name":"Hand-rolled structured-format parsing","shortDescription":{"text":"Hand-rolled structured-format parsing"},"helpUri":"https://codehealth.canine.dev/dimensions/X6"},{"id":"X9","name":"Subsumed condition operand","shortDescription":{"text":"Subsumed condition operand"},"helpUri":"https://codehealth.canine.dev/dimensions/X9"}]}},"results":[{"ruleId":"D1","level":"warning","message":{"text":"vscode_lsp_navigation.find_at (cyclomatic 53): vscode_lsp_navigation.find_at has cyclomatic complexity 53 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: apps/erlangbridge/src/vscode_lsp_navigation.erl holds 2 of the 14 functions over the threshold \u2014 including the worst \u2014 and 50 of the 126 points over it (40%), 2.2\u00D7 the next-largest file (apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl at 23). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_navigation.erl"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"4f21994b40eae886c5c557da788b2c12bb16b22669824a56c328fc5e3eb49fd9"}},{"ruleId":"D1","level":"warning","message":{"text":"vscode_mcp_runtime.diff_collections (cyclomatic 31): vscode_mcp_runtime.diff_collections has cyclomatic complexity 31 (threshold 15). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"14915fcf7c9fd49e498a24a9ca6bc9b6d6019a262af5e5b87eed339084a301c6"}},{"ruleId":"D1","level":"warning","message":{"text":"vscode_lsp_navigation.find_definition (cyclomatic 27): vscode_lsp_navigation.find_definition has cyclomatic complexity 27 (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. This file is where this pass\u0027s cyclomatic complexity CONCENTRATES: apps/erlangbridge/src/vscode_lsp_navigation.erl holds 2 of the 14 functions over the threshold \u2014 including the worst \u2014 and 50 of the 126 points over it (40%), 2.2\u00D7 the next-largest file (apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl at 23). No single row can show this, because each is measured only against the threshold: reducing this one file moves this dimension further than any other file in the repository."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_navigation.erl"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"5321b93b61f4bf83220c571952c43dc2a9c378ed4c12a13f858e989fe017e694"}},{"ruleId":"D1","level":"warning","message":{"text":"vscode_connection.decode_request (cyclomatic 25): vscode_connection.decode_request 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":"apps/erlangbridge/src/vscode_connection.erl"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ff68a7b1626fd49c490aeec825b019f7573e9a088ca3a801e35b1fde5599e11"}},{"ruleId":"D1","level":"warning","message":{"text":"vscode_mcp_policy.project_key (cyclomatic 24): vscode_mcp_policy.project_key has cyclomatic complexity 24 (threshold 15). To reduce it, separate the branches: extract each independent case into its own named function so the top-level body reads as a short sequence of named decisions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_policy.erl"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"bcf6493e7639d73978c145031a56a5234e32545325e3f0ef7d65dcf40f319a67"}},{"ruleId":"D1","level":"warning","message":{"text":"vscode_erlfmt_algebra.format (cyclomatic 23): vscode_erlfmt_algebra.format has cyclomatic complexity 23 (threshold 15). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_erlfmt_algebra.erl"},"region":{"startLine":516}}}],"partialFingerprints":{"codehealthFindingId/v1":"c9e2a111933d601d5a5b21478ca4ccf84d27f0423d54a0a67e31cac285197f04"}},{"ruleId":"D1","level":"warning","message":{"text":"vscode_lsp_rename.extract_function_location_from_file (cyclomatic 23): vscode_lsp_rename.extract_function_location_from_file has cyclomatic complexity 23 (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":"apps/erlangbridge/src/vscode_lsp_rename.erl"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"7c81f1cd06fc48fc890775f66135dc808e0a263357bf05a2c834a1c3d188b3bc"}},{"ruleId":"D1","level":"warning","message":{"text":"vscode_mcp_runtime.application_overview_build (cyclomatic 21): vscode_mcp_runtime.application_overview_build has cyclomatic complexity 21 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb12508b875d86687db08026a855eafdf2afa1c2cf6182838667d79aa0ec6b02"}},{"ruleId":"D1","level":"warning","message":{"text":"lspclientextension.activate (cyclomatic 20): lspclientextension.activate has cyclomatic complexity 20 (threshold 15). Most of this is not in the body itself: 2 of the 20 points are its own statements and the rest belongs to 9 function items inside it that branch (a function literal at line 363, a function literal at line 261, a function literal at line 268, \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":"lib/lsp/lspclientextension.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"309d35fac8f7d91843c41ba60732997bce2d62ddea0db6d215e7a2d79265bbcb"}},{"ruleId":"D1","level":"warning","message":{"text":"extension.activateMcpIntegration (cyclomatic 19): extension.activateMcpIntegration has cyclomatic complexity 19 (threshold 15). Most of this is not in the body itself: 2 of the 19 points are its own statements and the rest belongs to 4 function literals inside it that branch (lines 235, 293, 282, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/extension.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"70851b4662e2eadf7416c5aa2cf8227d5a166b298d9fcdee289f20a8ac859117"}},{"ruleId":"D1","level":"warning","message":{"text":"vscode_mcp_tools.exclusive (cyclomatic 18): vscode_mcp_tools.exclusive has cyclomatic complexity 18 (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":"apps/erlangbridge/src/mcp/vscode_mcp_tools.erl"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"b1e0b4e86ab9959bf92e693306d166017bf7dc58ee818429ab7f85653e587669"}},{"ruleId":"D1","level":"warning","message":{"text":"vscode_lsp_diagnostics.handle_cast (cyclomatic 18): vscode_lsp_diagnostics.handle_cast has cyclomatic complexity 18 (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":"apps/erlangbridge/src/vscode_lsp_diagnostics.erl"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"cc9e0f5225369b6c9a56d135e35b11b0fe4767fa246a567cb7099224bc9b3dc7"}},{"ruleId":"D1","level":"warning","message":{"text":"vscode_lsp_fun_utils.get_latest_lc (cyclomatic 18): vscode_lsp_fun_utils.get_latest_lc has cyclomatic complexity 18 (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":"apps/erlangbridge/src/vscode_lsp_fun_utils.erl"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"1dff634a2d4b769ed500fb017a051e60cbe6821def8a0d00d6b71a6534e5bb59"}},{"ruleId":"D1","level":"warning","message":{"text":"vscode_mcp_runtime.app_entities (cyclomatic 16): vscode_mcp_runtime.app_entities has cyclomatic complexity 16 (threshold 15). To reduce it, keep the dispatch but shrink the arms: move each non-trivial case body into its own named function (or onto the value being matched) so the dispatch reads one line per case, and group related cases into a sub-dispatch. Where every arm is uniform \u2014 the same kind of value, with no behaviour of its own \u2014 a table keyed by the case is the shorter form; wherever the arms carry different data or different behaviour, keep them as cases, because collapsing those trades an explicit, reviewable set of cases for nothing. This is NOT this file\u0027s highest cyclomatic complexity: vscode_mcp_runtime.run (cyclomatic 17) is higher and carries no row of its own \u2014 it was excluded as a flat dispatcher (a long switch/match over independent cases: many branches, almost no nesting), which this dimension does not treat as a refactor obligation. It is named here so the ranking you see in this file is not mistaken for the whole of it; the excluded function is counted neither in this dimension\u0027s figures nor in its score."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"85cc126680f379aff66f1d4d1150d1da2c7fc215af912e024ea5faa09e06643e"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_lsp_navigation.find_at (cognitive 38): vscode_lsp_navigation.find_at has cognitive complexity 38 (threshold 15). Drivers by points: match/switch 13 (25 pts), boolean chains 12, if/else 1 (nesting depth added 12). 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":"apps/erlangbridge/src/vscode_lsp_navigation.erl"},"region":{"startLine":475}}}],"partialFingerprints":{"codehealthFindingId/v1":"692a5873f81e72f6aac1ea0cf6e102527c4d57441f9c586e1964fe8091ac9c05"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_mcp_runtime.diff_collections (cognitive 32): vscode_mcp_runtime.diff_collections has cognitive complexity 32 (threshold 15). Drivers by points: loops 18 (19 pts), if/else 5 (10 pts), match/switch 3 (nesting depth added 6). To reduce it, break up the iteration: give each loop body a named function, and split a multi-phase loop into one function per phase so no single body carries the whole pipeline."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":1368}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c05490aa9652dcc35185b1113c9bdcca9a6674a6408f8a569f9db0e776e578c"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_mcp_policy.from_json_map (cognitive 31): vscode_mcp_policy.from_json_map has cognitive complexity 31 (threshold 15). Drivers by points: match/switch 9 (18 pts), loops 2 (7 pts), if/else 1 (5 pts), boolean chains 1 (nesting depth added 18). 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":"apps/erlangbridge/src/mcp/vscode_mcp_policy.erl"},"region":{"startLine":462}}}],"partialFingerprints":{"codehealthFindingId/v1":"f2244527fb0b7d23e76aa02e043067d9f3bd27c7936bf0fdb8b42f0bba8b63d1"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_mcp_runtime.application_overview_build (cognitive 30): vscode_mcp_runtime.application_overview_build has cognitive complexity 30 (threshold 15). Drivers by points: match/switch 9 (16 pts), loops 3 (7 pts), if/else 1 (4 pts), boolean chains 3 (nesting depth added 14). 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":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":597}}}],"partialFingerprints":{"codehealthFindingId/v1":"6db9e112181f01e154a09ac3b42060d6bad7b295a29b07da8cdf9134c3accdd5"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_mcp_runtime.behaviours (cognitive 26): vscode_mcp_runtime.behaviours has cognitive complexity 26 (threshold 15). Drivers by points: loops 3 (10 pts), if/else 2 (9 pts), match/switch 3 (4 pts), error handling 1 (2 pts), boolean chains 1 (nesting depth added 16). 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":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":534}}}],"partialFingerprints":{"codehealthFindingId/v1":"34be6a8616b22231ec42243805552713b0b5888484df38b83ce00194c6385550"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_connection.decode_request (cognitive 26): vscode_connection.decode_request has cognitive complexity 26 (threshold 15). Drivers by points: match/switch 11 (19 pts), error handling 2 (6 pts), boolean chains 1 (nesting depth added 12). 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":"apps/erlangbridge/src/vscode_connection.erl"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"ed844ca828b8561167346c832fbc8bf8322f5b4feb05adb3dda831a9101bd99e"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_mcp_runtime.ets_sample (cognitive 24): vscode_mcp_runtime.ets_sample has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 8 (14 pts), error handling 2 (5 pts), loops 1 (4 pts), boolean chains 1 (nesting depth added 12). 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":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":1544}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9e1694b131ae1800964f34fc70a417ad34d955438a0feb07f4760b200508bf5"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_mcp_tools.exclusive (cognitive 24): vscode_mcp_tools.exclusive has cognitive complexity 24 (threshold 15). Drivers by points: match/switch 8 (10 pts), if/else 3 (8 pts), loops 3 (5 pts), boolean chains 1 (nesting depth added 9). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_tools.erl"},"region":{"startLine":392}}}],"partialFingerprints":{"codehealthFindingId/v1":"26029bdf28798d12acb5e3e86a6ade3153cca8c5babc0b549ed53d0cd7d328b6"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericShell.splitCommandLine (cognitive 24): GenericShell.splitCommandLine has cognitive complexity 24 (threshold 15). Drivers by points: if/else 8 (14 pts), loops 2 (4 pts), boolean chains 3, ternaries 1 (3 pts) (nesting depth added 10). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/GenericShell.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"56f142a80d46299978847f6a8a4bcb4b98e1c395c050476972ee929263565a1c"}},{"ruleId":"D2","level":"warning","message":{"text":"extension.activateMcpIntegration (cognitive 24): extension.activateMcpIntegration has cognitive complexity 24 (threshold 15). Drivers by points: if/else 16 (20 pts), boolean chains 2, ternaries 1 (2 pts) (nesting depth added 5). Most of this is not in the body itself: 1 of the 24 points is its own statement and the rest belongs to 4 function literals inside it that branch (lines 235, 293, 282, \u2026). The decisions are inside those literals, which nothing outside this body can call, review or test on its own, so splitting the enclosing body is not the move available here. To reduce it, lift the literals\u0027 work into a named function or method at the enclosing scope and have each literal call it, then reduce whichever part then reads as the largest."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/extension.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"14c1514adfd820d82228377d2fc68de36947df85c43cdfcecdac01d5dca4adcf"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_lsp_navigation.function_description (cognitive 23): vscode_lsp_navigation.function_description has cognitive complexity 23 (threshold 15). Drivers by points: match/switch 10 (19 pts), error handling 1 (4 pts) (nesting depth added 12). 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":"apps/erlangbridge/src/vscode_lsp_navigation.erl"},"region":{"startLine":1197}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0ca6c6f290463d5d24808170f306fba96ddb03d8305be4432e4020fffae0bdf"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_mcp_policy.project_key (cognitive 22): vscode_mcp_policy.project_key has cognitive complexity 22 (threshold 15). Drivers by points: boolean chains 10, loops 4 (5 pts), match/switch 3 (4 pts), if/else 1 (3 pts) (nesting depth added 4). To reduce it, name the conditions \u2014 but note WHERE they are: these tests sit in guard sequences, and a guard is a restricted expression sublanguage that allows neither binding a local nor calling a function you wrote, so neither of those moves is available in place. Move the decision out of the guard instead: keep one clause with a permissive guard, compute the compound test in the body through named predicate functions, and dispatch on their result. Where the clauses genuinely differ by pattern rather than by test, keep the patterns and lift only the comma-conjunctions."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_policy.erl"},"region":{"startLine":340}}}],"partialFingerprints":{"codehealthFindingId/v1":"ef04ed85be55feb578fb9752b0fb0548f6e26a2ff7198d2da4fd59e244cc1cb8"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_mcp_runtime.child (cognitive 21): vscode_mcp_runtime.child has cognitive complexity 21 (threshold 15). Drivers by points: match/switch 17 (21 pts) (nesting depth added 4). 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":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":889}}}],"partialFingerprints":{"codehealthFindingId/v1":"7f44d0781b84c97fda3c005b2adfc43c9247c063e8e362dad9b8ecec5dde80ca"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_mcp_runtime.ets_tables_build (cognitive 21): vscode_mcp_runtime.ets_tables_build has cognitive complexity 21 (threshold 15). Drivers by points: if/else 3 (10 pts), match/switch 6, loops 2 (5 pts) (nesting depth added 10). 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":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":2030}}}],"partialFingerprints":{"codehealthFindingId/v1":"03c1fd32b96cb5ea5f888a6c752895099f153b13a1f7c84286a22c929a84d29d"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_lsp_navigation.implementation (cognitive 21): vscode_lsp_navigation.implementation has cognitive complexity 21 (threshold 15). Drivers by points: loops 3 (8 pts), if/else 2 (7 pts), match/switch 3 (6 pts) (nesting depth added 13). 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":"apps/erlangbridge/src/vscode_lsp_navigation.erl"},"region":{"startLine":140}}}],"partialFingerprints":{"codehealthFindingId/v1":"340baa72556fa88cc09b0dc9718958152370f1b6a6b8c86a4e1a10d77477419b"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_mcp_runtime.port_entry (cognitive 20): vscode_mcp_runtime.port_entry has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 9 (13 pts), if/else 1 (3 pts), loops 2 (3 pts), boolean chains 1 (nesting depth added 7). 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":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":1873}}}],"partialFingerprints":{"codehealthFindingId/v1":"2b0013cef54d79c780885e6db5f848717466f0a1c609b2b63bad31792e93daa9"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_lsp_testing.ensure_module_loaded (cognitive 20): vscode_lsp_testing.ensure_module_loaded has cognitive complexity 20 (threshold 15). Drivers by points: match/switch 9 (13 pts), loops 2 (5 pts), error handling 1 (2 pts) (nesting depth added 8). 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":"apps/erlangbridge/src/vscode_lsp_testing.erl"},"region":{"startLine":368}}}],"partialFingerprints":{"codehealthFindingId/v1":"19fbddf66683c8f8a1cd0a9c39f4e585cd5fa23fd34448cfdcf336c962b51e18"}},{"ruleId":"D2","level":"warning","message":{"text":"RebarRunner.runDialyzer (cognitive 20): RebarRunner.runDialyzer has cognitive complexity 20 (threshold 15). Drivers by points: if/else 8 (17 pts), boolean chains 1, error handling 1, loops 1 (nesting depth added 9). Most of this is not in the body itself: 1 of the 20 points is its own statement and the rest belongs to one function literal inside it that branches (line 158). 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":"lib/RebarRunner.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"f134d9e2a6bea1fbcc91f62c9e724539570bb8100970674227afbcf482f71ca9"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_mcp_runtime.app_entities (cognitive 19): vscode_mcp_runtime.app_entities has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 15 (17 pts), loops 2 (nesting depth added 2). 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":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":665}}}],"partialFingerprints":{"codehealthFindingId/v1":"4236ffe21a2b49819dbe5072c5947b8f42dff4fdc58bf6d6334cae92eb98cb93"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_lsp_rename.extract_function_location_from_file (cognitive 19): vscode_lsp_rename.extract_function_location_from_file has cognitive complexity 19 (threshold 15). Drivers by points: match/switch 9 (10 pts), boolean chains 7, if/else 1, loops 1 (nesting depth added 1). 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":"apps/erlangbridge/src/vscode_lsp_rename.erl"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"4561fa9e8aecba6ef27ef707f17441719389815d51fdfe2b42b250c655162754"}},{"ruleId":"D2","level":"warning","message":{"text":"GenericShell.constructor (cognitive 19): GenericShell.constructor has cognitive complexity 19 (threshold 15). Drivers by points: if/else 7 (19 pts) (nesting depth added 12). To reduce it, flatten the nesting: this score is depth rather than breadth \u2014 most of its points come from checks stacked inside one another, so the work sits several levels in. Invert each enclosing check into an early exit (a return, or the language\u0027s equivalent) so the happy path stays at one level, and where a level cannot be exited early, lift the block it encloses into its own named function."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/GenericShell.ts"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d81b4d55c3ccecda2ff3acbfc8a6c91719c9b75056126b4429ae40711134b6f"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_jsone_decode.unicode_string (cognitive 17): vscode_jsone_decode.unicode_string has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 6 (9 pts), boolean chains 4, error handling 2 (4 pts) (nesting depth added 5). This file\u0027s own header attributes it to another copyright holder, so it is code this repository carries rather than code it wrote: restructuring the body in place forks it from upstream and turns every future re-sync into a manual merge. The performable moves are to leave the body as close to its upstream form as possible and keep it behind a narrow interface of your own, and to re-sync it when upstream changes \u2014 or, if it has already diverged far enough that you maintain it here, adopt it deliberately and then split the body into named stages."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_jsone_decode.erl"},"region":{"startLine":199}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19c549fab79701025fc2353aea72663280fffa4d4d1911a63524400ee8f55fc"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_lsp_syntax.load_not_loaded_modules (cognitive 17): vscode_lsp_syntax.load_not_loaded_modules has cognitive complexity 17 (threshold 15). Drivers by points: match/switch 8 (14 pts), loops 1 (3 pts) (nesting depth added 8). 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":"apps/erlangbridge/src/vscode_lsp_syntax.erl"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"a791409768e8c052811eb0034afdf25342f9580171f7236dbdee8de42bb78353"}},{"ruleId":"D2","level":"warning","message":{"text":"ErlangDebugSession.onBreak (cognitive 17): ErlangDebugSession.onBreak has cognitive complexity 17 (threshold 15). Drivers by points: if/else 7 (13 pts), ternaries 1 (3 pts), boolean chains 1 (nesting depth added 8). Of this number, 12 points are the body\u0027s own statements and 5 belong to one function literal inside it that branches. To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/erlangDebugSession.ts"},"region":{"startLine":792}}}],"partialFingerprints":{"codehealthFindingId/v1":"c99a8aab318b362943f88582df8336af54381248830a2256390d6924c5305fbe"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_mcp_runtime.ets_owners (cognitive 16): vscode_mcp_runtime.ets_owners has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 5 (11 pts), error handling 1 (3 pts), boolean chains 2 (nesting depth added 8). 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":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":1989}}}],"partialFingerprints":{"codehealthFindingId/v1":"ae86fd1b707d7869f5cfc92b487fdc830f1277d837c7d80cac4a175af690b0a5"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_mcp_runtime.otp_behaviour (cognitive 16): vscode_mcp_runtime.otp_behaviour has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 5 (8 pts), if/else 1 (4 pts), loops 1 (3 pts), error handling 1 (nesting depth added 8). 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":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":1499}}}],"partialFingerprints":{"codehealthFindingId/v1":"b429a03180fde6afa003d2954aceeb08c6fe0b0bdec2d9187bf27aff81dafd27"}},{"ruleId":"D2","level":"warning","message":{"text":"vscode_lsp_navigation.find_definition (cognitive 16): vscode_lsp_navigation.find_definition has cognitive complexity 16 (threshold 15). Drivers by points: match/switch 6 (7 pts), loops 4, if/else 2 (3 pts), boolean chains 2 (nesting depth added 2). To reduce it, split the body into named stages: move each independent step or branch into its own named function so the body reads as a short sequence of named calls rather than one long body."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_navigation.erl"},"region":{"startLine":958}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a7e0a2f722223a3910f53804391f0d63d9167da28859f6149ee6fb986155a05"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: mcp/vscode_mcp_runtime.erl: FileTooLong \u2014 1798 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 128 functions. The bar is 500 significant lines; this is 1298 over it, 3.60\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"2d83e2f3ccdcc07029e3b140bc928400226bf24c748649a62973d3ad37f53f6a"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/vscode_lsp_navigation.erl: FileTooLong \u2014 1087 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 86 functions. The bar is 500 significant lines; this is 587 over it, 2.17\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_navigation.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"577760707c0f209233aa9d132a51ffef833683bb701b29d587db3ec204d85ac1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: vscode_lsp_codeaction: TooManyFunctions \u2014 65 functions. The bar is 30 functions; this is 35 over it, 2.17\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_codeaction.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"f74c78ba6f59d4fe59f706ad1e9f2a9159552e8c853362dad28fe8b759096213"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyMethods: ErlangDebugSession: TooManyMethods \u2014 61 methods. The bar is 30 methods; this is 31 over it, 2.03\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/erlangDebugSession.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"713dd01eb4e70d924ae663e7f0041fa3b29e110337900f00e37ae683bb693cc3"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: vscode_mcp_server: TooManyFunctions \u2014 50 functions. The bar is 30 functions; this is 20 over it, 1.67\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_server.erl"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3bc57d86579fa989b40137f2c2c732fa3453fd5764de4f2a0f20132f180a340"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: vscode_connection: TooManyFunctions \u2014 47 functions. The bar is 30 functions; this is 17 over it, 1.57\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_connection.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"c4fb32b3708c02a0008f4438c2ad1ab02c2412a17f08fa780e9a17c4ebe275dd"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/vscode_erlfmt_format.erl: FileTooLong \u2014 778 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 85 functions. The bar is 500 significant lines; this is 278 over it, 1.56\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_erlfmt_format.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"12d272ed42628c8bea573c7900a62b98da5b1b3dc9c7a363229c5c848a55a1cb"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/vscode_lsp_handlers.erl: FileTooLong \u2014 736 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 89 functions. The bar is 500 significant lines; this is 236 over it, 1.47\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_handlers.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"e2382d4d06080d3d17bf83f155bf9db7ddb8e52c1227a6288e051379b1d536b1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: vscode_lsp_semantic_tokens: TooManyFunctions \u2014 44 functions. The bar is 30 functions; this is 14 over it, 1.47\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_semantic_tokens.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"218089e5458a1e14eee4da1385a82faabc2c0f8066d7ebfc002e8332753900cf"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: vscode_mcp_policy: TooManyFunctions \u2014 43 functions. The bar is 30 functions; this is 13 over it, 1.43\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_policy.erl"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"b3f8563ff9f0936c50ac408b5c820df6b19d43c7f3e47e73f07eed91a0dc553a"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: vscode_mcp_store: TooManyFunctions \u2014 43 functions. The bar is 30 functions; this is 13 over it, 1.43\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_store.erl"},"region":{"startLine":6}}}],"partialFingerprints":{"codehealthFindingId/v1":"c39d382427a1a8304accb91d948a9a992dfbdf7b0f85a5fc225cc32d9b24a5a1"}},{"ruleId":"D3","level":"warning","message":{"text":"TooManyFunctions: vscode_erlfmt_scan: TooManyFunctions \u2014 40 functions. The bar is 30 functions; this is 10 over it, 1.33\u00D7 the bar. The counted members are a module\u0027s functions \u2014 a module holds no instance state, so there is no shared data to group them by and no type to move them onto. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no single module carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_erlfmt_scan.erl"},"region":{"startLine":14}}}],"partialFingerprints":{"codehealthFindingId/v1":"f6e935266da512f675175dc2c1b58272638589c061c27c013bbd5b3d8e62e2b9"}},{"ruleId":"D3","level":"warning","message":{"text":"ClassTooLong: ErlangDebugSession: ClassTooLong \u2014 524 significant lines (blank, comment-only and punctuation-only lines excluded), 61 methods. The bar is 400 significant lines; this is 124 over it, 1.31\u00D7 the bar. To reduce it, group the members that share the same data into a smaller type of their own and delegate to it, so no single type carries every responsibility."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/erlangDebugSession.ts"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"afcfdc25c3606c9793a710ff575d3000f2fb85880a57ca2fb470367637e141d9"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/vscode_erlfmt.erl: FileTooLong \u2014 574 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 62 functions. The bar is 500 significant lines; this is 74 over it, 1.15\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_erlfmt.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"4e95d9d36f641f665b97c19a6d1ae2e88bd7956a70f30d58e974214621d54154"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: lib/erlangDebugSession.ts: FileTooLong \u2014 560 significant lines (blank, comment-only and punctuation-only lines excluded), about 94% of them inside a single declaration: ErlangDebugSession (49-863). The bar is 500 significant lines; this is 60 over it, 1.12\u00D7 the bar. Moving the declarations that sit BESIDE it into sibling files will not shorten this file. Extract from INSIDE that declaration instead: lift each cohesive group of its body \u2014 the parts that share the same inputs and are named together \u2014 into its own unit in a sibling file, and have the original call them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/erlangDebugSession.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b2365295c37d4a89c1acf5b7c482ffe7ca4f72ff382e5bbb99e39b2b85cf4c5"}},{"ruleId":"D3","level":"warning","message":{"text":"FileTooLong: src/vscode_gen_lsp_doc_server.erl: FileTooLong \u2014 544 significant lines (blank, comment-only and punctuation-only lines excluded), declaring 69 functions. The bar is 500 significant lines; this is 44 over it, 1.09\u00D7 the bar. In this language a module is exactly one source file, so its length cannot be moved into sibling files of the same module. To reduce it, extract each cohesive family of functions into a new module of its own and have this one delegate to it, so no one module has to be read whole to change one of them."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_gen_lsp_doc_server.erl"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"194e80d001e0d839d15eb7814a5fbf237764e06a5a1d7668b78edff393ec9865"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (34 corresponding lines): apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl:1585-1631 | apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl:1838-1871 \u2014 These two members are one piece of code written twice and then edited apart: 34 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":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":1585}}}],"partialFingerprints":{"codehealthFindingId/v1":"0e4dc024bfecc2377f33aefb8db1bf36c38a9a7c2ab0ea6b0ca8ff8227cc3804"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/erlangbridge/src/vscode_lsp_folding.erl:65-75 | apps/erlangbridge/src/vscode_lsp_navigation.erl:858-871 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"apps/erlangbridge/src/vscode_lsp_folding.erl"},"region":{"startLine":65}}}],"partialFingerprints":{"codehealthFindingId/v1":"0b1859b11aff5251e64b88b25fb0aae883a0fcd15f92b52fcfb07d91f6e86bee"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/erlangbridge/src/vscode_lsp_hierarchy.erl:30-42 | apps/erlangbridge/src/vscode_lsp_hierarchy.erl:62-77 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_hierarchy.erl"},"region":{"startLine":30}}}],"partialFingerprints":{"codehealthFindingId/v1":"c0c49fca23542063cb94bd97e3f7305bdea4bb28156a0933dec67704b093942b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl:1638-1648 | apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl:1739-1755 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":1638}}}],"partialFingerprints":{"codehealthFindingId/v1":"9592f72f274327038628e8cc72d43c1016c60ec62cee5e93b89f0581c755ae0b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 19\u002B corresponding lines): apps/erlangbridge/src/vscode_erlfmt.erl:59-84 | apps/erlangbridge/src/vscode_erlfmt.erl:103-128 | apps/erlangbridge/src/vscode_erlfmt.erl:333-351 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 19 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_erlfmt.erl"},"region":{"startLine":59}}}],"partialFingerprints":{"codehealthFindingId/v1":"e98e6acba505d888b14758e081544a0354b05ea940174dc8b09064fa9e9d27ec"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (10 corresponding lines): apps/erlangbridge/src/vscode_lsp_codeaction.erl:487-496 | apps/erlangbridge/src/vscode_lsp_folding.erl:108-118 \u2014 These two members are one piece of code written twice and then edited apart: 10 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_codeaction.erl"},"region":{"startLine":487}}}],"partialFingerprints":{"codehealthFindingId/v1":"ebd6b11a038ca3dd24ae20f4389a99024eb76c71972b99d4bedeadaefdc94dcb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): apps/erlangbridge/src/vscode_jsone_decode.erl:133-135 | apps/erlangbridge/src/vscode_jsone_decode.erl:160-162 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"apps/erlangbridge/src/vscode_jsone_decode.erl"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8a56f2bd571a29198589ec9e3ced8229ba4c98909a2b6a1573e2ef6a4946b8e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/erlangbridge/src/vscode_erlfmt.erl:151-164 | apps/erlangbridge/src/vscode_erlfmt.erl:181-193 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_erlfmt.erl"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"9ff7d5b3867882a95199991831133f59045a469fa6571fbf2c37e0c68dabc7bf"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (5 members, 6\u002B corresponding lines): apps/erlangbridge/src/vscode_lsp_handlers.erl:359-367 | apps/erlangbridge/src/vscode_lsp_handlers.erl:382-390 | apps/erlangbridge/src/vscode_lsp_handlers.erl:392-400 | apps/erlangbridge/src/vscode_lsp_handlers.erl:402-410 | apps/erlangbridge/src/vscode_lsp_handlers.erl:412-417 \u2014 These 5 members are one piece of code written 5 times and then edited apart: every two of them correspond over at least 6 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 5 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_handlers.erl"},"region":{"startLine":359}}}],"partialFingerprints":{"codehealthFindingId/v1":"42786b07e4c991fcc0f425d17418592a0e5db9925622adc8cd1fb6dbe785ad47"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/erlangbridge/src/vscode_hover_doc_layout.erl:85-95 | apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl:80-90 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"apps/erlangbridge/src/vscode_hover_doc_layout.erl"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"ced26666dbe5e71291af31213fc4c0186f2ed74307ee8c3cce110a97f0b795a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 5\u002B corresponding lines): apps/erlangbridge/src/vscode_lsp_codeaction.erl:282-286 | apps/erlangbridge/src/vscode_lsp_codeaction.erl:716-721 | apps/erlangbridge/src/vscode_lsp_codeaction.erl:750-755 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 5 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_codeaction.erl"},"region":{"startLine":282}}}],"partialFingerprints":{"codehealthFindingId/v1":"22d619b5a02b67bdb4df17ea811eefea53b68e0232233c39ee57796601f31470"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/erlangbridge/src/vscode_lsp_codeaction.erl:53-61 | apps/erlangbridge/src/vscode_lsp_codeaction.erl:611-618 \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":"apps/erlangbridge/src/vscode_lsp_codeaction.erl"},"region":{"startLine":53}}}],"partialFingerprints":{"codehealthFindingId/v1":"da48b3b66c5be89a79f88dd4bbcfaeeccf568227c9dfc820ff51bdb882f7afea"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (11 corresponding lines): apps/erlangbridge/src/vscode_lsp_parse.erl:148-158 | apps/erlangbridge/src/vscode_lsp_syntax.erl:393-403 \u2014 These two members are one piece of code written twice and then edited apart: 11 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":"apps/erlangbridge/src/vscode_lsp_parse.erl"},"region":{"startLine":148}}}],"partialFingerprints":{"codehealthFindingId/v1":"04538794445971271e1290612861428664da9faca6fd994da98b9880d9a5fd3b"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/erlangbridge/src/vscode_lsp_handlers.erl:300-307 | apps/erlangbridge/src/vscode_lsp_handlers.erl:338-350 \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":"apps/erlangbridge/src/vscode_lsp_handlers.erl"},"region":{"startLine":300}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9c5c78ee717a197479e5f215a82c8ee6308d2a2c8404c5706d6a153b893a5f8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (13 corresponding lines): apps/erlangbridge/src/vscode_lsp_navigation.erl:934-946 | apps/erlangbridge/src/vscode_lsp_rename.erl:312-333 \u2014 These two members are one piece of code written twice and then edited apart: 13 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_navigation.erl"},"region":{"startLine":934}}}],"partialFingerprints":{"codehealthFindingId/v1":"f63a1c680170702d2138ad601221665685425615038c3dcb0c037ac5c24c5e66"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/erlangbridge/src/vscode_lsp_navigation.erl:755-762 | apps/erlangbridge/src/vscode_lsp_semantic_tokens.erl:506-512 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_navigation.erl"},"region":{"startLine":755}}}],"partialFingerprints":{"codehealthFindingId/v1":"4febc737cb65734d5d058de6acb69f8c4ecd25224c0bd6961c66e29888806117"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (12 corresponding lines): apps/erlangbridge/src/vscode_erlfmt.erl:44-55 | apps/erlangbridge/src/vscode_erlfmt.erl:88-99 \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":"apps/erlangbridge/src/vscode_erlfmt.erl"},"region":{"startLine":44}}}],"partialFingerprints":{"codehealthFindingId/v1":"b41cd3969d9948666a51ae75d5515b2650c2e75b3a8eafef6af40627a82120bb"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/erlangbridge/src/vscode_lsp_navigation.erl:721-727 | apps/erlangbridge/src/vscode_lsp_semantic_tokens.erl:498-501 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"apps/erlangbridge/src/vscode_lsp_navigation.erl"},"region":{"startLine":721}}}],"partialFingerprints":{"codehealthFindingId/v1":"2108ead6f0eb9ae98c0f985cf756b5d181093c5d56fc317ee4dae67cacd190ff"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/erlangbridge/src/vscode_lsp_completion.erl:118-130 | apps/erlangbridge/src/vscode_lsp_completion.erl:132-138 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_completion.erl"},"region":{"startLine":118}}}],"partialFingerprints":{"codehealthFindingId/v1":"86fb48ce1c68e9ccee2ab34f92660370673c300fe828527c33727486fe6af9dc"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (7 corresponding lines): apps/erlangbridge/src/vscode_lsp_codeaction.erl:372-378 | apps/erlangbridge/src/vscode_lsp_codeaction.erl:537-543 \u2014 These two members are one piece of code written twice and then edited apart: 7 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_codeaction.erl"},"region":{"startLine":372}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b641e56a677d87b9a66cb8bcd94a2901b96bcced02d10ca6b7e2d98f344bf80"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/erlangbridge/src/vscode_lsp_handlers.erl:502-511 | apps/erlangbridge/src/vscode_lsp_handlers.erl:705-709 \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":"apps/erlangbridge/src/vscode_lsp_handlers.erl"},"region":{"startLine":502}}}],"partialFingerprints":{"codehealthFindingId/v1":"eb4fd59f0de5ff68a624a1dc00f6f80b070b75177584182e6c71335a70b5cee7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): apps/erlangbridge/src/vscode_jsone_decode.erl:146-148 | apps/erlangbridge/src/vscode_jsone_decode.erl:243-246 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"apps/erlangbridge/src/vscode_jsone_decode.erl"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"0da5775459de556e5987b6edf09938f69e9591e46bee577e18b4b0c0a7f02f93"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (9 corresponding lines): apps/erlangbridge/src/vscode_lsp_handlers.erl:313-321 | apps/erlangbridge/src/vscode_lsp_handlers.erl:323-332 \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":"apps/erlangbridge/src/vscode_lsp_handlers.erl"},"region":{"startLine":313}}}],"partialFingerprints":{"codehealthFindingId/v1":"893e3ddf6ece77616db4742a8105d8642265140d9f9ba02f40e3843ef410794c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copies of one member (3 members, 8\u002B corresponding lines): apps/erlangbridge/src/vscode_gen_lsp_config_sup.erl:13-20 | apps/erlangbridge/src/vscode_gen_lsp_doc_sup.erl:13-21 | apps/erlangbridge/src/vscode_gen_lsp_help_sup.erl:13-20 \u2014 These 3 members are one piece of code written 3 times and then edited apart: every two of them correspond over at least 8 lines, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below: the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain. Factor the shared implementation out once and have all of them call it with their differences as parameters or as an injected step, or, where the difference is systematic, generate them from one template. Left alone, the next edit has to be made 3 times and the copies will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_gen_lsp_config_sup.erl"},"region":{"startLine":13}}}],"partialFingerprints":{"codehealthFindingId/v1":"757bb2b8fad1cbf8a02d8ac51d680ab594cee580e2ff5d1620e29799d838c0d8"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/erlangbridge/src/vscode_lsp_fun_utils.erl:9-14 | apps/erlangbridge/src/vscode_lsp_fun_utils.erl:16-20 \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":"apps/erlangbridge/src/vscode_lsp_fun_utils.erl"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"6eb76accdc84b25ce1db352fc9b9ee32967fa374caeb38e8da1f82850e0331e7"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (6 corresponding lines): apps/erlangbridge/src/vscode_lsp_handlers.erl:463-469 | apps/erlangbridge/src/vscode_lsp_handlers.erl:809-814 \u2014 These two members are one piece of code written twice and then edited apart: 6 consecutive lines correspond almost exactly, broken only by small local edits. Most of that correspondence is NOT reported as duplicated blocks below \u2014 the edits cut it into fragments and only the largest of them clear the block floor, so the rows below understate it. The repair is at the members\u0027 grain \u2014 factor the shared implementation into one the two call with their differences as parameters or as an injected step, or, where the difference is systematic (an extra return value, one transport against another), generate one from the other. Left alone, the next edit has to be made twice and the two will drift further apart."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_handlers.erl"},"region":{"startLine":463}}}],"partialFingerprints":{"codehealthFindingId/v1":"999e07de63d45dddf54356a4c52377357e54e41bc014625d2fb68618d3817731"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): apps/erlangbridge/src/vscode_jsone_decode.erl:129-130 | apps/erlangbridge/src/vscode_jsone_decode.erl:138-139 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"apps/erlangbridge/src/vscode_jsone_decode.erl"},"region":{"startLine":129}}}],"partialFingerprints":{"codehealthFindingId/v1":"8e652ba04b1fee9bffa84ec52b75e5e8ec43f51cfcb6be57df281c4eb467b25f"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (8 corresponding lines): apps/erlangbridge/src/vscode_lsp_navigation.erl:448-455 | apps/erlangbridge/src/vscode_lsp_navigation.erl:1300-1307 \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":"apps/erlangbridge/src/vscode_lsp_navigation.erl"},"region":{"startLine":448}}}],"partialFingerprints":{"codehealthFindingId/v1":"ecadf8dd7af7c8d6be61c65cfac2886cfbdf9a0dac4968efc51f5bbcabef6d87"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (5 corresponding lines): apps/erlangbridge/src/vscode_hover_doc_layout.erl:39-43 | apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl: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":"apps/erlangbridge/src/vscode_hover_doc_layout.erl"},"region":{"startLine":39}}}],"partialFingerprints":{"codehealthFindingId/v1":"54ad26956b3218271692c516e537e1165b614124f52e32c676f83256e29bb5ba"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): apps/erlangbridge/src/vscode_lsp_formatting.erl:92-94 | apps/erlangbridge/src/vscode_lsp_semantic_tokens.erl:165-167 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"apps/erlangbridge/src/vscode_lsp_formatting.erl"},"region":{"startLine":92}}}],"partialFingerprints":{"codehealthFindingId/v1":"7ce1faedb75be8dbe1321383a855cf426793205db90213b0627765cf15ab1f9c"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/erlangbridge/src/mcp/vscode_mcp_server.erl:105-108 | apps/erlangbridge/src/mcp/vscode_mcp_store.erl:200-203 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"apps/erlangbridge/src/mcp/vscode_mcp_server.erl"},"region":{"startLine":105}}}],"partialFingerprints":{"codehealthFindingId/v1":"1744d9ad96400f0f3745ca52bf99d5be895cc00ee7f188b8fd671382168d2785"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (4 corresponding lines): apps/erlangbridge/src/vscode_hover_doc_layout.erl:62-65 | apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl:57-60 \u2014 These two members are one piece of code written twice and then edited apart: 4 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":"apps/erlangbridge/src/vscode_hover_doc_layout.erl"},"region":{"startLine":62}}}],"partialFingerprints":{"codehealthFindingId/v1":"71cd1426073300c414d6c1e51daba655b883549ba7a948c1f8e410f2a8a64b17"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): apps/erlangbridge/src/vscode_lsp_formatting.erl:89-90 | apps/erlangbridge/src/vscode_lsp_semantic_tokens.erl:162-163 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"apps/erlangbridge/src/vscode_lsp_formatting.erl"},"region":{"startLine":89}}}],"partialFingerprints":{"codehealthFindingId/v1":"0f72ac83d47a95d813e2f7514d6c8a8b55a20365ea34184fff6cb6c438b9a828"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): apps/erlangbridge/src/mcp/vscode_mcp_server.erl:109-110 | apps/erlangbridge/src/mcp/vscode_mcp_store.erl:204-205 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"apps/erlangbridge/src/mcp/vscode_mcp_server.erl"},"region":{"startLine":109}}}],"partialFingerprints":{"codehealthFindingId/v1":"de66530b9e818a3598d5628f014b7b460355f76dcd6c45eab3d89d2692222e92"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (3 corresponding lines): apps/erlangbridge/src/vscode_hover_doc_layout.erl:67-69 | apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl:62-64 \u2014 These two members are one piece of code written twice and then edited apart: 3 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":"apps/erlangbridge/src/vscode_hover_doc_layout.erl"},"region":{"startLine":67}}}],"partialFingerprints":{"codehealthFindingId/v1":"9fc29a7f16bb4276b39b9ef40b02390d23bfd01a517f1116aebb78ad963ff8e0"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): apps/erlangbridge/src/mcp/vscode_mcp_store.erl:71-72 | apps/erlangbridge/src/vscode_gen_lsp_help_server.erl:42-43 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"apps/erlangbridge/src/mcp/vscode_mcp_store.erl"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"cead6ad99d32a51bc8165d6a12fa58c6ddcc91fddc154daff26f2d8b5b26ef27"}},{"ruleId":"D4","level":"warning","message":{"text":"Edited copy of a member (2 corresponding lines): apps/erlangbridge/src/vscode_lsp_folding.erl:144-145 | apps/erlangbridge/src/vscode_lsp_navigation.erl:873-874 \u2014 These two members are one piece of code written twice and then edited apart: 2 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":"apps/erlangbridge/src/vscode_lsp_folding.erl"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"fa767633cf748947cfd035813a8b1daf4691946474d1c49aae67b2f68d193e6e"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (16\u201317 lines \u00D7 2): apps/erlangbridge/src/vscode_hover_doc_layout.erl:21-37 | apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl:17-32 \u2014 before extracting anything, compare \u0060apps/erlangbridge/src/vscode_hover_doc_layout.erl\u0060 and \u0060apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/erlangbridge/src/vscode_hover_doc_layout.erl:21\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_hover_doc_layout.erl"},"region":{"startLine":21}}}],"partialFingerprints":{"codehealthFindingId/v1":"d3816ef1da59129a00ccd7f488cdfbe473f92da67e173dc65cf3cad35f79559a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/erlangbridge/src/vscode_hover_doc_layout.erl:97-105 | apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl:92-100 \u2014 before extracting anything, compare \u0060apps/erlangbridge/src/vscode_hover_doc_layout.erl\u0060 and \u0060apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/erlangbridge/src/vscode_hover_doc_layout.erl:97\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_hover_doc_layout.erl"},"region":{"startLine":97}}}],"partialFingerprints":{"codehealthFindingId/v1":"4356d4b5f226b29d3eb6df3a8ae00a3f8f60952749ce121aacfb384c9793111a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2): apps/erlangbridge/src/vscode_lsp_parse.erl:117-125 | apps/erlangbridge/src/vscode_lsp_parse.erl:161-169 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_parse.erl"},"region":{"startLine":117}}}],"partialFingerprints":{"codehealthFindingId/v1":"d74c4ba4899cf3e0a2b3fd0442257119745fa15c94e7ab09f053b5bd3ed8b4a7"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/erlangbridge/src/vscode_hover_doc_layout.erl:85-92 | apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl:80-87 \u2014 before extracting anything, compare \u0060apps/erlangbridge/src/vscode_hover_doc_layout.erl\u0060 and \u0060apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/erlangbridge/src/vscode_hover_doc_layout.erl:85\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_hover_doc_layout.erl"},"region":{"startLine":85}}}],"partialFingerprints":{"codehealthFindingId/v1":"d19f40792af1d5c669b48141685381da857d0005cd211e54aee0de9c895698e6"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl:1587-1593 | apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl:1696-1702 \u2014 both copies are in the same file, so extract the block 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":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":1587}}}],"partialFingerprints":{"codehealthFindingId/v1":"de56ae932524a04a744b54bea17732f442016bdc3608d8547e36cdd0359bba68"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl:1589-1594 | apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl:1846-1851 \u2014 both copies are in the same file, so extract the block 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":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":1589}}}],"partialFingerprints":{"codehealthFindingId/v1":"14b909a0def5200a3969f5dc0fd5c0c5a108361f375737f2d7238231aedd5a77"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/erlangbridge/src/vscode_erlfmt_recomment.erl:36-40 | apps/erlangbridge/src/vscode_erlfmt_recomment.erl:58-62 \u2014 both copies are in the same file, so extract the block 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":"apps/erlangbridge/src/vscode_erlfmt_recomment.erl"},"region":{"startLine":36}}}],"partialFingerprints":{"codehealthFindingId/v1":"490a12d5cbf2d1e4e7ad5fc92d902bc0faa270b876c8181fc963e54ca33db241"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/erlangbridge/src/vscode_hover_doc_layout.erl:45-51 | apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl:40-46 \u2014 before extracting anything, compare \u0060apps/erlangbridge/src/vscode_hover_doc_layout.erl\u0060 and \u0060apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_hover_doc_layout.erl"},"region":{"startLine":45}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddbcd27f41dcdc0d11966378242c2377762c6252d3cb30fc3fa6a5a0eee09763"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/erlangbridge/src/vscode_hover_doc_layout.erl:55-60 | apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl:50-55 \u2014 before extracting anything, compare \u0060apps/erlangbridge/src/vscode_hover_doc_layout.erl\u0060 and \u0060apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_hover_doc_layout.erl"},"region":{"startLine":55}}}],"partialFingerprints":{"codehealthFindingId/v1":"9c7745d8015fbb53236abd80858f9f0e3eea57aff210f0a7fd59d9b8ddfcf3d9"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/erlangbridge/src/vscode_hover_doc_layout.erl:71-76 | apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl:66-71 \u2014 before extracting anything, compare \u0060apps/erlangbridge/src/vscode_hover_doc_layout.erl\u0060 and \u0060apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/erlangbridge/src/vscode_hover_doc_layout.erl:71\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_hover_doc_layout.erl"},"region":{"startLine":71}}}],"partialFingerprints":{"codehealthFindingId/v1":"3b1ee99c0d12fd774a3a462ef3f52d015febd4cb46ae14d8755522f81ea36a24"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/erlangbridge/src/vscode_hover_doc_layout.erl:78-83 | apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl:73-78 \u2014 before extracting anything, compare \u0060apps/erlangbridge/src/vscode_hover_doc_layout.erl\u0060 and \u0060apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/erlangbridge/src/vscode_hover_doc_layout.erl:78\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_hover_doc_layout.erl"},"region":{"startLine":78}}}],"partialFingerprints":{"codehealthFindingId/v1":"12c717b39cb79c7205632a27d64828614eb95bd8d1dde36a3bdde03d0463f5e2"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/erlangbridge/src/vscode_hover_doc_layout.erl:108-113 | apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl:103-108 \u2014 before extracting anything, compare \u0060apps/erlangbridge/src/vscode_hover_doc_layout.erl\u0060 and \u0060apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/erlangbridge/src/vscode_hover_doc_layout.erl:108\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_hover_doc_layout.erl"},"region":{"startLine":108}}}],"partialFingerprints":{"codehealthFindingId/v1":"016f6cb828325d64bd73b4f20f8a4928a768dad8c42164726d16aa172e7026d4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 2): apps/erlangbridge/src/vscode_hover_doc_layout.erl:115-120 | apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl:110-115 \u2014 before extracting anything, compare \u0060apps/erlangbridge/src/vscode_hover_doc_layout.erl\u0060 and \u0060apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/erlangbridge/src/vscode_hover_doc_layout.erl:115\u0060 it does not close everything it opens, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_hover_doc_layout.erl"},"region":{"startLine":115}}}],"partialFingerprints":{"codehealthFindingId/v1":"d9b9abb934f537486e06d352fcca07fcb1574f7ffd6f137a6c5eb455a7e8f0c4"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (6 lines \u00D7 3): apps/erlangbridge/src/vscode_hover_doc_layout.erl:122-127 | apps/erlangbridge/src/vscode_lsp_navigation.erl:1239-1244 | apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl:117-122 \u2014 before extracting anything, compare \u0060apps/erlangbridge/src/vscode_hover_doc_layout.erl\u0060 and \u0060apps/erlangbridge/src/vscode_lsp_signature_doc_layout.erl\u0060 as WHOLE FILES: this scan already matched 10 separate duplicated blocks between them, totalling at least 77 lines, which is the signature of one file having been copied from the other rather than of a helper waiting to be extracted. If that is what happened, the fix is to keep one copy and have the other call it (or delete it), which resolves this row and its siblings together \u2014 extracting one helper per block leaves the fork in place."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_hover_doc_layout.erl"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"f50d9c20ab9159242ad9207424eb3a5ba285dc764879b7389c6596eed285d06a"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 6): apps/erlangbridge/src/vscode_lsp_codeaction.erl:774-781 | apps/erlangbridge/src/vscode_lsp_completion.erl:248-255 | apps/erlangbridge/src/vscode_lsp_folding.erl:211-218 | apps/erlangbridge/src/vscode_lsp_formatting.erl:96-103 | apps/erlangbridge/src/vscode_lsp_semantic_tokens.erl:522-529 | apps/erlangbridge/src/vscode_lsp_workspace_symbol.erl:75-82 \u2014 the copies sit in sibling files of one directory, so a shared home is within easy reach: extract the block into a single shared function the call sites can all reach \u2014 a file they already depend on, or a new one alongside them \u2014 and call it from all 6 call sites, so a change lands once."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_codeaction.erl"},"region":{"startLine":774}}}],"partialFingerprints":{"codehealthFindingId/v1":"66716fbf8883124205cbe8534e83d28bdd5c3d39e7b72c98e60f7a00f888fe4c"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2): apps/erlangbridge/src/mcp/vscode_mcp_tools.erl:161-165 | apps/erlangbridge/src/mcp/vscode_mcp_tools.erl:186-190 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/erlangbridge/src/mcp/vscode_mcp_tools.erl:161\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_tools.erl"},"region":{"startLine":161}}}],"partialFingerprints":{"codehealthFindingId/v1":"5e4df4a180edff1bd037d28bbd9b29a12b0886d9a2ae5de336652dd734658207"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 3): apps/erlangbridge/src/mcp/vscode_mcp_tools.erl:278-282 | apps/erlangbridge/src/mcp/vscode_mcp_tools.erl:291-295 | apps/erlangbridge/src/mcp/vscode_mcp_tools.erl:308-312 \u2014 all 3 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited. Read the line range as the matched WINDOW rather than a finished unit: at \u0060apps/erlangbridge/src/mcp/vscode_mcp_tools.erl:278\u0060 it begins part-way through the construct above it, so those exact lines cannot be lifted as they stand \u2014 widen the region to the smallest complete statement or declaration that contains it, and extract that."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_tools.erl"},"region":{"startLine":278}}}],"partialFingerprints":{"codehealthFindingId/v1":"b91710617e562b8c3e4b9494272897a82267578587b87e3fd0b0c959f46d983d"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2): apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl:1128-1135 | apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl:1669-1676 \u2014 both copies are in the same file, so extract the block 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":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":1128}}}],"partialFingerprints":{"codehealthFindingId/v1":"9de98fca6163a576131125108ce4f6b0019b1e95f8e585cc8ce561104f2ed6b0"}},{"ruleId":"D4","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2): apps/erlangbridge/src/vscode_lsp_handlers.erl:360-366 | apps/erlangbridge/src/vscode_lsp_handlers.erl:383-389 \u2014 both copies are in the same file, so extract the block 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":"apps/erlangbridge/src/vscode_lsp_handlers.erl"},"region":{"startLine":360}}}],"partialFingerprints":{"codehealthFindingId/v1":"a53822be27668a1b0c562fd595f61fd0b949039bff36e0744e37affb0889aa19"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: eslint: eslint 8.40.0, declared in package.json, is marked deprecated by its publisher: \u0022This version is no longer supported. Please see https://eslint.org/version-support for other options.\u0022. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":672}}}],"partialFingerprints":{"codehealthFindingId/v1":"e04d6fe6ca46e7c5138acb9303f34c05bf26af5e4732d5aadfd02868b07841a1"}},{"ruleId":"D12","level":"warning","message":{"text":"Deprecated: glob: glob 7.2.3, declared in package.json, is marked deprecated by its publisher: \u0022Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [e-mail redacted]\u0022. Replace it with the package or version that message names, or record why this one must stay."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":673}}}],"partialFingerprints":{"codehealthFindingId/v1":"67dfa8364448a636dde7d466403280de05e962b7d69e34ec0d3707ec14687871"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 10.5.0 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [e-mail redacted]\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":1335}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a6a21a0f511e79bf1641d8781e0ca2d1a227ed4ef5f1fd822135ca3108ada0d"}},{"ruleId":"D12","level":"note","message":{"text":"Deprecated: glob: glob 8.1.0 is resolved in package-lock.json and is marked deprecated by its publisher: \u0022Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting [e-mail redacted]\u0022. This repository does not declare it \u2014 a direct dependency pulls it in, so the move is to upgrade or replace that dependency."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package-lock.json"},"region":{"startLine":5566}}}],"partialFingerprints":{"codehealthFindingId/v1":"9af59a68b703d1d09f733b4123d502871e54cb862646e84770d19bbb5c4c04c9"}},{"ruleId":"D12","level":"note","message":{"text":"Outdated (npm): fs-extra: fs-extra is pinned at 8.1.0; registry.npmjs.org publishes 11.4.1 as the latest release. Upgrading is a judgement call \u2014 read that package\u0027s changelog for what changed between the two \u2014 but a direct production dependency several releases behind is where security and compatibility debt accumulates silently."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"package.json"},"region":{"startLine":655}}}],"partialFingerprints":{"codehealthFindingId/v1":"4ec3bf4b08de8a4791491ba0710405557b271fb8bef4fee0002098190917e3e0"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: lib/lsp/lspclientextension.ts: lib/lsp/lspclientextension.ts changed 6 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 20 in lspclientextension.activate at line 242. 1 of those changes was a fix/bug commit, and the other 5 changed it for other reasons \u2014 this file is under both repair and feature pressure. Before the next change lands here, make sure the area it touches is under test, then split that area out of the file so the following change is smaller than this one \u2014 a file this often edited pays the complexity back every time. Counted over 2026-08-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 16:14:00 \u002B01:00\u0027 --until=\u00272026-11-12 16:14:00 \u002B01:00\u0027 --full-history --no-merges -- lib/lsp/lspclientextension.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":"lib/lsp/lspclientextension.ts"},"region":{"startLine":242}}}],"partialFingerprints":{"codehealthFindingId/v1":"0248b724860770009df888e1b79435ff2e71320fc4a1a76ac80bb7bd3f0a099a"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/erlangbridge/src/vscode_connection.erl: apps/erlangbridge/src/vscode_connection.erl changed 3 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 25 in vscode_connection.decode_request at line 200. 1 of those changes was a fix/bug commit, and the other 2 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 16:14:00 \u002B01:00\u0027 --until=\u00272026-11-12 16:14:00 \u002B01:00\u0027 --full-history --no-merges -- apps/erlangbridge/src/vscode_connection.erl\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":"apps/erlangbridge/src/vscode_connection.erl"},"region":{"startLine":200}}}],"partialFingerprints":{"codehealthFindingId/v1":"b84620ed3204cf8771e14a855f90b6e91ef2b20088476065c90911d530a4eb20"}},{"ruleId":"D15","level":"warning","message":{"text":"Hotspot: apps/erlangbridge/src/vscode_lsp_diagnostics.erl: apps/erlangbridge/src/vscode_lsp_diagnostics.erl changed 2 times in last 90 days, and the most complex body those changes touched has cyclomatic complexity 18 in vscode_lsp_diagnostics.handle_cast at line 135. 1 of those changes was a fix/bug commit, and the other 1 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-14..2026-11-12, the 90 days ending at the analysed commit. Reproduce with \u0060git log --since=\u00272026-08-14 16:14:00 \u002B01:00\u0027 --until=\u00272026-11-12 16:14:00 \u002B01:00\u0027 --full-history --no-merges -- apps/erlangbridge/src/vscode_lsp_diagnostics.erl\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":"apps/erlangbridge/src/vscode_lsp_diagnostics.erl"},"region":{"startLine":135}}}],"partialFingerprints":{"codehealthFindingId/v1":"d1470c0f13cc7739a8ac36dae151dcdc4dfa9010919d24b0b072064ab60e34e2"}},{"ruleId":"D16","level":"note","message":{"text":"Off-boarding risk: anonymized user #1: If anonymized user #1 becomes unavailable, 9 significant file(s) lose their only recent owner: apps/erlangbridge/src/vscode_lsp_testing.erl, apps/erlangbridge/src/vscode_connection.erl, apps/erlangbridge/src/vscode_lsp_diagnostics.erl, lib/GenericShell.ts, apps/erlangbridge/src/vscode_gen_lsp_server.erl, apps/erlangbridge/src/vscode_gen_lsp_help_server.erl, lib/erlangDebugConnection.ts, lib/ErlangConfigurationProvider.ts (\u002B1 more). Pair on, review, or document these before any departure."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"c1c791220fcffa45c8f1db3ed5205967290a2a74cb2fef9651cf62bf71a10d1a"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %\u0027 % TODO: escaped single quote and opening parenthesis (\u0022\\\u0027(\u0022) shall not break atoms \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"syntaxes/test/syntax_test_data_types.erl"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"ce810fa6be9feb985da306f9b68f5439c6b758f3e8d5d5a60812f4b7a0a47921"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %\u0027 % TODO: escaped single quote and opening parenthesis (\u0022\\\u0027(\u0022) shall not break atoms \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"syntaxes/test/syntax_test_data_types.erl"},"region":{"startLine":163}}}],"partialFingerprints":{"codehealthFindingId/v1":"c59a8a5c494448efd636fe87683ddde2e5cdb5ac98b919f141b7c8a662897305"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %\u0027 % TODO: -\u0022- \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"syntaxes/test/syntax_test_data_types.erl"},"region":{"startLine":42}}}],"partialFingerprints":{"codehealthFindingId/v1":"f48af6b3f3cbcacbee2063d0bd20727b09ca65caeaa10209ee77f6ba9f81fc78"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: Name \u0027Fact\u0027 breaks syntax highlight. See \u0027-define\u0027 below. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"syntaxes/test/syntax_test_data_types.erl"},"region":{"startLine":94}}}],"partialFingerprints":{"codehealthFindingId/v1":"41762237e36d88b70eb22fe0a6948a6dc3d81beca3b2fc20beccdac03c00a3d4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: Name \u0027Fact\u0027 breaks syntax highlight. See \u0027-define\u0027 below. \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"syntaxes/test/syntax_test_data_types.erl"},"region":{"startLine":102}}}],"partialFingerprints":{"codehealthFindingId/v1":"3eae30712b87cede4667fdde6b3bb7e7d5480cde07102386609da629cf8477bf"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: syntax highlight function name \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"syntaxes/test/syntax_test_data_types.erl"},"region":{"startLine":144}}}],"partialFingerprints":{"codehealthFindingId/v1":"bc301a1f83761509df66a88e005df40b3c8f791991067fef93f81c0d36688b53"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: syntax highlight function name \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"syntaxes/test/syntax_test_data_types.erl"},"region":{"startLine":145}}}],"partialFingerprints":{"codehealthFindingId/v1":"2dececc7bcf0805052c07047bb69c2e7dddf8268d17077cce7ffbbd9f4d3aab8"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: % TODO: syntax highlight function name \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"syntaxes/test/syntax_test_data_types.erl"},"region":{"startLine":146}}}],"partialFingerprints":{"codehealthFindingId/v1":"ad6c41b99fdbf9718a7c705eeb5698e78355f76c7e7791b052385b59a07be41e"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: %\u0027. % TODO: escaped single quote and opening parenthesis (\u0022\\\u0027(\u0022) shall not break atoms \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"syntaxes/test/syntax_test_data_types.erl"},"region":{"startLine":165}}}],"partialFingerprints":{"codehealthFindingId/v1":"493f97757f74890ae0583581bb8cc6ad5af1713db70060d9287926b891c941b4"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //TODO: when test is aborted \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/eunitRunner.ts"},"region":{"startLine":112}}}],"partialFingerprints":{"codehealthFindingId/v1":"de8d09080620f2e876f51e429044484875b6ec873d819ba85c2276107b1e6dd3"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: //todo: test if TestDirs is not empty \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/eunitRunner.ts"},"region":{"startLine":181}}}],"partialFingerprints":{"codehealthFindingId/v1":"2ee8e6e44b504b9bb40eebada5e148616a50f87a10a175a59a22628d1be2b328"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: // FIXME: After a guard (;) it falsely outdents \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/extension.ts"},"region":{"startLine":176}}}],"partialFingerprints":{"codehealthFindingId/v1":"acceccddf4e88874e9817b8fe9a1c9c273f6a67d1bccdbb41440fae48ca97c97"}},{"ruleId":"D17","level":"warning","message":{"text":"TodoComment: // TODO: double outdent or outdent \u002B removeText: \u003Ctabsize\u003E \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060// REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/extension.ts"},"region":{"startLine":182}}}],"partialFingerprints":{"codehealthFindingId/v1":"1004d5e3959d0878a28ad8f667480f1ee31b1c3040f84bac785647e74ffb7f49"}},{"ruleId":"D17","level":"warning","message":{"text":"FixmeComment: %% end - see that file\u0027s own FIXME). \u2014 source code is not a task system: move the work to your tracker and leave a reference instead (e.g. \u0060% REF: #123\u0060), so the task is planned where tasks live and the ticket links back to the code."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_formatting.erl"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"41f8b42498bbb11b1689af4d039b2912150d3639003df8dd7214c78f2556c6ee"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022get src_dirs\u0022 repeats the code it sits on: 3 of its 3 words (get, src, dirs) are already in \u0060cmd \u002B= \u0027SrcDirs=Undef(proplists:get_value(src_dirs, EunitOpts)),\u0027;\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/eunitRunner.ts"},"region":{"startLine":195}}}],"partialFingerprints":{"codehealthFindingId/v1":"53d6ad5f0894a3b2580779053fd248db8ca34c4a32134767f0d1cfc44d24ab37"}},{"ruleId":"D24","level":"note","message":{"text":"redundant comment: \u0022Send request for codeLens\u0022 repeats the code it sits on: 4 of its 4 words (send, request, code, lens) are already in \u0060return await client.sendRequest\u003CCodeLensParams, CodeLens[], CodeLens[], void, CodeLensRegistrationOptions\u003E(CodeLensReque \u2026\u0060. Delete it, or replace it with what the code cannot say (why it is done here, a constraint, or a consequence)."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lsp/lspcodelens.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"08a3d48aaa025b93cf4a6882591ca43ae69d8410610434f4750b8f3be1adcf68"}},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"f50235ada8be165ddb6074f7243c8182a130f6dd1b3e1e4385a745af7f0bda04"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"9804ac3672a19b02ba749efe769014c1eb32711c8e09248d46cf2b3311da3fa2"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"affd6bfe65a9a7ef7cc53cbce7ee342843747498ea60b667596f0a4c8d9cce4d"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-353","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"bd8f9a2f54d09710c807e365cd1b8c68ab1cb230c270215ee897fd1c9cc21fe7"},"taxa":[{"id":"CWE-1357","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"CWE-829","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A03:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"532b69471a1469edd3a67b68e94ec196bc8ebc44f0a36b827a25274374325f66"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3e02a25c99eb396c42fc7f7577a5acaf2bdb47139234ecdb1fe2a018dd336170"},"taxa":[{"id":"CWE-78","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A05:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"195a0005509734803ae47f4dc2a9070cc176eae2e706c08b99a33267bec56ed7"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"52a8bb6373ee596721a00f28c9e1ad7b7c29c9c194239a5f21a6b0ba9cdc2d27"},"taxa":[{"id":"CWE-125","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A06:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D29","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"2d5ec44240366c030b7c86ba75a04dfd0638fcb8350fdfa201352d265063931d"},"taxa":[{"id":"CWE-319","toolComponent":{"name":"CWE","guid":"c3a2b1d0-7f3e-4b2a-9c1d-5e6f7a8b9c0d"}},{"id":"A04:2025","toolComponent":{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61"}}]},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ad53a12c94605cc22e87a0af4a24ea3150a77033c8a67d366ebab792c9957802"},"properties":{"dependency":{"package":"cross-spawn","version":"7.0.3","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"87839f7289af0999d94a99db6eefa4a0c9cb8f6ea36e8599abd5bd35ced532c8"},"properties":{"dependency":{"package":"serialize-javascript","version":"6.0.2","advisory":"[GHSA redacted]","aliases":["[CVE redacted]","[CVE redacted]","[CVE redacted]","[GHSA redacted]","[GHSA redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"error","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"72a020819c4851d793e18de53b441a59dba021544844c3e9f7dd50d4c89fdf8d"},"properties":{"dependency":{"package":"underscore","version":"1.13.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"254e159535de5a467ea5671a4a81fbc3bf399623b11dcd1fc4071f2230ac5cd0"},"properties":{"dependency":{"package":"glob","version":"10.5.0","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"test-or-tooling","file":"test/test-suite/index.ts","line":3}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3f00495904ae7f8f2d650b029d9dcde9fe62ec81a5052064bb30e7833e70c2a1"},"properties":{"dependency":{"package":"minimatch","version":"9.0.9","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"50a180038ac79c7f4a7a7e532fff781af70590598cc4c6ad4fda5e02bf3c894d"},"properties":{"dependency":{"package":"glob","version":"13.0.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"test-or-tooling","file":"test/test-suite/index.ts","line":3}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"3fcecc0331506d33862500d7c8f1d0de4b1f701f6a72de6b7c417d0a7780e0d8"},"properties":{"dependency":{"package":"minimatch","version":"10.2.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D30","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"7a6c8aec811a2d7ca01dc30175c7ce3e9ebf8b9d90e6e0e2ae64d2e9773685b6"},"properties":{"dependency":{"package":"ajv","version":"6.12.6","advisory":"[GHSA redacted]","aliases":["[CVE redacted]"],"reachability":{"kind":"not-imported"}}}},{"ruleId":"D36","level":"warning","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"1cc97851c2ff99c67feb3966a46b04ffb5112fecfde9202cebfd285dd4ae7bf9"},"taxa":[{"id":"CICD-SEC-5","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"D36","level":"note","message":{"text":"A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."},"partialFingerprints":{"codehealthFindingId/v1":"ace515990e7ee0f17b5c17e44dd168a5bdecf90804a3a3dd845cf05540978013"},"taxa":[{"id":"CICD-SEC-3","toolComponent":{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35"}}]},{"ruleId":"ED1","level":"warning","message":{"text":"Handler temporal coupling: vscode_mcp_server clause \u0060handle_connection/2#153\u0060: \u0060vscode_mcp_server\u0060 clause \u0060handle_connection/2#153\u0060 blocks the process on a synchronous outbound I/O client call (a remote HTTP request, a socket receive, or a blocking pool checkout) awaited inline while handling a message \u2014 the process is blocked (holding its mailbox) until a peer replies or the sleep elapses. That couples this handler in real time to another process being up and fast, and a mutual call can DEADLOCK. To decouple, issue the request off the hot path \u2014 reply asynchronously and do the I/O in a throwaway spawned worker (or use the async client API), so the process keeps serving its mailbox."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_server.erl"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"07ed782b6f16955cf64f07e280fa13b61b358412f6288910c40243cfdd50996c"}},{"ruleId":"ED1","level":"warning","message":{"text":"Handler temporal coupling: vscode_mcp_server clause \u0060handle_connection/2#153\u0060: \u0060vscode_mcp_server\u0060 clause \u0060handle_connection/2#153\u0060 blocks the process on a synchronous outbound I/O client call (a remote HTTP request, a socket receive, or a blocking pool checkout) awaited inline while handling a message \u2014 the process is blocked (holding its mailbox) until a peer replies or the sleep elapses. That couples this handler in real time to another process being up and fast, and a mutual call can DEADLOCK. To decouple, issue the request off the hot path \u2014 reply asynchronously and do the I/O in a throwaway spawned worker (or use the async client API), so the process keeps serving its mailbox."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_server.erl"},"region":{"startLine":283}}}],"partialFingerprints":{"codehealthFindingId/v1":"abf0226ba072a75ff84fb52818069fcfe70436b54c68e833ae4b76b43ba52451"}},{"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":"P1","level":"note","message":{"text":"CI build step not evidenced: A CI pipeline exists but no build step was matched \u2014 changes may merge without the build ever running. A build step may be invoked directly as a command, or declared as a task that a runner named in the pipeline resolves."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"251015acef1a259fcc13b7c60660cc8917ccb3ae8056cb5165ae03312dd586e8"}},{"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: \u0060.\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 dialyzer or elvis as a CI step. What was searched, so you can tell an absence from a miss: the 1 CI workflow file(s) in this repository, and the scanner and linter configuration checked in beside them. A scan that runs outside CI, one configured in your forge\u0027s web UI rather than in a committed file, or a tool whose name is none of those this check carries, is not seen \u2014 if that is your case the row is wrong, and saying so is more useful than adding a second scanner."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":".github/workflows/pr-verify.yml"},"region":{"startLine":7}}}],"partialFingerprints":{"codehealthFindingId/v1":"6e54424179c892f03ef2fd003130ac4bd43f39bbf3b1ca0a0143e25acb80ec87"}},{"ruleId":"P3","level":"note","message":{"text":"No dependency-update automation: \u0060package.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":"package.json"},"region":{"startLine":652}}}],"partialFingerprints":{"codehealthFindingId/v1":"9b237f7efe841e3a95b381b232502a3a473094adeb069a11eaca8ca533fb1c34"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060httpc:request(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_gen_connection.erl"},"region":{"startLine":49}}}],"partialFingerprints":{"codehealthFindingId/v1":"f5d8b3d586d3b263d3ab531f978e7704558c02b52ef34c61275a385d4a93070c"}},{"ruleId":"P7","level":"warning","message":{"text":"Outbound HTTP without resilience: \u0060http.request(\u0060 makes an outbound HTTP call, and nothing bounds it: no timeout, deadline, retry or circuit breaker is set for it here, and the client has no process-wide default. A slow or failing dependency will hold this service\u0027s request, thread or connection until the call gives up on its own \u2014 or never, for a client with no default timeout."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/erlangConnection.ts"},"region":{"startLine":170}}}],"partialFingerprints":{"codehealthFindingId/v1":"a81a849790b2be8335d5143eb7074f5944c1bc0327d775b9ab0d0e2cf6a01bc8"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060findOnPath\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":"lib/RebarShell.ts"},"region":{"startLine":152}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c7a220a94d05a6095b4d5cf1f6c73b97c9d05e2b6aec706fbd771ef02e5a33c"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.mkdtempSync\u0060 in \u0060startMcp\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":"lib/erlangDebugSession.ts"},"region":{"startLine":662}}}],"partialFingerprints":{"codehealthFindingId/v1":"d72f56fd3844dce1d9aac6727bf3d01ebc8e6e8398fe3f395b2fb6357eb95ced"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.writeFileSync\u0060 in \u0060startMcp\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":"lib/erlangDebugSession.ts"},"region":{"startLine":664}}}],"partialFingerprints":{"codehealthFindingId/v1":"e84911dc1ca000908b24ae5ebbe5185acfc1cca3a84bc17e61c555dd3666634e"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060provideTasks\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":"lib/erlangTaskProvider.ts"},"region":{"startLine":41}}}],"partialFingerprints":{"codehealthFindingId/v1":"5fcb94ee787f264ddee632745098d504b4fa34fbb7e6fcfa7c1bc716c5e4b1ab"}},{"ruleId":"PF3","level":"warning","message":{"text":"Sync-over-async blocking: \u0060fs.existsSync\u0060 in \u0060compileErlangBridge\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":"lib/lsp/lspclientextension.ts"},"region":{"startLine":214}}}],"partialFingerprints":{"codehealthFindingId/v1":"997d7a15e327354ca0e64dc20c02db827252d17f0b24f136196f5195cf179c89"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (14 lines \u00D7 2 locations): lib/ErlangShellDebugger.ts:272 \u00B7 lib/ErlangShellDebugger.ts:355 \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":"lib/ErlangShellDebugger.ts"},"region":{"startLine":272}}}],"partialFingerprints":{"codehealthFindingId/v1":"6c23b3c1d430217767cf33abc00f2d473586d971c731774a029497f4e8c5da6b"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (12 lines \u00D7 2 locations): lib/GenericShell.ts:249 \u00B7 lib/GenericShell.ts:266 \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":"lib/GenericShell.ts"},"region":{"startLine":249}}}],"partialFingerprints":{"codehealthFindingId/v1":"5abc3eb28b867f18046787189add416190448a850209f977bfad5c37c7a935e2"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (11 lines \u00D7 5 locations): lib/erlangDebugConnection.ts:61 \u00B7 lib/erlangDebugConnection.ts:73 \u00B7 lib/erlangDebugConnection.ts:86 \u00B7 lib/erlangDebugConnection.ts:98 \u00B7 \u002B1 more site(s) not listed \u2014 all 5 copies are in the same file, so extract the block into one function there and call it from every one of those sites \u2014 resolving only two of them leaves the rest to drift apart the first time one is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/erlangDebugConnection.ts"},"region":{"startLine":61}}}],"partialFingerprints":{"codehealthFindingId/v1":"b9eed11c36dcb5a097e4ea02d82ed13c4408bf14cbdf5259822e7a19e3e20b45"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (9 lines \u00D7 2 locations): lib/erlangDebugSession.ts:175 \u00B7 lib/erlangDebugSession.ts:207 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/erlangDebugSession.ts"},"region":{"startLine":175}}}],"partialFingerprints":{"codehealthFindingId/v1":"c2bbe0619e854620464a93268c356e941627ae6968d0d2730ed1cbcb4787cc09"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (8 lines \u00D7 2 locations): lib/RebarRunner.ts:116 \u00B7 lib/eunitRunner.ts:63 \u2014 the 2 copies sit in sibling files in one directory, so check first whether one of them (or an existing module there) already owns this behaviour and the others should call it; otherwise extract it into one module in that directory and have each site call it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/RebarRunner.ts"},"region":{"startLine":116}}}],"partialFingerprints":{"codehealthFindingId/v1":"a494ce1567305e0305b81ee3d6078270853258dbc80b8c0dfdddc3142511978e"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/erlangDebugSession.ts:151 \u00B7 lib/erlangDebugSession.ts:183 \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":"lib/erlangDebugSession.ts"},"region":{"startLine":151}}}],"partialFingerprints":{"codehealthFindingId/v1":"49eaaac8f4307668de6c50f347b749871d25ba7c8dde545dd421502b74d8d363"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (7 lines \u00D7 2 locations): lib/eunitRunner.ts:213 \u00B7 lib/eunitRunner.ts:221 \u2014 both copies are in the same file, so extract the block into one function there and call it from each site \u2014 the copies drift apart the first time only one of them is edited."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/eunitRunner.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"28d81d0fe9196d3455aa78c0b0d6ae330f55c189bbb028b964ec8fe86c2fdd05"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block (5 lines \u00D7 2 locations): lib/erlangDebugSession.ts:230 \u00B7 lib/erlangDebugSession.ts:244 \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":"lib/erlangDebugSession.ts"},"region":{"startLine":230}}}],"partialFingerprints":{"codehealthFindingId/v1":"cace3d1b0f23a251dbe094e3f3eabe46f1a0fa82ed601fa636d59d7c7bbcf95c"}},{"ruleId":"R10","level":"warning","message":{"text":"Duplicated block with local edits (5 matched lines \u00D7 2 locations): lib/lsp/lsp-testcontroller.ts:191 \u00B7 lib/lsp/lsp-testcontroller.ts:278 \u2014 the two spans are one implementation copied and then locally edited \u2014 57 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":"lib/lsp/lsp-testcontroller.ts"},"region":{"startLine":191}}}],"partialFingerprints":{"codehealthFindingId/v1":"cd191e16d4b83d151298e250fb5e5ee5c84c34552480c54dc8d21a22d6e58566"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function buildHints (cyclomatic 16, cognitive 16): buildHints has cyclomatic complexity 16 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":"lib/lsp/bridgeDiagnostics.ts"},"region":{"startLine":137}}}],"partialFingerprints":{"codehealthFindingId/v1":"fdd750b7813cfa121c1afd5d7608ec1c8d25eb6ae17d4bad47037866be506766"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function splitCommandLine (cyclomatic 15, cognitive 24): splitCommandLine has cyclomatic complexity 15 and cognitive complexity 24; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/GenericShell.ts"},"region":{"startLine":46}}}],"partialFingerprints":{"codehealthFindingId/v1":"e0107922f3bc2f6df436cf515dd97bcb0aafdd6e1346922cd2a93ad2630a966e"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function (anonymous) (cyclomatic 15, cognitive 17): (anonymous) has cyclomatic complexity 15 and cognitive complexity 17; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/extension.ts"},"region":{"startLine":235}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f41acac904e0d77925a90b79b7a724dc805cf9f933b7f796f6e2b0c9c471780"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatReport (cyclomatic 15, cognitive 15): formatReport 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":"lib/lsp/bridgeDiagnostics.ts"},"region":{"startLine":180}}}],"partialFingerprints":{"codehealthFindingId/v1":"417991db16762179b616dc43aba3e2c865f71f8138c55e71c9c90f30b6d9cb03"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function formatMcpCall (cyclomatic 13, cognitive 15): formatMcpCall has cyclomatic complexity 13 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":"lib/extension.ts"},"region":{"startLine":218}}}],"partialFingerprints":{"codehealthFindingId/v1":"cea1972e5d99f977947817902ba70cb4ceedf65fb007be308030005ee009f003"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function collectBridgeDiagnostics (cyclomatic 12, cognitive 14): collectBridgeDiagnostics has cyclomatic complexity 12 and cognitive complexity 14; this row is raised above a cyclomatic bar of 10. The two numbers answer different questions and the gap between them is what decides whether to act: cyclomatic counts the independent arms through the body, cognitive counts what it costs to hold them in your head, so nesting and mixed boolean chains raise it while a flat run of independent arms does not. Cognitive is at or above cyclomatic here, so the branching is nested or entangled rather than laid out side by side \u2014 extracting each decision into its own named function is the change that pays. Measured by this repository\u0027s own parse of the file, so a body assembled at runtime, or generated, is counted as written rather than as it executes."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lsp/bridgeDiagnostics.ts"},"region":{"startLine":222}}}],"partialFingerprints":{"codehealthFindingId/v1":"44ee14838e3cbacaa8044eddfe99124d878ddb970fda572e2f7ad07e5ffa6976"}},{"ruleId":"R2","level":"warning","message":{"text":"Complex function startMcp (cyclomatic 12, cognitive 12): startMcp 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":"lib/erlangDebugSession.ts"},"region":{"startLine":640}}}],"partialFingerprints":{"codehealthFindingId/v1":"c8ff31c0d40da56aab6cd31eb0e3533cbf2713a30ba752403283c704211f4ac1"}},{"ruleId":"R3","level":"warning","message":{"text":"lib/erlangDebugSession.ts: 791 lines of code: lib/erlangDebugSession.ts has 791 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":"lib/erlangDebugSession.ts"},"region":{"startLine":1}}}],"partialFingerprints":{"codehealthFindingId/v1":"0371e26f5692827534c9f07997794c8455228ab08d809eb4293edabf4f396d32"}},{"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":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027nonOutput\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ErlangShellDebugger.ts"},"region":{"startLine":11}}}],"partialFingerprints":{"codehealthFindingId/v1":"5d24173c74908cff26459c1d44b470f925ef79c950b9a7d4e9dbd58d32856987"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private method \u0027createArgsFilev0\u0027: Nothing in its class calls or references this private method \u2014 no member access, no string key, no decorator, and no test reaches it by name. A private member cannot be called from outside its class, so this is the whole search: remove it, or call it where it was meant to be used."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/ErlangShellDebugger.ts"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"9cdbe872ff6f7a3fb9d9840449fd8f8ef3797d4252344ca58726661811effba6"}},{"ruleId":"R7","level":"note","message":{"text":"Unused private field \u0027commandId\u0027: Nothing in its class reads or assigns this private field (for a constructor parameter property: it is stored and never read), and no string key or test reaches it by name. Remove it, or use it where it was meant to take effect."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/RebarRunner.ts"},"region":{"startLine":23}}}],"partialFingerprints":{"codehealthFindingId/v1":"109731132b98cd55a686ebd3b0832893daac318d43799a79f42b04f56fb8f75c"}},{"ruleId":"R7","level":"note","message":{"text":"Unused module-local declaration \u0027delay\u0027: This top-level declaration is not exported and its name occurs nowhere else in its module \u2014 not called, read, typed against, re-exported or named by a string. Nothing outside the module can reach a non-exported binding, so this is the whole search: remove it, or use it."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lsp/lspcodelens.ts"},"region":{"startLine":68}}}],"partialFingerprints":{"codehealthFindingId/v1":"990c5f8624d926b7eaabdc68c788fa15d3090987068b26705c6fb6374d920934"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027fs-extra\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"061cbce8bd6c563dddb8d603949ff7300bf3bb00b4a24c2f5287cc0f57e71657"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027gulp\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"37dba10605e365a88ab909d2e7729ec44c4c81813a963d80e03dfd49e35c0105"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027source-map-support\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"3e2948512562b806330fa6a4cf0eebd2d7e43326a9f0d9fe4f838217e8d64a3b"}},{"ruleId":"R8","level":"warning","message":{"text":"Unused dependency \u0027vscode-languageserver\u0027: Declared in the root package.json but never imported anywhere in that package or its workspace members \u2014 no static import reaches it. Usually that is dead weight and attack surface, but two shapes are indistinguishable from source and are NOT dead: an optional or native peer that another dependency loads dynamically at runtime, and a package a build, docs or test step installs and invokes separately. Confirm which of the three this is before removing it."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"55fcf14f3d85b5b1b030968bb72a10e5e899043b2957f0b9eda3a0869d56a3b2"}},{"ruleId":"R9","level":"error","message":{"text":"Import cycle (2 files): lib/lsp/lsp-inlinevalues.ts \u2192 lib/lsp/lspclientextension.ts \u2192 lib/lsp/lsp-inlinevalues.ts (one verified cycle inside a mutually-dependent group of 4 files)"},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/lsp/lsp-inlinevalues.ts"},"region":{"startLine":9}}}],"partialFingerprints":{"codehealthFindingId/v1":"df22bb5b65e6f855ea22a0dd6e710f2fa00d30dc35d1f8cc2c24a7e32687bf45"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Arity =:= any orelse FoundArity == Arity\u0060 appears character-identically in 2 files \u2014 apps/erlangbridge/src/vscode_lsp_navigation.erl, apps/erlangbridge/src/vscode_lsp_signature.erl. 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":"apps/erlangbridge/src/vscode_lsp_navigation.erl"},"region":{"startLine":1303}}}],"partialFingerprints":{"codehealthFindingId/v1":"99306e0ecf9a9628686212c1102e73cf90ee200543f1b377bb3123ff0ee0cd0d"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060Mode =:= reparse andalso vscode_gen_lsp_doc_server\u0060 appears character-identically in 2 files \u2014 apps/erlangbridge/src/vscode_lsp_diagnostics.erl, apps/erlangbridge/src/vscode_lsp_handlers.erl. 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":"apps/erlangbridge/src/vscode_lsp_diagnostics.erl"},"region":{"startLine":204}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3005dbecc350a889199dc49a32cbce6c5b7c3870ec8715c22edec5906217891"}},{"ruleId":"X10","level":"note","message":{"text":"Duplicated predicate: \u0060is_list(Tree) andalso vscode_lsp_navigation\u0060 appears character-identically in 2 files \u2014 apps/erlangbridge/src/vscode_lsp_codeaction.erl, apps/erlangbridge/src/vscode_lsp_hierarchy.erl. 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":"apps/erlangbridge/src/vscode_lsp_codeaction.erl"},"region":{"startLine":205}}}],"partialFingerprints":{"codehealthFindingId/v1":"03468901600b83a81bfbc2f9a7404e97d90aec981615d51ca1f43e4ef1647568"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, reject =\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":"lib/RebarRunner.ts"},"region":{"startLine":128}}}],"partialFingerprints":{"codehealthFindingId/v1":"3f2f6936c2cd90aa8764a2253d5a8ea06e6293944a2eb8f2f40fdc0adba8e61f"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (empty catch): \u0060.then(\u2026, reject =\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":"lib/RebarRunner.ts"},"region":{"startLine":158}}}],"partialFingerprints":{"codehealthFindingId/v1":"fe63beae07345a2e0aaa60d516d0c2c0cd752f26f1008c5ba664c3681302f16d"}},{"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":"lib/RebarShell.ts"},"region":{"startLine":149}}}],"partialFingerprints":{"codehealthFindingId/v1":"cacb5888783c3f946d736b268d1cbc50014f825297b24ab86b38575f4e361372"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, or keep only the failure you expect and rethrow the rest (\u0060catch (e) { if (!(e instanceof SyntaxError)) throw e; \u2026 }\u0060, or test \u0060e.name\u0060), because a JavaScript catch takes every exception, programming errors included."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"lib/dialyzerStatus.ts"},"region":{"startLine":51}}}],"partialFingerprints":{"codehealthFindingId/v1":"3a438cd5395df09ae710481abc75aaa94a223b96ac2de06a78f83beb26a2cfbb"}},{"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":"lib/erlangDebugSession.ts"},"region":{"startLine":694}}}],"partialFingerprints":{"codehealthFindingId/v1":"2c2fdf002d8fce69efbd15e1fbbf450c2603e526c84b4db5f5e82eae17cc3fbb"}},{"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":"lib/erlangTaskProvider.ts"},"region":{"startLine":103}}}],"partialFingerprints":{"codehealthFindingId/v1":"99a2d23bf507a3f2a7a1b32ebc76959412677ba94bc63b5740938139e0c9de7c"}},{"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":"lib/extension.ts"},"region":{"startLine":331}}}],"partialFingerprints":{"codehealthFindingId/v1":"5cc4595b9791056c147ef6b808656c65d1160908d2b4da468b90bc6958692704"}},{"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":"lib/extension.ts"},"region":{"startLine":347}}}],"partialFingerprints":{"codehealthFindingId/v1":"e45c34174e3b9fa918c23d5aa2e94f5bcec80de3dfe650e627a26283dbe1496d"}},{"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":"lib/lsp/lsp-testcontroller.ts"},"region":{"startLine":213}}}],"partialFingerprints":{"codehealthFindingId/v1":"7a3a62bac7eb911817ceda5a01445f8a083b3bdb8aa5377627af73cd494a2cfb"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_navigation.erl"},"region":{"startLine":1184}}}],"partialFingerprints":{"codehealthFindingId/v1":"73d2f9f44cfa4bdef58cb7be2efb447a34466f99673d66c369aff33f91ab6fa0"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_lsp_syntax.erl"},"region":{"startLine":206}}}],"partialFingerprints":{"codehealthFindingId/v1":"55a94372ba53e27affcfebad40bc145daf90ff2f932288af853671bfaa875692"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_audit.erl"},"region":{"startLine":17}}}],"partialFingerprints":{"codehealthFindingId/v1":"2a66dbc63833da0cf7fba12b774eb85e7834a0d336dcfe83b83f42598ac04cb3"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_encoder.erl"},"region":{"startLine":20}}}],"partialFingerprints":{"codehealthFindingId/v1":"a8edd9345ea098e383217030e5aadfbd7a5ec068f86cc36737db5572c981be45"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_encoder.erl"},"region":{"startLine":104}}}],"partialFingerprints":{"codehealthFindingId/v1":"3acc87cb80594361fa52ec38b7bd761806ea74baaefb9dca475d53e21ad65b1a"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_encoder.erl"},"region":{"startLine":122}}}],"partialFingerprints":{"codehealthFindingId/v1":"d8830911e9089c8c1a39854332b5cdd74fde69d30e30382b949de3da1f98ac09"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_policy.erl"},"region":{"startLine":133}}}],"partialFingerprints":{"codehealthFindingId/v1":"8943621cb4f30f9913d3f89b6fad878e81de099f9c9e6d44a1887738606603d8"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_policy.erl"},"region":{"startLine":526}}}],"partialFingerprints":{"codehealthFindingId/v1":"c3f914025efa7bfd603faca00621cdd2a12b38364bf25d964094791a5a5d2a9c"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":196}}}],"partialFingerprints":{"codehealthFindingId/v1":"4a4cab2fc61891da88a48ffa5460def89952c2fbb6fa4db63172f23ffb1e1789"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":531}}}],"partialFingerprints":{"codehealthFindingId/v1":"78fb437931d064c883945d0c838c0ebd8759f456ac2809e214d2f3b96033ad71"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":543}}}],"partialFingerprints":{"codehealthFindingId/v1":"055c70c8e7297fdd630f854435b4a47dc671f95622c4c52f76e8d5807c8a38c4"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":886}}}],"partialFingerprints":{"codehealthFindingId/v1":"ddc917340f04031ba80e56c9f22f39639452fbe664cafdd0a7bd044002259f37"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":1205}}}],"partialFingerprints":{"codehealthFindingId/v1":"27a791b9e518817ded051cdc3d4eeab41674777da8d30862731200be60aaaf14"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":1216}}}],"partialFingerprints":{"codehealthFindingId/v1":"ab882f23dcba422750678daa4e1fdfea0fc5ad2d7fea8f5a9ada8ba320d0d07e"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":1271}}}],"partialFingerprints":{"codehealthFindingId/v1":"c85c0b526d1549642c64ed50071920708a1b504cee674a41c83727ad6f83f3ec"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":1550}}}],"partialFingerprints":{"codehealthFindingId/v1":"e3ad43572f78e3c3cb5cbfa06b77ad64ef42f07a47256f0a6dc85328c2f51559"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":1789}}}],"partialFingerprints":{"codehealthFindingId/v1":"d37a9fff2dc1e53f15ff2326f69791bc979c95a683b1145b4c2edbdc982c8223"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":2005}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a9d0c6df70fce6098014a7a8c4b31db52650add2e169cdee4e24076b2a06f48"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":2023}}}],"partialFingerprints":{"codehealthFindingId/v1":"a3e24466876ca5c52387c164eaa49f4e7fa70b02e8f478c5ef31e67073634f49"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":2058}}}],"partialFingerprints":{"codehealthFindingId/v1":"ee960dd7725bd6f2a38c1ae5568efe912094de2a1796918a1f9130ea3a79a468"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":2093}}}],"partialFingerprints":{"codehealthFindingId/v1":"f00af068339fff955d2881d52ff01a52cad96856cb25905d58ac0a00c2f7621b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_runtime.erl"},"region":{"startLine":2101}}}],"partialFingerprints":{"codehealthFindingId/v1":"0a4048ece82ee3edec476a2bf8a5f1a107a17d10b50be1354848aa21b3a5a52b"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_server.erl"},"region":{"startLine":385}}}],"partialFingerprints":{"codehealthFindingId/v1":"8d36bb87678bf221a34cbba45f552b05229ecbaa49f064b4c44203b0b052f3c1"}},{"ruleId":"X3","level":"warning","message":{"text":"Swallowed exception (caught, then discarded): \u0060catch _:_\u0060 takes every exception and records none of it \u2014 the body neither logs it, rethrows it, nor even names it, so the failure is discarded as completely as by an empty catch and only the substituted value survives. Log it through whatever this codebase already uses to report problems, narrow the catch to the exception this call can actually raise, or say in a comment on the catch why the failure genuinely cannot matter."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/mcp/vscode_mcp_store.erl"},"region":{"startLine":327}}}],"partialFingerprints":{"codehealthFindingId/v1":"1c311c2e747221b5c8ac7b22f7052114961752fc607745b5a15117fe601cbb68"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060vscode_erlfmt:format_file_range/4\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_erlfmt.erl"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"ea2d01a1f273ac570b1c781aa60338c74609a60b6363537e7d7450d844a16ebc"}},{"ruleId":"X31","level":"note","message":{"text":"Test-only surface in a production module: \u0060vscode_erlfmt:format_string_range/4\u0060 is exported unconditionally, and the comment directly above the \u0060-export\u0060 on this line says the exports below it are for testing. Erlang has no visibility below \u0060-export\u0060, so this is part of the module\u0027s public contract: it cannot be changed without a compatibility argument. This arm read the comment, not the call graph: if the comment is right and only tests call it, wrapping the attribute in \u0060-ifdef(TEST). \u2026 -endif.\u0060 keeps the test\u0027s access and removes it from the shipped module. If production code calls it, the comment is stale and wrapping the export would break the build \u2014 delete the comment and document the function as part of the module\u0027s API."},"locations":[{"physicalLocation":{"artifactLocation":{"uri":"apps/erlangbridge/src/vscode_erlfmt.erl"},"region":{"startLine":28}}}],"partialFingerprints":{"codehealthFindingId/v1":"afc6971c891c9b405a8e727fb21caaa5f5464a88c41f62d9b200dd7da54ebb84"}},{"ruleId":"X5","level":"note","message":{"text":"Strict null checking is not enabled everywhere the repository type-checks: 0/1 of this repository\u0027s type-checking configuration(s) turn on strict null checking (\u0060\u0022strict\u0022: true\u0060, or \u0060\u0022strictNullChecks\u0022: true\u0060). A configuration that states neither is counted as OFF, because off is tsc\u0027s own default; a solution-style one whose \u0060\u0022files\u0022\u0060 is empty and whose \u0060\u0022references\u0022\u0060 point at other projects is in neither number, because it checks no source itself. Where it is off, \u0060string\u0060 admits \u0060null\u0060 and \u0060undefined\u0060: passing a value that is null compiles silently and throws on the first property access."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"8870f9ff7b17c2e14c5ba3bc13137b94673aad0b9498438c572dabb049852943"}},{"ruleId":"X5","level":"note","message":{"text":"Null assertions (\u0060!\u0060) override strict null checking: ~0.4 \u0060!\u0060 null assertions per 1k TypeScript source lines \u2014 2 assertion(s) across the 5263 source line(s) of the 27 TypeScript file(s) read, which is the only code the operator asserts anything in (a \u0060!\u0060 in a \u0060.js\u0060 file is not this operator and was not counted, and one in a file whose null checking is off silences nothing). Densest: lib/erlangDebugSession.ts (1), lib/lsp/lsp-inlinevalues.ts (1). Each one tells the compiler to trust the author about null, suppressing the very diagnostic \u0060strictNullChecks\u0060 exists to produce. Many are correct: each is a claim the checker could not verify, and it is wrong only where the value can in fact be missing, so review the densest places first."},"locations":[],"partialFingerprints":{"codehealthFindingId/v1":"1d83a7c69636a6290f63000d5c19b2073be1fa772f51977532af9ca6f745fc2a"}}],"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-125","guid":"98717707-96bf-ca5b-9568-8d1d257574c1","name":"CWE-125","shortDescription":{"text":"CWE-125"},"helpUri":"https://cwe.mitre.org/data/definitions/125.html"},{"id":"CWE-1357","guid":"e4d2e772-757e-0a5c-bd7d-77052949d866","name":"Reliance on Insufficiently Trustworthy Component","shortDescription":{"text":"Reliance on Insufficiently Trustworthy Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1357.html"},{"id":"CWE-1395","guid":"800e09e7-c11a-8654-9fa6-86f398995fed","name":"Dependency on Vulnerable Third-Party Component","shortDescription":{"text":"Dependency on Vulnerable Third-Party Component"},"helpUri":"https://cwe.mitre.org/data/definitions/1395.html"},{"id":"CWE-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-319","guid":"7af97476-9f0d-4458-9163-3d2043918a1a","name":"Cleartext Transmission of Sensitive Information","shortDescription":{"text":"Cleartext Transmission of Sensitive Information"},"helpUri":"https://cwe.mitre.org/data/definitions/319.html"},{"id":"CWE-353","guid":"09d7e902-d4ee-f05d-ae6c-0a1554d0c18f","name":"Missing Support for Integrity Check","shortDescription":{"text":"Missing Support for Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/353.html"},{"id":"CWE-494","guid":"b8a65e0d-e459-4a55-a931-fc1136482375","name":"Download of Code Without Integrity Check","shortDescription":{"text":"Download of Code Without Integrity Check"},"helpUri":"https://cwe.mitre.org/data/definitions/494.html"},{"id":"CWE-506","guid":"401d6455-56e3-0552-9a39-f77461673e3f","name":"Embedded Malicious Code","shortDescription":{"text":"Embedded Malicious Code"},"helpUri":"https://cwe.mitre.org/data/definitions/506.html"},{"id":"CWE-77","guid":"332c8ade-6612-9f56-a06b-d8d90b1a8750","name":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in a Command (\u0027Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/77.html"},{"id":"CWE-78","guid":"2e31ceaf-c7ae-2e5e-9661-cfb1362789cf","name":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-79","guid":"fd45580b-e8c4-fc5e-8c2f-aa8fab0b4dbf","name":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)","shortDescription":{"text":"Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/79.html"},{"id":"CWE-798","guid":"5e8f057d-fee3-995a-a0cb-9fc5b0d174d1","name":"Use of Hard-coded Credentials","shortDescription":{"text":"Use of Hard-coded Credentials"},"helpUri":"https://cwe.mitre.org/data/definitions/798.html"},{"id":"CWE-829","guid":"13c33925-97fb-5a5e-b40c-56d328b8a4d7","name":"Inclusion of Functionality from Untrusted Control Sphere","shortDescription":{"text":"Inclusion of Functionality from Untrusted Control Sphere"},"helpUri":"https://cwe.mitre.org/data/definitions/829.html"},{"id":"CWE-89","guid":"6d08fdad-37eb-c150-bbf0-d7d946863407","name":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)","shortDescription":{"text":"Improper Neutralization of Special Elements used in an SQL Command (\u0027SQL Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/89.html"},{"id":"CWE-937","guid":"16f316ae-415c-b354-a59b-1f7905f756e9","name":"Using Components with Known Vulnerabilities","shortDescription":{"text":"Using Components with Known Vulnerabilities"},"helpUri":"https://cwe.mitre.org/data/definitions/937.html"},{"id":"CWE-94","guid":"75e7f50c-6c2f-dd52-bf40-bf6c52b861fd","name":"Improper Control of Generation of Code (\u0027Code Injection\u0027)","shortDescription":{"text":"Improper Control of Generation of Code (\u0027Code Injection\u0027)"},"helpUri":"https://cwe.mitre.org/data/definitions/94.html"}]},{"name":"OWASP Top 10","guid":"7d1f0c2e-4b6a-4e39-9a51-0b2e8c3d5f61","version":"2025","organization":"OWASP Foundation","informationUri":"https://top10.owasp.org/2025/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10:2025 web application security risks."},"taxa":[{"id":"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":"A04:2025","guid":"6a9f5bfd-1a56-6453-beec-a7eff0ba3007","name":"Cryptographic Failures","shortDescription":{"text":"Cryptographic Failures"},"helpUri":"https://top10.owasp.org/2025/A04_2025-Cryptographic_Failures/"},{"id":"A05:2025","guid":"87e86033-3231-8458-8e4a-5cb82743553a","name":"Injection","shortDescription":{"text":"Injection"},"helpUri":"https://top10.owasp.org/2025/A05_2025-Injection/"},{"id":"A06:2025","guid":"491554d7-b8e4-9652-91a9-53700dc92ece","name":"Insecure Design","shortDescription":{"text":"Insecure Design"},"helpUri":"https://top10.owasp.org/2025/A06_2025-Insecure_Design/"},{"id":"A07:2025","guid":"334ddd78-539d-d35c-83dd-253647eb7eaf","name":"Authentication Failures","shortDescription":{"text":"Authentication Failures"},"helpUri":"https://top10.owasp.org/2025/A07_2025-Authentication_Failures/"},{"id":"A08:2025","guid":"84b0c297-710e-9a5f-9335-936ecb260c36","name":"Software or Data Integrity Failures","shortDescription":{"text":"Software or Data Integrity Failures"},"helpUri":"https://top10.owasp.org/2025/A08_2025-Software_or_Data_Integrity_Failures/"}]},{"name":"OWASP Top 10 CI/CD Security Risks","guid":"3c9b2a6e-5d14-4f7b-8e02-6a1d9c4b7f35","organization":"OWASP Foundation","informationUri":"https://owasp.org/www-project-top-10-ci-cd-security-risks/","isComprehensive":false,"shortDescription":{"text":"The OWASP Top 10 CI/CD Security Risks."},"taxa":[{"id":"CICD-SEC-3","guid":"458c83a6-ebf7-cf55-8cc3-b4d949bbf271","name":"Dependency Chain Abuse","shortDescription":{"text":"Dependency Chain Abuse"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-03-Dependency-Chain-Abuse"},{"id":"CICD-SEC-5","guid":"cc7f4610-8859-e654-9029-d5f97d992220","name":"Insufficient PBAC (Pipeline-Based Access Controls)","shortDescription":{"text":"Insufficient PBAC (Pipeline-Based Access Controls)"},"helpUri":"https://owasp.github.io/www-project-top-10-ci-cd-security-risks/CICD-SEC-05-Insufficient-PBAC"}]}],"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":19,"secretScannerRunsExcluded":0}},"redactionTokens":["A security finding was recorded here. Its details are withheld on the public artifact \u2014 ask the repository owner for the full report."]}]}